ETH Price: $2,989.00 (+4.46%)
Gas: 2 Gwei

Token

Wolf of Wall Street ($WOLF)
 

Overview

Max Total Supply

1,000,000,000 $WOLF

Holders

176 (0.00%)

Market

Price

$0.01 @ 0.000003 ETH

Onchain Market Cap

$9,799,490.00

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
26,607,360.364239765369762644 $WOLF

Value
$260,738.56 ( ~87.2327 Eth) [2.6607%]
0x52a7be742fefd89a057460abab2777d548447883
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

$WOLF is the unofficial crypto fan club for the iconic film, The Wolf of Wall Street. We celebrate the hilarious memes & inspirational themes from this beloved film based on the wild life of Jordan Belfort.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FullFeatureToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1337 runs

Other Settings:
default evmVersion, GNU GPLv3 license
File 1 of 10 : FullFeatureToken.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.7;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol";
import { Helpers } from "./lib/Helpers.sol";

contract FullFeatureToken is ERC20, ERC20Burnable, ERC20Pausable, Ownable {
  uint256 private constant MAX_BPS_AMOUNT = 10_000;
  /// @notice mapping of blacklisted addresses to a boolean
  mapping(address => bool) private _isBlacklisted;
  /// @notice mapping of whitelisted addresses to a boolean
  mapping(address => bool) public whitelist;
  /// @notice array holding all whitelisted addresses
  address[] public whitelistedAddresses;
  /// @notice support for attaching of documentation for security tokens
  string public initialDocumentUri;
  /// @notice the security token documentation
  string public documentUri;
  /// @notice initial number of tokens which will be minted during initialization
  uint256 public immutable initialSupply;
  /// @notice initial max amount of tokens allowed per wallet
  uint256 public immutable initialMaxTokenAmountPerAddress;
  /// @notice max amount of tokens allowed per wallet
  uint256 public maxTokenAmountPerAddress;
  /// @notice set of features supported by the token
  struct ERC20ConfigProps {
    bool _isMintable;
    bool _isBurnable;
    bool _isPausable;
    bool _isBlacklistEnabled;
    bool _isDocumentAllowed;
    bool _isWhitelistEnabled;
    bool _isMaxAmountOfTokensSet;
    bool _isForceTransferAllowed;
    bool _isTaxable;
    bool _isDeflationary;
  }
  /// @notice features of the token
  ERC20ConfigProps private configProps;
  /// @notice owner of the contract
  address public immutable initialTokenOwner;
  /// @notice number of decimals of the token
  uint8 private _decimals;
  address public taxAddress;
  uint256 public taxBPS;
  uint256 public deflationBPS;

  /// @notice emitted when an address is blacklisted
  event UserBlacklisted(address indexed addr);
  /// @notice emitted when an address is unblacklisted
  event UserUnBlacklisted(address indexed addr);
  /// @notice emitted when a new document is set for the security token
  event DocumentUriSet(string newDocUri);
  /// @notice emitted when a new max amount of tokens per wallet is set
  event MaxTokenAmountPerSet(uint256 newMaxTokenAmount);
  /// @notice emitted when a new whitelist is set
  event UsersWhitelisted(address[] updatedAddresses);
  /// @notice emitted when a new tax address or taxBPS is set
  event TaxConfigSet(address indexed _taxAddress, uint256 indexed _taxBPS);
  /// @notice emitted when a new deflationBPS is set
  event DeflationConfigSet(uint256 indexed _deflationBPS);

  /// @notice raised when the amount sent is zero
  error InvalidMaxTokenAmount(uint256 maxTokenAmount);
  /// @notice raised when the decimals are not in the range 0 - 18
  error InvalidDecimals(uint8 decimals);
  /// @notice raised when setting maxTokenAmount less than current
  error MaxTokenAmountPerAddrLtPrevious();
  /// @notice raised when blacklisting is not enabled
  error BlacklistNotEnabled();
  /// @notice raised when the address is already blacklisted
  error AddrAlreadyBlacklisted(address addr);
  /// @notice raised when the address is already unblacklisted
  error AddrAlreadyUnblacklisted(address addr);
  /// @notice raised when attempting to blacklist a whitelisted address
  error CannotBlacklistWhitelistedAddr(address addr);
  /// @notice raised when a recipient address is blacklisted
  error RecipientBlacklisted(address addr);
  /// @notice raised when a sender address is blacklisted
  error SenderBlacklisted(address addr);
  /// @notice raised when a recipient address is not whitelisted
  error RecipientNotWhitelisted(address addr);
  /// @notice raised when a sender address is not whitelisted
  error SenderNotWhitelisted(address addr);
  /// @notice raised when recipient balance exceeds maxTokenAmountPerAddress
  error DestBalanceExceedsMaxAllowed(address addr);
  /// @notice raised minting is not enabled
  error MintingNotEnabled();
  /// @notice raised when burning is not enabled
  error BurningNotEnabled();
  /// @notice raised when pause is not enabled
  error PausingNotEnabled();
  /// @notice raised when whitelist is not enabled
  error WhitelistNotEnabled();
  /// @notice raised when attempting to whitelist a blacklisted address
  error CannotWhitelistBlacklistedAddr(address addr);
  /// @notice raised when trying to set a document URI when not allowed
  error DocumentUriNotAllowed();
  /// @notice raised when trying to set a max amount of tokens when not allowed
  error MaxTokenAmountNotAllowed();
  /// @notice raised when trying to set a tax address or taxBPS when not allowed
  error TokenIsNotTaxable();
  /// @notice raised when trying to set a deflationBPS when not allowed
  error TokenIsNotDeflationary();
  /// @notice raised when trying to set an invalid taxBPS
  error InvalidTaxBPS(uint256 bps);
  /// @notice raised when trying to set and invalid deflationBPS
  error InvalidDeflationBPS(uint256 bps);

  /**
   * @notice modifier for validating if transfer is possible and valid
   * @param sender the sender of the transaction
   * @param recipient the recipient of the transaction
   */
  modifier validateTransfer(address sender, address recipient) {
    if (isWhitelistEnabled()) {
      if (!whitelist[sender]) {
        revert SenderNotWhitelisted(sender);
      }
      if (!whitelist[recipient]) {
        revert RecipientNotWhitelisted(recipient);
      }
      if (
        sender != msg.sender && msg.sender != owner() && !whitelist[msg.sender]
      ) {
        revert SenderNotWhitelisted(msg.sender);
      }
    }
    if (isBlacklistEnabled()) {
      if (_isBlacklisted[sender]) {
        revert SenderBlacklisted(sender);
      }
      if (_isBlacklisted[recipient]) {
        revert RecipientBlacklisted(recipient);
      }
      if (
        sender != msg.sender &&
        msg.sender != owner() &&
        _isBlacklisted[msg.sender]
      ) {
        revert SenderBlacklisted(msg.sender);
      }
    }
    _;
  }

  constructor(
    string memory name_,
    string memory symbol_,
    uint256 initialSupplyToSet,
    uint8 decimalsToSet,
    address tokenOwner,
    ERC20ConfigProps memory customConfigProps,
    uint256 maxTokenAmount,
    string memory newDocumentUri,
    address _taxAddress,
    uint256 _taxBPS,
    uint256 _deflationBPS
  ) ERC20(name_, symbol_) {
    if (customConfigProps._isMaxAmountOfTokensSet) {
      if (maxTokenAmount == 0) {
        revert InvalidMaxTokenAmount(maxTokenAmount);
      }
    }
    if (decimalsToSet > 18) {
      revert InvalidDecimals(decimalsToSet);
    }
    if (customConfigProps._isTaxable) {
      if (_taxBPS > MAX_BPS_AMOUNT) {
        revert InvalidTaxBPS(_taxBPS);
      }
      Helpers.validateAddress(_taxAddress);
      taxAddress = _taxAddress;
      taxBPS = _taxBPS;
    }
    if (customConfigProps._isDeflationary) {
      if (_deflationBPS > MAX_BPS_AMOUNT) {
        revert InvalidDeflationBPS(_deflationBPS);
      }
      deflationBPS = _deflationBPS;
    }
    Helpers.validateAddress(tokenOwner);

    initialSupply = initialSupplyToSet;
    initialMaxTokenAmountPerAddress = maxTokenAmount;
    initialDocumentUri = newDocumentUri;
    initialTokenOwner = tokenOwner;
    _decimals = decimalsToSet;
    configProps = customConfigProps;
    documentUri = newDocumentUri;
    maxTokenAmountPerAddress = maxTokenAmount;

    if (initialSupplyToSet != 0) {
      _mint(tokenOwner, initialSupplyToSet * 10**decimalsToSet);
    }

    if (tokenOwner != msg.sender) {
      transferOwnership(tokenOwner);
    }
  }

  /**
   * @notice hook called before any transfer of tokens. This includes minting and burning
   * imposed by the ERC20 standard
   * @param from - address of the sender
   * @param to - address of the recipient
   * @param amount - amount of tokens to transfer
   */
  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 amount
  ) internal virtual override(ERC20, ERC20Pausable) {
    super._beforeTokenTransfer(from, to, amount);
  }

  /// @notice method which checks if the token is pausable
  function isPausable() public view returns (bool) {
    return configProps._isPausable;
  }

  /// @notice method which checks if the token is mintable
  function isMintable() public view returns (bool) {
    return configProps._isMintable;
  }

  /// @notice method which checks if the token is burnable
  function isBurnable() public view returns (bool) {
    return configProps._isBurnable;
  }

  /// @notice method which checks if the token supports blacklisting
  function isBlacklistEnabled() public view returns (bool) {
    return configProps._isBlacklistEnabled;
  }

  /// @notice method which checks if the token supports whitelisting
  function isWhitelistEnabled() public view returns (bool) {
    return configProps._isWhitelistEnabled;
  }

  /// @notice method which checks if the token supports max amount of tokens per wallet
  function isMaxAmountOfTokensSet() public view returns (bool) {
    return configProps._isMaxAmountOfTokensSet;
  }

  /// @notice method which checks if the token supports documentUris
  function isDocumentUriAllowed() public view returns (bool) {
    return configProps._isDocumentAllowed;
  }

  /// @notice method which checks if the token supports force transfers
  function isForceTransferAllowed() public view returns (bool) {
    return configProps._isForceTransferAllowed;
  }

  /// @notice method which returns the number of decimals for the token
  function decimals() public view virtual override returns (uint8) {
    return _decimals;
  }

  /// @notice method which checks if the token is taxable
  function isTaxable() public view returns (bool) {
    return configProps._isTaxable;
  }

  /// @notice method which checks if the token is deflationary
  function isDeflationary() public view returns (bool) {
    return configProps._isDeflationary;
  }

  /**
   * @notice which returns an array of all the whitelisted addresses
   * @return whitelistedAddresses array of all the whitelisted addresses
   */
  function getWhitelistedAddresses() external view returns (address[] memory) {
    return whitelistedAddresses;
  }

  /**
   * @notice method which allows the owner to set a documentUri
   * @param newDocumentUri - the new documentUri
   * @dev only callable by the owner
   */
  function setDocumentUri(string memory newDocumentUri)
    external
    onlyOwner
    whenNotPaused
  {
    if (!isDocumentUriAllowed()) {
      revert DocumentUriNotAllowed();
    }
    documentUri = newDocumentUri;
    emit DocumentUriSet(newDocumentUri);
  }

  /**
   * @notice method which allows the owner to set a max amount of tokens per wallet
   * @param newMaxTokenAmount - the new max amount of tokens per wallet
   * @dev only callable by the owner
   */
  function setMaxTokenAmountPerAddress(uint256 newMaxTokenAmount)
    external
    onlyOwner
    whenNotPaused
  {
    if (!isMaxAmountOfTokensSet()) {
      revert MaxTokenAmountNotAllowed();
    }
    if (newMaxTokenAmount <= maxTokenAmountPerAddress) {
      revert MaxTokenAmountPerAddrLtPrevious();
    }

    maxTokenAmountPerAddress = newMaxTokenAmount;
    emit MaxTokenAmountPerSet(newMaxTokenAmount);
  }

  /**
   * @notice method which allows the owner to blacklist an address
   * @param addr - the address to blacklist
   * @dev only callable by the owner
   * @dev only callable if the token is not paused
   * @dev only callable if the token supports blacklisting
   * @dev only callable if the address is not already blacklisted
   * @dev only callable if the address is not whitelisted
   */
  function blackList(address addr) external onlyOwner whenNotPaused {
    Helpers.validateAddress(addr);
    if (!isBlacklistEnabled()) {
      revert BlacklistNotEnabled();
    }
    if (_isBlacklisted[addr]) {
      revert AddrAlreadyBlacklisted(addr);
    }
    if (isWhitelistEnabled() && whitelist[addr]) {
      revert CannotBlacklistWhitelistedAddr(addr);
    }

    _isBlacklisted[addr] = true;
    emit UserBlacklisted(addr);
  }

  /**
   * @notice method which allows the owner to unblacklist an address
   * @param addr - the address to unblacklist
   * @dev only callable by the owner
   * @dev only callable if the token is not paused
   * @dev only callable if the token supports blacklisting
   * @dev only callable if the address is blacklisted
   */
  function removeFromBlacklist(address addr) external onlyOwner whenNotPaused {
    Helpers.validateAddress(addr);
    if (!isBlacklistEnabled()) {
      revert BlacklistNotEnabled();
    }
    if (!_isBlacklisted[addr]) {
      revert AddrAlreadyUnblacklisted(addr);
    }
    delete _isBlacklisted[addr];
    emit UserUnBlacklisted(addr);
  }

  /**
   * @notice method which allows the owner to set the tax config
   * @param _taxAddress - the new taxAddress
   * @param _taxBPS - the new taxBPS
   */
  function setTaxConfig(address _taxAddress, uint256 _taxBPS)
    external
    onlyOwner
    whenNotPaused
  {
    if (!isTaxable()) {
      revert TokenIsNotTaxable();
    }
    if (_taxBPS > MAX_BPS_AMOUNT) {
      revert InvalidTaxBPS(_taxBPS);
    }
    Helpers.validateAddress(_taxAddress);
    taxAddress = _taxAddress;
    taxBPS = _taxBPS;
    emit TaxConfigSet(_taxAddress, _taxBPS);
  }

  /**
   * @notice method which allows the owner to set the deflation config
   * @param _deflationBPS - the new deflationBPS
   */
  function setDeflationConfig(uint256 _deflationBPS)
    external
    onlyOwner
    whenNotPaused
  {
    if (!isDeflationary()) {
      revert TokenIsNotDeflationary();
    }
    if (_deflationBPS > MAX_BPS_AMOUNT) {
      revert InvalidDeflationBPS(_deflationBPS);
    }
    deflationBPS = _deflationBPS;
    emit DeflationConfigSet(_deflationBPS);
  }

  /**
   * @notice method which allows to transfer a predefined amount of tokens to a predefined address
   * @param to - the address to transfer the tokens to
   * @param amount - the amount of tokens to transfer
   * @return true if the transfer was successful
   * @dev only callable if the token is not paused
   * @dev only callable if the balance of the receiver is lower than the max amount of tokens per wallet
   * @dev checks if blacklisting is enabled and if the sender and receiver are not blacklisted
   * @dev checks if whitelisting is enabled and if the sender and receiver are whitelisted
   * @dev captures the tax during the transfer if tax is enabvled
   * @dev burns the deflationary amount during the transfer if deflation is enabled
   */
  function transfer(address to, uint256 amount)
    public
    virtual
    override
    whenNotPaused
    validateTransfer(msg.sender, to)
    returns (bool)
  {
    uint256 taxAmount = _taxAmount(msg.sender, amount);
    uint256 deflationAmount = _deflationAmount(amount);
    uint256 amountToTransfer = amount - taxAmount - deflationAmount;

    if (isMaxAmountOfTokensSet()) {
      if (balanceOf(to) + amountToTransfer > maxTokenAmountPerAddress) {
        revert DestBalanceExceedsMaxAllowed(to);
      }
    }

    if (taxAmount != 0) {
      _transfer(msg.sender, taxAddress, taxAmount);
    }
    if (deflationAmount != 0) {
      _burn(msg.sender, deflationAmount);
    }
    return super.transfer(to, amountToTransfer);
  }

  /**
   * @notice method which allows to transfer a predefined amount of tokens from a predefined address to a predefined address
   * @param from - the address to transfer the tokens from
   * @param to - the address to transfer the tokens to
   * @param amount - the amount of tokens to transfer
   * @return true if the transfer was successful
   * @dev only callable if the token is not paused
   * @dev only callable if the balance of the receiver is lower than the max amount of tokens per wallet
   * @dev checks if blacklisting is enabled and if the sender and receiver are not blacklisted
   * @dev checks if whitelisting is enabled and if the sender and receiver are whitelisted
   * @dev captures the tax during the transfer if tax is enabvled
   * @dev burns the deflationary amount during the transfer if deflation is enabled
   */
  function transferFrom(
    address from,
    address to,
    uint256 amount
  )
    public
    virtual
    override
    whenNotPaused
    validateTransfer(from, to)
    returns (bool)
  {
    uint256 taxAmount = _taxAmount(from, amount);
    uint256 deflationAmount = _deflationAmount(amount);
    uint256 amountToTransfer = amount - taxAmount - deflationAmount;

    if (isMaxAmountOfTokensSet()) {
      if (balanceOf(to) + amountToTransfer > maxTokenAmountPerAddress) {
        revert DestBalanceExceedsMaxAllowed(to);
      }
    }

    if (taxAmount != 0) {
      _transfer(from, taxAddress, taxAmount);
    }
    if (deflationAmount != 0) {
      _burn(from, deflationAmount);
    }

    if (isForceTransferAllowed() && owner() == msg.sender) {
      _transfer(from, to, amountToTransfer);
      return true;
    } else {
      return super.transferFrom(from, to, amountToTransfer);
    }
  }

  /**
   * @notice method which allows to mint a predefined amount of tokens to a predefined address
   * @param to - the address to mint the tokens to
   * @param amount - the amount of tokens to mint
   * @dev only callable by the owner
   * @dev only callable if the token is not paused
   * @dev only callable if the token supports additional minting
   * @dev only callable if the balance of the receiver is lower than the max amount of tokens per wallet
   * @dev checks if blacklisting is enabled and if the receiver is not blacklisted
   * @dev checks if whitelisting is enabled and if the receiver is whitelisted
   */
  function mint(address to, uint256 amount) external onlyOwner whenNotPaused {
    if (!isMintable()) {
      revert MintingNotEnabled();
    }
    if (isMaxAmountOfTokensSet()) {
      if (balanceOf(to) + amount > maxTokenAmountPerAddress) {
        revert DestBalanceExceedsMaxAllowed(to);
      }
    }
    if (isBlacklistEnabled()) {
      if (_isBlacklisted[to]) {
        revert RecipientBlacklisted(to);
      }
    }
    if (isWhitelistEnabled()) {
      if (!whitelist[to]) {
        revert RecipientNotWhitelisted(to);
      }
    }

    super._mint(to, amount);
  }

  /**
   * @notice method which allows to burn a predefined amount of tokens
   * @param amount - the amount of tokens to burn
   * @dev only callable by the owner
   * @dev only callable if the token is not paused
   * @dev only callable if the token supports burning
   */
  function burn(uint256 amount) public override onlyOwner whenNotPaused {
    if (!isBurnable()) {
      revert BurningNotEnabled();
    }
    super.burn(amount);
  }

  /**
   * @notice method which allows to burn a predefined amount of tokens from a predefined address
   * @param from - the address to burn the tokens from
   * @param amount - the amount of tokens to burn
   * @dev only callable by the owner
   * @dev only callable if the token is not paused
   * @dev only callable if the token supports burning
   */
  function burnFrom(address from, uint256 amount)
    public
    override
    onlyOwner
    whenNotPaused
  {
    if (!isBurnable()) {
      revert BurningNotEnabled();
    }
    super.burnFrom(from, amount);
  }

  /**
   * @notice method which allows to pause the token
   * @dev only callable by the owner
   */
  function pause() external onlyOwner {
    if (!isPausable()) {
      revert PausingNotEnabled();
    }
    _pause();
  }

  /**
   * @notice method which allows to unpause the token
   * @dev only callable by the owner
   */
  function unpause() external onlyOwner {
    if (!isPausable()) {
      revert PausingNotEnabled();
    }
    _unpause();
  }

  /**
   * @notice method which allows to removing the owner of the token
   * @dev methods which are only callable by the owner will not be callable anymore
   * @dev only callable by the owner
   * @dev only callable if the token is not paused
   */
  function renounceOwnership() public override onlyOwner whenNotPaused {
    super.renounceOwnership();
  }

  /**
   * @notice method which allows to transfer the ownership of the token
   * @param newOwner - the address of the new owner
   * @dev only callable by the owner
   * @dev only callable if the token is not paused
   */
  function transferOwnership(address newOwner)
    public
    override
    onlyOwner
    whenNotPaused
  {
    super.transferOwnership(newOwner);
  }

  /**
   * @notice method which allows to update the whitelist of the token
   * @param updatedAddresses - the new set of addresses
   * @dev only callable by the owner
   * @dev only callable if the token supports whitelisting
   */
  function updateWhitelist(address[] calldata updatedAddresses)
    external
    onlyOwner
    whenNotPaused
  {
    if (!isWhitelistEnabled()) {
      revert WhitelistNotEnabled();
    }
    _clearWhitelist();
    _addManyToWhitelist(updatedAddresses);
    whitelistedAddresses = updatedAddresses;
    emit UsersWhitelisted(updatedAddresses);
  }

  /**
   * @notice method which allows for adding a new set of addresses to the whitelist
   * @param addresses - the addresses to add to the whitelist
   * @dev called internally by the contract
   * @dev only callable if any of the addresses are not already whitelisted
   */
  function _addManyToWhitelist(address[] calldata addresses) private {
    for (uint256 i; i < addresses.length; ) {
      Helpers.validateAddress(addresses[i]);
      if (configProps._isBlacklistEnabled && _isBlacklisted[addresses[i]]) {
        revert CannotWhitelistBlacklistedAddr(addresses[i]);
      }
      whitelist[addresses[i]] = true;
      unchecked {
        ++i;
      }
    }
  }

  /**
   * @notice method which allows for removing a set of addresses from the whitelist
   */
  function _clearWhitelist() private {
    unchecked {
      address[] memory addresses = whitelistedAddresses;
      for (uint256 i; i < addresses.length; i++) {
        delete whitelist[addresses[i]];
      }
    }
  }

  /**
   * @notice method which returns the amount of tokens to be taxed during a transfer
   * @param sender - the address of the originating account
   * @param amount - the total amount of tokens sent in the transfer
   * @dev if the tax address is the same as the originating account performing the transfer, no tax is applied
   */
  function _taxAmount(address sender, uint256 amount)
    internal
    view
    returns (uint256 taxAmount)
  {
    taxAmount = 0;
    if (taxBPS != 0 && sender != taxAddress) {
      taxAmount = (amount * taxBPS) / MAX_BPS_AMOUNT;
    }
  }

  /**
   * @notice method which returns the amount of tokens to be burned during a transfer
   * @param amount - the total amount of tokens sent in the transfer
   */
  function _deflationAmount(uint256 amount)
    internal
    view
    returns (uint256 deflationAmount)
  {
    deflationAmount = 0;
    if (deflationBPS != 0) {
      deflationAmount = (amount * deflationBPS) / MAX_BPS_AMOUNT;
    }
  }
}

