ETH Price: $3,278.39 (-0.47%)

Contract

0xD71035849D2fBA67533bF50900a3E8B684ac1B42
 

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve128715132024-12-18 20:14:0131 days ago1734552841IN
0xD7103584...684ac1B42
0 ETH0.000000150.00332965
Approve77971872024-08-23 9:09:49148 days ago1724404189IN
0xD7103584...684ac1B42
0 ETH0.000002730.05821144
Approve72149972024-08-09 21:43:29162 days ago1723239809IN
0xD7103584...684ac1B42
0 ETH0.000000070.00249777
Approve71563502024-08-08 13:08:35163 days ago1723122515IN
0xD7103584...684ac1B42
0 ETH0.000000350.01400268
Approve68243452024-07-31 20:41:45171 days ago1722458505IN
0xD7103584...684ac1B42
0 ETH0.000000080.0033
Approve67378622024-07-29 20:38:59173 days ago1722285539IN
0xD7103584...684ac1B42
0 ETH00.00009988
Approve64785102024-07-23 20:33:55179 days ago1721766835IN
0xD7103584...684ac1B42
0 ETH0.000000070.0026
Approve64546852024-07-23 7:19:45179 days ago1721719185IN
0xD7103584...684ac1B42
0 ETH0.000000060.0013
Approve64532282024-07-23 6:31:11179 days ago1721716271IN
0xD7103584...684ac1B42
0 ETH00.00001006
Approve61073152024-07-15 6:20:45187 days ago1721024445IN
0xD7103584...684ac1B42
0 ETH0.000000120.00411478
Approve60697442024-07-14 9:28:23188 days ago1720949303IN
0xD7103584...684ac1B42
0 ETH0.000000040.00147154
Approve60692952024-07-14 9:13:25188 days ago1720948405IN
0xD7103584...684ac1B42
0 ETH0.000000030.00129939
Approve58186762024-07-08 13:59:27194 days ago1720447167IN
0xD7103584...684ac1B42
0 ETH0.000000150.00524522
Approve57393552024-07-06 17:55:25196 days ago1720288525IN
0xD7103584...684ac1B42
0 ETH00.00008106
Approve57393322024-07-06 17:54:39196 days ago1720288479IN
0xD7103584...684ac1B42
0 ETH00.00010943
Approve56794122024-07-05 8:37:19197 days ago1720168639IN
0xD7103584...684ac1B42
0 ETH0.000000150.00505528
Approve56349622024-07-04 7:55:39198 days ago1720079739IN
0xD7103584...684ac1B42
0 ETH0.000001070.02279156
Approve55726062024-07-02 21:17:07200 days ago1719955027IN
0xD7103584...684ac1B42
0 ETH0.00000010.0036
Approve55499092024-07-02 8:40:33200 days ago1719909633IN
0xD7103584...684ac1B42
0 ETH0.000000020.0004843
Transfer55498612024-07-02 8:38:57200 days ago1719909537IN
0xD7103584...684ac1B42
0 ETH0.000000020.00045171
Approve55496532024-07-02 8:32:01200 days ago1719909121IN
0xD7103584...684ac1B42
0 ETH0.000000010.00029463
Approve54580932024-06-30 5:40:01203 days ago1719726001IN
0xD7103584...684ac1B42
0 ETH0.000000290.00991575
Approve54115682024-06-29 3:49:11204 days ago1719632951IN
0xD7103584...684ac1B42
0 ETH0.000000290.00995186
Approve54114942024-06-29 3:46:43204 days ago1719632803IN
0xD7103584...684ac1B42
0 ETH0.000000290.01002675
Approve54114252024-06-29 3:44:25204 days ago1719632665IN
0xD7103584...684ac1B42
0 ETH0.000000470.01010049
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BND

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 11 : BND.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./owner/Operator.sol";
import "./interfaces/IOracle.sol";
import "./interfaces/ITax.sol";

