Overview
Max Total Supply
99,253,014,959.775345493309984665 MAXX
Holders
1,883 (0.00%)
Market
Price
$0.00 @ 0.000009 POL
Onchain Market Cap
$405,944.83
Circulating Supply Market Cap
$137,208.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
11,538,341.002562 MAXXValue
$47.19 ( ~106.9900 POL) [0.0116%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
MaxxFinance
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; /// Account is blocked from transferring tokens error AccountBlocked(); /// Transfer exceeds the whale limit error WhaleLimit(); /// Transfer exceeds the daily sell limit error DailyLimit(); /// New value is out of bounds for consumer protection error ConsumerProtection(); /// The Maxx Vault address has already been initialized or attempting to set to the zero address error InitializationFailed(); /// MinTransferTax must be <= MaxTransferTax error InvalidTax(); /// MinTaxAmount must be <= MaxTaxAmount error InvalidTaxAmount(); error ZeroAddress(); /// @title Maxx Finance -- MAXX ERC20 token contract /// @author Alta Web3 Labs - SonOfMosiah contract MaxxFinance is ERC20, ERC20Burnable, AccessControl, Pausable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); /// @notice The amount of MAXX tokens burned uint256 public burnedAmount; /// @notice Deployment timestamp for this contract uint256 public immutable initialTimestamp; /// @notice Maxx Finance Vault address address public maxxVault; /// @notice block limited or not bool public isBlockLimited; /// @notice Global daily sell limit uint256 public globalDailySellLimit; /// @notice Whale limit uint256 public whaleLimit; /// @notice The number of blocks required uint256 public blocksBetweenTransfers; /// @notice Max tax rate when calling transfer() or transferFrom() uint16 public maxTransferTax; // 1000 = 10% /// @notice Min tax rate when calling transfer() or transferFrom() uint16 public minTransferTax; // 1000 = 10% /// @notice Threshold for the maximum tax rate uint256 public maxTaxAmount; /// @notice Ceiling amount qualified for the minimum tax rate uint256 public minTaxAmount; uint64 public constant GLOBAL_DAILY_SELL_LIMIT_MINIMUM = 1e9; // 1 billion uint64 public constant WHALE_LIMIT_MINIMUM = 1e6; // 1 million uint8 public constant BLOCKS_BETWEEN_TRANSFERS_MAXIMUM = 5; uint16 public constant TRANSFER_TAX_FACTOR = 1e4; uint64 public constant INITIAL_SUPPLY = 1e11; /// @notice blacklisted addresses mapping(address => bool) public isBlocked; /// @notice whitelisted addresses mapping(address => bool) public isAllowed; /// @notice tax exempt addresses mapping(address => bool) public isTaxExempt; /// @notice The block number of the address's last purchase from a pool mapping(address => uint256) public lastPurchase; /// @notice Whether the address is a Maxx token pool or not mapping(address => bool) public isPool; /// @notice The amount of tokens sold each day mapping(uint32 => uint256) public dailyAmountSold; event PoolAdded(address indexed pool); event PoolRemoved(address indexed pool); event MinTransferTaxUpdated(uint16 minTransferTax); event MaxTransferTaxUpdated(uint16 maxTransferTax); event MinTaxAmountUpdated(uint256 minTaxAmount); event MaxTaxAmountUpdated(uint256 maxTaxAmount); event BlocksBetweenTransfersUpdated(uint256 blocksBetweenTransfers); event BlockLimitedUpdated(bool blockLimited); event AddressAllowed(address indexed account); event AddressDisallowed(address indexed account); event AddressBlocked(address indexed account); event AddressUnblocked(address indexed account); event GlobalDailySellLimitUpdated(uint256 globalDailySellLimit); event WhaleLimitUpdated(uint256 whaleLimit); event TaxExemptAdded(address indexed account); event TaxExemptRemoved(address indexed account); constructor() ERC20("Maxx Finance", "MAXX") { _grantRole(DEFAULT_ADMIN_ROLE, tx.origin); initialTimestamp = block.timestamp; } function init( address _vault, uint16 _transferTax, uint256 _whaleLimit, uint256 _globalSellLimit ) external onlyRole(DEFAULT_ADMIN_ROLE) { if (maxxVault != address(0) || _vault == address(0)) { revert InitializationFailed(); } maxxVault = _vault; _mint(maxxVault, INITIAL_SUPPLY * 10**decimals()); // Initial supply: 100 billion MAXX setMaxTransferTax(_transferTax); setMinTransferTax(_transferTax); setWhaleLimit(_whaleLimit); setGlobalDailySellLimit(_globalSellLimit); } /// @notice Mints tokens /// @dev Increases the token balance of `_to` by `amount` /// @param _to The address to mint to /// @param _amount The amount to mint function mint(address _to, uint256 _amount) external whenNotPaused onlyRole(MINTER_ROLE) { _mint(_to, _amount); } /// @notice identify an address as a liquidity pool /// @param _pool The pool address function addPool(address _pool) external onlyRole(DEFAULT_ADMIN_ROLE) { if (_pool == address(0)) { revert ZeroAddress(); } isPool[_pool] = true; isAllowed[_pool] = true; emit PoolAdded(_pool); } /// @notice Remove an address from the pool list /// @param _pool The pool address function removePool(address _pool) external onlyRole(DEFAULT_ADMIN_ROLE) { isPool[_pool] = false; isAllowed[_pool] = false; emit PoolRemoved(_pool); } /// @notice Set the blocks required between transfers /// @param _blocksBetweenTransfers The number of blocks required between transfers function setBlocksBetweenTransfers(uint256 _blocksBetweenTransfers) external onlyRole(DEFAULT_ADMIN_ROLE) { if (_blocksBetweenTransfers > BLOCKS_BETWEEN_TRANSFERS_MAXIMUM) { revert ConsumerProtection(); } blocksBetweenTransfers = _blocksBetweenTransfers; emit BlocksBetweenTransfersUpdated(_blocksBetweenTransfers); } /// @notice Update blockLimited /// @param _blockLimited Whether to block limit or not function updateBlockLimited(bool _blockLimited) external onlyRole(DEFAULT_ADMIN_ROLE) { isBlockLimited = _blockLimited; emit BlockLimitedUpdated(_blockLimited); } /// @notice add an address to the allowlist /// @param _address The address to add to the allowlist function allow(address _address) external onlyRole(DEFAULT_ADMIN_ROLE) { if (_address == address(0)) { revert ZeroAddress(); } isAllowed[_address] = true; emit AddressAllowed(_address); } /// @notice remove an address from the allowlist /// @param _address The address to remove from the allowlist function disallow(address _address) external onlyRole(DEFAULT_ADMIN_ROLE) { if (_address == address(0)) { revert ZeroAddress(); } isAllowed[_address] = false; emit AddressDisallowed(_address); } /// @notice add an address to the blocklist /// @dev "block" is a reserved symbol in Solidity, so we use "blockUser" instead /// @param _address The address to add to the blocklist function blockUser(address _address) external onlyRole(DEFAULT_ADMIN_ROLE) { if (_address == address(0)) { revert ZeroAddress(); } isBlocked[_address] = true; emit AddressBlocked(_address); } /// @notice remove an address from the blocklist /// @param _address The address to remove from the blocklist function unblock(address _address) external onlyRole(DEFAULT_ADMIN_ROLE) { if (_address == address(0)) { revert ZeroAddress(); } isBlocked[_address] = false; emit AddressUnblocked(_address); } /// @notice Pause the contract function pause() external onlyRole(DEFAULT_ADMIN_ROLE) { _pause(); } /// @notice Unpause the contract function unpause() external onlyRole(DEFAULT_ADMIN_ROLE) { _unpause(); } /// @notice Add an address to the tax exempt list /// @param _exempt The address to add to the tax exempt list function addTaxExempt(address _exempt) external onlyRole(DEFAULT_ADMIN_ROLE) { isTaxExempt[_exempt] = true; emit TaxExemptAdded(_exempt); } /// @notice Remove an address from the tax exempt list /// @param _exempt The address to remove from the tax exempt list function removeTaxExempt(address _exempt) external onlyRole(DEFAULT_ADMIN_ROLE) { isTaxExempt[_exempt] = false; emit TaxExemptRemoved(_exempt); } /// @notice Get the timestamp of the next day when the daily amount sold will be reset /// @return timestamp The timestamp corresponding to the next day when the global daily sell limit will be reset function getNextDayTimestamp() external view returns (uint256 timestamp) { uint256 day = uint256(getCurrentDay() + 1); timestamp = initialTimestamp + (day * 1 days); } /// @notice Set the min transfer tax percentage /// @dev Set minTransferTax to maxTransferTax for a flat tax /// @param _minTransferTax The minimum transfer tax to set function setMinTransferTax(uint16 _minTransferTax) public onlyRole(DEFAULT_ADMIN_ROLE) { if (_minTransferTax > maxTransferTax) { revert InvalidTax(); } if (_minTransferTax > 2000 || _minTransferTax > maxTransferTax) { revert ConsumerProtection(); } minTransferTax = _minTransferTax; emit MinTransferTaxUpdated(_minTransferTax); } /// @notice Set the max transfer tax percentage /// @dev Set maxTransferTax to minTransferTax for a flat tax /// @param _maxTransferTax The transfer tax to set function setMaxTransferTax(uint16 _maxTransferTax) public onlyRole(DEFAULT_ADMIN_ROLE) { if (_maxTransferTax < minTransferTax) { revert InvalidTax(); } if (_maxTransferTax > 2000) { revert ConsumerProtection(); } maxTransferTax = _maxTransferTax; emit MaxTransferTaxUpdated(_maxTransferTax); } /// @notice Set the min tax amount /// @param _minTaxAmount The minimum tax amount to set function setMinTaxAmount(uint256 _minTaxAmount) public onlyRole(DEFAULT_ADMIN_ROLE) { if (_minTaxAmount > maxTaxAmount) { revert InvalidTaxAmount(); } minTaxAmount = _minTaxAmount; emit MinTaxAmountUpdated(_minTaxAmount); } /// @notice Set the max tax amount /// @param _maxTaxAmount The max tax amount to set function setMaxTaxAmount(uint256 _maxTaxAmount) public onlyRole(DEFAULT_ADMIN_ROLE) { if (_maxTaxAmount < minTaxAmount) { revert InvalidTaxAmount(); } maxTaxAmount = _maxTaxAmount; emit MaxTaxAmountUpdated(_maxTaxAmount); } /// @dev Overrides the transfer() function and implements a transfer tax on lp pools /// @param _to The address to transfer to /// @param _amount The amount to transfer /// @return Whether the transfer was successful function transfer(address _to, uint256 _amount) public override whenNotPaused returns (bool) { // Wallet is blacklisted if they attempt to buy and then sell in the same block or consecutive blocks if ( isBlockLimited && isPool[_to] && !isAllowed[msg.sender] && lastPurchase[msg.sender] >= block.number - blocksBetweenTransfers ) { isBlocked[msg.sender] = true; return false; } if ( (isPool[_to] || isPool[msg.sender]) && (!isTaxExempt[msg.sender] && !isTaxExempt[_to]) ) { uint256 tax = _getTaxAmount(_amount); _amount -= tax; require(super.transfer(maxxVault, tax / 2)); burn(tax / 2); } return super.transfer(_to, _amount); } /// @dev Overrides the transferFrom() function and implements a transfer tax on lp pools /// @param _from The address to transfer from /// @param _to The address to transfer to /// @param _amount The amount to transfer /// @return Whether the transfer was successful function transferFrom( address _from, address _to, uint256 _amount ) public override whenNotPaused returns (bool) { // Wallet is blacklisted if they attempt to buy and then sell in the same block or consecutive blocks if ( isBlockLimited && isPool[_to] && !isAllowed[_from] && lastPurchase[_from] >= block.number - blocksBetweenTransfers ) { isBlocked[_from] = true; return false; } if ( (isPool[_from] || isPool[_to]) && (!isTaxExempt[_from] && !isTaxExempt[_to]) ) { uint256 tax = _getTaxAmount(_amount); _amount -= tax; require(super.transferFrom(_from, maxxVault, tax / 2)); burnFrom(_from, tax / 2); } return super.transferFrom(_from, _to, _amount); } /// @notice Set the global daily sell limit /// @param _globalDailySellLimit The new global daily sell limit function setGlobalDailySellLimit(uint256 _globalDailySellLimit) public onlyRole(DEFAULT_ADMIN_ROLE) { if (_globalDailySellLimit < GLOBAL_DAILY_SELL_LIMIT_MINIMUM) { revert ConsumerProtection(); } globalDailySellLimit = _globalDailySellLimit * 10**decimals(); emit GlobalDailySellLimitUpdated(_globalDailySellLimit); } /// @notice Set the whale limit /// @param _whaleLimit The new whale limit function setWhaleLimit(uint256 _whaleLimit) public onlyRole(DEFAULT_ADMIN_ROLE) { if (_whaleLimit < WHALE_LIMIT_MINIMUM) { revert ConsumerProtection(); } whaleLimit = _whaleLimit * 10**decimals(); emit WhaleLimitUpdated(_whaleLimit); } /// @notice This functions gets the current day since the initial timestamp /// @return day The current day since launch function getCurrentDay() public view returns (uint32 day) { day = uint32((block.timestamp - initialTimestamp) / 1 days); return day; } function _beforeTokenTransfer( address _from, address _to, uint256 _amount ) internal virtual override(ERC20) { bool allowed = isAllowed[_from]; if ((isBlocked[_to] || isBlocked[_from]) && !allowed) { // can't send or receive tokens if the address is blocked revert AccountBlocked(); } if (_to == address(0)) { // burn | burnFrom burnedAmount += _amount; // Burned amount is added to the total burned amount } if (_from != address(0) && _to != address(0)) { // transfer | transferFrom if (isPool[_from]) { // Also occurs if user is withdrawing their liquidity tokens. lastPurchase[_to] = block.number; } else if (isPool[_to]) { if (_amount > whaleLimit && !allowed) { revert WhaleLimit(); } uint32 day = getCurrentDay(); dailyAmountSold[day] += _amount; if (dailyAmountSold[day] > globalDailySellLimit && !allowed) { revert DailyLimit(); } } } super._beforeTokenTransfer(_from, _to, _amount); } function _getTaxAmount(uint256 _amount) internal view returns (uint256 tax) { uint256 netAmount; if (_amount < minTaxAmount) { netAmount = (_amount * (TRANSFER_TAX_FACTOR - minTransferTax)) / TRANSFER_TAX_FACTOR; } else if (_amount > maxTaxAmount) { netAmount = (_amount * (TRANSFER_TAX_FACTOR - maxTransferTax)) / TRANSFER_TAX_FACTOR; } else { uint256 amountDiff = maxTaxAmount - minTaxAmount; uint256 taxDiff = maxTransferTax - minTransferTax; uint256 dynamicPoint = _amount - minTaxAmount; uint256 dynamicTransferTax = minTaxAmount + (dynamicPoint * taxDiff) / amountDiff; netAmount = (_amount * (TRANSFER_TAX_FACTOR - dynamicTransferTax)) / TRANSFER_TAX_FACTOR; } tax = _amount - netAmount; return tax; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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.zeppelin.solutions/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; } _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; _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; } _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.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// 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); }
// 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 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 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccountBlocked","type":"error"},{"inputs":[],"name":"ConsumerProtection","type":"error"},{"inputs":[],"name":"DailyLimit","type":"error"},{"inputs":[],"name":"InitializationFailed","type":"error"},{"inputs":[],"name":"InvalidTax","type":"error"},{"inputs":[],"name":"InvalidTaxAmount","type":"error"},{"inputs":[],"name":"WhaleLimit","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AddressAllowed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AddressBlocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AddressDisallowed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AddressUnblocked","type":"event"},{"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":"bool","name":"blockLimited","type":"bool"}],"name":"BlockLimitedUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blocksBetweenTransfers","type":"uint256"}],"name":"BlocksBetweenTransfersUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"globalDailySellLimit","type":"uint256"}],"name":"GlobalDailySellLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTaxAmount","type":"uint256"}],"name":"MaxTaxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"maxTransferTax","type":"uint16"}],"name":"MaxTransferTaxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTaxAmount","type":"uint256"}],"name":"MinTaxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"minTransferTax","type":"uint16"}],"name":"MinTransferTaxUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"}],"name":"PoolAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"}],"name":"PoolRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"TaxExemptAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"TaxExemptRemoved","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"whaleLimit","type":"uint256"}],"name":"WhaleLimitUpdated","type":"event"},{"inputs":[],"name":"BLOCKS_BETWEEN_TRANSFERS_MAXIMUM","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GLOBAL_DAILY_SELL_LIMIT_MINIMUM","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_TAX_FACTOR","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHALE_LIMIT_MINIMUM","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pool","type":"address"}],"name":"addPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_exempt","type":"address"}],"name":"addTaxExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"allow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"blockUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blocksBetweenTransfers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"}],"name":"dailyAmountSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"disallow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCurrentDay","outputs":[{"internalType":"uint32","name":"day","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextDayTimestamp","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"globalDailySellLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_vault","type":"address"},{"internalType":"uint16","name":"_transferTax","type":"uint16"},{"internalType":"uint256","name":"_whaleLimit","type":"uint256"},{"internalType":"uint256","name":"_globalSellLimit","type":"uint256"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBlockLimited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isPool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isTaxExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTaxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferTax","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxxVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTaxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minTransferTax","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pool","type":"address"}],"name":"removePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_exempt","type":"address"}],"name":"removeTaxExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_blocksBetweenTransfers","type":"uint256"}],"name":"setBlocksBetweenTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_globalDailySellLimit","type":"uint256"}],"name":"setGlobalDailySellLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTaxAmount","type":"uint256"}],"name":"setMaxTaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxTransferTax","type":"uint16"}],"name":"setMaxTransferTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minTaxAmount","type":"uint256"}],"name":"setMinTaxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_minTransferTax","type":"uint16"}],"name":"setMinTransferTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whaleLimit","type":"uint256"}],"name":"setWhaleLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_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":"_address","type":"address"}],"name":"unblock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_blockLimited","type":"bool"}],"name":"updateBlockLimited","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whaleLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b506040518060400160405280600c81526020016b4d6178782046696e616e636560a01b8152506040518060400160405280600481526020016309a82b0b60e31b8152508160039081620000659190620001e2565b506004620000748282620001e2565b50506006805460ff19169055506200008e60003262000098565b42608052620002ae565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620001395760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620000f83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016857607f821691505b6020821081036200018957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001dd57600081815260208120601f850160051c81016020861015620001b85750805b601f850160051c820191505b81811015620001d957828155600101620001c4565b5050505b505050565b81516001600160401b03811115620001fe57620001fe6200013d565b62000216816200020f845462000153565b846200018f565b602080601f8311600181146200024e5760008415620002355750858301515b600019600386901b1c1916600185901b178555620001d9565b600085815260208120601f198616915b828110156200027f578886015182559484019460019091019084016200025e565b50858210156200029e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051612a65620002d86000396000818161083501528181610bfd0152610f290152612a656000f3fe608060405234801561001057600080fd5b50600436106103e55760003560e01c806379cc67901161020a578063b30a392211610125578063d914cd4b116100b8578063eb527eb011610087578063eb527eb0146108ad578063fbac3951146108c1578063fc556f44146108e4578063fd1c24ed146108f7578063ff9913e81461092257600080fd5b8063d914cd4b1461086a578063dd62ed3e1461087d578063e3b225b314610890578063e565f3c21461089a57600080fd5b8063d5391393116100f4578063d5391393146107f6578063d547741f1461081d578063d6d1417114610830578063d88ac80e1461085757600080fd5b8063b30a3922146107a1578063b811b4ae146107aa578063babcc539146107ca578063cff3ef37146107ed57600080fd5b806395d89b411161019d578063a457c2d71161016c578063a457c2d71461075f578063a9059cbb14610772578063a9ed9cb814610785578063b068574c1461079857600080fd5b806395d89b41146107335780639ff0ebc91461073b578063a085b4cf1461074e578063a217fddf1461075757600080fd5b80638b827095116101d95780638b827095146106fa5780638fce2b711461070257806391d148541461070d57806392aeb1cb1461072057600080fd5b806379cc6790146106c357806379d6df21146106d65780637dfedef9146106e95780638456cb59146106f257600080fd5b8063395093511161030557806350e15fdd116102985780635fff4904116102675780635fff49041461064057806366e670fe1461065357806367b220a51461066657806370a082311461067957806375037995146106a257600080fd5b806350e15fdd146105f657806354fab3e2146105ff5780635b16ebb7146106125780635c975abb1461063557600080fd5b80633f4ba83a116102d45780633f4ba83a146105a857806340c10f19146105b0578063421da68a146105c357806342966c68146105e357600080fd5b806339509351146105525780633b7d0946146105655780633da01325146105785780633e6968b61461058b57600080fd5b806326cdd6ec1161037d5780632ff2e9dc1161034c5780632ff2e9dc146104f2578063313ce56714610517578063350b93791461052c57806336568abe1461053f57600080fd5b806326cdd6ec146104b95780632ab3ad4c146104c15780632e60d7a5146104d65780632f2ff15d146104df57600080fd5b806316c2be6b116103b957806316c2be6b1461044e57806318160ddd1461047157806323b872dd14610483578063248a9ca31461049657600080fd5b80629fb61a146103ea57806301ffc9a71461041357806306fdde0314610426578063095ea7b31461043b575b600080fd5b6008546103fe90600160a01b900460ff1681565b60405190151581526020015b60405180910390f35b6103fe610421366004612552565b610935565b61042e61096c565b60405161040a91906125a0565b6103fe6104493660046125ef565b6109fe565b6103fe61045c366004612619565b60116020526000908152604090205460ff1681565b6002545b60405190815260200161040a565b6103fe610491366004612634565b610a16565b6104756104a4366004612670565b60009081526005602052604090206001015490565b610475610bcc565b6104d46104cf36600461269b565b610c27565b005b610475600e5481565b6104d46104ed3660046126b6565b610cee565b6104fe64174876e80081565b60405167ffffffffffffffff909116815260200161040a565b60125b60405160ff909116815260200161040a565b6104d461053a366004612670565b610d18565b6104d461054d3660046126b6565b610d90565b6103fe6105603660046125ef565b610e13565b6104d4610573366004612619565b610e35565b6104d4610586366004612619565b610e9f565b610593610f1e565b60405163ffffffff909116815260200161040a565b6104d4610f5d565b6104d46105be3660046125ef565b610f73565b6104756105d1366004612619565b60126020526000908152604090205481565b6104d46105f1366004612670565b610faf565b61047560075481565b6104d461060d366004612670565b610fb9565b6103fe610620366004612619565b60136020526000908152604090205460ff1681565b60065460ff166103fe565b6104d461064e366004612670565b61101b565b6104d4610661366004612619565b611094565b6104d4610674366004612619565b6110ec565b610475610687366004612619565b6001600160a01b031660009081526020819052604090205490565b600c546106b09061ffff1681565b60405161ffff909116815260200161040a565b6104d46106d13660046125ef565b611168565b6104d46106e4366004612670565b61117d565b610475600b5481565b6104d46111e0565b61051a600581565b6104fe633b9aca0081565b6103fe61071b3660046126b6565b6111f3565b6104d461072e3660046126e2565b61121e565b61042e611276565b6104d4610749366004612619565b611285565b6106b061271081565b610475600081565b6103fe61076d3660046125ef565b6112da565b6103fe6107803660046125ef565b611360565b6104d4610793366004612619565b6114db565b610475600d5481565b610475600a5481565b6104756107b8366004612704565b60146020526000908152604090205481565b6103fe6107d8366004612619565b60106020526000908152604090205460ff1681565b61047560095481565b6104757f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6104d461082b3660046126b6565b611557565b6104757f000000000000000000000000000000000000000000000000000000000000000081565b6104d461086536600461272a565b61157c565b6104d4610878366004612619565b611633565b61047561088b36600461276c565b6116c9565b6104fe620f424081565b6104d46108a836600461269b565b6116f4565b600c546106b09062010000900461ffff1681565b6103fe6108cf366004612619565b600f6020526000908152604090205460ff1681565b6104d46108f2366004612670565b61179b565b60085461090a906001600160a01b031681565b6040516001600160a01b03909116815260200161040a565b6104d4610930366004612619565b6117fe565b60006001600160e01b03198216637965db0b60e01b148061096657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461097b90612796565b80601f01602080910402602001604051908101604052809291908181526020018280546109a790612796565b80156109f45780601f106109c9576101008083540402835291602001916109f4565b820191906000526020600020905b8154815290600101906020018083116109d757829003601f168201915b5050505050905090565b600033610a0c81858561187d565b5060019392505050565b6000610a206119a1565b600854600160a01b900460ff168015610a5157506001600160a01b03831660009081526013602052604090205460ff165b8015610a7657506001600160a01b03841660009081526010602052604090205460ff16155b8015610aa65750600b54610a8a90436127e6565b6001600160a01b03851660009081526012602052604090205410155b15610ad457506001600160a01b0383166000908152600f60205260408120805460ff19166001179055610bc5565b6001600160a01b03841660009081526013602052604090205460ff1680610b1357506001600160a01b03831660009081526013602052604090205460ff165b8015610b5c57506001600160a01b03841660009081526011602052604090205460ff16158015610b5c57506001600160a01b03831660009081526011602052604090205460ff16155b15610bb7576000610b6c836119e9565b9050610b7881846127e6565b600854909350610b9d9086906001600160a01b0316610b986002856127f9565b611af0565b610ba657600080fd5b610bb5856106d16002846127f9565b505b610bc2848484611af0565b90505b9392505050565b600080610bd7610f1e565b610be290600161281b565b63ffffffff169050610bf7816201518061283f565b610c21907f0000000000000000000000000000000000000000000000000000000000000000612856565b91505090565b6000610c3281611b09565b600c5461ffff9081169083161115610c5d576040516337d4ed5b60e01b815260040160405180910390fd5b6107d08261ffff161180610c7a5750600c5461ffff908116908316115b15610c985760405163248690e160e21b815260040160405180910390fd5b600c805463ffff000019166201000061ffff8516908102919091179091556040519081527f35fc6ffabd49ef679b99c9335321be8010cc412b6d15adfc23c209cadc80307a906020015b60405180910390a15050565b600082815260056020526040902060010154610d0981611b09565b610d138383611b13565b505050565b6000610d2381611b09565b620f4240821015610d475760405163248690e160e21b815260040160405180910390fd5b610d536012600a61294d565b610d5d908361283f565b600a556040518281527fc646218fba814fad1a9b2821bce70cc809db1f59c4e3c1b9e41937dee238b01290602001610ce2565b6001600160a01b0381163314610e055760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610e0f8282611b99565b5050565b600033610a0c818585610e2683836116c9565b610e309190612856565b61187d565b6000610e4081611b09565b6001600160a01b0382166000818152601360209081526040808320805460ff1990811690915560109092528083208054909216909155517f4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f9190a25050565b6000610eaa81611b09565b6001600160a01b038216610ed15760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0382166000818152600f6020526040808220805460ff19166001179055517f71fa9c99da9552de60a9ccf693f5a91456cbb8c205c8e532b1f55339903543cf9190a25050565b600062015180610f4e7f0000000000000000000000000000000000000000000000000000000000000000426127e6565b610f5891906127f9565b905090565b6000610f6881611b09565b610f70611c00565b50565b610f7b6119a1565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610fa581611b09565b610d138383611c52565b610f703382611d3d565b6000610fc481611b09565b6005821115610fe65760405163248690e160e21b815260040160405180910390fd5b600b8290556040518281527f682ff8099fee7bd4ff0ae9c8158aaba37de05633ce38a8a2b62c809df1742aae90602001610ce2565b600061102681611b09565b633b9aca0082101561104b5760405163248690e160e21b815260040160405180910390fd5b6110576012600a61294d565b611061908361283f565b6009556040518281527f9a1ee78678ec77dc5831fb996556a8aa42c5da503e72c55331a8cc26a24e5bdb90602001610ce2565b600061109f81611b09565b6001600160a01b038216600081815260116020526040808220805460ff19166001179055517f20200da9cb0ace40cddab61c423bbdee4a4a74fe32308aa6919903886eefcf229190a25050565b60006110f781611b09565b6001600160a01b03821661111e5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0382166000818152600f6020526040808220805460ff19169055517f385b21b54e2348e690dec29e9741026142b02eaabfcc2fcb676cebcb7cd165349190a25050565b611173823383611e97565b610e0f8282611d3d565b600061118881611b09565b600e548210156111ab576040516336f91d6360e11b815260040160405180910390fd5b600d8290556040518281527f22c6d6bea253c09cf6d5671ab0840be4256b4ad636f6c60f7ba5e54603ce760590602001610ce2565b60006111eb81611b09565b610f70611f11565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600061122981611b09565b60088054831515600160a01b0260ff60a01b199091161790556040517ffa3c31ef705d0c9495c1d3233460b93837660c9b6315704ad5de80b1553ed7d390610ce290841515815260200190565b60606004805461097b90612796565b600061129081611b09565b6001600160a01b038216600081815260116020526040808220805460ff19169055517fcfd76093f9849340331183b352dca4fe665b333f6982a51ac2b96f119a0493579190a25050565b600033816112e882866116c9565b9050838110156113485760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610dfc565b611355828686840361187d565b506001949350505050565b600061136a6119a1565b600854600160a01b900460ff16801561139b57506001600160a01b03831660009081526013602052604090205460ff165b80156113b757503360009081526010602052604090205460ff16155b80156113de5750600b546113cb90436127e6565b3360009081526012602052604090205410155b156114035750336000908152600f60205260408120805460ff19166001179055610966565b6001600160a01b03831660009081526013602052604090205460ff168061143957503360009081526013602052604090205460ff165b801561147957503360009081526011602052604090205460ff1615801561147957506001600160a01b03831660009081526011602052604090205460ff16155b156114d1576000611489836119e9565b905061149581846127e6565b6008549093506114b8906001600160a01b03166114b36002846127f9565b611f4e565b6114c157600080fd5b6114cf6105f16002836127f9565b505b610bc58383611f4e565b60006114e681611b09565b6001600160a01b03821661150d5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038216600081815260106020526040808220805460ff19169055517f5f1b0fa787087c297cc2ee3a7641860058ab750c330ac3ea5d6d5b9b777f353d9190a25050565b60008281526005602052604090206001015461157281611b09565b610d138383611b99565b600061158781611b09565b6008546001600160a01b03161515806115a757506001600160a01b038516155b156115c557604051630337323560e31b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0387169081179091556116089060126115f490600a61294d565b6116039064174876e80061283f565b611c52565b611611846116f4565b61161a84610c27565b61162383610d18565b61162c8261101b565b5050505050565b600061163e81611b09565b6001600160a01b0382166116655760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b03821660008181526013602090815260408083208054600160ff1991821681179092556010909352818420805490931617909155517f73cca62ab1b520c9715bf4e6c71e3e518c754e7148f65102f43289a7df0efea69190a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006116ff81611b09565b600c5461ffff6201000090910481169083161015611730576040516337d4ed5b60e01b815260040160405180910390fd5b6107d08261ffff1611156117575760405163248690e160e21b815260040160405180910390fd5b600c805461ffff191661ffff84169081179091556040519081527f197cc2af1f8b3ce1b6c3493c942a258eb9c84d0c7093deae786b82068b500b3590602001610ce2565b60006117a681611b09565b600d548211156117c9576040516336f91d6360e11b815260040160405180910390fd5b600e8290556040518281527f73cbc5ffb2fe3a2a65b4c757f28e06dc3d8c150c601521bedd2072519c35405690602001610ce2565b600061180981611b09565b6001600160a01b0382166118305760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038216600081815260106020526040808220805460ff19166001179055517f5d20d7597e8195aa92d4ad63482761cfbbe7c4afdef190f27182702924c9af779190a25050565b6001600160a01b0383166118df5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610dfc565b6001600160a01b0382166119405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610dfc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60065460ff16156119e75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610dfc565b565b600080600e54831015611a3057600c5461271090611a119062010000900461ffff168261295c565b611a1f9061ffff168561283f565b611a2991906127f9565b9050611ae6565b600d54831115611a4f57600c5461271090611a119061ffff168261295c565b6000600e54600d54611a6191906127e6565b600c54909150600090611a809061ffff6201000082048116911661295c565b61ffff1690506000600e5486611a9691906127e6565b9050600083611aa5848461283f565b611aaf91906127f9565b600e54611abc9190612856565b9050612710611acb82826127e6565b611ad5908961283f565b611adf91906127f9565b9450505050505b610bc581846127e6565b600033611afe858285611e97565b611355858585611f58565b610f708133612131565b611b1d82826111f3565b610e0f5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611b553390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611ba382826111f3565b15610e0f5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b611c08612195565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611ca85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610dfc565b611cb4600083836121de565b8060026000828254611cc69190612856565b90915550506001600160a01b03821660009081526020819052604081208054839290611cf3908490612856565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216611d9d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610dfc565b611da9826000836121de565b6001600160a01b03821660009081526020819052604090205481811015611e1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610dfc565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611e4c9084906127e6565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000611ea384846116c9565b90506000198114611f0b5781811015611efe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610dfc565b611f0b848484840361187d565b50505050565b611f196119a1565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611c353390565b600033610a0c8185855b6001600160a01b038316611fbc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610dfc565b6001600160a01b03821661201e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610dfc565b6120298383836121de565b6001600160a01b038316600090815260208190526040902054818110156120a15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610dfc565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906120d8908490612856565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161212491815260200190565b60405180910390a3611f0b565b61213b82826111f3565b610e0f57612153816001600160a01b031660146123b6565b61215e8360206123b6565b60405160200161216f929190612977565b60408051601f198184030181529082905262461bcd60e51b8252610dfc916004016125a0565b60065460ff166119e75760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610dfc565b6001600160a01b038084166000908152601060209081526040808320549386168352600f90915290205460ff91821691168061223257506001600160a01b0384166000908152600f602052604090205460ff165b801561223c575080155b1561225a57604051636bc671fd60e01b815260040160405180910390fd5b6001600160a01b03831661228057816007600082825461227a9190612856565b90915550505b6001600160a01b038416158015906122a057506001600160a01b03831615155b156123b1576001600160a01b03841660009081526013602052604090205460ff16156122e6576001600160a01b0383166000908152601260205260409020439055611f0b565b6001600160a01b03831660009081526013602052604090205460ff16156123b157600a5482118015612316575080155b15612334576040516302c5833b60e61b815260040160405180910390fd5b600061233e610f1e565b63ffffffff8116600090815260146020526040812080549293508592909190612368908490612856565b909155505060095463ffffffff8216600090815260146020526040902054118015612391575081155b156123af576040516305d6f43b60e01b815260040160405180910390fd5b505b611f0b565b606060006123c583600261283f565b6123d0906002612856565b67ffffffffffffffff8111156123e8576123e86129ec565b6040519080825280601f01601f191660200182016040528015612412576020820181803683370190505b509050600360fc1b8160008151811061242d5761242d612a02565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061245c5761245c612a02565b60200101906001600160f81b031916908160001a905350600061248084600261283f565b61248b906001612856565b90505b6001811115612503576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106124bf576124bf612a02565b1a60f81b8282815181106124d5576124d5612a02565b60200101906001600160f81b031916908160001a90535060049490941c936124fc81612a18565b905061248e565b508315610bc55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610dfc565b60006020828403121561256457600080fd5b81356001600160e01b031981168114610bc557600080fd5b60005b8381101561259757818101518382015260200161257f565b50506000910152565b60208152600082518060208401526125bf81604085016020870161257c565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146125ea57600080fd5b919050565b6000806040838503121561260257600080fd5b61260b836125d3565b946020939093013593505050565b60006020828403121561262b57600080fd5b610bc5826125d3565b60008060006060848603121561264957600080fd5b612652846125d3565b9250612660602085016125d3565b9150604084013590509250925092565b60006020828403121561268257600080fd5b5035919050565b803561ffff811681146125ea57600080fd5b6000602082840312156126ad57600080fd5b610bc582612689565b600080604083850312156126c957600080fd5b823591506126d9602084016125d3565b90509250929050565b6000602082840312156126f457600080fd5b81358015158114610bc557600080fd5b60006020828403121561271657600080fd5b813563ffffffff81168114610bc557600080fd5b6000806000806080858703121561274057600080fd5b612749856125d3565b935061275760208601612689565b93969395505050506040820135916060013590565b6000806040838503121561277f57600080fd5b612788836125d3565b91506126d9602084016125d3565b600181811c908216806127aa57607f821691505b6020821081036127ca57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610966576109666127d0565b60008261281657634e487b7160e01b600052601260045260246000fd5b500490565b63ffffffff818116838216019080821115612838576128386127d0565b5092915050565b8082028115828204841417610966576109666127d0565b80820180821115610966576109666127d0565b600181815b808511156128a457816000190482111561288a5761288a6127d0565b8085161561289757918102915b93841c939080029061286e565b509250929050565b6000826128bb57506001610966565b816128c857506000610966565b81600181146128de57600281146128e857612904565b6001915050610966565b60ff8411156128f9576128f96127d0565b50506001821b610966565b5060208310610133831016604e8410600b8410161715612927575081810a610966565b6129318383612869565b8060001904821115612945576129456127d0565b029392505050565b6000610bc560ff8416836128ac565b61ffff828116828216039080821115612838576128386127d0565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516129af81601785016020880161257c565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516129e081602884016020880161257c565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081612a2757612a276127d0565b50600019019056fea26469706673582212203760cc2dba2e562b95713df6bbf12f4f966f4dcf8e45f4749fe64cc05f07804664736f6c63430008110033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103e55760003560e01c806379cc67901161020a578063b30a392211610125578063d914cd4b116100b8578063eb527eb011610087578063eb527eb0146108ad578063fbac3951146108c1578063fc556f44146108e4578063fd1c24ed146108f7578063ff9913e81461092257600080fd5b8063d914cd4b1461086a578063dd62ed3e1461087d578063e3b225b314610890578063e565f3c21461089a57600080fd5b8063d5391393116100f4578063d5391393146107f6578063d547741f1461081d578063d6d1417114610830578063d88ac80e1461085757600080fd5b8063b30a3922146107a1578063b811b4ae146107aa578063babcc539146107ca578063cff3ef37146107ed57600080fd5b806395d89b411161019d578063a457c2d71161016c578063a457c2d71461075f578063a9059cbb14610772578063a9ed9cb814610785578063b068574c1461079857600080fd5b806395d89b41146107335780639ff0ebc91461073b578063a085b4cf1461074e578063a217fddf1461075757600080fd5b80638b827095116101d95780638b827095146106fa5780638fce2b711461070257806391d148541461070d57806392aeb1cb1461072057600080fd5b806379cc6790146106c357806379d6df21146106d65780637dfedef9146106e95780638456cb59146106f257600080fd5b8063395093511161030557806350e15fdd116102985780635fff4904116102675780635fff49041461064057806366e670fe1461065357806367b220a51461066657806370a082311461067957806375037995146106a257600080fd5b806350e15fdd146105f657806354fab3e2146105ff5780635b16ebb7146106125780635c975abb1461063557600080fd5b80633f4ba83a116102d45780633f4ba83a146105a857806340c10f19146105b0578063421da68a146105c357806342966c68146105e357600080fd5b806339509351146105525780633b7d0946146105655780633da01325146105785780633e6968b61461058b57600080fd5b806326cdd6ec1161037d5780632ff2e9dc1161034c5780632ff2e9dc146104f2578063313ce56714610517578063350b93791461052c57806336568abe1461053f57600080fd5b806326cdd6ec146104b95780632ab3ad4c146104c15780632e60d7a5146104d65780632f2ff15d146104df57600080fd5b806316c2be6b116103b957806316c2be6b1461044e57806318160ddd1461047157806323b872dd14610483578063248a9ca31461049657600080fd5b80629fb61a146103ea57806301ffc9a71461041357806306fdde0314610426578063095ea7b31461043b575b600080fd5b6008546103fe90600160a01b900460ff1681565b60405190151581526020015b60405180910390f35b6103fe610421366004612552565b610935565b61042e61096c565b60405161040a91906125a0565b6103fe6104493660046125ef565b6109fe565b6103fe61045c366004612619565b60116020526000908152604090205460ff1681565b6002545b60405190815260200161040a565b6103fe610491366004612634565b610a16565b6104756104a4366004612670565b60009081526005602052604090206001015490565b610475610bcc565b6104d46104cf36600461269b565b610c27565b005b610475600e5481565b6104d46104ed3660046126b6565b610cee565b6104fe64174876e80081565b60405167ffffffffffffffff909116815260200161040a565b60125b60405160ff909116815260200161040a565b6104d461053a366004612670565b610d18565b6104d461054d3660046126b6565b610d90565b6103fe6105603660046125ef565b610e13565b6104d4610573366004612619565b610e35565b6104d4610586366004612619565b610e9f565b610593610f1e565b60405163ffffffff909116815260200161040a565b6104d4610f5d565b6104d46105be3660046125ef565b610f73565b6104756105d1366004612619565b60126020526000908152604090205481565b6104d46105f1366004612670565b610faf565b61047560075481565b6104d461060d366004612670565b610fb9565b6103fe610620366004612619565b60136020526000908152604090205460ff1681565b60065460ff166103fe565b6104d461064e366004612670565b61101b565b6104d4610661366004612619565b611094565b6104d4610674366004612619565b6110ec565b610475610687366004612619565b6001600160a01b031660009081526020819052604090205490565b600c546106b09061ffff1681565b60405161ffff909116815260200161040a565b6104d46106d13660046125ef565b611168565b6104d46106e4366004612670565b61117d565b610475600b5481565b6104d46111e0565b61051a600581565b6104fe633b9aca0081565b6103fe61071b3660046126b6565b6111f3565b6104d461072e3660046126e2565b61121e565b61042e611276565b6104d4610749366004612619565b611285565b6106b061271081565b610475600081565b6103fe61076d3660046125ef565b6112da565b6103fe6107803660046125ef565b611360565b6104d4610793366004612619565b6114db565b610475600d5481565b610475600a5481565b6104756107b8366004612704565b60146020526000908152604090205481565b6103fe6107d8366004612619565b60106020526000908152604090205460ff1681565b61047560095481565b6104757f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6104d461082b3660046126b6565b611557565b6104757f00000000000000000000000000000000000000000000000000000000639d7b8981565b6104d461086536600461272a565b61157c565b6104d4610878366004612619565b611633565b61047561088b36600461276c565b6116c9565b6104fe620f424081565b6104d46108a836600461269b565b6116f4565b600c546106b09062010000900461ffff1681565b6103fe6108cf366004612619565b600f6020526000908152604090205460ff1681565b6104d46108f2366004612670565b61179b565b60085461090a906001600160a01b031681565b6040516001600160a01b03909116815260200161040a565b6104d4610930366004612619565b6117fe565b60006001600160e01b03198216637965db0b60e01b148061096657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461097b90612796565b80601f01602080910402602001604051908101604052809291908181526020018280546109a790612796565b80156109f45780601f106109c9576101008083540402835291602001916109f4565b820191906000526020600020905b8154815290600101906020018083116109d757829003601f168201915b5050505050905090565b600033610a0c81858561187d565b5060019392505050565b6000610a206119a1565b600854600160a01b900460ff168015610a5157506001600160a01b03831660009081526013602052604090205460ff165b8015610a7657506001600160a01b03841660009081526010602052604090205460ff16155b8015610aa65750600b54610a8a90436127e6565b6001600160a01b03851660009081526012602052604090205410155b15610ad457506001600160a01b0383166000908152600f60205260408120805460ff19166001179055610bc5565b6001600160a01b03841660009081526013602052604090205460ff1680610b1357506001600160a01b03831660009081526013602052604090205460ff165b8015610b5c57506001600160a01b03841660009081526011602052604090205460ff16158015610b5c57506001600160a01b03831660009081526011602052604090205460ff16155b15610bb7576000610b6c836119e9565b9050610b7881846127e6565b600854909350610b9d9086906001600160a01b0316610b986002856127f9565b611af0565b610ba657600080fd5b610bb5856106d16002846127f9565b505b610bc2848484611af0565b90505b9392505050565b600080610bd7610f1e565b610be290600161281b565b63ffffffff169050610bf7816201518061283f565b610c21907f00000000000000000000000000000000000000000000000000000000639d7b89612856565b91505090565b6000610c3281611b09565b600c5461ffff9081169083161115610c5d576040516337d4ed5b60e01b815260040160405180910390fd5b6107d08261ffff161180610c7a5750600c5461ffff908116908316115b15610c985760405163248690e160e21b815260040160405180910390fd5b600c805463ffff000019166201000061ffff8516908102919091179091556040519081527f35fc6ffabd49ef679b99c9335321be8010cc412b6d15adfc23c209cadc80307a906020015b60405180910390a15050565b600082815260056020526040902060010154610d0981611b09565b610d138383611b13565b505050565b6000610d2381611b09565b620f4240821015610d475760405163248690e160e21b815260040160405180910390fd5b610d536012600a61294d565b610d5d908361283f565b600a556040518281527fc646218fba814fad1a9b2821bce70cc809db1f59c4e3c1b9e41937dee238b01290602001610ce2565b6001600160a01b0381163314610e055760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610e0f8282611b99565b5050565b600033610a0c818585610e2683836116c9565b610e309190612856565b61187d565b6000610e4081611b09565b6001600160a01b0382166000818152601360209081526040808320805460ff1990811690915560109092528083208054909216909155517f4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f9190a25050565b6000610eaa81611b09565b6001600160a01b038216610ed15760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0382166000818152600f6020526040808220805460ff19166001179055517f71fa9c99da9552de60a9ccf693f5a91456cbb8c205c8e532b1f55339903543cf9190a25050565b600062015180610f4e7f00000000000000000000000000000000000000000000000000000000639d7b89426127e6565b610f5891906127f9565b905090565b6000610f6881611b09565b610f70611c00565b50565b610f7b6119a1565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610fa581611b09565b610d138383611c52565b610f703382611d3d565b6000610fc481611b09565b6005821115610fe65760405163248690e160e21b815260040160405180910390fd5b600b8290556040518281527f682ff8099fee7bd4ff0ae9c8158aaba37de05633ce38a8a2b62c809df1742aae90602001610ce2565b600061102681611b09565b633b9aca0082101561104b5760405163248690e160e21b815260040160405180910390fd5b6110576012600a61294d565b611061908361283f565b6009556040518281527f9a1ee78678ec77dc5831fb996556a8aa42c5da503e72c55331a8cc26a24e5bdb90602001610ce2565b600061109f81611b09565b6001600160a01b038216600081815260116020526040808220805460ff19166001179055517f20200da9cb0ace40cddab61c423bbdee4a4a74fe32308aa6919903886eefcf229190a25050565b60006110f781611b09565b6001600160a01b03821661111e5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b0382166000818152600f6020526040808220805460ff19169055517f385b21b54e2348e690dec29e9741026142b02eaabfcc2fcb676cebcb7cd165349190a25050565b611173823383611e97565b610e0f8282611d3d565b600061118881611b09565b600e548210156111ab576040516336f91d6360e11b815260040160405180910390fd5b600d8290556040518281527f22c6d6bea253c09cf6d5671ab0840be4256b4ad636f6c60f7ba5e54603ce760590602001610ce2565b60006111eb81611b09565b610f70611f11565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600061122981611b09565b60088054831515600160a01b0260ff60a01b199091161790556040517ffa3c31ef705d0c9495c1d3233460b93837660c9b6315704ad5de80b1553ed7d390610ce290841515815260200190565b60606004805461097b90612796565b600061129081611b09565b6001600160a01b038216600081815260116020526040808220805460ff19169055517fcfd76093f9849340331183b352dca4fe665b333f6982a51ac2b96f119a0493579190a25050565b600033816112e882866116c9565b9050838110156113485760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610dfc565b611355828686840361187d565b506001949350505050565b600061136a6119a1565b600854600160a01b900460ff16801561139b57506001600160a01b03831660009081526013602052604090205460ff165b80156113b757503360009081526010602052604090205460ff16155b80156113de5750600b546113cb90436127e6565b3360009081526012602052604090205410155b156114035750336000908152600f60205260408120805460ff19166001179055610966565b6001600160a01b03831660009081526013602052604090205460ff168061143957503360009081526013602052604090205460ff165b801561147957503360009081526011602052604090205460ff1615801561147957506001600160a01b03831660009081526011602052604090205460ff16155b156114d1576000611489836119e9565b905061149581846127e6565b6008549093506114b8906001600160a01b03166114b36002846127f9565b611f4e565b6114c157600080fd5b6114cf6105f16002836127f9565b505b610bc58383611f4e565b60006114e681611b09565b6001600160a01b03821661150d5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038216600081815260106020526040808220805460ff19169055517f5f1b0fa787087c297cc2ee3a7641860058ab750c330ac3ea5d6d5b9b777f353d9190a25050565b60008281526005602052604090206001015461157281611b09565b610d138383611b99565b600061158781611b09565b6008546001600160a01b03161515806115a757506001600160a01b038516155b156115c557604051630337323560e31b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0387169081179091556116089060126115f490600a61294d565b6116039064174876e80061283f565b611c52565b611611846116f4565b61161a84610c27565b61162383610d18565b61162c8261101b565b5050505050565b600061163e81611b09565b6001600160a01b0382166116655760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b03821660008181526013602090815260408083208054600160ff1991821681179092556010909352818420805490931617909155517f73cca62ab1b520c9715bf4e6c71e3e518c754e7148f65102f43289a7df0efea69190a25050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006116ff81611b09565b600c5461ffff6201000090910481169083161015611730576040516337d4ed5b60e01b815260040160405180910390fd5b6107d08261ffff1611156117575760405163248690e160e21b815260040160405180910390fd5b600c805461ffff191661ffff84169081179091556040519081527f197cc2af1f8b3ce1b6c3493c942a258eb9c84d0c7093deae786b82068b500b3590602001610ce2565b60006117a681611b09565b600d548211156117c9576040516336f91d6360e11b815260040160405180910390fd5b600e8290556040518281527f73cbc5ffb2fe3a2a65b4c757f28e06dc3d8c150c601521bedd2072519c35405690602001610ce2565b600061180981611b09565b6001600160a01b0382166118305760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038216600081815260106020526040808220805460ff19166001179055517f5d20d7597e8195aa92d4ad63482761cfbbe7c4afdef190f27182702924c9af779190a25050565b6001600160a01b0383166118df5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610dfc565b6001600160a01b0382166119405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610dfc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60065460ff16156119e75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610dfc565b565b600080600e54831015611a3057600c5461271090611a119062010000900461ffff168261295c565b611a1f9061ffff168561283f565b611a2991906127f9565b9050611ae6565b600d54831115611a4f57600c5461271090611a119061ffff168261295c565b6000600e54600d54611a6191906127e6565b600c54909150600090611a809061ffff6201000082048116911661295c565b61ffff1690506000600e5486611a9691906127e6565b9050600083611aa5848461283f565b611aaf91906127f9565b600e54611abc9190612856565b9050612710611acb82826127e6565b611ad5908961283f565b611adf91906127f9565b9450505050505b610bc581846127e6565b600033611afe858285611e97565b611355858585611f58565b610f708133612131565b611b1d82826111f3565b610e0f5760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611b553390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611ba382826111f3565b15610e0f5760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b611c08612195565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611ca85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610dfc565b611cb4600083836121de565b8060026000828254611cc69190612856565b90915550506001600160a01b03821660009081526020819052604081208054839290611cf3908490612856565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216611d9d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610dfc565b611da9826000836121de565b6001600160a01b03821660009081526020819052604090205481811015611e1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610dfc565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611e4c9084906127e6565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000611ea384846116c9565b90506000198114611f0b5781811015611efe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610dfc565b611f0b848484840361187d565b50505050565b611f196119a1565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611c353390565b600033610a0c8185855b6001600160a01b038316611fbc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610dfc565b6001600160a01b03821661201e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610dfc565b6120298383836121de565b6001600160a01b038316600090815260208190526040902054818110156120a15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610dfc565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906120d8908490612856565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161212491815260200190565b60405180910390a3611f0b565b61213b82826111f3565b610e0f57612153816001600160a01b031660146123b6565b61215e8360206123b6565b60405160200161216f929190612977565b60408051601f198184030181529082905262461bcd60e51b8252610dfc916004016125a0565b60065460ff166119e75760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610dfc565b6001600160a01b038084166000908152601060209081526040808320549386168352600f90915290205460ff91821691168061223257506001600160a01b0384166000908152600f602052604090205460ff165b801561223c575080155b1561225a57604051636bc671fd60e01b815260040160405180910390fd5b6001600160a01b03831661228057816007600082825461227a9190612856565b90915550505b6001600160a01b038416158015906122a057506001600160a01b03831615155b156123b1576001600160a01b03841660009081526013602052604090205460ff16156122e6576001600160a01b0383166000908152601260205260409020439055611f0b565b6001600160a01b03831660009081526013602052604090205460ff16156123b157600a5482118015612316575080155b15612334576040516302c5833b60e61b815260040160405180910390fd5b600061233e610f1e565b63ffffffff8116600090815260146020526040812080549293508592909190612368908490612856565b909155505060095463ffffffff8216600090815260146020526040902054118015612391575081155b156123af576040516305d6f43b60e01b815260040160405180910390fd5b505b611f0b565b606060006123c583600261283f565b6123d0906002612856565b67ffffffffffffffff8111156123e8576123e86129ec565b6040519080825280601f01601f191660200182016040528015612412576020820181803683370190505b509050600360fc1b8160008151811061242d5761242d612a02565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061245c5761245c612a02565b60200101906001600160f81b031916908160001a905350600061248084600261283f565b61248b906001612856565b90505b6001811115612503576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106124bf576124bf612a02565b1a60f81b8282815181106124d5576124d5612a02565b60200101906001600160f81b031916908160001a90535060049490941c936124fc81612a18565b905061248e565b508315610bc55760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610dfc565b60006020828403121561256457600080fd5b81356001600160e01b031981168114610bc557600080fd5b60005b8381101561259757818101518382015260200161257f565b50506000910152565b60208152600082518060208401526125bf81604085016020870161257c565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146125ea57600080fd5b919050565b6000806040838503121561260257600080fd5b61260b836125d3565b946020939093013593505050565b60006020828403121561262b57600080fd5b610bc5826125d3565b60008060006060848603121561264957600080fd5b612652846125d3565b9250612660602085016125d3565b9150604084013590509250925092565b60006020828403121561268257600080fd5b5035919050565b803561ffff811681146125ea57600080fd5b6000602082840312156126ad57600080fd5b610bc582612689565b600080604083850312156126c957600080fd5b823591506126d9602084016125d3565b90509250929050565b6000602082840312156126f457600080fd5b81358015158114610bc557600080fd5b60006020828403121561271657600080fd5b813563ffffffff81168114610bc557600080fd5b6000806000806080858703121561274057600080fd5b612749856125d3565b935061275760208601612689565b93969395505050506040820135916060013590565b6000806040838503121561277f57600080fd5b612788836125d3565b91506126d9602084016125d3565b600181811c908216806127aa57607f821691505b6020821081036127ca57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610966576109666127d0565b60008261281657634e487b7160e01b600052601260045260246000fd5b500490565b63ffffffff818116838216019080821115612838576128386127d0565b5092915050565b8082028115828204841417610966576109666127d0565b80820180821115610966576109666127d0565b600181815b808511156128a457816000190482111561288a5761288a6127d0565b8085161561289757918102915b93841c939080029061286e565b509250929050565b6000826128bb57506001610966565b816128c857506000610966565b81600181146128de57600281146128e857612904565b6001915050610966565b60ff8411156128f9576128f96127d0565b50506001821b610966565b5060208310610133831016604e8410600b8410161715612927575081810a610966565b6129318383612869565b8060001904821115612945576129456127d0565b029392505050565b6000610bc560ff8416836128ac565b61ffff828116828216039080821115612838576128386127d0565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516129af81601785016020880161257c565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516129e081602884016020880161257c565b01602801949350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081612a2757612a276127d0565b50600019019056fea26469706673582212203760cc2dba2e562b95713df6bbf12f4f966f4dcf8e45f4749fe64cc05f07804664736f6c63430008110033
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.