File 2 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 3 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

File 4 of 10 : IERC20Metadata.sol
// 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);
}

File 5 of 10 : Context.sol
// 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;
    }
}

File 6 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 7 of 10 : ERC20Burnable.sol
// 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);
    }
}

File 8 of 10 : ERC20Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/ERC20Pausable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * IMPORTANT: This contract does not include public pause and unpause functions. In
 * addition to inheriting this contract, you must define both functions, invoking the
 * {Pausable-_pause} and {Pausable-_unpause} internal functions, with appropriate
 * access control, e.g. using {AccessControl} or {Ownable}. Not doing so will
 * make the contract unpausable.
 */
abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
}

File 9 of 10 : Pausable.sol
// 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());
    }
}

File 10 of 10 : Helpers.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity 0.8.7;

library Helpers {
  /// @notice raised when an address is zero
  error NonZeroAddress(address addr);
  /// @notice raised when payment fails
  error PaymentFailed(address to, uint256 amount);

  /**
   * @notice Helper function to check if an address is a zero address
   * @param addr - address to check
   */
  function validateAddress(address addr) internal pure {
    if (addr == address(0x0)) {
      revert NonZeroAddress(addr);
    }
  }

  /**
   * @notice method to pay a specific address with a specific amount
   * @dev inspired from https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol
   * @param to - the address to pay
   * @param amount - the amount to pay
   */
  function safeTransferETH(address to, uint256 amount) internal {
    bool success;
    // solhint-disable-next-line no-inline-assembly
    assembly {
      // Transfer the ETH and store if it succeeded or not.
      success := call(gas(), to, amount, 0, 0, 0, 0)
    }
    if (!success) {
      revert PaymentFailed(to, amount);
    }
  }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1337
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"initialSupplyToSet","type":"uint256"},{"internalType":"uint8","name":"decimalsToSet","type":"uint8"},{"internalType":"address","name":"tokenOwner","type":"address"},{"components":[{"internalType":"bool","name":"_isMintable","type":"bool"},{"internalType":"bool","name":"_isBurnable","type":"bool"},{"internalType":"bool","name":"_isPausable","type":"bool"},{"internalType":"bool","name":"_isBlacklistEnabled","type":"bool"},{"internalType":"bool","name":"_isDocumentAllowed","type":"bool"},{"internalType":"bool","name":"_isWhitelistEnabled","type":"bool"},{"internalType":"bool","name":"_isMaxAmountOfTokensSet","type":"bool"},{"internalType":"bool","name":"_isForceTransferAllowed","type":"bool"},{"internalType":"bool","name":"_isTaxable","type":"bool"},{"internalType":"bool","name":"_isDeflationary","type":"bool"}],"internalType":"struct FullFeatureToken.ERC20ConfigProps","name":"customConfigProps","type":"tuple"},{"internalType":"uint256","name":"maxTokenAmount","type":"uint256"},{"internalType":"string","name":"newDocumentUri","type":"string"},{"internalType":"address","name":"_taxAddress","type":"address"},{"internalType":"uint256","name":"_taxBPS","type":"uint256"},{"internalType":"uint256","name":"_deflationBPS","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"AddrAlreadyBlacklisted","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"AddrAlreadyUnblacklisted","type":"error"},{"inputs":[],"name":"BlacklistNotEnabled","type":"error"},{"inputs":[],"name":"BurningNotEnabled","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"CannotBlacklistWhitelistedAddr","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"CannotWhitelistBlacklistedAddr","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"DestBalanceExceedsMaxAllowed","type":"error"},{"inputs":[],"name":"DocumentUriNotAllowed","type":"error"},{"inputs":[{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"InvalidDecimals","type":"error"},{"inputs":[{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"InvalidDeflationBPS","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxTokenAmount","type":"uint256"}],"name":"InvalidMaxTokenAmount","type":"error"},{"inputs":[{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"InvalidTaxBPS","type":"error"},{"inputs":[],"name":"MaxTokenAmountNotAllowed","type":"error"},{"inputs":[],"name":"MaxTokenAmountPerAddrLtPrevious","type":"error"},{"inputs":[],"name":"MintingNotEnabled","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"NonZeroAddress","type":"error"},{"inputs":[],"name":"PausingNotEnabled","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"RecipientBlacklisted","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"RecipientNotWhitelisted","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"SenderBlacklisted","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"SenderNotWhitelisted","type":"error"},{"inputs":[],"name":"TokenIsNotDeflationary","type":"error"},{"inputs":[],"name":"TokenIsNotTaxable","type":"error"},{"inputs":[],"name":"WhitelistNotEnabled","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_deflationBPS","type":"uint256"}],"name":"DeflationConfigSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newDocUri","type":"string"}],"name":"DocumentUriSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxTokenAmount","type":"uint256"}],"name":"MaxTokenAmountPerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_taxAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"_taxBPS","type":"uint256"}],"name":"TaxConfigSet","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":true,"internalType":"address","name":"addr","type":"address"}],"name":"UserBlacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"}],"name":"UserUnBlacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"updatedAddresses","type":"address[]"}],"name":"UsersWhitelisted","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"blackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deflationBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"documentUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistedAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"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":[],"name":"initialDocumentUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialMaxTokenAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialTokenOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBlacklistEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDeflationary","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isDocumentUriAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isForceTransferAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMaxAmountOfTokensSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPausable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTaxable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"addr","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_deflationBPS","type":"uint256"}],"name":"setDeflationConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDocumentUri","type":"string"}],"name":"setDocumentUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTokenAmount","type":"uint256"}],"name":"setMaxTokenAmountPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxAddress","type":"address"},{"internalType":"uint256","name":"_taxBPS","type":"uint256"}],"name":"setTaxConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"updatedAddresses","type":"address[]"}],"name":"updateWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60e06040523480156200001157600080fd5b50604051620037c3380380620037c383398101604081905262000034916200095b565b8a518b908b906200004d90600390602085019062000700565b5080516200006390600490602084019062000700565b50506005805460ff19169055506200007b33620003af565b8560c0015115620000ad5784620000ad576040516364824b8d60e01b8152600481018690526024015b60405180910390fd5b60128860ff161115620000d95760405163ca95039160e01b815260ff89166004820152602401620000a4565b8561010001511562000149576127108211156200010d576040516365a0074b60e11b815260048101839052602401620000a4565b62000123836200040960201b620019781760201c565b600d8054610100600160a81b0319166101006001600160a01b03861602179055600e8290555b8561012001511562000183576127108111156200017d576040516305dba32960e51b815260048101829052602401620000a4565b600f8190555b62000199876200040960201b620019781760201c565b608089905260a08590528351620001b890600990602087019062000700565b50866001600160a01b031660c0816001600160a01b031660601b8152505087600d60006101000a81548160ff021916908360ff16021790555085600c60008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff02191690831515021790555060808201518160000160046101000a81548160ff02191690831515021790555060a08201518160000160056101000a81548160ff02191690831515021790555060c08201518160000160066101000a81548160ff02191690831515021790555060e08201518160000160076101000a81548160ff0219169083151502179055506101008201518160000160086101000a81548160ff0219169083151502179055506101208201518160000160096101000a81548160ff02191690831515021790555090505083600a90805190602001906200035192919062000700565b50600b859055881562000382576200038287620003708a600a62000b34565b6200037c908c62000c02565b62000440565b6001600160a01b03871633146200039e576200039e8762000511565b505050505050505050505062000c8d565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0381166200043d5760405163277bcf2d60e11b81526001600160a01b0382166004820152602401620000a4565b50565b6001600160a01b038216620004985760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000a4565b620004a6600083836200053b565b8060026000828254620004ba919062000ad0565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6200051b62000558565b62000525620005bc565b6200043d816200060460201b620019c31760201c565b620005538383836200068060201b62001a501760201c565b505050565b6005546001600160a01b03610100909104163314620005ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620000a4565b565b60055460ff1615620005ba5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620000a4565b6200060e62000558565b6001600160a01b038116620006755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620000a4565b6200043d81620003af565b620006988383836200055360201b62001ac91760201c565b60055460ff1615620005535760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401620000a4565b8280546200070e9062000c24565b90600052602060002090601f0160209004810192826200073257600085556200077d565b82601f106200074d57805160ff19168380011785556200077d565b828001600101855582156200077d579182015b828111156200077d57825182559160200191906001019062000760565b506200078b9291506200078f565b5090565b5b808211156200078b576000815560010162000790565b80516001600160a01b0381168114620007be57600080fd5b919050565b80518015158114620007be57600080fd5b600082601f830112620007e657600080fd5b81516001600160401b0381111562000802576200080262000c77565b602062000818601f8301601f1916820162000a9d565b82815285828487010111156200082d57600080fd5b60005b838110156200084d57858101830151828201840152820162000830565b838111156200085f5760008385840101525b5095945050505050565b600061014082840312156200087d57600080fd5b6200088762000a71565b90506200089482620007c3565b8152620008a460208301620007c3565b6020820152620008b760408301620007c3565b6040820152620008ca60608301620007c3565b6060820152620008dd60808301620007c3565b6080820152620008f060a08301620007c3565b60a08201526200090360c08301620007c3565b60c08201526200091660e08301620007c3565b60e08201526101006200092b818401620007c3565b908201526101206200093f838201620007c3565b9082015292915050565b805160ff81168114620007be57600080fd5b60008060008060008060008060008060006102808c8e0312156200097e57600080fd5b8b516001600160401b038111156200099557600080fd5b620009a38e828f01620007d4565b60208e0151909c5090506001600160401b03811115620009c257600080fd5b620009d08e828f01620007d4565b9a505060408c01519850620009e860608d0162000949565b9750620009f860808d01620007a6565b965062000a098d60a08e0162000869565b6101e08d01516102008e015191975095506001600160401b0381111562000a2f57600080fd5b62000a3d8e828f01620007d4565b94505062000a4f6102208d01620007a6565b92506102408c015191506102608c015190509295989b509295989b9093969950565b60405161014081016001600160401b038111828210171562000a975762000a9762000c77565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000ac85762000ac862000c77565b604052919050565b6000821982111562000ae65762000ae662000c61565b500190565b600181815b8085111562000b2c57816000190482111562000b105762000b1062000c61565b8085161562000b1e57918102915b93841c939080029062000af0565b509250929050565b600062000b4560ff84168362000b4c565b9392505050565b60008262000b5d5750600162000bfc565b8162000b6c5750600062000bfc565b816001811462000b85576002811462000b905762000bb0565b600191505062000bfc565b60ff84111562000ba45762000ba462000c61565b50506001821b62000bfc565b5060208310610133831016604e8410600b841016171562000bd5575081810a62000bfc565b62000be1838362000aeb565b806000190482111562000bf85762000bf862000c61565b0290505b92915050565b600081600019048311821515161562000c1f5762000c1f62000c61565b500290565b600181811c9082168062000c3957607f821691505b6020821081141562000c5b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160601c612b0362000cc0600039600061059901526000610614015260006103fd0152612b036000f3fe608060405234801561001057600080fd5b506004361061032b5760003560e01c806370a08231116101b2578063a32f6976116100f9578063ba4e5c49116100a2578063dd62ed3e1161007c578063dd62ed3e146106be578063f19c4e3b146106f7578063f2fde38b1461070a578063f820f5671461071d57600080fd5b8063ba4e5c491461068f578063d48e4127146106a2578063d8f67851146106ab57600080fd5b8063a9059cbb116100d3578063a9059cbb1461065c578063a9d866851461066f578063b7bda68f1461067757600080fd5b8063a32f69761461060f578063a457c2d714610636578063a476df611461064957600080fd5b80638da5cb5b1161015b57806395d89b411161013557806395d89b41146105d35780639b19251a146105db578063a09a1601146105fe57600080fd5b80638da5cb5b1461056a5780638dac7191146105945780638e8c10a2146105bb57600080fd5b80638456cb591161018c5780638456cb5914610540578063878dd33214610548578063883356d91461055a57600080fd5b806370a08231146104fc578063715018a61461052557806379cc67901461052d57600080fd5b80633f4ba83a11610276578063537df3b61161021f5780635c975abb116101f95780635c975abb146104c65780636c5adaae146104d15780636d028027146104e757600080fd5b8063537df3b614610495578063542e9667146104a85780635a3990ce146104b157600080fd5b806346b45af71161025057806346b45af7146104605780634838d1651461046b5780634ac0bc321461047e57600080fd5b80633f4ba83a1461043257806340c10f191461043a57806342966c681461044d57600080fd5b806323b872dd116102d857806335377214116102b257806335377214146103e5578063378dc3dc146103f8578063395093511461041f57600080fd5b806323b872dd146103b45780632fa782eb146103c7578063313ce567146103d057600080fd5b8063095ea7b311610309578063095ea7b31461036b57806318160ddd1461038e578063184d69ab146103a057600080fd5b806302252c4d14610330578063044ab74e1461034557806306fdde0314610363575b600080fd5b61034361033e3660046128d9565b610730565b005b61034d6107fd565b60405161035a919061298b565b60405180910390f35b61034d61088b565b61037e610379366004612789565b61091d565b604051901515815260200161035a565b6002545b60405190815260200161035a565b600c5465010000000000900460ff1661037e565b61037e6103c236600461274d565b610937565b610392600e5481565b600d5460405160ff909116815260200161035a565b6103436103f33660046127b3565b610cab565b6103927f000000000000000000000000000000000000000000000000000000000000000081565b61037e61042d366004612789565b610d5c565b610343610d9b565b610343610448366004612789565b610dd6565b61034361045b3660046128d9565b610f4b565b600c5460ff1661037e565b6103436104793660046126ff565b610f8f565b600c5468010000000000000000900460ff1661037e565b6103436104a33660046126ff565b6110f1565b610392600f5481565b600c546601000000000000900460ff1661037e565b60055460ff1661037e565b600c54670100000000000000900460ff1661037e565b6104ef6111da565b60405161035a919061293e565b61039261050a3660046126ff565b6001600160a01b031660009081526020819052604090205490565b61034361123b565b61034361053b366004612789565b611253565b610343611295565b600c546301000000900460ff1661037e565b600c54610100900460ff1661037e565b60055461010090046001600160a01b03165b6040516001600160a01b03909116815260200161035a565b61057c7f000000000000000000000000000000000000000000000000000000000000000081565b600c546901000000000000000000900460ff1661037e565b61034d6112ce565b61037e6105e93660046126ff565b60076020526000908152604090205460ff1681565b600c5462010000900460ff1661037e565b6103927f000000000000000000000000000000000000000000000000000000000000000081565b61037e610644366004612789565b6112dd565b610343610657366004612828565b611392565b61037e61066a366004612789565b611429565b61034d61174b565b600d5461057c9061010090046001600160a01b031681565b61057c61069d3660046128d9565b611758565b610392600b5481565b6103436106b93660046128d9565b611782565b6103926106cc36600461271a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610343610705366004612789565b61184d565b6103436107183660046126ff565b61195f565b600c54640100000000900460ff1661037e565b610738611ace565b610740611b2e565b600c546601000000000000900460ff16610786576040517f6273340f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5481116107c1576040517fa43d2d7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8190556040518181527f2905481c6fd1a037492016c4760435a52203d82a6f34dc3de40f464c1bf42d59906020015b60405180910390a150565b600a805461080a90612a50565b80601f016020809104026020016040519081016040528092919081815260200182805461083690612a50565b80156108835780601f1061085857610100808354040283529160200191610883565b820191906000526020600020905b81548152906001019060200180831161086657829003601f168201915b505050505081565b60606003805461089a90612a50565b80601f01602080910402602001604051908101604052809291908181526020018280546108c690612a50565b80156109135780601f106108e857610100808354040283529160200191610913565b820191906000526020600020905b8154815290600101906020018083116108f657829003601f168201915b5050505050905090565b60003361092b818585611b81565b60019150505b92915050565b6000610941611b2e565b8383610959600c5460ff650100000000009091041690565b15610a62576001600160a01b03821660009081526007602052604090205460ff166109a75760405163bf3f938960e01b81526001600160a01b03831660048201526024015b60405180910390fd5b6001600160a01b03811660009081526007602052604090205460ff166109eb57604051632ac2e20360e21b81526001600160a01b038216600482015260240161099e565b6001600160a01b0382163314801590610a26575060055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614155b8015610a4257503360009081526007602052604090205460ff16155b15610a625760405163bf3f938960e01b815233600482015260240161099e565b600c546301000000900460ff1615610b74576001600160a01b03821660009081526006602052604090205460ff1615610ab95760405163578f3e1360e01b81526001600160a01b038316600482015260240161099e565b6001600160a01b03811660009081526006602052604090205460ff1615610afe576040516332e38af360e21b81526001600160a01b038216600482015260240161099e565b6001600160a01b0382163314801590610b39575060055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614155b8015610b5457503360009081526006602052604090205460ff165b15610b745760405163578f3e1360e01b815233600482015260240161099e565b6000610b808786611cd9565b90506000610b8d86611d28565b9050600081610b9c8489612a39565b610ba69190612a39565b600c549091506601000000000000900460ff1615610c1557600b5481610be18a6001600160a01b031660009081526020819052604090205490565b610beb91906129e0565b1115610c155760405163f6202a8f60e01b81526001600160a01b038916600482015260240161099e565b8215610c3857600d54610c38908a9061010090046001600160a01b031685611d57565b8115610c4857610c488983611f51565b600c54670100000000000000900460ff168015610c7557506005546001600160a01b036101009091041633145b15610c9157610c85898983611d57565b60019550505050610ca2565b610c9c8989836120c6565b95505050505b50509392505050565b610cb3611ace565b610cbb611b2e565b600c5465010000000000900460ff16610d00576040517f0b1b4e5500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d086120df565b610d128282612193565b610d1e600883836125e4565b507f6141feff42f24e29d1af3d91bffa3d40521e53485e9c92e358c4d946c0adbd388282604051610d509291906128f2565b60405180910390a15050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061092b9082908690610d969087906129e0565b611b81565b610da3611ace565b600c5462010000900460ff16610dcc5760405163f00085b960e01b815260040160405180910390fd5b610dd46122f1565b565b610dde611ace565b610de6611b2e565b600c5460ff16610e22576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c546601000000000000900460ff1615610e8e57600b5481610e5a846001600160a01b031660009081526020819052604090205490565b610e6491906129e0565b1115610e8e5760405163f6202a8f60e01b81526001600160a01b038316600482015260240161099e565b600c546301000000900460ff1615610ee5576001600160a01b03821660009081526006602052604090205460ff1615610ee5576040516332e38af360e21b81526001600160a01b038316600482015260240161099e565b600c5465010000000000900460ff1615610f3d576001600160a01b03821660009081526007602052604090205460ff16610f3d57604051632ac2e20360e21b81526001600160a01b038316600482015260240161099e565b610f478282612343565b5050565b610f53611ace565b610f5b611b2e565b600c54610100900460ff16610f8357604051636cb5913960e01b815260040160405180910390fd5b610f8c8161240e565b50565b610f97611ace565b610f9f611b2e565b610fa881611978565b600c546301000000900460ff16610fd257604051633abeadc360e21b815260040160405180910390fd5b6001600160a01b03811660009081526006602052604090205460ff1615611030576040517f70b8fc840000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161099e565b600c5465010000000000900460ff16801561106357506001600160a01b03811660009081526007602052604090205460ff165b156110a5576040517febdacb5f0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161099e565b6001600160a01b038116600081815260066020526040808220805460ff19166001179055517f7f8b7dc89dae85811a7a85800b892b5816ad5d381c856f1b56490f8fc470c9cb9190a250565b6110f9611ace565b611101611b2e565b61110a81611978565b600c546301000000900460ff1661113457604051633abeadc360e21b815260040160405180910390fd5b6001600160a01b03811660009081526006602052604090205460ff16611191576040517f3d7c1f4a0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161099e565b6001600160a01b038116600081815260066020526040808220805460ff19169055517f4ca5b343d678ca6f1f96e8c8a2115c41c2d40641fd872b928ba6f95d3648b9d19190a250565b6060600880548060200260200160405190810160405280929190818152602001828054801561091357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611214575050505050905090565b611243611ace565b61124b611b2e565b610dd4612418565b61125b611ace565b611263611b2e565b600c54610100900460ff1661128b57604051636cb5913960e01b815260040160405180910390fd5b610f47828261242a565b61129d611ace565b600c5462010000900460ff166112c65760405163f00085b960e01b815260040160405180910390fd5b610dd461243f565b60606004805461089a90612a50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561137a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161099e565b6113878286868403611b81565b506001949350505050565b61139a611ace565b6113a2611b2e565b600c54640100000000900460ff166113e6576040517f70a43fce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80516113f990600a90602084019061265f565b507f4456a0b562609d67398ddb488f136db285cd3c92343e0a7ba684925669237ade816040516107f2919061298b565b6000611433611b2e565b338361144b600c5460ff650100000000009091041690565b1561154f576001600160a01b03821660009081526007602052604090205460ff166114945760405163bf3f938960e01b81526001600160a01b038316600482015260240161099e565b6001600160a01b03811660009081526007602052604090205460ff166114d857604051632ac2e20360e21b81526001600160a01b038216600482015260240161099e565b6001600160a01b0382163314801590611513575060055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614155b801561152f57503360009081526007602052604090205460ff16155b1561154f5760405163bf3f938960e01b815233600482015260240161099e565b600c546301000000900460ff1615611661576001600160a01b03821660009081526006602052604090205460ff16156115a65760405163578f3e1360e01b81526001600160a01b038316600482015260240161099e565b6001600160a01b03811660009081526006602052604090205460ff16156115eb576040516332e38af360e21b81526001600160a01b038216600482015260240161099e565b6001600160a01b0382163314801590611626575060055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614155b801561164157503360009081526006602052604090205460ff165b156116615760405163578f3e1360e01b815233600482015260240161099e565b600061166d3386611cd9565b9050600061167a86611d28565b90506000816116898489612a39565b6116939190612a39565b600c549091506601000000000000900460ff161561170257600b54816116ce8a6001600160a01b031660009081526020819052604090205490565b6116d891906129e0565b11156117025760405163f6202a8f60e01b81526001600160a01b038916600482015260240161099e565b821561172557600d5461172590339061010090046001600160a01b031685611d57565b8115611735576117353383611f51565b61173f888261247c565b98975050505050505050565b6009805461080a90612a50565b6008818154811061176857600080fd5b6000918252602090912001546001600160a01b0316905081565b61178a611ace565b611792611b2e565b600c546901000000000000000000900460ff166117db576040517fcd9e529800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61271081111561181a576040517fbb7465200000000000000000000000000000000000000000000000000000000081526004810182905260240161099e565b600f81905560405181907fc1ff65ee907dc079b64ed9913d53f4bd593bd6ebd9b2a2708db2916d49e17ec390600090a250565b611855611ace565b61185d611b2e565b600c5468010000000000000000900460ff166118a5576040517fc8a478a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127108111156118e4576040517fcb400e960000000000000000000000000000000000000000000000000000000081526004810182905260240161099e565b6118ed82611978565b600d80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b03851690810291909117909155600e8290556040518291907facc44e32fd5ca4240f6dbe6e8cf4eb49349c17c5ce5f80f1919a9c97b50d398a90600090a35050565b611967611ace565b61196f611b2e565b610f8c816119c3565b6001600160a01b038116610f8c576040517f4ef79e5a0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161099e565b6119cb611ace565b6001600160a01b038116611a475760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161099e565b610f8c8161248a565b60055460ff1615611ac95760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c652070617573656400000000000000000000000000000000000000000000606482015260840161099e565b505050565b6005546001600160a01b03610100909104163314610dd45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161099e565b60055460ff1615610dd45760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161099e565b6001600160a01b038316611bfc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b038216611c785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000600e54600014158015611d015750600d546001600160a01b038481166101009092041614155b1561093157612710600e5483611d179190612a1a565b611d2191906129f8565b9392505050565b6000600f54600014611d5257612710600f5483611d459190612a1a565b611d4f91906129f8565b90505b919050565b6001600160a01b038316611dd35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b038216611e4f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161099e565b611e5a8383836124fb565b6001600160a01b03831660009081526020819052604090205481811015611ee95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b6001600160a01b038216611fcd5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161099e565b611fd9826000836124fb565b6001600160a01b038216600090815260208190526040902054818110156120685760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6000336120d4858285612506565b611387858585611d57565b6000600880548060200260200160405190810160405280929190818152602001828054801561213757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612119575b5050505050905060005b8151811015610f47576007600083838151811061216057612160612aa1565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169055600101612141565b60005b81811015611ac9576121cd8383838181106121b3576121b3612aa1565b90506020020160208101906121c891906126ff565b611978565b600c546301000000900460ff16801561222a5750600660008484848181106121f7576121f7612aa1565b905060200201602081019061220c91906126ff565b6001600160a01b0316815260208101919091526040016000205460ff165b156122945782828281811061224157612241612aa1565b905060200201602081019061225691906126ff565b6040517f2cf5f7dd0000000000000000000000000000000000000000000000000000000081526001600160a01b03909116600482015260240161099e565b6001600760008585858181106122ac576122ac612aa1565b90506020020160208101906122c191906126ff565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101612196565b6122f9612592565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166123995760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161099e565b6123a5600083836124fb565b80600260008282546123b791906129e0565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b610f8c3382611f51565b612420611ace565b610dd4600061248a565b612435823383612506565b610f478282611f51565b612447611b2e565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123263390565b60003361092b818585611d57565b600580546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611ac9838383611a50565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611f4b57818110156125855760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161099e565b611f4b8484848403611b81565b60055460ff16610dd45760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161099e565b82805482825590600052602060002090810192821561264f579160200282015b8281111561264f5781547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03843516178255602090920191600190910190612604565b5061265b9291506126d3565b5090565b82805461266b90612a50565b90600052602060002090601f01602090048101928261268d576000855561264f565b82601f106126a657805160ff191683800117855561264f565b8280016001018555821561264f579182015b8281111561264f5782518255916020019190600101906126b8565b5b8082111561265b57600081556001016126d4565b80356001600160a01b0381168114611d5257600080fd5b60006020828403121561271157600080fd5b611d21826126e8565b6000806040838503121561272d57600080fd5b612736836126e8565b9150612744602084016126e8565b90509250929050565b60008060006060848603121561276257600080fd5b61276b846126e8565b9250612779602085016126e8565b9150604084013590509250925092565b6000806040838503121561279c57600080fd5b6127a5836126e8565b946020939093013593505050565b600080602083850312156127c657600080fd5b823567ffffffffffffffff808211156127de57600080fd5b818501915085601f8301126127f257600080fd5b81358181111561280157600080fd5b8660208260051b850101111561281657600080fd5b60209290920196919550909350505050565b60006020828403121561283a57600080fd5b813567ffffffffffffffff8082111561285257600080fd5b818401915084601f83011261286657600080fd5b81358181111561287857612878612ab7565b604051601f8201601f19908116603f011681019083821181831017156128a0576128a0612ab7565b816040528281528760208487010111156128b957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156128eb57600080fd5b5035919050565b60208082528181018390526000908460408401835b86811015612933576001600160a01b03612920846126e8565b1682529183019190830190600101612907565b509695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561297f5783516001600160a01b03168352928401929184019160010161295a565b50909695505050505050565b600060208083528351808285015260005b818110156129b85785810183015185820160400152820161299c565b818111156129ca576000604083870101525b50601f01601f1916929092016040019392505050565b600082198211156129f3576129f3612a8b565b500190565b600082612a1557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612a3457612a34612a8b565b500290565b600082821015612a4b57612a4b612a8b565b500390565b600181811c90821680612a6457607f821691505b60208210811415612a8557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122061e942b4934e03caf257c71dce4d2c768bac02788158b46f822a642e9a0eb50664736f6c63430008070033000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000001200000000000000000000000048b959424c4ab393fce6b8a8304959ea4936fac500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000048b959424c4ab393fce6b8a8304959ea4936fac5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013576f6c66206f662057616c6c2053747265657400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524574f4c460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061032b5760003560e01c806370a08231116101b2578063a32f6976116100f9578063ba4e5c49116100a2578063dd62ed3e1161007c578063dd62ed3e146106be578063f19c4e3b146106f7578063f2fde38b1461070a578063f820f5671461071d57600080fd5b8063ba4e5c491461068f578063d48e4127146106a2578063d8f67851146106ab57600080fd5b8063a9059cbb116100d3578063a9059cbb1461065c578063a9d866851461066f578063b7bda68f1461067757600080fd5b8063a32f69761461060f578063a457c2d714610636578063a476df611461064957600080fd5b80638da5cb5b1161015b57806395d89b411161013557806395d89b41146105d35780639b19251a146105db578063a09a1601146105fe57600080fd5b80638da5cb5b1461056a5780638dac7191146105945780638e8c10a2146105bb57600080fd5b80638456cb591161018c5780638456cb5914610540578063878dd33214610548578063883356d91461055a57600080fd5b806370a08231146104fc578063715018a61461052557806379cc67901461052d57600080fd5b80633f4ba83a11610276578063537df3b61161021f5780635c975abb116101f95780635c975abb146104c65780636c5adaae146104d15780636d028027146104e757600080fd5b8063537df3b614610495578063542e9667146104a85780635a3990ce146104b157600080fd5b806346b45af71161025057806346b45af7146104605780634838d1651461046b5780634ac0bc321461047e57600080fd5b80633f4ba83a1461043257806340c10f191461043a57806342966c681461044d57600080fd5b806323b872dd116102d857806335377214116102b257806335377214146103e5578063378dc3dc146103f8578063395093511461041f57600080fd5b806323b872dd146103b45780632fa782eb146103c7578063313ce567146103d057600080fd5b8063095ea7b311610309578063095ea7b31461036b57806318160ddd1461038e578063184d69ab146103a057600080fd5b806302252c4d14610330578063044ab74e1461034557806306fdde0314610363575b600080fd5b61034361033e3660046128d9565b610730565b005b61034d6107fd565b60405161035a919061298b565b60405180910390f35b61034d61088b565b61037e610379366004612789565b61091d565b604051901515815260200161035a565b6002545b60405190815260200161035a565b600c5465010000000000900460ff1661037e565b61037e6103c236600461274d565b610937565b610392600e5481565b600d5460405160ff909116815260200161035a565b6103436103f33660046127b3565b610cab565b6103927f000000000000000000000000000000000000000000000000000000003b9aca0081565b61037e61042d366004612789565b610d5c565b610343610d9b565b610343610448366004612789565b610dd6565b61034361045b3660046128d9565b610f4b565b600c5460ff1661037e565b6103436104793660046126ff565b610f8f565b600c5468010000000000000000900460ff1661037e565b6103436104a33660046126ff565b6110f1565b610392600f5481565b600c546601000000000000900460ff1661037e565b60055460ff1661037e565b600c54670100000000000000900460ff1661037e565b6104ef6111da565b60405161035a919061293e565b61039261050a3660046126ff565b6001600160a01b031660009081526020819052604090205490565b61034361123b565b61034361053b366004612789565b611253565b610343611295565b600c546301000000900460ff1661037e565b600c54610100900460ff1661037e565b60055461010090046001600160a01b03165b6040516001600160a01b03909116815260200161035a565b61057c7f00000000000000000000000048b959424c4ab393fce6b8a8304959ea4936fac581565b600c546901000000000000000000900460ff1661037e565b61034d6112ce565b61037e6105e93660046126ff565b60076020526000908152604090205460ff1681565b600c5462010000900460ff1661037e565b6103927f000000000000000000000000000000000000000000000000000000000000000081565b61037e610644366004612789565b6112dd565b610343610657366004612828565b611392565b61037e61066a366004612789565b611429565b61034d61174b565b600d5461057c9061010090046001600160a01b031681565b61057c61069d3660046128d9565b611758565b610392600b5481565b6103436106b93660046128d9565b611782565b6103926106cc36600461271a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610343610705366004612789565b61184d565b6103436107183660046126ff565b61195f565b600c54640100000000900460ff1661037e565b610738611ace565b610740611b2e565b600c546601000000000000900460ff16610786576040517f6273340f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5481116107c1576040517fa43d2d7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8190556040518181527f2905481c6fd1a037492016c4760435a52203d82a6f34dc3de40f464c1bf42d59906020015b60405180910390a150565b600a805461080a90612a50565b80601f016020809104026020016040519081016040528092919081815260200182805461083690612a50565b80156108835780601f1061085857610100808354040283529160200191610883565b820191906000526020600020905b81548152906001019060200180831161086657829003601f168201915b505050505081565b60606003805461089a90612a50565b80601f01602080910402602001604051908101604052809291908181526020018280546108c690612a50565b80156109135780601f106108e857610100808354040283529160200191610913565b820191906000526020600020905b8154815290600101906020018083116108f657829003601f168201915b5050505050905090565b60003361092b818585611b81565b60019150505b92915050565b6000610941611b2e565b8383610959600c5460ff650100000000009091041690565b15610a62576001600160a01b03821660009081526007602052604090205460ff166109a75760405163bf3f938960e01b81526001600160a01b03831660048201526024015b60405180910390fd5b6001600160a01b03811660009081526007602052604090205460ff166109eb57604051632ac2e20360e21b81526001600160a01b038216600482015260240161099e565b6001600160a01b0382163314801590610a26575060055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614155b8015610a4257503360009081526007602052604090205460ff16155b15610a625760405163bf3f938960e01b815233600482015260240161099e565b600c546301000000900460ff1615610b74576001600160a01b03821660009081526006602052604090205460ff1615610ab95760405163578f3e1360e01b81526001600160a01b038316600482015260240161099e565b6001600160a01b03811660009081526006602052604090205460ff1615610afe576040516332e38af360e21b81526001600160a01b038216600482015260240161099e565b6001600160a01b0382163314801590610b39575060055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614155b8015610b5457503360009081526006602052604090205460ff165b15610b745760405163578f3e1360e01b815233600482015260240161099e565b6000610b808786611cd9565b90506000610b8d86611d28565b9050600081610b9c8489612a39565b610ba69190612a39565b600c549091506601000000000000900460ff1615610c1557600b5481610be18a6001600160a01b031660009081526020819052604090205490565b610beb91906129e0565b1115610c155760405163f6202a8f60e01b81526001600160a01b038916600482015260240161099e565b8215610c3857600d54610c38908a9061010090046001600160a01b031685611d57565b8115610c4857610c488983611f51565b600c54670100000000000000900460ff168015610c7557506005546001600160a01b036101009091041633145b15610c9157610c85898983611d57565b60019550505050610ca2565b610c9c8989836120c6565b95505050505b50509392505050565b610cb3611ace565b610cbb611b2e565b600c5465010000000000900460ff16610d00576040517f0b1b4e5500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d086120df565b610d128282612193565b610d1e600883836125e4565b507f6141feff42f24e29d1af3d91bffa3d40521e53485e9c92e358c4d946c0adbd388282604051610d509291906128f2565b60405180910390a15050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061092b9082908690610d969087906129e0565b611b81565b610da3611ace565b600c5462010000900460ff16610dcc5760405163f00085b960e01b815260040160405180910390fd5b610dd46122f1565b565b610dde611ace565b610de6611b2e565b600c5460ff16610e22576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c546601000000000000900460ff1615610e8e57600b5481610e5a846001600160a01b031660009081526020819052604090205490565b610e6491906129e0565b1115610e8e5760405163f6202a8f60e01b81526001600160a01b038316600482015260240161099e565b600c546301000000900460ff1615610ee5576001600160a01b03821660009081526006602052604090205460ff1615610ee5576040516332e38af360e21b81526001600160a01b038316600482015260240161099e565b600c5465010000000000900460ff1615610f3d576001600160a01b03821660009081526007602052604090205460ff16610f3d57604051632ac2e20360e21b81526001600160a01b038316600482015260240161099e565b610f478282612343565b5050565b610f53611ace565b610f5b611b2e565b600c54610100900460ff16610f8357604051636cb5913960e01b815260040160405180910390fd5b610f8c8161240e565b50565b610f97611ace565b610f9f611b2e565b610fa881611978565b600c546301000000900460ff16610fd257604051633abeadc360e21b815260040160405180910390fd5b6001600160a01b03811660009081526006602052604090205460ff1615611030576040517f70b8fc840000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161099e565b600c5465010000000000900460ff16801561106357506001600160a01b03811660009081526007602052604090205460ff165b156110a5576040517febdacb5f0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161099e565b6001600160a01b038116600081815260066020526040808220805460ff19166001179055517f7f8b7dc89dae85811a7a85800b892b5816ad5d381c856f1b56490f8fc470c9cb9190a250565b6110f9611ace565b611101611b2e565b61110a81611978565b600c546301000000900460ff1661113457604051633abeadc360e21b815260040160405180910390fd5b6001600160a01b03811660009081526006602052604090205460ff16611191576040517f3d7c1f4a0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161099e565b6001600160a01b038116600081815260066020526040808220805460ff19169055517f4ca5b343d678ca6f1f96e8c8a2115c41c2d40641fd872b928ba6f95d3648b9d19190a250565b6060600880548060200260200160405190810160405280929190818152602001828054801561091357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611214575050505050905090565b611243611ace565b61124b611b2e565b610dd4612418565b61125b611ace565b611263611b2e565b600c54610100900460ff1661128b57604051636cb5913960e01b815260040160405180910390fd5b610f47828261242a565b61129d611ace565b600c5462010000900460ff166112c65760405163f00085b960e01b815260040160405180910390fd5b610dd461243f565b60606004805461089a90612a50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561137a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161099e565b6113878286868403611b81565b506001949350505050565b61139a611ace565b6113a2611b2e565b600c54640100000000900460ff166113e6576040517f70a43fce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80516113f990600a90602084019061265f565b507f4456a0b562609d67398ddb488f136db285cd3c92343e0a7ba684925669237ade816040516107f2919061298b565b6000611433611b2e565b338361144b600c5460ff650100000000009091041690565b1561154f576001600160a01b03821660009081526007602052604090205460ff166114945760405163bf3f938960e01b81526001600160a01b038316600482015260240161099e565b6001600160a01b03811660009081526007602052604090205460ff166114d857604051632ac2e20360e21b81526001600160a01b038216600482015260240161099e565b6001600160a01b0382163314801590611513575060055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614155b801561152f57503360009081526007602052604090205460ff16155b1561154f5760405163bf3f938960e01b815233600482015260240161099e565b600c546301000000900460ff1615611661576001600160a01b03821660009081526006602052604090205460ff16156115a65760405163578f3e1360e01b81526001600160a01b038316600482015260240161099e565b6001600160a01b03811660009081526006602052604090205460ff16156115eb576040516332e38af360e21b81526001600160a01b038216600482015260240161099e565b6001600160a01b0382163314801590611626575060055461010090046001600160a01b03166001600160a01b0316336001600160a01b031614155b801561164157503360009081526006602052604090205460ff165b156116615760405163578f3e1360e01b815233600482015260240161099e565b600061166d3386611cd9565b9050600061167a86611d28565b90506000816116898489612a39565b6116939190612a39565b600c549091506601000000000000900460ff161561170257600b54816116ce8a6001600160a01b031660009081526020819052604090205490565b6116d891906129e0565b11156117025760405163f6202a8f60e01b81526001600160a01b038916600482015260240161099e565b821561172557600d5461172590339061010090046001600160a01b031685611d57565b8115611735576117353383611f51565b61173f888261247c565b98975050505050505050565b6009805461080a90612a50565b6008818154811061176857600080fd5b6000918252602090912001546001600160a01b0316905081565b61178a611ace565b611792611b2e565b600c546901000000000000000000900460ff166117db576040517fcd9e529800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61271081111561181a576040517fbb7465200000000000000000000000000000000000000000000000000000000081526004810182905260240161099e565b600f81905560405181907fc1ff65ee907dc079b64ed9913d53f4bd593bd6ebd9b2a2708db2916d49e17ec390600090a250565b611855611ace565b61185d611b2e565b600c5468010000000000000000900460ff166118a5576040517fc8a478a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127108111156118e4576040517fcb400e960000000000000000000000000000000000000000000000000000000081526004810182905260240161099e565b6118ed82611978565b600d80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff166101006001600160a01b03851690810291909117909155600e8290556040518291907facc44e32fd5ca4240f6dbe6e8cf4eb49349c17c5ce5f80f1919a9c97b50d398a90600090a35050565b611967611ace565b61196f611b2e565b610f8c816119c3565b6001600160a01b038116610f8c576040517f4ef79e5a0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161099e565b6119cb611ace565b6001600160a01b038116611a475760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161099e565b610f8c8161248a565b60055460ff1615611ac95760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c652070617573656400000000000000000000000000000000000000000000606482015260840161099e565b505050565b6005546001600160a01b03610100909104163314610dd45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161099e565b60055460ff1615610dd45760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161099e565b6001600160a01b038316611bfc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b038216611c785760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000600e54600014158015611d015750600d546001600160a01b038481166101009092041614155b1561093157612710600e5483611d179190612a1a565b611d2191906129f8565b9392505050565b6000600f54600014611d5257612710600f5483611d459190612a1a565b611d4f91906129f8565b90505b919050565b6001600160a01b038316611dd35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b038216611e4f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161099e565b611e5a8383836124fb565b6001600160a01b03831660009081526020819052604090205481811015611ee95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b6001600160a01b038216611fcd5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161099e565b611fd9826000836124fb565b6001600160a01b038216600090815260208190526040902054818110156120685760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161099e565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6000336120d4858285612506565b611387858585611d57565b6000600880548060200260200160405190810160405280929190818152602001828054801561213757602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612119575b5050505050905060005b8151811015610f47576007600083838151811061216057612160612aa1565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169055600101612141565b60005b81811015611ac9576121cd8383838181106121b3576121b3612aa1565b90506020020160208101906121c891906126ff565b611978565b600c546301000000900460ff16801561222a5750600660008484848181106121f7576121f7612aa1565b905060200201602081019061220c91906126ff565b6001600160a01b0316815260208101919091526040016000205460ff165b156122945782828281811061224157612241612aa1565b905060200201602081019061225691906126ff565b6040517f2cf5f7dd0000000000000000000000000000000000000000000000000000000081526001600160a01b03909116600482015260240161099e565b6001600760008585858181106122ac576122ac612aa1565b90506020020160208101906122c191906126ff565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101612196565b6122f9612592565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166123995760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161099e565b6123a5600083836124fb565b80600260008282546123b791906129e0565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b610f8c3382611f51565b612420611ace565b610dd4600061248a565b612435823383612506565b610f478282611f51565b612447611b2e565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123263390565b60003361092b818585611d57565b600580546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611ac9838383611a50565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611f4b57818110156125855760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161099e565b611f4b8484848403611b81565b60055460ff16610dd45760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161099e565b82805482825590600052602060002090810192821561264f579160200282015b8281111561264f5781547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03843516178255602090920191600190910190612604565b5061265b9291506126d3565b5090565b82805461266b90612a50565b90600052602060002090601f01602090048101928261268d576000855561264f565b82601f106126a657805160ff191683800117855561264f565b8280016001018555821561264f579182015b8281111561264f5782518255916020019190600101906126b8565b5b8082111561265b57600081556001016126d4565b80356001600160a01b0381168114611d5257600080fd5b60006020828403121561271157600080fd5b611d21826126e8565b6000806040838503121561272d57600080fd5b612736836126e8565b9150612744602084016126e8565b90509250929050565b60008060006060848603121561276257600080fd5b61276b846126e8565b9250612779602085016126e8565b9150604084013590509250925092565b6000806040838503121561279c57600080fd5b6127a5836126e8565b946020939093013593505050565b600080602083850312156127c657600080fd5b823567ffffffffffffffff808211156127de57600080fd5b818501915085601f8301126127f257600080fd5b81358181111561280157600080fd5b8660208260051b850101111561281657600080fd5b60209290920196919550909350505050565b60006020828403121561283a57600080fd5b813567ffffffffffffffff8082111561285257600080fd5b818401915084601f83011261286657600080fd5b81358181111561287857612878612ab7565b604051601f8201601f19908116603f011681019083821181831017156128a0576128a0612ab7565b816040528281528760208487010111156128b957600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156128eb57600080fd5b5035919050565b60208082528181018390526000908460408401835b86811015612933576001600160a01b03612920846126e8565b1682529183019190830190600101612907565b509695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561297f5783516001600160a01b03168352928401929184019160010161295a565b50909695505050505050565b600060208083528351808285015260005b818110156129b85785810183015185820160400152820161299c565b818111156129ca576000604083870101525b50601f01601f1916929092016040019392505050565b600082198211156129f3576129f3612a8b565b500190565b600082612a1557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612a3457612a34612a8b565b500290565b600082821015612a4b57612a4b612a8b565b500390565b600181811c90821680612a6457607f821691505b60208210811415612a8557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea264697066735822122061e942b4934e03caf257c71dce4d2c768bac02788158b46f822a642e9a0eb50664736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000001200000000000000000000000048b959424c4ab393fce6b8a8304959ea4936fac500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000048b959424c4ab393fce6b8a8304959ea4936fac5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013576f6c66206f662057616c6c2053747265657400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524574f4c460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Wolf of Wall Street
Arg [1] : symbol_ (string): $WOLF
Arg [2] : initialSupplyToSet (uint256): 1000000000
Arg [3] : decimalsToSet (uint8): 18
Arg [4] : tokenOwner (address): 0x48b959424c4AB393fce6b8a8304959ea4936fac5
Arg [5] : customConfigProps (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [6] : maxTokenAmount (uint256): 0
Arg [7] : newDocumentUri (string):
Arg [8] : _taxAddress (address): 0x48b959424c4AB393fce6b8a8304959ea4936fac5
Arg [9] : _taxBPS (uint256): 0
Arg [10] : _deflationBPS (uint256): 0

-----Encoded View---------------
25 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000280
Arg [1] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [2] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 00000000000000000000000048b959424c4ab393fce6b8a8304959ea4936fac5
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [17] : 00000000000000000000000048b959424c4ab393fce6b8a8304959ea4936fac5
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [21] : 576f6c66206f662057616c6c2053747265657400000000000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [23] : 24574f4c46000000000000000000000000000000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.