contract BND is ERC20Burnable, Operator {

    bool public useTax;
    ITax public bndTax;

    event BNDTaxChanged(address oldAddress, address newAddress);
    event UseTaxSet(bool _useTax);
    event TaxApplied(uint256 rate, uint256 amount);

    constructor() ERC20("BlastName Dot", "BND") {
        _mint(_msgSender(), 72001 ether);

        useTax = false;
    }

    /* ========== TAX ========== */
    function setBNDTaxAddress(address newBNDTax) external onlySecondOperator {
        address oldAddress = address(bndTax);
        bndTax = ITax(newBNDTax);
        emit BNDTaxChanged(oldAddress, newBNDTax);
    }

    function setUseTax(bool _useTax) external onlySecondOperator {
        useTax = _useTax;
        emit UseTaxSet(_useTax);
    }

    function mint(address recipient_, uint256 amount_) public onlyOperator returns (bool) {
        uint256 balanceBefore = balanceOf(recipient_);
        _mint(recipient_, amount_);
        uint256 balanceAfter = balanceOf(recipient_);

        return balanceAfter > balanceBefore;
    }

    function transferFrom(address from, address to, uint256 value) public override returns (bool) {

        address spender = _msgSender();
        _spendAllowance(from, spender, value);

        if (useTax == true) {
            uint256 taxRate = bndTax.getTaxRate(from, to);
            if (taxRate > 0) {
                uint256 taxAmount = value * taxRate / bndTax.getTaxRateDenominator();
                uint256 valueAfterTax = value - taxAmount;

                emit TaxApplied(taxRate, taxAmount);
                _transfer(from, bndTax.getTaxVault(), taxAmount);
                _transfer(from, to, valueAfterTax);
            } else {
                _transfer(from, to, value);
            }
        } else {
            _transfer(from, to, value);
        }

        return true;
    }

    function recoverUnsupported(IERC20 _token, uint256 _amount, address _to) external onlySecondOperator {
        _token.transfer(_to, _amount);
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 3 of 11 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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

File 5 of 11 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;

import {ERC20} from "../ERC20.sol";
import {Context} from "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, deducting from
     * the caller's allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `value`.
     */
    function burnFrom(address account, uint256 value) public virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }
}

File 6 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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 7 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

File 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 9 of 11 : IOracle.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19;

interface IOracle {
    function update() external;

    function consult(address token, uint256 amountIn) external view returns (uint144 amountOut);

    function twap(address token, uint256 amountIn) external view returns (uint144 amountOut);
}

File 10 of 11 : ITax.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19;

interface ITax {
    function getTaxRate(address from, address to) external view returns (uint256);
    function getTaxRateDenominator() external pure returns (uint256);
    function getTaxVault() external view returns (address);
}

