ERC-20
Overview
Max Total Supply
922,387,603,252.622886277722242353 BLAI
Holders
299
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.007198792684351275 BLAIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BlazeAIToken
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/blazeaibot Telegram: https://t.me/blazeaiportal Bot: https://t.me/blazeaiBot Website: https://blazeai.tech Docs: https://blazeai-bots-documentation.gitbook.io/blazeai-bot-documentation **************************************************/ // SPDX-License-Identifier: MIT pragma solidity 0.8.21; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract BlazeAIToken is ERC20, Ownable { using Address for address payable; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; mapping(address => bool) private _isExcludedFromFees; uint256 public feesOnBuy; uint256 public feesOnSell; uint256 private liquidityProvider; address public blazeAIWallet; address private _liquidityProviderWallet; uint256 public swapTokensAtAmount; bool private swapping; bool public swapEnabled; bool public burnEnabled; event ExcludeFromFees(address indexed account, bool isExcluded); event BlazeAIWalletChanged(address blazeAIWallet); event LiquiditydWalletChanged(address _liquidityProviderWallet); event UpdateFees(uint256 feesOnBuy, uint256 feesOnSell); event SwapAndSendBlazeAI(uint256 tokensSwapped, uint256 ethSend); event SwapTokensAtAmountUpdated(uint256 swapTokensAtAmount); error LiquidityProviderUnauthorizedAccount(address account); modifier onlyLiquidityProvider() { _checkLiquidityProvider(); _; } constructor() ERC20("Blaze AI", "BLAI") { if (block.chainid == 1 || block.chainid == 5) { uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); // ETH Uniswap Mainnet and Testnet } else if (block.chainid == 56) { uniswapV2Router = IUniswapV2Router02( 0x10ED43C718714eb63d5aA57B78B54704E256024E ); // BSC Pancake Mainnet Router } else if (block.chainid == 97) { uniswapV2Router = IUniswapV2Router02( 0xD99D1c33F9fC3444f8101754aBC46c52416550D1 ); // BSC Pancake Testnet Router } else { revert(); } _approve(address(this), address(uniswapV2Router), type(uint256).max); feesOnBuy = 4; feesOnSell = 4; blazeAIWallet = 0x8dc965B8A15d70Ca998fdEBfc8BD502bC14aa3E3; _liquidityProviderWallet = 0x443634DcD7543AB0Bf11Bd3f0ee8aaBF79e8549A; //redemitdaoinvestments.eth address airdropWallet = 0xE36eA40a963fE92cA184bC1F17AcCc0da2E60862; _isExcludedFromMaxWalletLimit[owner()] = true; _isExcludedFromMaxWalletLimit[address(this)] = true; _isExcludedFromMaxWalletLimit[address(0xdead)] = true; _isExcludedFromMaxWalletLimit[blazeAIWallet] = true; _isExcludedFromMaxWalletLimit[_liquidityProviderWallet] = true; _isExcludedFromMaxWalletLimit[airdropWallet] = true; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(0xdead)] = true; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[blazeAIWallet] = true; _isExcludedFromFees[_liquidityProviderWallet] = true; _isExcludedFromFees[airdropWallet] = true; uint256 _totalSupply = 1000000000000 * (10**decimals()); _mint(airdropWallet, (_totalSupply * 8) / 100); _mint(_liquidityProviderWallet, (_totalSupply * 92) / 100); swapTokensAtAmount = (totalSupply() * 1) / 1000; maxWalletAmount = (totalSupply() * 2) / 100; tradingEnabled = false; swapEnabled = false; burnEnabled = false; } receive() external payable {} function burn(uint256 amount) external { _burn(msg.sender, amount); } function claimStuckTokens(address token) external onlyOwner { if (token == address(0x0)) { payable(msg.sender).sendValue(address(this).balance); return; } IERC20 ERC20token = IERC20(token); uint256 balance = ERC20token.balanceOf(address(this)); ERC20token.transfer(msg.sender, balance); } function _checkLiquidityProvider() internal view virtual { if (liquidityProviderWallet() != _msgSender()) { revert LiquidityProviderUnauthorizedAccount(_msgSender()); } } function liquidityProviderWallet() public view virtual returns (address) { return _liquidityProviderWallet; } function excludeFromFees(address account, bool excluded) external onlyOwner { require( _isExcludedFromFees[account] != excluded, "Account is already the value of 'excluded'" ); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function updateFees(uint256 _feesOnSell, uint256 _feesOnBuy) external onlyOwner { require(_feesOnSell <= feesOnSell, "You can only decrease the fees"); require(_feesOnBuy <= feesOnBuy, "You can only decrease the fees"); feesOnSell = _feesOnSell; feesOnBuy = _feesOnBuy; emit UpdateFees(feesOnSell, feesOnBuy); } function changeBlazeAIWallet(address _blazeAIWallet) external onlyOwner { require( _blazeAIWallet != blazeAIWallet, "BlazeAI wallet is already that address" ); require( _blazeAIWallet != address(0), "BlazeAI wallet cannot be the zero address" ); blazeAIWallet = _blazeAIWallet; emit BlazeAIWalletChanged(blazeAIWallet); } function changeLiquidityWallet(address liquidityProviderWallet_) external onlyLiquidityProvider { require( liquidityProviderWallet_ != _liquidityProviderWallet, "LiquidityProvider wallet is already that address" ); require( liquidityProviderWallet_ != address(0), "LiquidityProvider wallet cannot be the zero address" ); _liquidityProviderWallet = liquidityProviderWallet_; emit LiquiditydWalletChanged(_liquidityProviderWallet); } bool public tradingEnabled; uint256 public tradingBlock; uint256 public tradingTime; function enableTrading() external onlyLiquidityProvider { require(!tradingEnabled, "Trading already enabled."); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); _approve(address(this), address(uniswapV2Pair), type(uint256).max); IERC20(uniswapV2Pair).approve( address(uniswapV2Router), type(uint256).max ); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, liquidityProviderWallet(), block.timestamp ); maxWalletLimitEnabled = true; tradingEnabled = true; swapEnabled = true; burnEnabled = true; tradingBlock = block.number; tradingTime = block.timestamp; } 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"); require( tradingEnabled || _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading not yet enabled!" ); if (amount == 0) { super._transfer(from, to, 0); return; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if (canSwap && !swapping && to == uniswapV2Pair && swapEnabled) { swapping = true; swapAndSendBlazeAI(contractTokenBalance); swapping = false; } uint256 feeOnBuy; uint256 feeOnSell; if (block.timestamp > tradingTime + (30 minutes)) { // Stage normal feeOnBuy = feesOnBuy; feeOnSell = feesOnSell; } else if (block.timestamp > tradingTime + (25 minutes)) { // Stage 6 feeOnBuy = 10; feeOnSell = 10; } else if (block.timestamp > tradingTime + (20 minutes)) { // Stage 5 feeOnBuy = 15; feeOnSell = 15; } else if (block.timestamp > tradingTime + (15 minutes)) { // Stage 4 feeOnBuy = 20; feeOnSell = 20; } else if (block.timestamp > tradingTime + (10 minutes)) { // Stage 3 feeOnBuy = 25; feeOnSell = 25; } else if (block.timestamp > tradingTime + (5 minutes)) { // Stage 2 feeOnBuy = 30; feeOnSell = 30; } else { // Stage 1 feeOnBuy = 35; feeOnSell = 35; } uint256 _totalFees; if (_isExcludedFromFees[from] || _isExcludedFromFees[to] || swapping) { _totalFees = 0; } else if (from == uniswapV2Pair) { if (block.number <= tradingBlock) { _totalFees = 99; } else { _totalFees = feeOnBuy; } } else if (to == uniswapV2Pair) { _totalFees = feeOnSell; } else { _totalFees = 0; } if (_totalFees > 0) { uint256 fees = (amount * _totalFees) / 100; amount = amount - fees; super._transfer(from, address(this), fees); liquidityProvider += fees / 4; if (burnEnabled) { uint256 burnFee = (amount / 100); amount = amount - burnFee; super._burn(from, burnFee); } } if (maxWalletLimitEnabled) { if ( !_isExcludedFromMaxWalletLimit[from] && !_isExcludedFromMaxWalletLimit[to] && to != uniswapV2Pair ) { uint256 balance = balanceOf(to); require( balance + amount <= maxWalletAmount, "MaxWallet: Recipient exceeds the maxWalletAmount" ); } } super._transfer(from, to, amount); } function setSwapEnabled(bool _enabled) external onlyOwner { require(swapEnabled != _enabled, "swapEnabled already at this state."); swapEnabled = _enabled; } function setBurnEnabled(bool _enabled) external onlyOwner { require(burnEnabled != _enabled, "burnEnabled already at this state."); burnEnabled = _enabled; } function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner { require( newAmount >= totalSupply() / 1_000_000, "SwapTokensAtAmount must be greater than 0.0001% of total supply" ); require( newAmount <= totalSupply() / 1_000, "SwapTokensAtAmount must be greater than 0.1% of total supply" ); swapTokensAtAmount = newAmount; emit SwapTokensAtAmountUpdated(swapTokensAtAmount); } function swapAndSendBlazeAI(uint256 tokenAmount) private { uint256 initialBalance = address(this).balance; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); uint256 newBalance = address(this).balance - initialBalance; uint256 liquidityProviderAmount = (newBalance * liquidityProvider) / tokenAmount; payable(_liquidityProviderWallet).sendValue(liquidityProviderAmount); payable(blazeAIWallet).sendValue(address(this).balance); liquidityProvider = 0; emit SwapAndSendBlazeAI(tokenAmount, newBalance); } mapping(address => bool) private _isExcludedFromMaxWalletLimit; bool public maxWalletLimitEnabled; uint256 public maxWalletAmount; event ExcludedFromMaxWalletLimit(address indexed account, bool isExcluded); event MaxWalletLimitStateChanged(bool maxWalletLimit); event MaxWalletLimitAmountChanged(uint256 maxWalletAmount); function setEnableMaxWalletLimit(bool enable) external onlyOwner { require( enable != maxWalletLimitEnabled, "Max wallet limit is already set to that state" ); maxWalletLimitEnabled = enable; emit MaxWalletLimitStateChanged(maxWalletLimitEnabled); } function excludeFromMaxWallet(address account, bool exclude) external onlyOwner { require( _isExcludedFromMaxWalletLimit[account] != exclude, "Account is already set to that state" ); require(account != address(this), "Can't set this address."); _isExcludedFromMaxWalletLimit[account] = exclude; emit ExcludedFromMaxWalletLimit(account, exclude); } function isExcludedFromMaxWalletLimit(address account) public view returns (bool) { return _isExcludedFromMaxWalletLimit[account]; } }
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; }
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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @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, it is bubbled up by this * function (like regular Solidity function calls). * * 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. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @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`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) 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(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ 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; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../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. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _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); } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @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 amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` 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 amount ) external returns (bool); }
{ "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"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"LiquidityProviderUnauthorizedAccount","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":"blazeAIWallet","type":"address"}],"name":"BlazeAIWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxWalletLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_liquidityProviderWallet","type":"address"}],"name":"LiquiditydWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWalletAmount","type":"uint256"}],"name":"MaxWalletLimitAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"maxWalletLimit","type":"bool"}],"name":"MaxWalletLimitStateChanged","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":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethSend","type":"uint256"}],"name":"SwapAndSendBlazeAI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapTokensAtAmount","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feesOnBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feesOnSell","type":"uint256"}],"name":"UpdateFees","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blazeAIWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_blazeAIWallet","type":"address"}],"name":"changeBlazeAIWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liquidityProviderWallet_","type":"address"}],"name":"changeLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","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":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exclude","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxWalletLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityProviderWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimitEnabled","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setBurnEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enable","type":"bool"}],"name":"setEnableMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","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":"tradingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"_feesOnSell","type":"uint256"},{"internalType":"uint256","name":"_feesOnBuy","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801562000010575f80fd5b5060405180604001604052806008815260200167426c617a6520414960c01b81525060405180604001604052806004815260200163424c414960e01b8152508160039081620000609190620006eb565b5060046200006f8282620006eb565b5050506200008c620000866200040660201b60201c565b6200040a565b46600114806200009c5750466005145b15620000ce57600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790556200013c565b466038036200010357600680546001600160a01b0319167310ed43c718714eb63d5aa57b78b54704e256024e1790556200013c565b466061036200013857600680546001600160a01b03191673d99d1c33f9fc3444f8101754abc46c52416550d11790556200013c565b5f80fd5b600654620001579030906001600160a01b03165f196200045b565b60046009819055600a55600c80546001600160a01b0319908116738dc965b8a15d70ca998fdebfc8bd502bc14aa3e317909155600d805490911673443634dcd7543ab0bf11bd3f0ee8aabf79e8549a17905573e36ea40a963fe92ca184bc1f17accc0da2e60862600160125f620001d66005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260129093528183208054851660019081179091557f1120e10407cab1193d7c5139d9aae5536deb3d83e855f25f8e42f811c01f56f78054861682179055600c54821684528284208054861682179055600d548216845282842080548616821790559085168352908220805490931681179092556008906200028f6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905560089093527f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd093342998054851660019081179091553084528284208054861682179055600c54821684528284208054861682179055600d5482168452828420805486168217905590851683529082208054909316179091556200033a601290565b6200034790600a620008c2565b620003589064e8d4a51000620008d9565b9050620003808260646200036e846008620008d9565b6200037a9190620008f3565b62000586565b600d54620003a0906001600160a01b031660646200036e84605c620008d9565b6103e8620003ad60025490565b620003ba906001620008d9565b620003c69190620008f3565b600e556064620003d560025490565b620003e2906002620008d9565b620003ee9190620008f3565b6014555050600f805463ffffff001916905562000929565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316620004c35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620005265760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620004ba565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620005de5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004ba565b8060025f828254620005f1919062000913565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200067557607f821691505b6020821081036200069457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000647575f81815260208120601f850160051c81016020861015620006c25750805b601f850160051c820191505b81811015620006e357828155600101620006ce565b505050505050565b81516001600160401b038111156200070757620007076200064c565b6200071f8162000718845462000660565b846200069a565b602080601f83116001811462000755575f84156200073d5750858301515b5f19600386901b1c1916600185901b178555620006e3565b5f85815260208120601f198616915b82811015620007855788860151825594840194600190910190840162000764565b5085821015620007a357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200080757815f1904821115620007eb57620007eb620007b3565b80851615620007f957918102915b93841c9390800290620007cc565b509250929050565b5f826200081f57506001620008bc565b816200082d57505f620008bc565b8160018114620008465760028114620008515762000871565b6001915050620008bc565b60ff841115620008655762000865620007b3565b50506001821b620008bc565b5060208310610133831016604e8410600b841016171562000896575081810a620008bc565b620008a28383620007c7565b805f1904821115620008b857620008b8620007b3565b0290505b92915050565b5f620008d260ff8416836200080f565b9392505050565b8082028115828204841417620008bc57620008bc620007b3565b5f826200090e57634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620008bc57620008bc620007b3565b61272480620009375f395ff3fe60806040526004361061024c575f3560e01c80637924302811610134578063afa4f3b2116100b3578063dd62ed3e11610078578063dd62ed3e146106d9578063e01af92c146106f8578063e2f4560514610717578063e4e448931461072c578063f2fde38b14610741578063f9d0831a14610760575f80fd5b8063afa4f3b214610652578063b8158d6014610671578063c024666814610686578063cd51e6d4146106a5578063d2fcc001146106ba575f80fd5b806395d89b41116100f957806395d89b41146105b4578063a457c2d7146105c8578063a8a69b9d146105e7578063a9059cbb1461061e578063aa4bde281461063d575f80fd5b806379243028146105285780637b2c835f146105455780637ba54f1f146105645780638a8c523c146105835780638da5cb5b14610597575f80fd5b806339509351116101cb5780635dc96d16116101905780635dc96d16146104655780636bf566d2146104845780636db79437146104a35780636ddd1713146104c257806370a08231146104e0578063715018a614610514575f80fd5b806339509351146103b157806342966c68146103d057806349bd5a5e146103ef5780634ada218b1461040e5780634fbee1931461042e575f80fd5b806321a9d82a1161021157806321a9d82a1461031e57806323b872dd14610337578063279977f5146103565780632a6c7dba14610375578063313ce56714610396575f80fd5b806306fdde0314610257578063095ea7b3146102815780630ce30294146102b05780631694505e146102d357806318160ddd1461030a575f80fd5b3661025357005b5f80fd5b348015610262575f80fd5b5061026b61077f565b6040516102789190612318565b60405180910390f35b34801561028c575f80fd5b506102a061029b366004612377565b61080f565b6040519015158152602001610278565b3480156102bb575f80fd5b506102c5600a5481565b604051908152602001610278565b3480156102de575f80fd5b506006546102f2906001600160a01b031681565b6040516001600160a01b039091168152602001610278565b348015610315575f80fd5b506002546102c5565b348015610329575f80fd5b506013546102a09060ff1681565b348015610342575f80fd5b506102a06103513660046123a1565b610828565b348015610361575f80fd5b50600c546102f2906001600160a01b031681565b348015610380575f80fd5b5061039461038f3660046123ec565b61084b565b005b3480156103a1575f80fd5b5060405160128152602001610278565b3480156103bc575f80fd5b506102a06103cb366004612377565b610914565b3480156103db575f80fd5b506103946103ea36600461240e565b610935565b3480156103fa575f80fd5b506007546102f2906001600160a01b031681565b348015610419575f80fd5b50600f546102a0906301000000900460ff1681565b348015610439575f80fd5b506102a0610448366004612425565b6001600160a01b03165f9081526008602052604090205460ff1690565b348015610470575f80fd5b50600f546102a09062010000900460ff1681565b34801561048f575f80fd5b5061039461049e366004612425565b610942565b3480156104ae575f80fd5b506103946104bd366004612440565b610a6d565b3480156104cd575f80fd5b50600f546102a090610100900460ff1681565b3480156104eb575f80fd5b506102c56104fa366004612425565b6001600160a01b03165f9081526020819052604090205490565b34801561051f575f80fd5b50610394610b60565b348015610533575f80fd5b50600d546001600160a01b03166102f2565b348015610550575f80fd5b5061039461055f3660046123ec565b610b73565b34801561056f575f80fd5b5061039461057e366004612425565b610c04565b34801561058e575f80fd5b50610394610d43565b3480156105a2575f80fd5b506005546001600160a01b03166102f2565b3480156105bf575f80fd5b5061026b6110ac565b3480156105d3575f80fd5b506102a06105e2366004612377565b6110bb565b3480156105f2575f80fd5b506102a0610601366004612425565b6001600160a01b03165f9081526012602052604090205460ff1690565b348015610629575f80fd5b506102a0610638366004612377565b611135565b348015610648575f80fd5b506102c560145481565b34801561065d575f80fd5b5061039461066c36600461240e565b611142565b34801561067c575f80fd5b506102c560115481565b348015610691575f80fd5b506103946106a0366004612460565b611296565b3480156106b0575f80fd5b506102c560105481565b3480156106c5575f80fd5b506103946106d4366004612460565b61137f565b3480156106e4575f80fd5b506102c56106f3366004612497565b6114b1565b348015610703575f80fd5b506103946107123660046123ec565b6114db565b348015610722575f80fd5b506102c5600e5481565b348015610737575f80fd5b506102c560095481565b34801561074c575f80fd5b5061039461075b366004612425565b61156a565b34801561076b575f80fd5b5061039461077a366004612425565b6115e0565b60606003805461078e906124c3565b80601f01602080910402602001604051908101604052809291908181526020018280546107ba906124c3565b80156108055780601f106107dc57610100808354040283529160200191610805565b820191905f5260205f20905b8154815290600101906020018083116107e857829003601f168201915b5050505050905090565b5f3361081c8185856116e1565b60019150505b92915050565b5f33610835858285611804565b610840858585611876565b506001949350505050565b610853611d00565b60135460ff161515811515036108c65760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b60648201526084015b60405180910390fd5b6013805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020015b60405180910390a150565b5f3361081c81858561092683836114b1565b610930919061250f565b6116e1565b61093f3382611d5a565b50565b61094a611d00565b600c546001600160a01b03908116908216036109b75760405162461bcd60e51b815260206004820152602660248201527f426c617a6541492077616c6c657420697320616c72656164792074686174206160448201526564647265737360d01b60648201526084016108bd565b6001600160a01b038116610a1f5760405162461bcd60e51b815260206004820152602960248201527f426c617a6541492077616c6c65742063616e6e6f7420626520746865207a65726044820152686f206164647265737360b81b60648201526084016108bd565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f1a2f4fc9edfb805e7f7cc2a646a0be180892c7ecef66333439a2e61f3d58695890602001610909565b610a75611d00565b600a54821115610ac75760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c79206465637265617365207468652066656573000060448201526064016108bd565b600954811115610b195760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c79206465637265617365207468652066656573000060448201526064016108bd565b600a829055600981905560408051838152602081018390527f53482196ef67ac615caab1c3eca2c270acbfdcd75e57c5f24c1b98b10c8e6e04910160405180910390a15050565b610b68611d00565b610b715f611e8a565b565b610b7b611d00565b801515600f60029054906101000a900460ff16151503610be85760405162461bcd60e51b815260206004820152602260248201527f6275726e456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b60648201526084016108bd565b600f8054911515620100000262ff000019909216919091179055565b610c0c611edb565b600d546001600160a01b0390811690821603610c835760405162461bcd60e51b815260206004820152603060248201527f4c697175696469747950726f76696465722077616c6c657420697320616c726560448201526f6164792074686174206164647265737360801b60648201526084016108bd565b6001600160a01b038116610cf55760405162461bcd60e51b815260206004820152603360248201527f4c697175696469747950726f76696465722077616c6c65742063616e6e6f7420604482015272626520746865207a65726f206164647265737360681b60648201526084016108bd565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fe2491a2abd15e120355965e3bef7a5e9570d67de30ffddb7fc7408d0cb5450f890602001610909565b610d4b611edb565b600f546301000000900460ff1615610da55760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e000000000000000060448201526064016108bd565b60065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e199190612522565b6001600160a01b031663c9c653963060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e9c9190612522565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610ee6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0a9190612522565b600780546001600160a01b0319166001600160a01b03929092169182179055610f369030905f196116e1565b60075460065460405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291169063095ea7b3906044016020604051808303815f875af1158015610f88573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fac919061253d565b506006546001600160a01b031663f305d7194730610fde816001600160a01b03165f9081526020819052604090205490565b5f80610ff2600d546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611058573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061107d9190612558565b50506013805460ff1916600117905550600f8054630101010063ffffff00199091161790554360105542601155565b60606004805461078e906124c3565b5f33816110c882866114b1565b9050838110156111285760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108bd565b61084082868684036116e1565b5f3361081c818585611876565b61114a611d00565b620f424061115760025490565b6111619190612583565b8110156111d65760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c790060648201526084016108bd565b6103e86111e260025490565b6111ec9190612583565b8111156112615760405162461bcd60e51b815260206004820152603c60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3125206f6620746f74616c20737570706c790000000060648201526084016108bd565b600e8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b14590602001610909565b61129e611d00565b6001600160a01b0382165f9081526008602052604090205481151560ff9091161515036113205760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b60648201526084016108bd565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b611387611d00565b6001600160a01b0382165f9081526012602052604090205481151560ff9091161515036114025760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f207468617420736044820152637461746560e01b60648201526084016108bd565b306001600160a01b0383160361145a5760405162461bcd60e51b815260206004820152601760248201527f43616e277420736574207468697320616464726573732e00000000000000000060448201526064016108bd565b6001600160a01b0382165f81815260126020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c9101611373565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6114e3611d00565b801515600f60019054906101000a900460ff161515036115505760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b60648201526084016108bd565b600f80549115156101000261ff0019909216919091179055565b611572611d00565b6001600160a01b0381166115d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108bd565b61093f81611e8a565b6115e8611d00565b6001600160a01b0381166116005761093f3347611f08565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166a91906125a2565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af11580156116b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116db919061253d565b50505050565b6001600160a01b0383166117435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108bd565b6001600160a01b0382166117a45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108bd565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61180f84846114b1565b90505f1981146116db57818110156118695760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108bd565b6116db84848484036116e1565b6001600160a01b03831661189c5760405162461bcd60e51b81526004016108bd906125b9565b6001600160a01b0382166118c25760405162461bcd60e51b81526004016108bd906125fe565b600f546301000000900460ff16806118f157506001600160a01b0383165f9081526008602052604090205460ff165b8061191357506001600160a01b0382165f9081526008602052604090205460ff165b61195f5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c656421000000000000000060448201526064016108bd565b805f036119765761197183835f61201d565b505050565b305f90815260208190526040902054600e548110801590819061199c5750600f5460ff16155b80156119b557506007546001600160a01b038581169116145b80156119c85750600f54610100900460ff165b156119ee57600f805460ff191660011790556119e382612145565b600f805460ff191690555b5f80601154610708611a00919061250f565b421115611a14575050600954600a54611ac0565b601154611a23906105dc61250f565b421115611a355750600a905080611ac0565b601154611a44906104b061250f565b421115611a565750600f905080611ac0565b601154611a659061038461250f565b421115611a7757506014905080611ac0565b601154611a869061025861250f565b421115611a9857506019905080611ac0565b601154611aa79061012c61250f565b421115611ab95750601e905080611ac0565b5060239050805b6001600160a01b0387165f9081526008602052604081205460ff1680611afd57506001600160a01b0387165f9081526008602052604090205460ff165b80611b0a5750600f5460ff165b15611b1657505f611b64565b6007546001600160a01b0390811690891603611b44576010544311611b3d57506063611b64565b5081611b64565b6007546001600160a01b0390811690881603611b61575080611b64565b505f5b8015611bf3575f6064611b778389612641565b611b819190612583565b9050611b8d8188612658565b9650611b9a89308361201d565b611ba5600482612583565b600b5f828254611bb5919061250f565b9091555050600f5462010000900460ff1615611bf1575f611bd7606489612583565b9050611be38189612658565b9750611bef8a82611d5a565b505b505b60135460ff1615611ceb576001600160a01b0388165f9081526012602052604090205460ff16158015611c3e57506001600160a01b0387165f9081526012602052604090205460ff16155b8015611c5857506007546001600160a01b03888116911614155b15611ceb576001600160a01b0387165f90815260208190526040902054601454611c82888361250f565b1115611ce95760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b60648201526084016108bd565b505b611cf688888861201d565b5050505050505050565b6005546001600160a01b03163314610b715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108bd565b6001600160a01b038216611dba5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108bd565b6001600160a01b0382165f9081526020819052604090205481811015611e2d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108bd565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b600d546001600160a01b03163314610b7157604051639eaab64360e01b81523360048201526024016108bd565b80471015611f585760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108bd565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611fa1576040519150601f19603f3d011682016040523d82523d5f602084013e611fa6565b606091505b50509050806119715760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108bd565b6001600160a01b0383166120435760405162461bcd60e51b81526004016108bd906125b9565b6001600160a01b0382166120695760405162461bcd60e51b81526004016108bd906125fe565b6001600160a01b0383165f90815260208190526040902054818110156120e05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108bd565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36116db565b60408051600280825260608201835247925f92919060208301908036833701905050905030815f8151811061217c5761217c61266b565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156121d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f79190612522565b8160018151811061220a5761220a61266b565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac9479061224f9086905f9086903090429060040161267f565b5f604051808303815f87803b158015612266575f80fd5b505af1158015612278573d5f803e3d5ffd5b505050505f82476122899190612658565b90505f84600b548361229b9190612641565b6122a59190612583565b600d549091506122be906001600160a01b031682611f08565b600c546122d4906001600160a01b031647611f08565b5f600b5560408051868152602081018490527ffffc016c8ed20c7e60d766609d8380991fd01dc7fec6e5b5ea6ed8fd35d0b3ad910160405180910390a15050505050565b5f6020808352835180828501525f5b8181101561234357858101830151858201604001528201612327565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461093f575f80fd5b5f8060408385031215612388575f80fd5b823561239381612363565b946020939093013593505050565b5f805f606084860312156123b3575f80fd5b83356123be81612363565b925060208401356123ce81612363565b929592945050506040919091013590565b801515811461093f575f80fd5b5f602082840312156123fc575f80fd5b8135612407816123df565b9392505050565b5f6020828403121561241e575f80fd5b5035919050565b5f60208284031215612435575f80fd5b813561240781612363565b5f8060408385031215612451575f80fd5b50508035926020909101359150565b5f8060408385031215612471575f80fd5b823561247c81612363565b9150602083013561248c816123df565b809150509250929050565b5f80604083850312156124a8575f80fd5b82356124b381612363565b9150602083013561248c81612363565b600181811c908216806124d757607f821691505b6020821081036124f557634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610822576108226124fb565b5f60208284031215612532575f80fd5b815161240781612363565b5f6020828403121561254d575f80fd5b8151612407816123df565b5f805f6060848603121561256a575f80fd5b8351925060208401519150604084015190509250925092565b5f8261259d57634e487b7160e01b5f52601260045260245ffd5b500490565b5f602082840312156125b2575f80fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8082028115828204841417610822576108226124fb565b81810381811115610822576108226124fb565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156126cd5784516001600160a01b0316835293830193918301916001016126a8565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c060906e2c55ff2c6f41eff5a0553dc32808fdfa9f1b5f72b00bf0a472484d9d64736f6c63430008150033
Deployed Bytecode
0x60806040526004361061024c575f3560e01c80637924302811610134578063afa4f3b2116100b3578063dd62ed3e11610078578063dd62ed3e146106d9578063e01af92c146106f8578063e2f4560514610717578063e4e448931461072c578063f2fde38b14610741578063f9d0831a14610760575f80fd5b8063afa4f3b214610652578063b8158d6014610671578063c024666814610686578063cd51e6d4146106a5578063d2fcc001146106ba575f80fd5b806395d89b41116100f957806395d89b41146105b4578063a457c2d7146105c8578063a8a69b9d146105e7578063a9059cbb1461061e578063aa4bde281461063d575f80fd5b806379243028146105285780637b2c835f146105455780637ba54f1f146105645780638a8c523c146105835780638da5cb5b14610597575f80fd5b806339509351116101cb5780635dc96d16116101905780635dc96d16146104655780636bf566d2146104845780636db79437146104a35780636ddd1713146104c257806370a08231146104e0578063715018a614610514575f80fd5b806339509351146103b157806342966c68146103d057806349bd5a5e146103ef5780634ada218b1461040e5780634fbee1931461042e575f80fd5b806321a9d82a1161021157806321a9d82a1461031e57806323b872dd14610337578063279977f5146103565780632a6c7dba14610375578063313ce56714610396575f80fd5b806306fdde0314610257578063095ea7b3146102815780630ce30294146102b05780631694505e146102d357806318160ddd1461030a575f80fd5b3661025357005b5f80fd5b348015610262575f80fd5b5061026b61077f565b6040516102789190612318565b60405180910390f35b34801561028c575f80fd5b506102a061029b366004612377565b61080f565b6040519015158152602001610278565b3480156102bb575f80fd5b506102c5600a5481565b604051908152602001610278565b3480156102de575f80fd5b506006546102f2906001600160a01b031681565b6040516001600160a01b039091168152602001610278565b348015610315575f80fd5b506002546102c5565b348015610329575f80fd5b506013546102a09060ff1681565b348015610342575f80fd5b506102a06103513660046123a1565b610828565b348015610361575f80fd5b50600c546102f2906001600160a01b031681565b348015610380575f80fd5b5061039461038f3660046123ec565b61084b565b005b3480156103a1575f80fd5b5060405160128152602001610278565b3480156103bc575f80fd5b506102a06103cb366004612377565b610914565b3480156103db575f80fd5b506103946103ea36600461240e565b610935565b3480156103fa575f80fd5b506007546102f2906001600160a01b031681565b348015610419575f80fd5b50600f546102a0906301000000900460ff1681565b348015610439575f80fd5b506102a0610448366004612425565b6001600160a01b03165f9081526008602052604090205460ff1690565b348015610470575f80fd5b50600f546102a09062010000900460ff1681565b34801561048f575f80fd5b5061039461049e366004612425565b610942565b3480156104ae575f80fd5b506103946104bd366004612440565b610a6d565b3480156104cd575f80fd5b50600f546102a090610100900460ff1681565b3480156104eb575f80fd5b506102c56104fa366004612425565b6001600160a01b03165f9081526020819052604090205490565b34801561051f575f80fd5b50610394610b60565b348015610533575f80fd5b50600d546001600160a01b03166102f2565b348015610550575f80fd5b5061039461055f3660046123ec565b610b73565b34801561056f575f80fd5b5061039461057e366004612425565b610c04565b34801561058e575f80fd5b50610394610d43565b3480156105a2575f80fd5b506005546001600160a01b03166102f2565b3480156105bf575f80fd5b5061026b6110ac565b3480156105d3575f80fd5b506102a06105e2366004612377565b6110bb565b3480156105f2575f80fd5b506102a0610601366004612425565b6001600160a01b03165f9081526012602052604090205460ff1690565b348015610629575f80fd5b506102a0610638366004612377565b611135565b348015610648575f80fd5b506102c560145481565b34801561065d575f80fd5b5061039461066c36600461240e565b611142565b34801561067c575f80fd5b506102c560115481565b348015610691575f80fd5b506103946106a0366004612460565b611296565b3480156106b0575f80fd5b506102c560105481565b3480156106c5575f80fd5b506103946106d4366004612460565b61137f565b3480156106e4575f80fd5b506102c56106f3366004612497565b6114b1565b348015610703575f80fd5b506103946107123660046123ec565b6114db565b348015610722575f80fd5b506102c5600e5481565b348015610737575f80fd5b506102c560095481565b34801561074c575f80fd5b5061039461075b366004612425565b61156a565b34801561076b575f80fd5b5061039461077a366004612425565b6115e0565b60606003805461078e906124c3565b80601f01602080910402602001604051908101604052809291908181526020018280546107ba906124c3565b80156108055780601f106107dc57610100808354040283529160200191610805565b820191905f5260205f20905b8154815290600101906020018083116107e857829003601f168201915b5050505050905090565b5f3361081c8185856116e1565b60019150505b92915050565b5f33610835858285611804565b610840858585611876565b506001949350505050565b610853611d00565b60135460ff161515811515036108c65760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b60648201526084015b60405180910390fd5b6013805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020015b60405180910390a150565b5f3361081c81858561092683836114b1565b610930919061250f565b6116e1565b61093f3382611d5a565b50565b61094a611d00565b600c546001600160a01b03908116908216036109b75760405162461bcd60e51b815260206004820152602660248201527f426c617a6541492077616c6c657420697320616c72656164792074686174206160448201526564647265737360d01b60648201526084016108bd565b6001600160a01b038116610a1f5760405162461bcd60e51b815260206004820152602960248201527f426c617a6541492077616c6c65742063616e6e6f7420626520746865207a65726044820152686f206164647265737360b81b60648201526084016108bd565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f1a2f4fc9edfb805e7f7cc2a646a0be180892c7ecef66333439a2e61f3d58695890602001610909565b610a75611d00565b600a54821115610ac75760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c79206465637265617365207468652066656573000060448201526064016108bd565b600954811115610b195760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c79206465637265617365207468652066656573000060448201526064016108bd565b600a829055600981905560408051838152602081018390527f53482196ef67ac615caab1c3eca2c270acbfdcd75e57c5f24c1b98b10c8e6e04910160405180910390a15050565b610b68611d00565b610b715f611e8a565b565b610b7b611d00565b801515600f60029054906101000a900460ff16151503610be85760405162461bcd60e51b815260206004820152602260248201527f6275726e456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b60648201526084016108bd565b600f8054911515620100000262ff000019909216919091179055565b610c0c611edb565b600d546001600160a01b0390811690821603610c835760405162461bcd60e51b815260206004820152603060248201527f4c697175696469747950726f76696465722077616c6c657420697320616c726560448201526f6164792074686174206164647265737360801b60648201526084016108bd565b6001600160a01b038116610cf55760405162461bcd60e51b815260206004820152603360248201527f4c697175696469747950726f76696465722077616c6c65742063616e6e6f7420604482015272626520746865207a65726f206164647265737360681b60648201526084016108bd565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fe2491a2abd15e120355965e3bef7a5e9570d67de30ffddb7fc7408d0cb5450f890602001610909565b610d4b611edb565b600f546301000000900460ff1615610da55760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e000000000000000060448201526064016108bd565b60065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e199190612522565b6001600160a01b031663c9c653963060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e9c9190612522565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610ee6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f0a9190612522565b600780546001600160a01b0319166001600160a01b03929092169182179055610f369030905f196116e1565b60075460065460405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291169063095ea7b3906044016020604051808303815f875af1158015610f88573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fac919061253d565b506006546001600160a01b031663f305d7194730610fde816001600160a01b03165f9081526020819052604090205490565b5f80610ff2600d546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015611058573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061107d9190612558565b50506013805460ff1916600117905550600f8054630101010063ffffff00199091161790554360105542601155565b60606004805461078e906124c3565b5f33816110c882866114b1565b9050838110156111285760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108bd565b61084082868684036116e1565b5f3361081c818585611876565b61114a611d00565b620f424061115760025490565b6111619190612583565b8110156111d65760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c790060648201526084016108bd565b6103e86111e260025490565b6111ec9190612583565b8111156112615760405162461bcd60e51b815260206004820152603c60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3125206f6620746f74616c20737570706c790000000060648201526084016108bd565b600e8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b14590602001610909565b61129e611d00565b6001600160a01b0382165f9081526008602052604090205481151560ff9091161515036113205760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b60648201526084016108bd565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b611387611d00565b6001600160a01b0382165f9081526012602052604090205481151560ff9091161515036114025760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f207468617420736044820152637461746560e01b60648201526084016108bd565b306001600160a01b0383160361145a5760405162461bcd60e51b815260206004820152601760248201527f43616e277420736574207468697320616464726573732e00000000000000000060448201526064016108bd565b6001600160a01b0382165f81815260126020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c9101611373565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6114e3611d00565b801515600f60019054906101000a900460ff161515036115505760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b60648201526084016108bd565b600f80549115156101000261ff0019909216919091179055565b611572611d00565b6001600160a01b0381166115d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108bd565b61093f81611e8a565b6115e8611d00565b6001600160a01b0381166116005761093f3347611f08565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166a91906125a2565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af11580156116b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116db919061253d565b50505050565b6001600160a01b0383166117435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108bd565b6001600160a01b0382166117a45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108bd565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61180f84846114b1565b90505f1981146116db57818110156118695760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108bd565b6116db84848484036116e1565b6001600160a01b03831661189c5760405162461bcd60e51b81526004016108bd906125b9565b6001600160a01b0382166118c25760405162461bcd60e51b81526004016108bd906125fe565b600f546301000000900460ff16806118f157506001600160a01b0383165f9081526008602052604090205460ff165b8061191357506001600160a01b0382165f9081526008602052604090205460ff165b61195f5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c656421000000000000000060448201526064016108bd565b805f036119765761197183835f61201d565b505050565b305f90815260208190526040902054600e548110801590819061199c5750600f5460ff16155b80156119b557506007546001600160a01b038581169116145b80156119c85750600f54610100900460ff165b156119ee57600f805460ff191660011790556119e382612145565b600f805460ff191690555b5f80601154610708611a00919061250f565b421115611a14575050600954600a54611ac0565b601154611a23906105dc61250f565b421115611a355750600a905080611ac0565b601154611a44906104b061250f565b421115611a565750600f905080611ac0565b601154611a659061038461250f565b421115611a7757506014905080611ac0565b601154611a869061025861250f565b421115611a9857506019905080611ac0565b601154611aa79061012c61250f565b421115611ab95750601e905080611ac0565b5060239050805b6001600160a01b0387165f9081526008602052604081205460ff1680611afd57506001600160a01b0387165f9081526008602052604090205460ff165b80611b0a5750600f5460ff165b15611b1657505f611b64565b6007546001600160a01b0390811690891603611b44576010544311611b3d57506063611b64565b5081611b64565b6007546001600160a01b0390811690881603611b61575080611b64565b505f5b8015611bf3575f6064611b778389612641565b611b819190612583565b9050611b8d8188612658565b9650611b9a89308361201d565b611ba5600482612583565b600b5f828254611bb5919061250f565b9091555050600f5462010000900460ff1615611bf1575f611bd7606489612583565b9050611be38189612658565b9750611bef8a82611d5a565b505b505b60135460ff1615611ceb576001600160a01b0388165f9081526012602052604090205460ff16158015611c3e57506001600160a01b0387165f9081526012602052604090205460ff16155b8015611c5857506007546001600160a01b03888116911614155b15611ceb576001600160a01b0387165f90815260208190526040902054601454611c82888361250f565b1115611ce95760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b60648201526084016108bd565b505b611cf688888861201d565b5050505050505050565b6005546001600160a01b03163314610b715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108bd565b6001600160a01b038216611dba5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108bd565b6001600160a01b0382165f9081526020819052604090205481811015611e2d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108bd565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b600d546001600160a01b03163314610b7157604051639eaab64360e01b81523360048201526024016108bd565b80471015611f585760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108bd565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611fa1576040519150601f19603f3d011682016040523d82523d5f602084013e611fa6565b606091505b50509050806119715760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108bd565b6001600160a01b0383166120435760405162461bcd60e51b81526004016108bd906125b9565b6001600160a01b0382166120695760405162461bcd60e51b81526004016108bd906125fe565b6001600160a01b0383165f90815260208190526040902054818110156120e05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108bd565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36116db565b60408051600280825260608201835247925f92919060208301908036833701905050905030815f8151811061217c5761217c61266b565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156121d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121f79190612522565b8160018151811061220a5761220a61266b565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac9479061224f9086905f9086903090429060040161267f565b5f604051808303815f87803b158015612266575f80fd5b505af1158015612278573d5f803e3d5ffd5b505050505f82476122899190612658565b90505f84600b548361229b9190612641565b6122a59190612583565b600d549091506122be906001600160a01b031682611f08565b600c546122d4906001600160a01b031647611f08565b5f600b5560408051868152602081018490527ffffc016c8ed20c7e60d766609d8380991fd01dc7fec6e5b5ea6ed8fd35d0b3ad910160405180910390a15050505050565b5f6020808352835180828501525f5b8181101561234357858101830151858201604001528201612327565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461093f575f80fd5b5f8060408385031215612388575f80fd5b823561239381612363565b946020939093013593505050565b5f805f606084860312156123b3575f80fd5b83356123be81612363565b925060208401356123ce81612363565b929592945050506040919091013590565b801515811461093f575f80fd5b5f602082840312156123fc575f80fd5b8135612407816123df565b9392505050565b5f6020828403121561241e575f80fd5b5035919050565b5f60208284031215612435575f80fd5b813561240781612363565b5f8060408385031215612451575f80fd5b50508035926020909101359150565b5f8060408385031215612471575f80fd5b823561247c81612363565b9150602083013561248c816123df565b809150509250929050565b5f80604083850312156124a8575f80fd5b82356124b381612363565b9150602083013561248c81612363565b600181811c908216806124d757607f821691505b6020821081036124f557634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610822576108226124fb565b5f60208284031215612532575f80fd5b815161240781612363565b5f6020828403121561254d575f80fd5b8151612407816123df565b5f805f6060848603121561256a575f80fd5b8351925060208401519150604084015190509250925092565b5f8261259d57634e487b7160e01b5f52601260045260245ffd5b500490565b5f602082840312156125b2575f80fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8082028115828204841417610822576108226124fb565b81810381811115610822576108226124fb565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156126cd5784516001600160a01b0316835293830193918301916001016126a8565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220c060906e2c55ff2c6f41eff5a0553dc32808fdfa9f1b5f72b00bf0a472484d9d64736f6c63430008150033
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.