ETH Price: $2,619.62 (+7.37%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve189168362024-01-02 2:49:11309 days ago1704163751IN
0x285E0462...6DA8560CC
0 ETH0.000700815.0184742
Approve189024642023-12-31 2:23:35311 days ago1703989415IN
0x285E0462...6DA8560CC
0 ETH0.0005739112.2991694
Transfer188965332023-12-30 6:23:11312 days ago1703917391IN
0x285E0462...6DA8560CC
0 ETH0.0007882713.53718063
Approve188964302023-12-30 6:02:23312 days ago1703916143IN
0x285E0462...6DA8560CC
0 ETH0.0006420413.77680546
Approve188963592023-12-30 5:48:11312 days ago1703915291IN
0x285E0462...6DA8560CC
0 ETH0.0009555420.47747753
Approve188963452023-12-30 5:45:23312 days ago1703915123IN
0x285E0462...6DA8560CC
0 ETH0.0015212932.64373725
Approve188963452023-12-30 5:45:23312 days ago1703915123IN
0x285E0462...6DA8560CC
0 ETH0.0016165834.64373725
Approve188963432023-12-30 5:44:59312 days ago1703915099IN
0x285E0462...6DA8560CC
0 ETH0.0008260117.70168023
Approve188963382023-12-30 5:43:59312 days ago1703915039IN
0x285E0462...6DA8560CC
0 ETH0.0013410228.73855156
Approve188963352023-12-30 5:43:23312 days ago1703915003IN
0x285E0462...6DA8560CC
0 ETH0.0008622518.47830218
Approve188963292023-12-30 5:42:11312 days ago1703914931IN
0x285E0462...6DA8560CC
0 ETH0.0030298565.01410581
Approve188963252023-12-30 5:41:23312 days ago1703914883IN
0x285E0462...6DA8560CC
0 ETH0.0008178317.54894331
Approve188962852023-12-30 5:33:11312 days ago1703914391IN
0x285E0462...6DA8560CC
0 ETH0.0005768512.36221819
Approve188961842023-12-30 5:12:23312 days ago1703913143IN
0x285E0462...6DA8560CC
0 ETH0.000611313.11737379
Approve188961822023-12-30 5:11:59312 days ago1703913119IN
0x285E0462...6DA8560CC
0 ETH0.0005874412.6052391
Approve188961742023-12-30 5:10:23312 days ago1703913023IN
0x285E0462...6DA8560CC
0 ETH0.0007636716.38688598
Approve188961382023-12-30 5:03:11312 days ago1703912591IN
0x285E0462...6DA8560CC
0 ETH0.0013563429.06679097
Approve188961352023-12-30 5:02:35312 days ago1703912555IN
0x285E0462...6DA8560CC
0 ETH0.0013633729.21738527
Transfer188957682023-12-30 3:47:23312 days ago1703908043IN
0x285E0462...6DA8560CC
0 ETH0.0006381215.51026939
Approve188931392023-12-29 18:54:11312 days ago1703876051IN
0x285E0462...6DA8560CC
0 ETH0.0009789220.97870135
Transfer188880992023-12-29 1:54:23313 days ago1703814863IN
0x285E0462...6DA8560CC
0 ETH0.0011103919.0651583
Increase Allowan...188879232023-12-29 1:18:35313 days ago1703812715IN
0x285E0462...6DA8560CC
0 ETH0.0009403120.07296088

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
188878072023-12-29 0:55:11313 days ago1703811311  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DefiToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 1337 runs

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

pragma solidity 0.8.17;

import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { LibCommon } from "./lib/LibCommon.sol";

/// @title A Defi Token implementation with extended functionalities
/// @notice Implements ERC20 standards with additional features like tax and deflation
contract DefiToken is ERC20, Ownable {
  // Constants
  uint256 private constant MAX_BPS_AMOUNT = 10_000;
  uint256 private constant MAX_ALLOWED_BPS = 5_000;
  string public constant VERSION = "defi_v_1";

  // State Variables
  string public initialDocumentUri;
  string public documentUri;
  uint256 public immutable initialSupply;
  uint256 public immutable initialMaxTokenAmountPerAddress;
  uint256 public maxTokenAmountPerAddress;

  /// @notice Configuration properties for the ERC20 token
  struct ERC20ConfigProps {
    bool _isMintable;
    bool _isBurnable;
    bool _isDocumentAllowed;
    bool _isMaxAmountOfTokensSet;
    bool _isTaxable;
    bool _isDeflationary;
  }
  ERC20ConfigProps private configProps;

  address public immutable initialTokenOwner;
  uint8 private immutable _decimals;
  address public taxAddress;
  uint256 public taxBPS;
  uint256 public deflationBPS;

  // Events
  event DocumentUriSet(string newDocUri);
  event MaxTokenAmountPerSet(uint256 newMaxTokenAmount);
  event TaxConfigSet(address indexed _taxAddress, uint256 indexed _taxBPS);
  event DeflationConfigSet(uint256 indexed _deflationBPS);

  // Custom Errors
  error InvalidMaxTokenAmount(uint256 maxTokenAmount);
  error InvalidDecimals(uint8 decimals);
  error MaxTokenAmountPerAddrLtPrevious();
  error DestBalanceExceedsMaxAllowed(address addr);
  error MintingNotEnabled();
  error BurningNotEnabled();
  error DocumentUriNotAllowed();
  error MaxTokenAmountNotAllowed();
  error TokenIsNotTaxable();
  error TokenIsNotDeflationary();
  error InvalidTaxBPS(uint256 bps);
  error InvalidDeflationBPS(uint256 bps);

  /// @notice Constructor to initialize the DeFi token
  /// @param name_ Name of the token
  /// @param symbol_ Symbol of the token
  /// @param initialSupplyToSet Initial supply of tokens
  /// @param decimalsToSet Number of decimals for the token
  /// @param tokenOwner Address of the initial token owner
  /// @param customConfigProps Configuration properties for the token
  /// @param maxTokenAmount Maximum token amount per address
  /// @param newDocumentUri URI for the document associated with the token
  /// @param _taxAddress Address where tax will be sent
  /// @param _taxBPS Basis points for tax calculation
  /// @param _deflationBPS Basis points for deflation calculation
  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_ALLOWED_BPS) {
        revert InvalidTaxBPS(_taxBPS);
      }
      LibCommon.validateAddress(_taxAddress);
      taxAddress = _taxAddress;
      taxBPS = _taxBPS;
    }
    if (customConfigProps._isDeflationary) {
      if (_deflationBPS > MAX_ALLOWED_BPS) {
        revert InvalidDeflationBPS(_deflationBPS);
      }
      deflationBPS = _deflationBPS;
    }
    LibCommon.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);
    }
  }

  // Public and External Functions

  /// @notice Checks if the token is mintable
  /// @return True if the token can be minted
  function isMintable() public view returns (bool) {
    return configProps._isMintable;
  }

  /// @notice Checks if the token is burnable
  /// @return True if the token can be burned
  function isBurnable() public view returns (bool) {
    return configProps._isBurnable;
  }

  /// @notice Checks if the maximum amount of tokens per address is set
  /// @return True if there is a maximum limit for token amount per address
  function isMaxAmountOfTokensSet() public view returns (bool) {
    return configProps._isMaxAmountOfTokensSet;
  }

  /// @notice Checks if setting a document URI is allowed
  /// @return True if setting a document URI is allowed
  function isDocumentUriAllowed() public view returns (bool) {
    return configProps._isDocumentAllowed;
  }

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

  /// @notice Checks if the token is taxable
  /// @return True if the token has tax applied on transfers
  function isTaxable() public view returns (bool) {
    return configProps._isTaxable;
  }

  /// @notice Checks if the token is deflationary
  /// @return True if the token has deflation applied on transfers
  function isDeflationary() public view returns (bool) {
    return configProps._isDeflationary;
  }

  /// @notice Sets a new document URI
  /// @dev Can only be called by the contract owner
  /// @param newDocumentUri The new URI to be set
  function setDocumentUri(string memory newDocumentUri) external onlyOwner {
    if (!isDocumentUriAllowed()) {
      revert DocumentUriNotAllowed();
    }
    documentUri = newDocumentUri;
    emit DocumentUriSet(newDocumentUri);
  }

  /// @notice Sets a new maximum token amount per address
  /// @dev Can only be called by the contract owner
  /// @param newMaxTokenAmount The new maximum token amount per address
  function setMaxTokenAmountPerAddress(
    uint256 newMaxTokenAmount
  ) external onlyOwner {
    if (!isMaxAmountOfTokensSet()) {
      revert MaxTokenAmountNotAllowed();
    }
    if (newMaxTokenAmount <= maxTokenAmountPerAddress) {
      revert MaxTokenAmountPerAddrLtPrevious();
    }

    maxTokenAmountPerAddress = newMaxTokenAmount;
    emit MaxTokenAmountPerSet(newMaxTokenAmount);
  }

  /// @notice Sets a new tax configuration
  /// @dev Can only be called by the contract owner
  /// @param _taxAddress The address where tax will be sent
  /// @param _taxBPS The tax rate in basis points
  function setTaxConfig(
    address _taxAddress,
    uint256 _taxBPS
  ) external onlyOwner {
    if (!isTaxable()) {
      revert TokenIsNotTaxable();
    }
    if (_taxBPS > MAX_ALLOWED_BPS) {
      revert InvalidTaxBPS(_taxBPS);
    }
    LibCommon.validateAddress(_taxAddress);
    taxAddress = _taxAddress;
    taxBPS = _taxBPS;
    emit TaxConfigSet(_taxAddress, _taxBPS);
  }

  /// @notice Sets a new deflation configuration
  /// @dev Can only be called by the contract owner
  /// @param _deflationBPS The deflation rate in basis points
  function setDeflationConfig(uint256 _deflationBPS) external onlyOwner {
    if (!isDeflationary()) {
      revert TokenIsNotDeflationary();
    }
    if (_deflationBPS > MAX_ALLOWED_BPS) {
      revert InvalidDeflationBPS(_deflationBPS);
    }
    deflationBPS = _deflationBPS;
    emit DeflationConfigSet(_deflationBPS);
  }

  /// @notice Transfers tokens to a specified address
  /// @dev Overrides the ERC20 transfer function with added tax and deflation logic
  /// @param to The address to transfer tokens to
  /// @param amount The amount of tokens to be transferred
  /// @return True if the transfer was successful
  function transfer(
    address to,
    uint256 amount
  ) public virtual override 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 Transfers tokens from one address to another
  /// @dev Overrides the ERC20 transferFrom function with added tax and deflation logic
  /// @param from The address which you want to send tokens from
  /// @param to The address which you want to transfer to
  /// @param amount The amount of tokens to be transferred
  /// @return True if the transfer was successful
  function transferFrom(
    address from,
    address to,
    uint256 amount
  ) public virtual override 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);
    }

    return super.transferFrom(from, to, amountToTransfer);
  }

  /// @notice Mints new tokens to a specified address
  /// @dev Can only be called by the contract owner and if minting is enabled
  /// @param to The address to mint tokens to
  /// @param amount The amount of tokens to mint
  function mint(address to, uint256 amount) external onlyOwner {
    if (!isMintable()) {
      revert MintingNotEnabled();
    }
    if (isMaxAmountOfTokensSet()) {
      if (balanceOf(to) + amount > maxTokenAmountPerAddress) {
        revert DestBalanceExceedsMaxAllowed(to);
      }
    }

    super._mint(to, amount);
  }

  /// @notice Burns a specific amount of tokens
  /// @dev Can only be called by the contract owner and if burning is enabled
  /// @param amount The amount of tokens to be burned
  function burn(uint256 amount) external onlyOwner {
    if (!isBurnable()) {
      revert BurningNotEnabled();
    }
    _burn(msg.sender, amount);
  }

  /// @notice Renounces ownership of the contract
  /// @dev Leaves the contract without an owner, disabling any functions that require the owner's authorization
  function renounceOwnership() public override onlyOwner {
    super.renounceOwnership();
  }

  /// @notice Transfers ownership of the contract to a new account
  /// @dev Can only be called by the current owner
  /// @param newOwner The address of the new owner
  function transferOwnership(address newOwner) public override onlyOwner {
    super.transferOwnership(newOwner);
  }

  // Internal Functions

  /// @notice Calculates the tax amount for a transfer
  /// @param sender The address initiating the transfer
  /// @param amount The amount of tokens being transferred
  /// @return taxAmount The calculated tax amount
  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 Calculates the deflation amount for a transfer
  /// @param amount The amount of tokens being transferred
  /// @return deflationAmount The calculated deflation amount
  function _deflationAmount(
    uint256 amount
  ) internal view returns (uint256 deflationAmount) {
    deflationAmount = 0;
    if (deflationBPS != 0) {
      deflationAmount = (amount * deflationBPS) / MAX_BPS_AMOUNT;
    }
  }
}