File 11 of 11 : Operator.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract Operator is Context, Ownable {
    address private _operator;
    address private _secondOperator;

    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);
    event SecondOperatorTransferred(address indexed previousSecondOperator, address indexed newSecondOperator);

    constructor() Ownable(_msgSender()) {
        _operator = _msgSender();
        _secondOperator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
        emit SecondOperatorTransferred(address(0), _secondOperator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    function secondOperator() public view returns (address) {
        return _secondOperator;
    }

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    modifier onlySecondOperator() {
        require(_secondOperator == msg.sender || _operator == msg.sender, "operator: caller is not the operator nor the second operator");
        _;
    }

    function isOperator() public view returns (bool) {
        return _msgSender() == _operator;
    }

    function isSecondOperator() public view returns (bool) {
        return _msgSender() == _secondOperator || _msgSender() == _operator;
    }

    function transferOperator(address newOperator_) public onlyOwner {
        _transferOperator(newOperator_);
    }

    function _transferOperator(address newOperator_) internal {
        require(newOperator_ != address(0), "operator: zero address given for new operator");
        emit OperatorTransferred(address(0), newOperator_);
        _operator = newOperator_;
    }

    function transferSecondOperator(address newSecondOperator_) public onlySecondOperator {
        _transferSecondOperator(newSecondOperator_);
    }

    function _transferSecondOperator(address newSecondOperator_) internal {
        require(newSecondOperator_ != address(0), "operator: zero address given for new second operator");
        emit SecondOperatorTransferred(address(0), newSecondOperator_);
        _operator = newSecondOperator_;
    }
}

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"BNDTaxChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","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":"previousSecondOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newSecondOperator","type":"address"}],"name":"SecondOperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TaxApplied","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_useTax","type":"bool"}],"name":"UseTaxSet","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bndTax","outputs":[{"internalType":"contract ITax","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSecondOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"recoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"secondOperator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newBNDTax","type":"address"}],"name":"setBNDTaxAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useTax","type":"bool"}],"name":"setUseTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSecondOperator_","type":"address"}],"name":"transferSecondOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50620000226200032160201b60201c565b6040518060400160405280600d81526020017f426c6173744e616d6520446f74000000000000000000000000000000000000008152506040518060400160405280600381526020017f424e44000000000000000000000000000000000000000000000000000000000081525081600390816200009f919062000926565b508060049081620000b1919062000926565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001295760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040162000120919062000a52565b60405180910390fd5b6200013a816200032960201b60201c565b506200014b6200032160201b60201c565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200019b6200032160201b60201c565b600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a3600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f4829734fb0a4869f522809629db02f0c15b1404df9f4a2e58235aa806fcfc73f60405160405180910390a362000300620002e96200032160201b60201c565b690f3f2e99965a44640000620003ef60201b60201c565b6000600760146101000a81548160ff02191690831515021790555062000b44565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004645760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016200045b919062000a52565b60405180910390fd5b62000478600083836200047c60201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620004d2578060026000828254620004c5919062000a9e565b92505081905550620005a8565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101562000561578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401620005589392919062000aea565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620005f3578060026000828254039250508190555062000640565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200069f919062000b27565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200072e57607f821691505b602082108103620007445762000743620006e6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007ae7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200076f565b620007ba86836200076f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200080762000801620007fb84620007d2565b620007dc565b620007d2565b9050919050565b6000819050919050565b6200082383620007e6565b6200083b62000832826200080e565b8484546200077c565b825550505050565b600090565b6200085262000843565b6200085f81848462000818565b505050565b5b8181101562000887576200087b60008262000848565b60018101905062000865565b5050565b601f821115620008d657620008a0816200074a565b620008ab846200075f565b81016020851015620008bb578190505b620008d3620008ca856200075f565b83018262000864565b50505b505050565b600082821c905092915050565b6000620008fb60001984600802620008db565b1980831691505092915050565b6000620009168383620008e8565b9150826002028217905092915050565b6200093182620006ac565b67ffffffffffffffff8111156200094d576200094c620006b7565b5b62000959825462000715565b620009668282856200088b565b600060209050601f8311600181146200099e576000841562000989578287015190505b62000995858262000908565b86555062000a05565b601f198416620009ae866200074a565b60005b82811015620009d857848901518255600182019150602085019450602081019050620009b1565b86831015620009f85784890151620009f4601f891682620008e8565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000a3a8262000a0d565b9050919050565b62000a4c8162000a2d565b82525050565b600060208201905062000a69600083018462000a41565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000aab82620007d2565b915062000ab883620007d2565b925082820190508082111562000ad35762000ad262000a6f565b5b92915050565b62000ae481620007d2565b82525050565b600060608201905062000b01600083018662000a41565b62000b10602083018562000ad9565b62000b1f604083018462000ad9565b949350505050565b600060208201905062000b3e600083018462000ad9565b92915050565b6126b58062000b546000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de57806395d89b4111610097578063a9059cbb11610071578063a9059cbb1461044d578063d907a87f1461047d578063dd62ed3e1461049b578063f2fde38b146104cb5761018e565b806395d89b41146103f55780639872fb2214610413578063a081ddbd146104315761018e565b806370a0823114610349578063715018a61461037957806379cc67901461038357806387947e421461039f5780638da5cb5b146103bb578063913aaab0146103d95761018e565b8063313ce5671161014b57806340c10f191161012557806340c10f19146102c157806342966c68146102f15780634456eda21461030d578063570ca7351461032b5761018e565b8063313ce567146102695780633440a8bf1461028757806336cae2b2146102a35761018e565b806306fdde0314610193578063095ea7b3146101b157806318160ddd146101e157806323b872dd146101ff57806329605e771461022f5780632e988ae81461024b575b600080fd5b61019b6104e7565b6040516101a89190611d19565b60405180910390f35b6101cb60048036038101906101c69190611dd4565b610579565b6040516101d89190611e2f565b60405180910390f35b6101e961059c565b6040516101f69190611e59565b60405180910390f35b61021960048036038101906102149190611e74565b6105a6565b6040516102269190611e2f565b60405180910390f35b61024960048036038101906102449190611ec7565b61084f565b005b610253610863565b6040516102609190611f03565b60405180910390f35b61027161088d565b60405161027e9190611f3a565b60405180910390f35b6102a1600480360381019061029c9190611f81565b610896565b005b6102ab6109d2565b6040516102b8919061200d565b60405180910390f35b6102db60048036038101906102d69190611dd4565b6109f8565b6040516102e89190611e2f565b60405180910390f35b61030b60048036038101906103069190612028565b610abb565b005b610315610acf565b6040516103229190611e2f565b60405180910390f35b610333610b2e565b6040516103409190611f03565b60405180910390f35b610363600480360381019061035e9190611ec7565b610b58565b6040516103709190611e59565b60405180910390f35b610381610ba0565b005b61039d60048036038101906103989190611dd4565b610bb4565b005b6103b960048036038101906103b49190611ec7565b610bd4565b005b6103c3610d61565b6040516103d09190611f03565b60405180910390f35b6103f360048036038101906103ee9190611ec7565b610d8b565b005b6103fd610e7f565b60405161040a9190611d19565b60405180910390f35b61041b610f11565b6040516104289190611e2f565b60405180910390f35b61044b60048036038101906104469190612093565b610fcf565b005b61046760048036038101906104629190611dd4565b61113b565b6040516104749190611e2f565b60405180910390f35b61048561115e565b6040516104929190611e2f565b60405180910390f35b6104b560048036038101906104b091906120e6565b611171565b6040516104c29190611e59565b60405180910390f35b6104e560048036038101906104e09190611ec7565b6111f8565b005b6060600380546104f690612155565b80601f016020809104026020016040519081016040528092919081815260200182805461052290612155565b801561056f5780601f106105445761010080835404028352916020019161056f565b820191906000526020600020905b81548152906001019060200180831161055257829003601f168201915b5050505050905090565b60008061058461127e565b9050610591818585611286565b600191505092915050565b6000600254905090565b6000806105b161127e565b90506105be858285611298565b60011515600760149054906101000a900460ff16151503610837576000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631685774f87876040518363ffffffff1660e01b8152600401610638929190612186565b602060405180830381865afa158015610655573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067991906121c4565b90506000811115610825576000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d3c3280d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071791906121c4565b82866107239190612220565b61072d9190612291565b90506000818661073d91906122c2565b90507fdbdf5f59b009f03125ea9196abecb50d05a04d86739f5038368be56f3e90273d83836040516107709291906122f6565b60405180910390a161081388600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b34c33ab6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d9190612334565b8461132c565b61081e88888361132c565b5050610831565b61083086868661132c565b5b50610843565b61084285858561132c565b5b60019150509392505050565b610857611420565b610860816114a7565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006012905090565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061093f57503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61097e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610975906123d3565b60405180910390fd5b80600760146101000a81548160ff0219169083151502179055507f78c7ad4f3b0773289a0a594d985cbdbd04ca204490ae11a9300e5a4b24e1ca42816040516109c79190611e2f565b60405180910390a150565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8190612465565b60405180910390fd5b6000610a9584610b58565b9050610aa184846115b5565b6000610aac85610b58565b90508181119250505092915050565b610acc610ac661127e565b82611637565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610b1261127e565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ba8611420565b610bb260006116b9565b565b610bc682610bc061127e565b83611298565b610bd08282611637565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610c7d57503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb3906123d3565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f27763c336c596cf7347e76a207f44694b881772d877b22c038d0420c8ccc1fc28183604051610d55929190612186565b60405180910390a15050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610e3457503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6a906123d3565b60405180910390fd5b610e7c8161177f565b50565b606060048054610e8e90612155565b80601f0160208091040260200160405190810160405280929190818152602001828054610eba90612155565b8015610f075780601f10610edc57610100808354040283529160200191610f07565b820191906000526020600020905b815481529060010190602001808311610eea57829003601f168201915b5050505050905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f5461127e565b73ffffffffffffffffffffffffffffffffffffffff161480610fca5750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610fb261127e565b73ffffffffffffffffffffffffffffffffffffffff16145b905090565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061107857503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae906123d3565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b81526004016110f2929190612485565b6020604051808303816000875af1158015611111573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113591906124c3565b50505050565b60008061114661127e565b905061115381858561132c565b600191505092915050565b600760149054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611200611420565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112725760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016112699190611f03565b60405180910390fd5b61127b816116b9565b50565b600033905090565b611293838383600161188d565b505050565b60006112a48484611171565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113265781811015611316578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161130d939291906124f0565b60405180910390fd5b6113258484848403600061188d565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361139e5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016113959190611f03565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114105760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016114079190611f03565b60405180910390fd5b61141b838383611a64565b505050565b61142861127e565b73ffffffffffffffffffffffffffffffffffffffff16611446610d61565b73ffffffffffffffffffffffffffffffffffffffff16146114a55761146961127e565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161149c9190611f03565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90612599565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116275760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161161e9190611f03565b60405180910390fd5b61163360008383611a64565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116a95760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016116a09190611f03565b60405180910390fd5b6116b582600083611a64565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e59061262b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f4829734fb0a4869f522809629db02f0c15b1404df9f4a2e58235aa806fcfc73f60405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036118ff5760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016118f69190611f03565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119715760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016119689190611f03565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611a5e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611a559190611e59565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611ab6578060026000828254611aaa919061264b565b92505081905550611b89565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b42578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611b39939291906124f0565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bd25780600260008282540392505081905550611c1f565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611c7c9190611e59565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611cc3578082015181840152602081019050611ca8565b60008484015250505050565b6000601f19601f8301169050919050565b6000611ceb82611c89565b611cf58185611c94565b9350611d05818560208601611ca5565b611d0e81611ccf565b840191505092915050565b60006020820190508181036000830152611d338184611ce0565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d6b82611d40565b9050919050565b611d7b81611d60565b8114611d8657600080fd5b50565b600081359050611d9881611d72565b92915050565b6000819050919050565b611db181611d9e565b8114611dbc57600080fd5b50565b600081359050611dce81611da8565b92915050565b60008060408385031215611deb57611dea611d3b565b5b6000611df985828601611d89565b9250506020611e0a85828601611dbf565b9150509250929050565b60008115159050919050565b611e2981611e14565b82525050565b6000602082019050611e446000830184611e20565b92915050565b611e5381611d9e565b82525050565b6000602082019050611e6e6000830184611e4a565b92915050565b600080600060608486031215611e8d57611e8c611d3b565b5b6000611e9b86828701611d89565b9350506020611eac86828701611d89565b9250506040611ebd86828701611dbf565b9150509250925092565b600060208284031215611edd57611edc611d3b565b5b6000611eeb84828501611d89565b91505092915050565b611efd81611d60565b82525050565b6000602082019050611f186000830184611ef4565b92915050565b600060ff82169050919050565b611f3481611f1e565b82525050565b6000602082019050611f4f6000830184611f2b565b92915050565b611f5e81611e14565b8114611f6957600080fd5b50565b600081359050611f7b81611f55565b92915050565b600060208284031215611f9757611f96611d3b565b5b6000611fa584828501611f6c565b91505092915050565b6000819050919050565b6000611fd3611fce611fc984611d40565b611fae565b611d40565b9050919050565b6000611fe582611fb8565b9050919050565b6000611ff782611fda565b9050919050565b61200781611fec565b82525050565b60006020820190506120226000830184611ffe565b92915050565b60006020828403121561203e5761203d611d3b565b5b600061204c84828501611dbf565b91505092915050565b600061206082611d60565b9050919050565b61207081612055565b811461207b57600080fd5b50565b60008135905061208d81612067565b92915050565b6000806000606084860312156120ac576120ab611d3b565b5b60006120ba8682870161207e565b93505060206120cb86828701611dbf565b92505060406120dc86828701611d89565b9150509250925092565b600080604083850312156120fd576120fc611d3b565b5b600061210b85828601611d89565b925050602061211c85828601611d89565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061216d57607f821691505b6020821081036121805761217f612126565b5b50919050565b600060408201905061219b6000830185611ef4565b6121a86020830184611ef4565b9392505050565b6000815190506121be81611da8565b92915050565b6000602082840312156121da576121d9611d3b565b5b60006121e8848285016121af565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061222b82611d9e565b915061223683611d9e565b925082820261224481611d9e565b9150828204841483151761225b5761225a6121f1565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061229c82611d9e565b91506122a783611d9e565b9250826122b7576122b6612262565b5b828204905092915050565b60006122cd82611d9e565b91506122d883611d9e565b92508282039050818111156122f0576122ef6121f1565b5b92915050565b600060408201905061230b6000830185611e4a565b6123186020830184611e4a565b9392505050565b60008151905061232e81611d72565b92915050565b60006020828403121561234a57612349611d3b565b5b60006123588482850161231f565b91505092915050565b7f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f72206e6f7220746865207365636f6e64206f70657261746f7200000000602082015250565b60006123bd603c83611c94565b91506123c882612361565b604082019050919050565b600060208201905081810360008301526123ec816123b0565b9050919050565b7f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b600061244f602483611c94565b915061245a826123f3565b604082019050919050565b6000602082019050818103600083015261247e81612442565b9050919050565b600060408201905061249a6000830185611ef4565b6124a76020830184611e4a565b9392505050565b6000815190506124bd81611f55565b92915050565b6000602082840312156124d9576124d8611d3b565b5b60006124e7848285016124ae565b91505092915050565b60006060820190506125056000830186611ef4565b6125126020830185611e4a565b61251f6040830184611e4a565b949350505050565b7f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260008201527f206e6577206f70657261746f7200000000000000000000000000000000000000602082015250565b6000612583602d83611c94565b915061258e82612527565b604082019050919050565b600060208201905081810360008301526125b281612576565b9050919050565b7f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260008201527f206e6577207365636f6e64206f70657261746f72000000000000000000000000602082015250565b6000612615603483611c94565b9150612620826125b9565b604082019050919050565b6000602082019050818103600083015261264481612608565b9050919050565b600061265682611d9e565b915061266183611d9e565b9250828201905080821115612679576126786121f1565b5b9291505056fea264697066735822122023fd216e1d2312c8d201445c618a80062e2739fb24400ba0b5c5f45d63d5cc1564736f6c63430008140033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de57806395d89b4111610097578063a9059cbb11610071578063a9059cbb1461044d578063d907a87f1461047d578063dd62ed3e1461049b578063f2fde38b146104cb5761018e565b806395d89b41146103f55780639872fb2214610413578063a081ddbd146104315761018e565b806370a0823114610349578063715018a61461037957806379cc67901461038357806387947e421461039f5780638da5cb5b146103bb578063913aaab0146103d95761018e565b8063313ce5671161014b57806340c10f191161012557806340c10f19146102c157806342966c68146102f15780634456eda21461030d578063570ca7351461032b5761018e565b8063313ce567146102695780633440a8bf1461028757806336cae2b2146102a35761018e565b806306fdde0314610193578063095ea7b3146101b157806318160ddd146101e157806323b872dd146101ff57806329605e771461022f5780632e988ae81461024b575b600080fd5b61019b6104e7565b6040516101a89190611d19565b60405180910390f35b6101cb60048036038101906101c69190611dd4565b610579565b6040516101d89190611e2f565b60405180910390f35b6101e961059c565b6040516101f69190611e59565b60405180910390f35b61021960048036038101906102149190611e74565b6105a6565b6040516102269190611e2f565b60405180910390f35b61024960048036038101906102449190611ec7565b61084f565b005b610253610863565b6040516102609190611f03565b60405180910390f35b61027161088d565b60405161027e9190611f3a565b60405180910390f35b6102a1600480360381019061029c9190611f81565b610896565b005b6102ab6109d2565b6040516102b8919061200d565b60405180910390f35b6102db60048036038101906102d69190611dd4565b6109f8565b6040516102e89190611e2f565b60405180910390f35b61030b60048036038101906103069190612028565b610abb565b005b610315610acf565b6040516103229190611e2f565b60405180910390f35b610333610b2e565b6040516103409190611f03565b60405180910390f35b610363600480360381019061035e9190611ec7565b610b58565b6040516103709190611e59565b60405180910390f35b610381610ba0565b005b61039d60048036038101906103989190611dd4565b610bb4565b005b6103b960048036038101906103b49190611ec7565b610bd4565b005b6103c3610d61565b6040516103d09190611f03565b60405180910390f35b6103f360048036038101906103ee9190611ec7565b610d8b565b005b6103fd610e7f565b60405161040a9190611d19565b60405180910390f35b61041b610f11565b6040516104289190611e2f565b60405180910390f35b61044b60048036038101906104469190612093565b610fcf565b005b61046760048036038101906104629190611dd4565b61113b565b6040516104749190611e2f565b60405180910390f35b61048561115e565b6040516104929190611e2f565b60405180910390f35b6104b560048036038101906104b091906120e6565b611171565b6040516104c29190611e59565b60405180910390f35b6104e560048036038101906104e09190611ec7565b6111f8565b005b6060600380546104f690612155565b80601f016020809104026020016040519081016040528092919081815260200182805461052290612155565b801561056f5780601f106105445761010080835404028352916020019161056f565b820191906000526020600020905b81548152906001019060200180831161055257829003601f168201915b5050505050905090565b60008061058461127e565b9050610591818585611286565b600191505092915050565b6000600254905090565b6000806105b161127e565b90506105be858285611298565b60011515600760149054906101000a900460ff16151503610837576000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631685774f87876040518363ffffffff1660e01b8152600401610638929190612186565b602060405180830381865afa158015610655573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067991906121c4565b90506000811115610825576000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d3c3280d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071791906121c4565b82866107239190612220565b61072d9190612291565b90506000818661073d91906122c2565b90507fdbdf5f59b009f03125ea9196abecb50d05a04d86739f5038368be56f3e90273d83836040516107709291906122f6565b60405180910390a161081388600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b34c33ab6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d9190612334565b8461132c565b61081e88888361132c565b5050610831565b61083086868661132c565b5b50610843565b61084285858561132c565b5b60019150509392505050565b610857611420565b610860816114a7565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006012905090565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061093f57503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61097e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610975906123d3565b60405180910390fd5b80600760146101000a81548160ff0219169083151502179055507f78c7ad4f3b0773289a0a594d985cbdbd04ca204490ae11a9300e5a4b24e1ca42816040516109c79190611e2f565b60405180910390a150565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8190612465565b60405180910390fd5b6000610a9584610b58565b9050610aa184846115b5565b6000610aac85610b58565b90508181119250505092915050565b610acc610ac661127e565b82611637565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610b1261127e565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ba8611420565b610bb260006116b9565b565b610bc682610bc061127e565b83611298565b610bd08282611637565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610c7d57503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb3906123d3565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f27763c336c596cf7347e76a207f44694b881772d877b22c038d0420c8ccc1fc28183604051610d55929190612186565b60405180910390a15050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161480610e3457503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6a906123d3565b60405180910390fd5b610e7c8161177f565b50565b606060048054610e8e90612155565b80601f0160208091040260200160405190810160405280929190818152602001828054610eba90612155565b8015610f075780601f10610edc57610100808354040283529160200191610f07565b820191906000526020600020905b815481529060010190602001808311610eea57829003601f168201915b5050505050905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f5461127e565b73ffffffffffffffffffffffffffffffffffffffff161480610fca5750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610fb261127e565b73ffffffffffffffffffffffffffffffffffffffff16145b905090565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061107857503373ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae906123d3565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b81526004016110f2929190612485565b6020604051808303816000875af1158015611111573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113591906124c3565b50505050565b60008061114661127e565b905061115381858561132c565b600191505092915050565b600760149054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611200611420565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112725760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016112699190611f03565b60405180910390fd5b61127b816116b9565b50565b600033905090565b611293838383600161188d565b505050565b60006112a48484611171565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113265781811015611316578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161130d939291906124f0565b60405180910390fd5b6113258484848403600061188d565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361139e5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016113959190611f03565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114105760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016114079190611f03565b60405180910390fd5b61141b838383611a64565b505050565b61142861127e565b73ffffffffffffffffffffffffffffffffffffffff16611446610d61565b73ffffffffffffffffffffffffffffffffffffffff16146114a55761146961127e565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161149c9190611f03565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90612599565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed60405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116275760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161161e9190611f03565b60405180910390fd5b61163360008383611a64565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116a95760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016116a09190611f03565b60405180910390fd5b6116b582600083611a64565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036117ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e59061262b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f4829734fb0a4869f522809629db02f0c15b1404df9f4a2e58235aa806fcfc73f60405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036118ff5760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016118f69190611f03565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119715760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016119689190611f03565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508015611a5e578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611a559190611e59565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611ab6578060026000828254611aaa919061264b565b92505081905550611b89565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b42578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401611b39939291906124f0565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611bd25780600260008282540392505081905550611c1f565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611c7c9190611e59565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611cc3578082015181840152602081019050611ca8565b60008484015250505050565b6000601f19601f8301169050919050565b6000611ceb82611c89565b611cf58185611c94565b9350611d05818560208601611ca5565b611d0e81611ccf565b840191505092915050565b60006020820190508181036000830152611d338184611ce0565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d6b82611d40565b9050919050565b611d7b81611d60565b8114611d8657600080fd5b50565b600081359050611d9881611d72565b92915050565b6000819050919050565b611db181611d9e565b8114611dbc57600080fd5b50565b600081359050611dce81611da8565b92915050565b60008060408385031215611deb57611dea611d3b565b5b6000611df985828601611d89565b9250506020611e0a85828601611dbf565b9150509250929050565b60008115159050919050565b611e2981611e14565b82525050565b6000602082019050611e446000830184611e20565b92915050565b611e5381611d9e565b82525050565b6000602082019050611e6e6000830184611e4a565b92915050565b600080600060608486031215611e8d57611e8c611d3b565b5b6000611e9b86828701611d89565b9350506020611eac86828701611d89565b9250506040611ebd86828701611dbf565b9150509250925092565b600060208284031215611edd57611edc611d3b565b5b6000611eeb84828501611d89565b91505092915050565b611efd81611d60565b82525050565b6000602082019050611f186000830184611ef4565b92915050565b600060ff82169050919050565b611f3481611f1e565b82525050565b6000602082019050611f4f6000830184611f2b565b92915050565b611f5e81611e14565b8114611f6957600080fd5b50565b600081359050611f7b81611f55565b92915050565b600060208284031215611f9757611f96611d3b565b5b6000611fa584828501611f6c565b91505092915050565b6000819050919050565b6000611fd3611fce611fc984611d40565b611fae565b611d40565b9050919050565b6000611fe582611fb8565b9050919050565b6000611ff782611fda565b9050919050565b61200781611fec565b82525050565b60006020820190506120226000830184611ffe565b92915050565b60006020828403121561203e5761203d611d3b565b5b600061204c84828501611dbf565b91505092915050565b600061206082611d60565b9050919050565b61207081612055565b811461207b57600080fd5b50565b60008135905061208d81612067565b92915050565b6000806000606084860312156120ac576120ab611d3b565b5b60006120ba8682870161207e565b93505060206120cb86828701611dbf565b92505060406120dc86828701611d89565b9150509250925092565b600080604083850312156120fd576120fc611d3b565b5b600061210b85828601611d89565b925050602061211c85828601611d89565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061216d57607f821691505b6020821081036121805761217f612126565b5b50919050565b600060408201905061219b6000830185611ef4565b6121a86020830184611ef4565b9392505050565b6000815190506121be81611da8565b92915050565b6000602082840312156121da576121d9611d3b565b5b60006121e8848285016121af565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061222b82611d9e565b915061223683611d9e565b925082820261224481611d9e565b9150828204841483151761225b5761225a6121f1565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061229c82611d9e565b91506122a783611d9e565b9250826122b7576122b6612262565b5b828204905092915050565b60006122cd82611d9e565b91506122d883611d9e565b92508282039050818111156122f0576122ef6121f1565b5b92915050565b600060408201905061230b6000830185611e4a565b6123186020830184611e4a565b9392505050565b60008151905061232e81611d72565b92915050565b60006020828403121561234a57612349611d3b565b5b60006123588482850161231f565b91505092915050565b7f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f72206e6f7220746865207365636f6e64206f70657261746f7200000000602082015250565b60006123bd603c83611c94565b91506123c882612361565b604082019050919050565b600060208201905081810360008301526123ec816123b0565b9050919050565b7f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b600061244f602483611c94565b915061245a826123f3565b604082019050919050565b6000602082019050818103600083015261247e81612442565b9050919050565b600060408201905061249a6000830185611ef4565b6124a76020830184611e4a565b9392505050565b6000815190506124bd81611f55565b92915050565b6000602082840312156124d9576124d8611d3b565b5b60006124e7848285016124ae565b91505092915050565b60006060820190506125056000830186611ef4565b6125126020830185611e4a565b61251f6040830184611e4a565b949350505050565b7f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260008201527f206e6577206f70657261746f7200000000000000000000000000000000000000602082015250565b6000612583602d83611c94565b915061258e82612527565b604082019050919050565b600060208201905081810360008301526125b281612576565b9050919050565b7f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260008201527f206e6577207365636f6e64206f70657261746f72000000000000000000000000602082015250565b6000612615603483611c94565b9150612620826125b9565b604082019050919050565b6000602082019050818103600083015261264481612608565b9050919050565b600061265682611d9e565b915061266183611d9e565b9250828201905080821115612679576126786121f1565b5b9291505056fea264697066735822122023fd216e1d2312c8d201445c618a80062e2739fb24400ba0b5c5f45d63d5cc1564736f6c63430008140033

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
[ 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.