File 2 of 7 : 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 3 of 7 : 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 4 of 7 : 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 5 of 7 : 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 6 of 7 : 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 7 of 7 : LibCommon.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

library LibCommon {
  /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
  /*                       CUSTOM ERRORS                        */
  /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

  /// @dev The ETH transfer has failed.
  error ETHTransferFailed();

  /// @dev The address is the zero address.
  error ZeroAddress();

  /// @notice raised when an ERC20 transfer fails
  error TransferFailed();

  /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
  /*                       ETH OPERATIONS                       */
  /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

  /// @notice Taken from Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)
  /// @dev Sends `amount` (in wei) ETH to `to`.
  /// Reverts upon failure.
  function safeTransferETH(address to, uint256 amount) internal {
    // solhint-disable-next-line no-inline-assembly
    assembly {
      // Transfer the ETH and check if it succeeded or not.
      if iszero(call(gas(), to, amount, 0, 0, 0, 0)) {
        // Store the function selector of `ETHTransferFailed()`.
        // bytes4(keccak256(bytes("ETHTransferFailed()"))) = 0xb12d13eb
        mstore(0x00, 0xb12d13eb)
        // Revert with (offset, size).
        revert(0x1c, 0x04)
      }
    }
  }

  /// @notice Validates that the address is not the zero address using assembly.
  /// @dev Reverts if the address is the zero address.
  function validateAddress(address addr) internal pure {
    // solhint-disable-next-line no-inline-assembly
    assembly {
      if iszero(shl(96, addr)) {
        // Store the function selector of `ZeroAddress()`.
        // bytes4(keccak256(bytes("ZeroAddress()"))) = 0xd92e233d
        mstore(0x00, 0xd92e233d)
        // Revert with (offset, size).
        revert(0x1c, 0x04)
      }
    }
  }

  /// @notice Helper function to transfer ERC20 tokens without the need for SafeERC20.
  /// @dev Reverts if the ERC20 transfer fails.
  /// @param tokenAddress The address of the ERC20 token.
  /// @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.
  function safeTransferFrom(
    address tokenAddress,
    address from,
    address to,
    uint256 amount
  ) internal returns (bool) {
    // solhint-disable-next-line avoid-low-level-calls
    (bool success, bytes memory data) = tokenAddress.call(
      abi.encodeWithSignature(
        "transferFrom(address,address,uint256)",
        from,
        to,
        amount
      )
    );
    if (!success) {
      if (data.length != 0) {
        // bubble up error
        // solhint-disable-next-line no-inline-assembly
        assembly {
          let returndata_size := mload(data)
          revert(add(32, data), returndata_size)
        }
      } else {
        revert TransferFailed();
      }
    }
    return true;
  }

  /// @notice Helper function to transfer ERC20 tokens without the need for SafeERC20.
  /// @dev Reverts if the ERC20 transfer fails.
  /// @param tokenAddress The address of the ERC20 token.
  /// @param to The address to transfer the tokens to.
  /// @param amount The amount of tokens to transfer.
  function safeTransfer(
    address tokenAddress,
    address to,
    uint256 amount
  ) internal returns (bool) {
    // solhint-disable-next-line avoid-low-level-calls
    (bool success, bytes memory data) = tokenAddress.call(
      abi.encodeWithSignature("transfer(address,uint256)", to, amount)
    );
    if (!success) {
      if (data.length != 0) {
        // bubble up error
        // solhint-disable-next-line no-inline-assembly
        assembly {
          let returndata_size := mload(data)
          revert(add(32, data), returndata_size)
        }
      } else {
        revert TransferFailed();
      }
    }
    return true;
  }
}

Settings
{
  "metadata": {
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 1337
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "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":"_isDocumentAllowed","type":"bool"},{"internalType":"bool","name":"_isMaxAmountOfTokensSet","type":"bool"},{"internalType":"bool","name":"_isTaxable","type":"bool"},{"internalType":"bool","name":"_isDeflationary","type":"bool"}],"internalType":"struct DefiToken.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":[],"name":"BurningNotEnabled","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":[],"name":"TokenIsNotDeflationary","type":"error"},{"inputs":[],"name":"TokenIsNotTaxable","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":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"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","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":[{"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":"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":"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":"isTaxable","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":"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"}]

6101006040523480156200001257600080fd5b5060405162002497380380620024978339810160408190526200003591620006b8565b8a8a60036200004583826200085c565b5060046200005482826200085c565b505050620000716200006b620002bf60201b60201c565b620002c3565b856060015115620000a65784600003620000a6576040516364824b8d60e01b8152600481018690526024015b60405180910390fd5b60128860ff161115620000d25760405163ca95039160e01b815260ff891660048201526024016200009d565b8560800151156200013c5761138882111562000105576040516365a0074b60e11b8152600481018390526024016200009d565b6200011b836200031560201b62000de51760201c565b600a80546001600160a01b0319166001600160a01b038516179055600b8290555b8560a001511562000175576113888111156200016f576040516305dba32960e51b8152600481018290526024016200009d565b600c8190555b6200018b876200031560201b62000de51760201c565b608089905260a08590526006620001a385826200085c565b506001600160a01b03871660c05260ff881660e052855160098054602089015160408a015160608b015160808c015160a08d015161ffff1990951696151561ff00191696909617610100931515939093029290921763ffff00001916620100009115159190910263ff0000001916176301000000911515919091021761ffff60201b19166401000000009315159390930260ff60281b191692909217650100000000009215159290920291909117905560076200026185826200085c565b506008859055881562000292576200029287620002808a600a62000a3d565b6200028c908c62000a55565b6200032f565b6001600160a01b0387163314620002ae57620002ae87620003f2565b505050505050505050505062000a85565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8060601b6200032c5763d92e233d6000526004601cfd5b50565b6001600160a01b038216620003875760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200009d565b80600260008282546200039b919062000a6f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b620003fc62000417565b6200032c816200047560201b62000dfb1760201c565b505050565b6005546001600160a01b03163314620004735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200009d565b565b6200047f62000417565b6001600160a01b038116620004e65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200009d565b6200032c81620002c3565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620005325762000532620004f1565b604052919050565b600082601f8301126200054c57600080fd5b81516001600160401b03811115620005685762000568620004f1565b60206200057e601f8301601f1916820162000507565b82815285828487010111156200059357600080fd5b60005b83811015620005b357858101830151828201840152820162000596565b506000928101909101919091529392505050565b805160ff81168114620005d957600080fd5b919050565b80516001600160a01b0381168114620005d957600080fd5b80518015158114620005d957600080fd5b600060c082840312156200061a57600080fd5b60405160c081016001600160401b03811182821017156200063f576200063f620004f1565b6040529050806200065083620005f6565b81526200066060208401620005f6565b60208201526200067360408401620005f6565b60408201526200068660608401620005f6565b60608201526200069960808401620005f6565b6080820152620006ac60a08401620005f6565b60a08201525092915050565b60008060008060008060008060008060006102008c8e031215620006db57600080fd5b8b516001600160401b03811115620006f257600080fd5b620007008e828f016200053a565b60208e0151909c5090506001600160401b038111156200071f57600080fd5b6200072d8e828f016200053a565b9a505060408c015198506200074560608d01620005c7565b97506200075560808d01620005de565b9650620007668d60a08e0162000607565b6101608d01516101808e015191975095506001600160401b038111156200078c57600080fd5b6200079a8e828f016200053a565b945050620007ac6101a08d01620005de565b92506101c08c015191506101e08c015190509295989b509295989b9093969950565b600181811c90821680620007e357607f821691505b6020821081036200080457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200041257600081815260208120601f850160051c81016020861015620008335750805b601f850160051c820191505b8181101562000854578281556001016200083f565b505050505050565b81516001600160401b03811115620008785762000878620004f1565b6200089081620008898454620007ce565b846200080a565b602080601f831160018114620008c85760008415620008af5750858301515b600019600386901b1c1916600185901b17855562000854565b600085815260208120601f198616915b82811015620008f957888601518255948401946001909101908401620008d8565b5085821015620009185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200097f57816000190482111562000963576200096362000928565b808516156200097157918102915b93841c939080029062000943565b509250929050565b600082620009985750600162000a37565b81620009a75750600062000a37565b8160018114620009c05760028114620009cb57620009eb565b600191505062000a37565b60ff841115620009df57620009df62000928565b50506001821b62000a37565b5060208310610133831016604e8410600b841016171562000a10575081810a62000a37565b62000a1c83836200093e565b806000190482111562000a335762000a3362000928565b0290505b92915050565b600062000a4e60ff84168362000987565b9392505050565b808202811582820484141762000a375762000a3762000928565b8082018082111562000a375762000a3762000928565b60805160a05160c05160e0516119d862000abf60003960006102f401526000610422015260006104650152600061032301526119d86000f3fe608060405234801561001057600080fd5b506004361061025c5760003560e01c8063883356d911610145578063a9d86685116100bd578063dd62ed3e1161008c578063f2fde38b11610071578063f2fde38b14610543578063f820f56714610556578063ffa1ad741461056757600080fd5b8063dd62ed3e146104f7578063f19c4e3b1461053057600080fd5b8063a9d86685146104c0578063b7bda68f146104c8578063d48e4127146104db578063d8f67851146104e457600080fd5b806395d89b4111610114578063a457c2d7116100f9578063a457c2d714610487578063a476df611461049a578063a9059cbb146104ad57600080fd5b806395d89b4114610458578063a32f69761461046057600080fd5b8063883356d9146103e85780638da5cb5b146103f85780638dac71911461041d5780638e8c10a21461044457600080fd5b806339509351116101d85780634ac0bc32116101a75780635a3990ce1161018c5780635a3990ce146103a557806370a08231146103b7578063715018a6146103e057600080fd5b80634ac0bc3214610389578063542e96671461039c57600080fd5b8063395093511461034557806340c10f191461035857806342966c681461036b57806346b45af71461037e57600080fd5b806318160ddd1161022f5780632fa782eb116102145780632fa782eb146102e4578063313ce567146102ed578063378dc3dc1461031e57600080fd5b806318160ddd146102bf57806323b872dd146102d157600080fd5b806302252c4d14610261578063044ab74e1461027657806306fdde0314610294578063095ea7b31461029c575b600080fd5b61027461026f3660046115ec565b6105a3565b005b61027e610665565b60405161028b9190611605565b60405180910390f35b61027e6106f3565b6102af6102aa36600461166a565b610785565b604051901515815260200161028b565b6002545b60405190815260200161028b565b6102af6102df366004611694565b61079f565b6102c3600b5481565b60405160ff7f000000000000000000000000000000000000000000000000000000000000000016815260200161028b565b6102c37f000000000000000000000000000000000000000000000000000000000000000081565b6102af61035336600461166a565b610887565b61027461036636600461166a565b6108c6565b6102746103793660046115ec565b610981565b60095460ff166102af565b600954640100000000900460ff166102af565b6102c3600c5481565b6009546301000000900460ff166102af565b6102c36103c53660046116d0565b6001600160a01b031660009081526020819052604090205490565b6102746109d7565b600954610100900460ff166102af565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161028b565b6104057f000000000000000000000000000000000000000000000000000000000000000081565b60095465010000000000900460ff166102af565b61027e6109e9565b6102c37f000000000000000000000000000000000000000000000000000000000000000081565b6102af61049536600461166a565b6109f8565b6102746104a8366004611701565b610aad565b6102af6104bb36600461166a565b610b33565b61027e610c14565b600a54610405906001600160a01b031681565b6102c360085481565b6102746104f23660046115ec565b610c21565b6102c36105053660046117b2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61027461053e36600461166a565b610ce0565b6102746105513660046116d0565b610dd4565b60095462010000900460ff166102af565b61027e6040518060400160405280600881526020017f646566695f765f3100000000000000000000000000000000000000000000000081525081565b6105ab610e88565b6009546301000000900460ff166105ee576040517f6273340f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008548111610629576040517fa43d2d7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60088190556040518181527f2905481c6fd1a037492016c4760435a52203d82a6f34dc3de40f464c1bf42d59906020015b60405180910390a150565b60078054610672906117e5565b80601f016020809104026020016040519081016040528092919081815260200182805461069e906117e5565b80156106eb5780601f106106c0576101008083540402835291602001916106eb565b820191906000526020600020905b8154815290600101906020018083116106ce57829003601f168201915b505050505081565b606060038054610702906117e5565b80601f016020809104026020016040519081016040528092919081815260200182805461072e906117e5565b801561077b5780601f106107505761010080835404028352916020019161077b565b820191906000526020600020905b81548152906001019060200180831161075e57829003601f168201915b5050505050905090565b600033610793818585610ee2565b60019150505b92915050565b6000806107ac858461103b565b905060006107b984611085565b90506000816107c88487611835565b6107d29190611835565b6009549091506301000000900460ff1615610843576008548161080a886001600160a01b031660009081526020819052604090205490565b6108149190611848565b11156108435760405163f6202a8f60e01b81526001600160a01b03871660048201526024015b60405180910390fd5b821561086157600a546108619088906001600160a01b0316856110b4565b81156108715761087187836112a3565b61087c878783611409565b979650505050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061079390829086906108c1908790611848565b610ee2565b6108ce610e88565b60095460ff1661090a576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009546301000000900460ff1615610973576008548161093f846001600160a01b031660009081526020819052604090205490565b6109499190611848565b11156109735760405163f6202a8f60e01b81526001600160a01b038316600482015260240161083a565b61097d8282611422565b5050565b610989610e88565b600954610100900460ff166109ca576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109d433826112a3565b50565b6109df610e88565b6109e76114e1565b565b606060048054610702906117e5565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610a955760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161083a565b610aa28286868403610ee2565b506001949350505050565b610ab5610e88565b60095462010000900460ff16610af7576040517f70a43fce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007610b0382826118a9565b507f4456a0b562609d67398ddb488f136db285cd3c92343e0a7ba684925669237ade8160405161065a9190611605565b600080610b40338461103b565b90506000610b4d84611085565b9050600081610b5c8487611835565b610b669190611835565b6009549091506301000000900460ff1615610bd25760085481610b9e886001600160a01b031660009081526020819052604090205490565b610ba89190611848565b1115610bd25760405163f6202a8f60e01b81526001600160a01b038716600482015260240161083a565b8215610bf057600a54610bf09033906001600160a01b0316856110b4565b8115610c0057610c0033836112a3565b610c0a86826114f3565b9695505050505050565b60068054610672906117e5565b610c29610e88565b60095465010000000000900460ff16610c6e576040517fcd9e529800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611388811115610cad576040517fbb7465200000000000000000000000000000000000000000000000000000000081526004810182905260240161083a565b600c81905560405181907fc1ff65ee907dc079b64ed9913d53f4bd593bd6ebd9b2a2708db2916d49e17ec390600090a250565b610ce8610e88565b600954640100000000900460ff16610d2c576040517fc8a478a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611388811115610d6b576040517fcb400e960000000000000000000000000000000000000000000000000000000081526004810182905260240161083a565b610d7482610de5565b600a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155600b8290556040518291907facc44e32fd5ca4240f6dbe6e8cf4eb49349c17c5ce5f80f1919a9c97b50d398a90600090a35050565b610ddc610e88565b6109d481610dfb565b8060601b6109d45763d92e233d6000526004601cfd5b610e03610e88565b6001600160a01b038116610e7f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161083a565b6109d481611501565b6005546001600160a01b031633146109e75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b6001600160a01b038316610f5d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b038216610fd95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000600b5460001415801561105e5750600a546001600160a01b03848116911614155b1561079957612710600b54836110749190611969565b61107e9190611980565b9392505050565b6000600c546000146110af57612710600c54836110a29190611969565b6110ac9190611980565b90505b919050565b6001600160a01b0383166111305760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b0382166111ac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b0383166000908152602081905260409020548181101561123b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b6001600160a01b03821661131f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b038216600090815260208190526040902054818110156113ae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161102e565b505050565b600033611417858285611560565b610aa28585856110b4565b6001600160a01b0382166114785760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161083a565b806002600082825461148a9190611848565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6114e9610e88565b6109e76000611501565b6000336107938185856110b4565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461129d57818110156115df5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161083a565b61129d8484848403610ee2565b6000602082840312156115fe57600080fd5b5035919050565b600060208083528351808285015260005b8181101561163257858101830151858201604001528201611616565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146110af57600080fd5b6000806040838503121561167d57600080fd5b61168683611653565b946020939093013593505050565b6000806000606084860312156116a957600080fd5b6116b284611653565b92506116c060208501611653565b9150604084013590509250925092565b6000602082840312156116e257600080fd5b61107e82611653565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561171357600080fd5b813567ffffffffffffffff8082111561172b57600080fd5b818401915084601f83011261173f57600080fd5b813581811115611751576117516116eb565b604051601f8201601f19908116603f01168101908382118183101715611779576117796116eb565b8160405282815287602084870101111561179257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156117c557600080fd5b6117ce83611653565b91506117dc60208401611653565b90509250929050565b600181811c908216806117f957607f821691505b60208210810361181957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156107995761079961181f565b808201808211156107995761079961181f565b601f82111561140457600081815260208120601f850160051c810160208610156118825750805b601f850160051c820191505b818110156118a15782815560010161188e565b505050505050565b815167ffffffffffffffff8111156118c3576118c36116eb565b6118d7816118d184546117e5565b8461185b565b602080601f83116001811461190c57600084156118f45750858301515b600019600386901b1c1916600185901b1785556118a1565b600085815260208120601f198616915b8281101561193b5788860151825594840194600190910190840161191c565b50858210156119595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820281158282048414176107995761079961181f565b60008261199d57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212204acce1e3f69ac548603093e2aec34261c26e17c8d1229abf947fe0222ac83f9964736f6c6343000811003300000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000729cd200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000dae27af3c5d9213a9e64da7afaa5287ac03ee2bb00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000dae27af3c5d9213a9e64da7afaa5287ac03ee2bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084574686572697465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000345545200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025c5760003560e01c8063883356d911610145578063a9d86685116100bd578063dd62ed3e1161008c578063f2fde38b11610071578063f2fde38b14610543578063f820f56714610556578063ffa1ad741461056757600080fd5b8063dd62ed3e146104f7578063f19c4e3b1461053057600080fd5b8063a9d86685146104c0578063b7bda68f146104c8578063d48e4127146104db578063d8f67851146104e457600080fd5b806395d89b4111610114578063a457c2d7116100f9578063a457c2d714610487578063a476df611461049a578063a9059cbb146104ad57600080fd5b806395d89b4114610458578063a32f69761461046057600080fd5b8063883356d9146103e85780638da5cb5b146103f85780638dac71911461041d5780638e8c10a21461044457600080fd5b806339509351116101d85780634ac0bc32116101a75780635a3990ce1161018c5780635a3990ce146103a557806370a08231146103b7578063715018a6146103e057600080fd5b80634ac0bc3214610389578063542e96671461039c57600080fd5b8063395093511461034557806340c10f191461035857806342966c681461036b57806346b45af71461037e57600080fd5b806318160ddd1161022f5780632fa782eb116102145780632fa782eb146102e4578063313ce567146102ed578063378dc3dc1461031e57600080fd5b806318160ddd146102bf57806323b872dd146102d157600080fd5b806302252c4d14610261578063044ab74e1461027657806306fdde0314610294578063095ea7b31461029c575b600080fd5b61027461026f3660046115ec565b6105a3565b005b61027e610665565b60405161028b9190611605565b60405180910390f35b61027e6106f3565b6102af6102aa36600461166a565b610785565b604051901515815260200161028b565b6002545b60405190815260200161028b565b6102af6102df366004611694565b61079f565b6102c3600b5481565b60405160ff7f000000000000000000000000000000000000000000000000000000000000001216815260200161028b565b6102c37f000000000000000000000000000000000000000000000000000000000729cd2081565b6102af61035336600461166a565b610887565b61027461036636600461166a565b6108c6565b6102746103793660046115ec565b610981565b60095460ff166102af565b600954640100000000900460ff166102af565b6102c3600c5481565b6009546301000000900460ff166102af565b6102c36103c53660046116d0565b6001600160a01b031660009081526020819052604090205490565b6102746109d7565b600954610100900460ff166102af565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161028b565b6104057f000000000000000000000000dae27af3c5d9213a9e64da7afaa5287ac03ee2bb81565b60095465010000000000900460ff166102af565b61027e6109e9565b6102c37f000000000000000000000000000000000000000000000000000000000000000081565b6102af61049536600461166a565b6109f8565b6102746104a8366004611701565b610aad565b6102af6104bb36600461166a565b610b33565b61027e610c14565b600a54610405906001600160a01b031681565b6102c360085481565b6102746104f23660046115ec565b610c21565b6102c36105053660046117b2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61027461053e36600461166a565b610ce0565b6102746105513660046116d0565b610dd4565b60095462010000900460ff166102af565b61027e6040518060400160405280600881526020017f646566695f765f3100000000000000000000000000000000000000000000000081525081565b6105ab610e88565b6009546301000000900460ff166105ee576040517f6273340f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008548111610629576040517fa43d2d7600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60088190556040518181527f2905481c6fd1a037492016c4760435a52203d82a6f34dc3de40f464c1bf42d59906020015b60405180910390a150565b60078054610672906117e5565b80601f016020809104026020016040519081016040528092919081815260200182805461069e906117e5565b80156106eb5780601f106106c0576101008083540402835291602001916106eb565b820191906000526020600020905b8154815290600101906020018083116106ce57829003601f168201915b505050505081565b606060038054610702906117e5565b80601f016020809104026020016040519081016040528092919081815260200182805461072e906117e5565b801561077b5780601f106107505761010080835404028352916020019161077b565b820191906000526020600020905b81548152906001019060200180831161075e57829003601f168201915b5050505050905090565b600033610793818585610ee2565b60019150505b92915050565b6000806107ac858461103b565b905060006107b984611085565b90506000816107c88487611835565b6107d29190611835565b6009549091506301000000900460ff1615610843576008548161080a886001600160a01b031660009081526020819052604090205490565b6108149190611848565b11156108435760405163f6202a8f60e01b81526001600160a01b03871660048201526024015b60405180910390fd5b821561086157600a546108619088906001600160a01b0316856110b4565b81156108715761087187836112a3565b61087c878783611409565b979650505050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061079390829086906108c1908790611848565b610ee2565b6108ce610e88565b60095460ff1661090a576040517f3990ac6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6009546301000000900460ff1615610973576008548161093f846001600160a01b031660009081526020819052604090205490565b6109499190611848565b11156109735760405163f6202a8f60e01b81526001600160a01b038316600482015260240161083a565b61097d8282611422565b5050565b610989610e88565b600954610100900460ff166109ca576040517f6cb5913900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109d433826112a3565b50565b6109df610e88565b6109e76114e1565b565b606060048054610702906117e5565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610a955760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161083a565b610aa28286868403610ee2565b506001949350505050565b610ab5610e88565b60095462010000900460ff16610af7576040517f70a43fce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007610b0382826118a9565b507f4456a0b562609d67398ddb488f136db285cd3c92343e0a7ba684925669237ade8160405161065a9190611605565b600080610b40338461103b565b90506000610b4d84611085565b9050600081610b5c8487611835565b610b669190611835565b6009549091506301000000900460ff1615610bd25760085481610b9e886001600160a01b031660009081526020819052604090205490565b610ba89190611848565b1115610bd25760405163f6202a8f60e01b81526001600160a01b038716600482015260240161083a565b8215610bf057600a54610bf09033906001600160a01b0316856110b4565b8115610c0057610c0033836112a3565b610c0a86826114f3565b9695505050505050565b60068054610672906117e5565b610c29610e88565b60095465010000000000900460ff16610c6e576040517fcd9e529800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611388811115610cad576040517fbb7465200000000000000000000000000000000000000000000000000000000081526004810182905260240161083a565b600c81905560405181907fc1ff65ee907dc079b64ed9913d53f4bd593bd6ebd9b2a2708db2916d49e17ec390600090a250565b610ce8610e88565b600954640100000000900460ff16610d2c576040517fc8a478a500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611388811115610d6b576040517fcb400e960000000000000000000000000000000000000000000000000000000081526004810182905260240161083a565b610d7482610de5565b600a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155600b8290556040518291907facc44e32fd5ca4240f6dbe6e8cf4eb49349c17c5ce5f80f1919a9c97b50d398a90600090a35050565b610ddc610e88565b6109d481610dfb565b8060601b6109d45763d92e233d6000526004601cfd5b610e03610e88565b6001600160a01b038116610e7f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161083a565b6109d481611501565b6005546001600160a01b031633146109e75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161083a565b6001600160a01b038316610f5d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b038216610fd95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000600b5460001415801561105e5750600a546001600160a01b03848116911614155b1561079957612710600b54836110749190611969565b61107e9190611980565b9392505050565b6000600c546000146110af57612710600c54836110a29190611969565b6110ac9190611980565b90505b919050565b6001600160a01b0383166111305760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b0382166111ac5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b0383166000908152602081905260409020548181101561123b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b6001600160a01b03821661131f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b038216600090815260208190526040902054818110156113ae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161083a565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161102e565b505050565b600033611417858285611560565b610aa28585856110b4565b6001600160a01b0382166114785760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161083a565b806002600082825461148a9190611848565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6114e9610e88565b6109e76000611501565b6000336107938185856110b4565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461129d57818110156115df5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161083a565b61129d8484848403610ee2565b6000602082840312156115fe57600080fd5b5035919050565b600060208083528351808285015260005b8181101561163257858101830151858201604001528201611616565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146110af57600080fd5b6000806040838503121561167d57600080fd5b61168683611653565b946020939093013593505050565b6000806000606084860312156116a957600080fd5b6116b284611653565b92506116c060208501611653565b9150604084013590509250925092565b6000602082840312156116e257600080fd5b61107e82611653565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561171357600080fd5b813567ffffffffffffffff8082111561172b57600080fd5b818401915084601f83011261173f57600080fd5b813581811115611751576117516116eb565b604051601f8201601f19908116603f01168101908382118183101715611779576117796116eb565b8160405282815287602084870101111561179257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080604083850312156117c557600080fd5b6117ce83611653565b91506117dc60208401611653565b90509250929050565b600181811c908216806117f957607f821691505b60208210810361181957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156107995761079961181f565b808201808211156107995761079961181f565b601f82111561140457600081815260208120601f850160051c810160208610156118825750805b601f850160051c820191505b818110156118a15782815560010161188e565b505050505050565b815167ffffffffffffffff8111156118c3576118c36116eb565b6118d7816118d184546117e5565b8461185b565b602080601f83116001811461190c57600084156118f45750858301515b600019600386901b1c1916600185901b1785556118a1565b600085815260208120601f198616915b8281101561193b5788860151825594840194600190910190840161191c565b50858210156119595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820281158282048414176107995761079961181f565b60008261199d57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212204acce1e3f69ac548603093e2aec34261c26e17c8d1229abf947fe0222ac83f9964736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000729cd200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000dae27af3c5d9213a9e64da7afaa5287ac03ee2bb00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000dae27af3c5d9213a9e64da7afaa5287ac03ee2bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084574686572697465000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000345545200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Etherite
Arg [1] : symbol_ (string): ETR
Arg [2] : initialSupplyToSet (uint256): 120180000
Arg [3] : decimalsToSet (uint8): 18
Arg [4] : tokenOwner (address): 0xDAE27aF3c5d9213A9E64Da7AfAA5287AC03Ee2Bb
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): 0xDAE27aF3c5d9213A9E64Da7AfAA5287AC03Ee2Bb
Arg [9] : _taxBPS (uint256): 0
Arg [10] : _deflationBPS (uint256): 0

-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [2] : 000000000000000000000000000000000000000000000000000000000729cd20
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 000000000000000000000000dae27af3c5d9213a9e64da7afaa5287ac03ee2bb
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000280
Arg [13] : 000000000000000000000000dae27af3c5d9213a9e64da7afaa5287ac03ee2bb
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [17] : 4574686572697465000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [19] : 4554520000000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

409:11807:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6367:392;;;;;;:::i;:::-;;:::i;:::-;;674:25;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2158:98:1;;;:::i;4444:197::-;;;;;;:::i;:::-;;:::i;:::-;;;1377:14:7;;1370:22;1352:41;;1340:2;1325:18;4444:197:1;1212:187:7;3255:106:1;3342:12;;3255:106;;;1550:25:7;;;1538:2;1523:18;3255:106:1;1404:177:7;9195:685:5;;;;;;:::i;:::-;;:::i;1247:21::-;;;;;;5296:92;;;2091:4:7;5374:9:5;2079:17:7;2061:36;;2049:2;2034:18;5296:92:5;1919:184:7;703:38:5;;;;;5854:234:1;;;;;;:::i;:::-;;:::i;10111:323:5:-;;;;;;:::i;:::-;;:::i;10618:150::-;;;;;;:::i;:::-;;:::i;4424:90::-;4486:11;:23;;;4424:90;;5498:88;5559:11;:22;;;;;;5498:88;;1272:27;;;;;;4852:114;4926:11;:35;;;;;;4852:114;;3419:125:1;;;;;;:::i;:::-;-1:-1:-1;;;;;3519:18:1;3493:7;3519:18;;;;;;;;;;;;3419:125;10934:91:5;;;:::i;4610:90::-;4672:11;:23;;;;;;4610:90;;1201:85:0;1273:6;;-1:-1:-1;;;;;1273:6:0;1201:85;;;-1:-1:-1;;;;;2463:55:7;;;2445:74;;2433:2;2418:18;1201:85:0;2299:226:7;1135:42:5;;;;;5707:98;5773:11;:27;;;;;;5707:98;;2369:102:1;;;:::i;745:56:5:-;;;;;6575:427:1;;;;;;:::i;:::-;;:::i;5949:232:5:-;;;;;;:::i;:::-;;:::i;8142:670::-;;;;;;:::i;:::-;;:::i;638:32::-;;;:::i;1218:25::-;;;;;-1:-1:-1;;;;;1218:25:5;;;805:39;;;;;;7516:325;;;;;;:::i;:::-;;:::i;3987:149:1:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4102:18:1;;;4076:7;4102:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3987:149;6968:381:5;;;;;;:::i;:::-;;:::i;11198:115::-;;;;;;:::i;:::-;;:::i;5084:107::-;5156:11;:30;;;;;;5084:107;;569:43;;;;;;;;;;;;;;;;;;;;;6367:392;1094:13:0;:11;:13::i;:::-;4926:11:5;:35;;;;;;6464:79:::1;;6510:26;;;;;;;;;;;;;;6464:79;6573:24;;6552:17;:45;6548:106;;6614:33;;;;;;;;;;;;;;6548:106;6660:24;:44:::0;;;6715:39:::1;::::0;1550:25:7;;;6715:39:5::1;::::0;1538:2:7;1523:18;6715:39:5::1;;;;;;;;6367:392:::0;:::o;674:25::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2158:98:1:-;2212:13;2244:5;2237:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2158:98;:::o;4444:197::-;4527:4;719:10:4;4581:32:1;719:10:4;4597:7:1;4606:6;4581:8;:32::i;:::-;4630:4;4623:11;;;4444:197;;;;;:::o;9195:685:5:-;9308:4;9320:17;9340:24;9351:4;9357:6;9340:10;:24::i;:::-;9320:44;;9370:23;9396:24;9413:6;9396:16;:24::i;:::-;9370:50;-1:-1:-1;9426:24:5;9370:50;9453:18;9462:9;9453:6;:18;:::i;:::-;:36;;;;:::i;:::-;4926:11;:35;9426:63;;-1:-1:-1;4926:35:5;;;;;9496:167;;;9573:24;;9554:16;9538:13;9548:2;-1:-1:-1;;;;;3519:18:1;3493:7;3519:18;;;;;;;;;;;;3419:125;9538:13:5;:32;;;;:::i;:::-;:59;9534:123;;;9616:32;;-1:-1:-1;;;9616:32:5;;-1:-1:-1;;;;;2463:55:7;;9616:32:5;;;2445:74:7;2418:18;;9616:32:5;;;;;;;;9534:123;9673:14;;9669:73;;9713:10;;9697:38;;9707:4;;-1:-1:-1;;;;;9713:10:5;9725:9;9697;:38::i;:::-;9751:20;;9747:69;;9781:28;9787:4;9793:15;9781:5;:28::i;:::-;9829:46;9848:4;9854:2;9858:16;9829:18;:46::i;:::-;9822:53;9195:685;-1:-1:-1;;;;;;;9195:685:5:o;5854:234:1:-;719:10:4;5942:4:1;4102:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;4102:27:1;;;;;;;;;;5942:4;;719:10:4;5996:64:1;;719:10:4;;4102:27:1;;6021:38;;6049:10;;6021:38;:::i;:::-;5996:8;:64::i;10111:323:5:-;1094:13:0;:11;:13::i;:::-;4486:11:5;:23;;;10178:60:::1;;10212:19;;;;;;;;;;;;;;10178:60;4926:11:::0;:35;;;;;;10243:157:::1;;;10310:24;;10301:6;10285:13;10295:2;-1:-1:-1::0;;;;;3519:18:1;3493:7;3519:18;;;;;;;;;;;;3419:125;10285:13:5::1;:22;;;;:::i;:::-;:49;10281:113;;;10353:32;::::0;-1:-1:-1;;;10353:32:5;;-1:-1:-1;;;;;2463:55:7;;10353:32:5::1;::::0;::::1;2445:74:7::0;2418:18;;10353:32:5::1;2299:226:7::0;10281:113:5::1;10406:23;10418:2;10422:6;10406:11;:23::i;:::-;10111:323:::0;;:::o;10618:150::-;1094:13:0;:11;:13::i;:::-;4672:11:5;:23;;;;;;10673:60:::1;;10707:19;;;;;;;;;;;;;;10673:60;10738:25;10744:10;10756:6;10738:5;:25::i;:::-;10618:150:::0;:::o;10934:91::-;1094:13:0;:11;:13::i;:::-;10995:25:5::1;:23;:25::i;:::-;10934:91::o:0;2369:102:1:-;2425:13;2457:7;2450:14;;;;;:::i;6575:427::-;719:10:4;6668:4:1;4102:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;4102:27:1;;;;;;;;;;6668:4;;719:10:4;6812:15:1;6792:16;:35;;6784:85;;;;-1:-1:-1;;;6784:85:1;;5007:2:7;6784:85:1;;;4989:21:7;5046:2;5026:18;;;5019:30;5085:34;5065:18;;;5058:62;5156:7;5136:18;;;5129:35;5181:19;;6784:85:1;4805:401:7;6784:85:1;6903:60;6912:5;6919:7;6947:15;6928:16;:34;6903:8;:60::i;:::-;-1:-1:-1;6991:4:1;;6575:427;-1:-1:-1;;;;6575:427:1:o;5949:232:5:-;1094:13:0;:11;:13::i;:::-;5156:11:5;:30;;;;;;6028:74:::1;;6072:23;;;;;;;;;;;;;;6028:74;6107:11;:28;6121:14:::0;6107:11;:28:::1;:::i;:::-;;6146:30;6161:14;6146:30;;;;;;:::i;8142:670::-:0;8233:4;8245:17;8265:30;8276:10;8288:6;8265:10;:30::i;:::-;8245:50;;8301:23;8327:24;8344:6;8327:16;:24::i;:::-;8301:50;-1:-1:-1;8357:24:5;8301:50;8384:18;8393:9;8384:6;:18;:::i;:::-;:36;;;;:::i;:::-;4926:11;:35;8357:63;;-1:-1:-1;4926:35:5;;;;;8427:167;;;8504:24;;8485:16;8469:13;8479:2;-1:-1:-1;;;;;3519:18:1;3493:7;3519:18;;;;;;;;;;;;3419:125;8469:13:5;:32;;;;:::i;:::-;:59;8465:123;;;8547:32;;-1:-1:-1;;;8547:32:5;;-1:-1:-1;;;;;2463:55:7;;8547:32:5;;;2445:74:7;2418:18;;8547:32:5;2299:226:7;8465:123:5;8604:14;;8600:79;;8650:10;;8628:44;;8638:10;;-1:-1:-1;;;;;8650:10:5;8662:9;8628;:44::i;:::-;8688:20;;8684:75;;8718:34;8724:10;8736:15;8718:5;:34::i;:::-;8771:36;8786:2;8790:16;8771:14;:36::i;:::-;8764:43;8142:670;-1:-1:-1;;;;;;8142:670:5:o;638:32::-;;;;;;;:::i;7516:325::-;1094:13:0;:11;:13::i;:::-;5773:11:5;:27;;;;;;7592:69:::1;;7630:24;;;;;;;;;;;;;;7592:69;560:5;7670:13;:31;7666:93;;;7718:34;::::0;::::1;::::0;;::::1;::::0;::::1;1550:25:7::0;;;1523:18;;7718:34:5::1;1404:177:7::0;7666:93:5::1;7764:12;:28:::0;;;7803:33:::1;::::0;7779:13;;7803:33:::1;::::0;;;::::1;7516:325:::0;:::o;6968:381::-;1094:13:0;:11;:13::i;:::-;5559:11:5;:22;;;;;;7065:59:::1;;7098:19;;;;;;;;;;;;;;7065:59;560:5;7133:7;:25;7129:75;;;7175:22;::::0;::::1;::::0;;::::1;::::0;::::1;1550:25:7::0;;;1523:18;;7175:22:5::1;1404:177:7::0;7129:75:5::1;7209:38;7235:11;7209:25;:38::i;:::-;7253:10;:24:::0;;-1:-1:-1;;7253:24:5::1;-1:-1:-1::0;;;;;7253:24:5;::::1;::::0;;::::1;::::0;;;7283:6:::1;:16:::0;;;7310:34:::1;::::0;7283:16;;7253:24;7310:34:::1;::::0;-1:-1:-1;;7310:34:5::1;6968:381:::0;;:::o;11198:115::-;1094:13:0;:11;:13::i;:::-;11275:33:5::1;11299:8;11275:23;:33::i;1674:396:6:-:0;1820:4;1816:2;1812:13;1802:258;;1975:10;1969:4;1962:24;2047:4;2041;2034:18;2074:198:0;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:0;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:0;;7617:2:7;2154:73:0::1;::::0;::::1;7599:21:7::0;7656:2;7636:18;;;7629:30;7695:34;7675:18;;;7668:62;7766:8;7746:18;;;7739:36;7792:19;;2154:73:0::1;7415:402:7::0;2154:73:0::1;2237:28;2256:8;2237:18;:28::i;1359:130::-:0;1273:6;;-1:-1:-1;;;;;1273:6:0;719:10:4;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;8024:2:7;1414:68:0;;;8006:21:7;;;8043:18;;;8036:30;8102:34;8082:18;;;8075:62;8154:18;;1414:68:0;7822:356:7;10457:340:1;-1:-1:-1;;;;;10558:19:1;;10550:68;;;;-1:-1:-1;;;10550:68:1;;8385:2:7;10550:68:1;;;8367:21:7;8424:2;8404:18;;;8397:30;8463:34;8443:18;;;8436:62;8534:6;8514:18;;;8507:34;8558:19;;10550:68:1;8183:400:7;10550:68:1;-1:-1:-1;;;;;10636:21:1;;10628:68;;;;-1:-1:-1;;;10628:68:1;;8790:2:7;10628:68:1;;;8772:21:7;8829:2;8809:18;;;8802:30;8868:34;8848:18;;;8841:62;8939:4;8919:18;;;8912:32;8961:19;;10628:68:1;8588:398:7;10628:68:1;-1:-1:-1;;;;;10707:18:1;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10758:32;;1550:25:7;;;10758:32:1;;1523:18:7;10758:32:1;;;;;;;;10457:340;;;:::o;11562:237:5:-;11649:17;11697:6;;11707:1;11697:11;;:35;;;;-1:-1:-1;11722:10:5;;-1:-1:-1;;;;;11712:20:5;;;11722:10;;11712:20;;11697:35;11693:102;;;507:6;11764;;11755;:15;;;;:::i;:::-;11754:34;;;;:::i;:::-;11742:46;11562:237;-1:-1:-1;;;11562:237:5:o;11985:229::-;12058:23;12118:12;;12134:1;12118:17;12114:96;;507:6;12173:12;;12164:6;:21;;;;:::i;:::-;12163:40;;;;:::i;:::-;12145:58;;12114:96;11985:229;;;:::o;7456:788:1:-;-1:-1:-1;;;;;7552:18:1;;7544:68;;;;-1:-1:-1;;;7544:68:1;;9645:2:7;7544:68:1;;;9627:21:7;9684:2;9664:18;;;9657:30;9723:34;9703:18;;;9696:62;9794:7;9774:18;;;9767:35;9819:19;;7544:68:1;9443:401:7;7544:68:1;-1:-1:-1;;;;;7630:16:1;;7622:64;;;;-1:-1:-1;;;7622:64:1;;10051:2:7;7622:64:1;;;10033:21:7;10090:2;10070:18;;;10063:30;10129:34;10109:18;;;10102:62;10200:5;10180:18;;;10173:33;10223:19;;7622:64:1;9849:399:7;7622:64:1;-1:-1:-1;;;;;7768:15:1;;7746:19;7768:15;;;;;;;;;;;7801:21;;;;7793:72;;;;-1:-1:-1;;;7793:72:1;;10455:2:7;7793:72:1;;;10437:21:7;10494:2;10474:18;;;10467:30;10533:34;10513:18;;;10506:62;10604:8;10584:18;;;10577:36;10630:19;;7793:72:1;10253:402:7;7793:72:1;-1:-1:-1;;;;;7899:15:1;;;:9;:15;;;;;;;;;;;7917:20;;;7899:38;;8114:13;;;;;;;;;;:23;;;;;;8163:26;;1550:25:7;;;8114:13:1;;8163:26;;1523:18:7;8163:26:1;;;;;;;8200:37;7534:710;7456:788;;;:::o;9375:659::-;-1:-1:-1;;;;;9458:21:1;;9450:67;;;;-1:-1:-1;;;9450:67:1;;10862:2:7;9450:67:1;;;10844:21:7;10901:2;10881:18;;;10874:30;10940:34;10920:18;;;10913:62;11011:3;10991:18;;;10984:31;11032:19;;9450:67:1;10660:397:7;9450:67:1;-1:-1:-1;;;;;9613:18:1;;9588:22;9613:18;;;;;;;;;;;9649:24;;;;9641:71;;;;-1:-1:-1;;;9641:71:1;;11264:2:7;9641:71:1;;;11246:21:7;11303:2;11283:18;;;11276:30;11342:34;11322:18;;;11315:62;11413:4;11393:18;;;11386:32;11435:19;;9641:71:1;11062:398:7;9641:71:1;-1:-1:-1;;;;;9746:18:1;;:9;:18;;;;;;;;;;;9767:23;;;9746:44;;9883:12;:22;;;;;;;9931:37;1550:25:7;;;9746:9:1;;:18;9931:37;;1523:18:7;9931:37:1;1404:177:7;9979:48:1;9440:594;9375:659;;:::o;5203:256::-;5300:4;719:10:4;5356:38:1;5372:4;719:10:4;5387:6:1;5356:15;:38::i;:::-;5404:27;5414:4;5420:2;5424:6;5404:9;:27::i;8520:535::-;-1:-1:-1;;;;;8603:21:1;;8595:65;;;;-1:-1:-1;;;8595:65:1;;11667:2:7;8595:65:1;;;11649:21:7;11706:2;11686:18;;;11679:30;11745:33;11725:18;;;11718:61;11796:18;;8595:65:1;11465:355:7;8595:65:1;8747:6;8731:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8899:18:1;;:9;:18;;;;;;;;;;;:28;;;;;;8952:37;1550:25:7;;;8952:37:1;;1523:18:7;8952:37:1;;;;;;;10111:323:5;;:::o;1824:101:0:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;3740:189:1:-:0;3819:4;719:10:4;3873:28:1;719:10:4;3890:2:1;3894:6;3873:9;:28::i;2426:187:0:-;2518:6;;;-1:-1:-1;;;;;2534:17:0;;;-1:-1:-1;;2534:17:0;;;;;;;2566:40;;2518:6;;;2534:17;2518:6;;2566:40;;2499:16;;2566:40;2489:124;2426:187;:::o;11078:411:1:-;-1:-1:-1;;;;;4102:18:1;;;11178:24;4102:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;11244:37:1;;11240:243;;11325:6;11305:16;:26;;11297:68;;;;-1:-1:-1;;;11297:68:1;;12027:2:7;11297:68:1;;;12009:21:7;12066:2;12046:18;;;12039:30;12105:31;12085:18;;;12078:59;12154:18;;11297:68:1;11825:353:7;11297:68:1;11407:51;11416:5;11423:7;11451:6;11432:16;:25;11407:8;:51::i;14:180:7:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:7;;14:180;-1:-1:-1;14:180:7:o;199:548::-;311:4;340:2;369;358:9;351:21;401:6;395:13;444:6;439:2;428:9;424:18;417:34;469:1;479:140;493:6;490:1;487:13;479:140;;;588:14;;;584:23;;578:30;554:17;;;573:2;550:26;543:66;508:10;;479:140;;;483:3;668:1;663:2;654:6;643:9;639:22;635:31;628:42;738:2;731;727:7;722:2;714:6;710:15;706:29;695:9;691:45;687:54;679:62;;;;199:548;;;;:::o;752:196::-;820:20;;-1:-1:-1;;;;;869:54:7;;859:65;;849:93;;938:1;935;928:12;953:254;1021:6;1029;1082:2;1070:9;1061:7;1057:23;1053:32;1050:52;;;1098:1;1095;1088:12;1050:52;1121:29;1140:9;1121:29;:::i;:::-;1111:39;1197:2;1182:18;;;;1169:32;;-1:-1:-1;;;953:254:7:o;1586:328::-;1663:6;1671;1679;1732:2;1720:9;1711:7;1707:23;1703:32;1700:52;;;1748:1;1745;1738:12;1700:52;1771:29;1790:9;1771:29;:::i;:::-;1761:39;;1819:38;1853:2;1842:9;1838:18;1819:38;:::i;:::-;1809:48;;1904:2;1893:9;1889:18;1876:32;1866:42;;1586:328;;;;;:::o;2108:186::-;2167:6;2220:2;2208:9;2199:7;2195:23;2191:32;2188:52;;;2236:1;2233;2226:12;2188:52;2259:29;2278:9;2259:29;:::i;2530:184::-;-1:-1:-1;;;2579:1:7;2572:88;2679:4;2676:1;2669:15;2703:4;2700:1;2693:15;2719:922;2788:6;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2897:9;2884:23;2926:18;2967:2;2959:6;2956:14;2953:34;;;2983:1;2980;2973:12;2953:34;3021:6;3010:9;3006:22;2996:32;;3066:7;3059:4;3055:2;3051:13;3047:27;3037:55;;3088:1;3085;3078:12;3037:55;3124:2;3111:16;3146:2;3142;3139:10;3136:36;;;3152:18;;:::i;:::-;3227:2;3221:9;3195:2;3281:13;;-1:-1:-1;;3277:22:7;;;3301:2;3273:31;3269:40;3257:53;;;3325:18;;;3345:22;;;3322:46;3319:72;;;3371:18;;:::i;:::-;3411:10;3407:2;3400:22;3446:2;3438:6;3431:18;3486:7;3481:2;3476;3472;3468:11;3464:20;3461:33;3458:53;;;3507:1;3504;3497:12;3458:53;3563:2;3558;3554;3550:11;3545:2;3537:6;3533:15;3520:46;3608:1;3586:15;;;3603:2;3582:24;3575:35;;;;-1:-1:-1;3590:6:7;2719:922;-1:-1:-1;;;;;2719:922:7:o;3646:260::-;3714:6;3722;3775:2;3763:9;3754:7;3750:23;3746:32;3743:52;;;3791:1;3788;3781:12;3743:52;3814:29;3833:9;3814:29;:::i;:::-;3804:39;;3862:38;3896:2;3885:9;3881:18;3862:38;:::i;:::-;3852:48;;3646:260;;;;;:::o;3911:437::-;3990:1;3986:12;;;;4033;;;4054:61;;4108:4;4100:6;4096:17;4086:27;;4054:61;4161:2;4153:6;4150:14;4130:18;4127:38;4124:218;;-1:-1:-1;;;4195:1:7;4188:88;4299:4;4296:1;4289:15;4327:4;4324:1;4317:15;4124:218;;3911:437;;;:::o;4353:184::-;-1:-1:-1;;;4402:1:7;4395:88;4502:4;4499:1;4492:15;4526:4;4523:1;4516:15;4542:128;4609:9;;;4630:11;;;4627:37;;;4644:18;;:::i;4675:125::-;4740:9;;;4761:10;;;4758:36;;;4774:18;;:::i;5337:545::-;5439:2;5434:3;5431:11;5428:448;;;5475:1;5500:5;5496:2;5489:17;5545:4;5541:2;5531:19;5615:2;5603:10;5599:19;5596:1;5592:27;5586:4;5582:38;5651:4;5639:10;5636:20;5633:47;;;-1:-1:-1;5674:4:7;5633:47;5729:2;5724:3;5720:12;5717:1;5713:20;5707:4;5703:31;5693:41;;5784:82;5802:2;5795:5;5792:13;5784:82;;;5847:17;;;5828:1;5817:13;5784:82;;;5788:3;;;5337:545;;;:::o;6058:1352::-;6184:3;6178:10;6211:18;6203:6;6200:30;6197:56;;;6233:18;;:::i;:::-;6262:97;6352:6;6312:38;6344:4;6338:11;6312:38;:::i;:::-;6306:4;6262:97;:::i;:::-;6414:4;;6478:2;6467:14;;6495:1;6490:663;;;;7197:1;7214:6;7211:89;;;-1:-1:-1;7266:19:7;;;7260:26;7211:89;-1:-1:-1;;6015:1:7;6011:11;;;6007:24;6003:29;5993:40;6039:1;6035:11;;;5990:57;7313:81;;6460:944;;6490:663;5284:1;5277:14;;;5321:4;5308:18;;-1:-1:-1;;6526:20:7;;;6644:236;6658:7;6655:1;6652:14;6644:236;;;6747:19;;;6741:26;6726:42;;6839:27;;;;6807:1;6795:14;;;;6674:19;;6644:236;;;6648:3;6908:6;6899:7;6896:19;6893:201;;;6969:19;;;6963:26;-1:-1:-1;;7052:1:7;7048:14;;;7064:3;7044:24;7040:37;7036:42;7021:58;7006:74;;6893:201;-1:-1:-1;;;;;7140:1:7;7124:14;;;7120:22;7107:36;;-1:-1:-1;6058:1352:7:o;8991:168::-;9064:9;;;9095;;9112:15;;;9106:22;;9092:37;9082:71;;9133:18;;:::i;9164:274::-;9204:1;9230;9220:189;;-1:-1:-1;;;9262:1:7;9255:88;9366:4;9363:1;9356:15;9394:4;9391:1;9384:15;9220:189;-1:-1:-1;9423:9:7;;9164:274::o

Swarm Source

ipfs://4acce1e3f69ac548603093e2aec34261c26e17c8d1229abf947fe0222ac83f99

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.