AVAX Price: $22.78 (+11.23%)
Gas: 1.3 nAVAX
 

Overview

AVAX Balance

Avalanche C-Chain LogoAvalanche C-Chain LogoAvalanche C-Chain Logo0 AVAX

AVAX Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer595987762025-04-02 8:42:3721 days ago1743583357IN
0x01Af64EF...f20c395fd
0 AVAX0.000057942
Transfer595987752025-04-02 8:42:3421 days ago1743583354IN
0x01Af64EF...f20c395fd
0 AVAX0.000057942
Transfer595987702025-04-02 8:42:2121 days ago1743583341IN
0x01Af64EF...f20c395fd
0 AVAX0.000456715.76271078
Transfer595987692025-04-02 8:42:2021 days ago1743583340IN
0x01Af64EF...f20c395fd
0 AVAX0.000057942
Transfer595987682025-04-02 8:42:1921 days ago1743583339IN
0x01Af64EF...f20c395fd
0 AVAX0.000057942
Transfer595987612025-04-02 8:42:0321 days ago1743583323IN
0x01Af64EF...f20c395fd
0 AVAX0.0011687940.33954106
Transfer595987562025-04-02 8:41:5221 days ago1743583312IN
0x01Af64EF...f20c395fd
0 AVAX0.001175240.56060777
Transfer595987542025-04-02 8:41:4821 days ago1743583308IN
0x01Af64EF...f20c395fd
0 AVAX0.001175240.56060777
Transfer595987512025-04-02 8:41:4321 days ago1743583303IN
0x01Af64EF...f20c395fd
0 AVAX0.0005712219.71523789
Transfer595987412025-04-02 8:41:2521 days ago1743583285IN
0x01Af64EF...f20c395fd
0 AVAX0.0010892137.59296074
Transfer595987402025-04-02 8:41:2421 days ago1743583284IN
0x01Af64EF...f20c395fd
0 AVAX0.000081461.575
Approve558263632025-01-15 6:16:1798 days ago1736921777IN
0x01Af64EF...f20c395fd
0 AVAX0.000029391.01
Approve552791102025-01-03 15:09:49109 days ago1735916989IN
0x01Af64EF...f20c395fd
0 AVAX0.000072772.5
Approve542899452024-12-13 9:38:21131 days ago1734082701IN
0x01Af64EF...f20c395fd
0 AVAX0.0007859127
Approve533661922024-11-21 15:49:11152 days ago1732204151IN
0x01Af64EF...f20c395fd
0 AVAX0.0012346826.5
Approve527842482024-11-07 20:27:36166 days ago1731011256IN
0x01Af64EF...f20c395fd
0 AVAX0.0007713626.5
Approve527734132024-11-07 13:45:41166 days ago1730987141IN
0x01Af64EF...f20c395fd
0 AVAX0.0007713626.5
Approve520097322024-10-20 7:39:49185 days ago1729409989IN
0x01Af64EF...f20c395fd
0 AVAX0.0007282825.02
Approve518300622024-10-16 0:10:57189 days ago1729037457IN
0x01Af64EF...f20c395fd
0 AVAX0.0007984327.43
Approve490360392024-08-09 7:55:38257 days ago1723190138IN
0x01Af64EF...f20c395fd
0 AVAX0.000735225
Approve472526512024-06-27 14:24:33299 days ago1719498273IN
0x01Af64EF...f20c395fd
0 AVAX0.0007859127
Approve452691832024-05-10 15:18:05347 days ago1715354285IN
0x01Af64EF...f20c395fd
0 AVAX0.0007713626.5
Approve452691372024-05-10 15:16:31347 days ago1715354191IN
0x01Af64EF...f20c395fd
0 AVAX0.0007713626.5
Approve452334872024-05-09 18:36:02348 days ago1715279762IN
0x01Af64EF...f20c395fd
0 AVAX0.0012346826.5
Approve450691102024-05-05 18:09:35352 days ago1714932575IN
0x01Af64EF...f20c395fd
0 AVAX0.0007827126.89
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VintageWine

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion
File 1 of 6 : VintageWine.sol
// Pizza Token
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract VintageWine is ERC20("Vintage", "VINTAGE"), Ownable {
    uint256 public constant ONE_VINTAGEWINE = 1e18;
    uint256 public constant NUM_PROMOTIONAL_VINTAGEWINE = 500_000;
    uint256 public constant NUM_VINTAGEWINE_USDC_LP = 50_000_000;

    uint256 public NUM_VINTAGEWINE_AVAX_LP = 30_000_000;

    address public cellarAddress;
    address public wineryAddress;
    // address public vintnerAddress;
    address public upgradeAddress;

    bool public promotionalVintageWineMinted = false;
    bool public avaxLPVintageWineMinted = false;
    bool public USDCLPVintageWineMinted = false;

    // ADMIN

    /**
     * winery yields vintageWine
     */
    function setWineryAddress(address _wineryAddress) external onlyOwner {
        wineryAddress = _wineryAddress;
    }

    function setCellarAddress(address _cellarAddress) external onlyOwner {
        cellarAddress = _cellarAddress;
    }

    function setUpgradeAddress(address _upgradeAddress) external onlyOwner {
        upgradeAddress = _upgradeAddress;
    }

    /**
     * vintner consumes vintageWine
     * vintner address can only be set once
     */
    // function setVintnerAddress(address _vintnerAddress) external onlyOwner {
    //     require(
    //         address(vintnerAddress) == address(0),
    //         "vintner address already set"
    //     );
    //     vintnerAddress = _vintnerAddress;
    // }

    function mintVintageWine(address _to, uint256 amount) external onlyOwner {
        _mint(_to, amount);
    }

    function mintPromotionalVintageWine(address _to) external onlyOwner {
        require(
            !promotionalVintageWineMinted,
            "promotional vintageWine has already been minted"
        );
        promotionalVintageWineMinted = true;
        _mint(_to, NUM_PROMOTIONAL_VINTAGEWINE * ONE_VINTAGEWINE);
    }

    function mintAvaxLPVintageWine() external onlyOwner {
        require(
            !avaxLPVintageWineMinted,
            "avax vintageWine LP has already been minted"
        );
        avaxLPVintageWineMinted = true;
        _mint(owner(), NUM_VINTAGEWINE_AVAX_LP * ONE_VINTAGEWINE);
    }

    function mintUSDCLPVintageWine() external onlyOwner {
        require(
            !USDCLPVintageWineMinted,
            "USDC vintageWine LP has already been minted"
        );
        USDCLPVintageWineMinted = true;
        _mint(owner(), NUM_VINTAGEWINE_USDC_LP * ONE_VINTAGEWINE);
    }

    function setNumVintageWineAvaxLp(uint256 _numVintageWineAvaxLp)
        external
        onlyOwner
    {
        NUM_VINTAGEWINE_AVAX_LP = _numVintageWineAvaxLp;
    }

    // external

    function mint(address _to, uint256 _amount) external {
        require(
            wineryAddress != address(0) &&
                // vintnerAddress != address(0) &&
                cellarAddress != address(0) &&
                upgradeAddress != address(0),
            "missing initial requirements"
        );
        require(
            _msgSender() == wineryAddress || _msgSender() == owner(),
            "msgsender does not have permission"
        );
        _mint(_to, _amount);
    }

    function burn(address _from, uint256 _amount) external {
        require(
            // vintnerAddress != address(0) &&
            cellarAddress != address(0) && upgradeAddress != address(0),
            "missing initial requirements"
        );
        require(
            // _msgSender() == vintnerAddress ||
            _msgSender() == cellarAddress || _msgSender() == upgradeAddress,
            "msgsender does not have permission"
        );
        _burn(_from, _amount);
    }

    function transferToCellar(address _from, uint256 _amount) external {
        require(cellarAddress != address(0), "missing initial requirements");
        require(
            _msgSender() == cellarAddress,
            "only the cellar contract can call transferToCellar"
        );
        _transfer(_from, cellarAddress, _amount);
    }

    function transferForUpgradesFees(address _from, uint256 _amount) external {
        require(upgradeAddress != address(0), "missing initial requirements");
        require(
            _msgSender() == upgradeAddress,
            "only the upgrade contract can call transferForUpgradesFees"
        );
        _transfer(_from, upgradeAddress, _amount);
    }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

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

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

File 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

File 4 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 6 : 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 6 : 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;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"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":"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":"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":"NUM_PROMOTIONAL_VINTAGEWINE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_VINTAGEWINE_AVAX_LP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_VINTAGEWINE_USDC_LP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONE_VINTAGEWINE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDCLPVintageWineMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"avaxLPVintageWineMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cellarAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintAvaxLPVintageWine","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintPromotionalVintageWine","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintUSDCLPVintageWine","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintVintageWine","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":"promotionalVintageWineMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_cellarAddress","type":"address"}],"name":"setCellarAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numVintageWineAvaxLp","type":"uint256"}],"name":"setNumVintageWineAvaxLp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_upgradeAddress","type":"address"}],"name":"setUpgradeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wineryAddress","type":"address"}],"name":"setWineryAddress","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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferForUpgradesFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferToCellar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wineryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526301c9c3806006556009805462ffffff60a01b191690553480156200002857600080fd5b506040518060400160405280600781526020016656696e7461676560c81b8152506040518060400160405280600781526020016656494e5441474560c81b81525081600390805190602001906200008192919062000110565b5080516200009790600490602084019062000110565b505050620000b4620000ae620000ba60201b60201c565b620000be565b620001f3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011e90620001b6565b90600052602060002090601f0160209004810192826200014257600085556200018d565b82601f106200015d57805160ff19168380011785556200018d565b828001600101855582156200018d579182015b828111156200018d57825182559160200191906001019062000170565b506200019b9291506200019f565b5090565b5b808211156200019b5760008155600101620001a0565b600181811c90821680620001cb57607f821691505b60208210811415620001ed57634e487b7160e01b600052602260045260246000fd5b50919050565b61166280620002036000396000f3fe608060405234801561001057600080fd5b50600436106101dc5760003560e01c80637695d20c11610105578063aa0872f41161009d578063aa0872f4146103d7578063bc5d7a9f146103eb578063bca6c753146103fe578063ca39ec5114610411578063cdb1ca5114610424578063d192384514610433578063dd62ed3e14610447578063f2fde38b1461045a578063f46470611461046d57600080fd5b80637695d20c146103615780638d493af7146103695780638da5cb5b1461037d57806393b95fd91461038557806395d89b411461038e5780639dc29fac14610396578063a117abb7146103a9578063a457c2d7146103b1578063a9059cbb146103c457600080fd5b80633f747e24116101785780633f747e241461029b57806340c10f19146102c6578063442ebc71146102d95780634f445710146102e4578063631f0d66146102f757806366f9c99e1461030a57806370a082311461031d578063715018a614610346578063735d09a61461034e57600080fd5b806306fdde03146101e1578063095ea7b3146101ff578063097f1f2f1461022257806318160ddd1461023757806323b872dd146102495780632ff3b4151461025c578063313ce5671461026f578063395093511461027e5780633ad6655f14610291575b600080fd5b6101e9610480565b6040516101f6919061137a565b60405180910390f35b61021261020d3660046113eb565b610512565b60405190151581526020016101f6565b610235610230366004611415565b61052a565b005b6002545b6040519081526020016101f6565b610212610257366004611437565b610584565b61023561026a366004611415565b6105a8565b604051601281526020016101f6565b61021261028c3660046113eb565b6105f9565b61023b6207a12081565b6007546102ae906001600160a01b031681565b6040516001600160a01b0390911681526020016101f6565b6102356102d43660046113eb565b61061b565b61023b6302faf08081565b6102356102f2366004611473565b6106d5565b6009546102ae906001600160a01b031681565b610235610318366004611415565b610709565b61023b61032b366004611415565b6001600160a01b031660009081526020819052604090205490565b61023561075a565b6008546102ae906001600160a01b031681565b610235610795565b60095461021290600160b01b900460ff1681565b6102ae61086b565b61023b60065481565b6101e961087a565b6102356103a43660046113eb565b610889565b610235610924565b6102126103bf3660046113eb565b6109f5565b6102126103d23660046113eb565b610a70565b60095461021290600160a81b900460ff1681565b6102356103f9366004611415565b610a7e565b61023561040c3660046113eb565b610b4e565b61023561041f3660046113eb565b610c17565b61023b670de0b6b3a764000081565b60095461021290600160a01b900460ff1681565b61023b61045536600461148c565b610cd5565b610235610468366004611415565b610d00565b61023561047b3660046113eb565b610d9d565b60606003805461048f906114bf565b80601f01602080910402602001604051908101604052809291908181526020018280546104bb906114bf565b80156105085780601f106104dd57610100808354040283529160200191610508565b820191906000526020600020905b8154815290600101906020018083116104eb57829003601f168201915b5050505050905090565b600033610520818585610dcc565b5060019392505050565b3361053361086b565b6001600160a01b0316146105625760405162461bcd60e51b8152600401610559906114fa565b60405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600033610592858285610ef1565b61059d858585610f6b565b506001949350505050565b336105b161086b565b6001600160a01b0316146105d75760405162461bcd60e51b8152600401610559906114fa565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60003361052081858561060c8383610cd5565b6106169190611545565b610dcc565b6008546001600160a01b03161580159061063f57506007546001600160a01b031615155b801561065557506009546001600160a01b031615155b6106715760405162461bcd60e51b81526004016105599061155d565b6008546001600160a01b0316336001600160a01b031614806106ab575061069661086b565b6001600160a01b0316336001600160a01b0316145b6106c75760405162461bcd60e51b815260040161055990611594565b6106d18282611127565b5050565b336106de61086b565b6001600160a01b0316146107045760405162461bcd60e51b8152600401610559906114fa565b600655565b3361071261086b565b6001600160a01b0316146107385760405162461bcd60e51b8152600401610559906114fa565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b3361076361086b565b6001600160a01b0316146107895760405162461bcd60e51b8152600401610559906114fa565b61079360006111f4565b565b3361079e61086b565b6001600160a01b0316146107c45760405162461bcd60e51b8152600401610559906114fa565b600954600160b01b900460ff16156108325760405162461bcd60e51b815260206004820152602b60248201527f555344432076696e7461676557696e65204c502068617320616c72656164792060448201526a1899595b881b5a5b9d195960aa1b6064820152608401610559565b6009805460ff60b01b1916600160b01b17905561079361085061086b565b610866670de0b6b3a76400006302faf0806115d6565b611127565b6005546001600160a01b031690565b60606004805461048f906114bf565b6007546001600160a01b0316158015906108ad57506009546001600160a01b031615155b6108c95760405162461bcd60e51b81526004016105599061155d565b6007546001600160a01b0316336001600160a01b031614806108fe57506009546001600160a01b0316336001600160a01b0316145b61091a5760405162461bcd60e51b815260040161055990611594565b6106d18282611246565b3361092d61086b565b6001600160a01b0316146109535760405162461bcd60e51b8152600401610559906114fa565b600954600160a81b900460ff16156109c15760405162461bcd60e51b815260206004820152602b60248201527f617661782076696e7461676557696e65204c502068617320616c72656164792060448201526a1899595b881b5a5b9d195960aa1b6064820152608401610559565b6009805460ff60a81b1916600160a81b1790556107936109df61086b565b670de0b6b3a764000060065461086691906115d6565b60003381610a038286610cd5565b905083811015610a635760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610559565b61059d8286868403610dcc565b600033610520818585610f6b565b33610a8761086b565b6001600160a01b031614610aad5760405162461bcd60e51b8152600401610559906114fa565b600954600160a01b900460ff1615610b1f5760405162461bcd60e51b815260206004820152602f60248201527f70726f6d6f74696f6e616c2076696e7461676557696e652068617320616c726560448201526e18591e481899595b881b5a5b9d1959608a1b6064820152608401610559565b6009805460ff60a01b1916600160a01b179055610b4b81610866670de0b6b3a76400006207a1206115d6565b50565b6009546001600160a01b0316610b765760405162461bcd60e51b81526004016105599061155d565b6009546001600160a01b0316336001600160a01b031614610bff5760405162461bcd60e51b815260206004820152603a60248201527f6f6e6c7920746865207570677261646520636f6e74726163742063616e20636160448201527f6c6c207472616e73666572466f725570677261646573466565730000000000006064820152608401610559565b6009546106d19083906001600160a01b031683610f6b565b6007546001600160a01b0316610c3f5760405162461bcd60e51b81526004016105599061155d565b6007546001600160a01b0316336001600160a01b031614610cbd5760405162461bcd60e51b815260206004820152603260248201527f6f6e6c79207468652063656c6c617220636f6e74726163742063616e2063616c60448201527136103a3930b739b332b92a37a1b2b63630b960711b6064820152608401610559565b6007546106d19083906001600160a01b031683610f6b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b33610d0961086b565b6001600160a01b031614610d2f5760405162461bcd60e51b8152600401610559906114fa565b6001600160a01b038116610d945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610559565b610b4b816111f4565b33610da661086b565b6001600160a01b0316146106c75760405162461bcd60e51b8152600401610559906114fa565b6001600160a01b038316610e2e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610559565b6001600160a01b038216610e8f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610559565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610efd8484610cd5565b90506000198114610f655781811015610f585760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610559565b610f658484848403610dcc565b50505050565b6001600160a01b038316610fcf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610559565b6001600160a01b0382166110315760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610559565b6001600160a01b038316600090815260208190526040902054818110156110a95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610559565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906110e0908490611545565b92505081905550826001600160a01b0316846001600160a01b031660008051602061160d8339815191528460405161111a91815260200190565b60405180910390a3610f65565b6001600160a01b03821661117d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610559565b806002600082825461118f9190611545565b90915550506001600160a01b038216600090815260208190526040812080548392906111bc908490611545565b90915550506040518181526001600160a01b0383169060009060008051602061160d8339815191529060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166112a65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610559565b6001600160a01b0382166000908152602081905260409020548181101561131a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610559565b6001600160a01b03831660009081526020819052604081208383039055600280548492906113499084906115f5565b90915550506040518281526000906001600160a01b0385169060008051602061160d83398151915290602001610ee4565b600060208083528351808285015260005b818110156113a75785810183015185820160400152820161138b565b818111156113b9576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146113e657600080fd5b919050565b600080604083850312156113fe57600080fd5b611407836113cf565b946020939093013593505050565b60006020828403121561142757600080fd5b611430826113cf565b9392505050565b60008060006060848603121561144c57600080fd5b611455846113cf565b9250611463602085016113cf565b9150604084013590509250925092565b60006020828403121561148557600080fd5b5035919050565b6000806040838503121561149f57600080fd5b6114a8836113cf565b91506114b6602084016113cf565b90509250929050565b600181811c908216806114d357607f821691505b602082108114156114f457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156115585761155861152f565b500190565b6020808252601c908201527f6d697373696e6720696e697469616c20726571756972656d656e747300000000604082015260600190565b60208082526022908201527f6d736773656e64657220646f6573206e6f742068617665207065726d6973736960408201526137b760f11b606082015260800190565b60008160001904831182151516156115f0576115f061152f565b500290565b6000828210156116075761160761152f565b50039056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e612d31a99bb3c8ae5651a8463b1079f5c3ea1efdac42067b90aa6a37b52f54964736f6c634300080b0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101dc5760003560e01c80637695d20c11610105578063aa0872f41161009d578063aa0872f4146103d7578063bc5d7a9f146103eb578063bca6c753146103fe578063ca39ec5114610411578063cdb1ca5114610424578063d192384514610433578063dd62ed3e14610447578063f2fde38b1461045a578063f46470611461046d57600080fd5b80637695d20c146103615780638d493af7146103695780638da5cb5b1461037d57806393b95fd91461038557806395d89b411461038e5780639dc29fac14610396578063a117abb7146103a9578063a457c2d7146103b1578063a9059cbb146103c457600080fd5b80633f747e24116101785780633f747e241461029b57806340c10f19146102c6578063442ebc71146102d95780634f445710146102e4578063631f0d66146102f757806366f9c99e1461030a57806370a082311461031d578063715018a614610346578063735d09a61461034e57600080fd5b806306fdde03146101e1578063095ea7b3146101ff578063097f1f2f1461022257806318160ddd1461023757806323b872dd146102495780632ff3b4151461025c578063313ce5671461026f578063395093511461027e5780633ad6655f14610291575b600080fd5b6101e9610480565b6040516101f6919061137a565b60405180910390f35b61021261020d3660046113eb565b610512565b60405190151581526020016101f6565b610235610230366004611415565b61052a565b005b6002545b6040519081526020016101f6565b610212610257366004611437565b610584565b61023561026a366004611415565b6105a8565b604051601281526020016101f6565b61021261028c3660046113eb565b6105f9565b61023b6207a12081565b6007546102ae906001600160a01b031681565b6040516001600160a01b0390911681526020016101f6565b6102356102d43660046113eb565b61061b565b61023b6302faf08081565b6102356102f2366004611473565b6106d5565b6009546102ae906001600160a01b031681565b610235610318366004611415565b610709565b61023b61032b366004611415565b6001600160a01b031660009081526020819052604090205490565b61023561075a565b6008546102ae906001600160a01b031681565b610235610795565b60095461021290600160b01b900460ff1681565b6102ae61086b565b61023b60065481565b6101e961087a565b6102356103a43660046113eb565b610889565b610235610924565b6102126103bf3660046113eb565b6109f5565b6102126103d23660046113eb565b610a70565b60095461021290600160a81b900460ff1681565b6102356103f9366004611415565b610a7e565b61023561040c3660046113eb565b610b4e565b61023561041f3660046113eb565b610c17565b61023b670de0b6b3a764000081565b60095461021290600160a01b900460ff1681565b61023b61045536600461148c565b610cd5565b610235610468366004611415565b610d00565b61023561047b3660046113eb565b610d9d565b60606003805461048f906114bf565b80601f01602080910402602001604051908101604052809291908181526020018280546104bb906114bf565b80156105085780601f106104dd57610100808354040283529160200191610508565b820191906000526020600020905b8154815290600101906020018083116104eb57829003601f168201915b5050505050905090565b600033610520818585610dcc565b5060019392505050565b3361053361086b565b6001600160a01b0316146105625760405162461bcd60e51b8152600401610559906114fa565b60405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600033610592858285610ef1565b61059d858585610f6b565b506001949350505050565b336105b161086b565b6001600160a01b0316146105d75760405162461bcd60e51b8152600401610559906114fa565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60003361052081858561060c8383610cd5565b6106169190611545565b610dcc565b6008546001600160a01b03161580159061063f57506007546001600160a01b031615155b801561065557506009546001600160a01b031615155b6106715760405162461bcd60e51b81526004016105599061155d565b6008546001600160a01b0316336001600160a01b031614806106ab575061069661086b565b6001600160a01b0316336001600160a01b0316145b6106c75760405162461bcd60e51b815260040161055990611594565b6106d18282611127565b5050565b336106de61086b565b6001600160a01b0316146107045760405162461bcd60e51b8152600401610559906114fa565b600655565b3361071261086b565b6001600160a01b0316146107385760405162461bcd60e51b8152600401610559906114fa565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b3361076361086b565b6001600160a01b0316146107895760405162461bcd60e51b8152600401610559906114fa565b61079360006111f4565b565b3361079e61086b565b6001600160a01b0316146107c45760405162461bcd60e51b8152600401610559906114fa565b600954600160b01b900460ff16156108325760405162461bcd60e51b815260206004820152602b60248201527f555344432076696e7461676557696e65204c502068617320616c72656164792060448201526a1899595b881b5a5b9d195960aa1b6064820152608401610559565b6009805460ff60b01b1916600160b01b17905561079361085061086b565b610866670de0b6b3a76400006302faf0806115d6565b611127565b6005546001600160a01b031690565b60606004805461048f906114bf565b6007546001600160a01b0316158015906108ad57506009546001600160a01b031615155b6108c95760405162461bcd60e51b81526004016105599061155d565b6007546001600160a01b0316336001600160a01b031614806108fe57506009546001600160a01b0316336001600160a01b0316145b61091a5760405162461bcd60e51b815260040161055990611594565b6106d18282611246565b3361092d61086b565b6001600160a01b0316146109535760405162461bcd60e51b8152600401610559906114fa565b600954600160a81b900460ff16156109c15760405162461bcd60e51b815260206004820152602b60248201527f617661782076696e7461676557696e65204c502068617320616c72656164792060448201526a1899595b881b5a5b9d195960aa1b6064820152608401610559565b6009805460ff60a81b1916600160a81b1790556107936109df61086b565b670de0b6b3a764000060065461086691906115d6565b60003381610a038286610cd5565b905083811015610a635760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610559565b61059d8286868403610dcc565b600033610520818585610f6b565b33610a8761086b565b6001600160a01b031614610aad5760405162461bcd60e51b8152600401610559906114fa565b600954600160a01b900460ff1615610b1f5760405162461bcd60e51b815260206004820152602f60248201527f70726f6d6f74696f6e616c2076696e7461676557696e652068617320616c726560448201526e18591e481899595b881b5a5b9d1959608a1b6064820152608401610559565b6009805460ff60a01b1916600160a01b179055610b4b81610866670de0b6b3a76400006207a1206115d6565b50565b6009546001600160a01b0316610b765760405162461bcd60e51b81526004016105599061155d565b6009546001600160a01b0316336001600160a01b031614610bff5760405162461bcd60e51b815260206004820152603a60248201527f6f6e6c7920746865207570677261646520636f6e74726163742063616e20636160448201527f6c6c207472616e73666572466f725570677261646573466565730000000000006064820152608401610559565b6009546106d19083906001600160a01b031683610f6b565b6007546001600160a01b0316610c3f5760405162461bcd60e51b81526004016105599061155d565b6007546001600160a01b0316336001600160a01b031614610cbd5760405162461bcd60e51b815260206004820152603260248201527f6f6e6c79207468652063656c6c617220636f6e74726163742063616e2063616c60448201527136103a3930b739b332b92a37a1b2b63630b960711b6064820152608401610559565b6007546106d19083906001600160a01b031683610f6b565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b33610d0961086b565b6001600160a01b031614610d2f5760405162461bcd60e51b8152600401610559906114fa565b6001600160a01b038116610d945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610559565b610b4b816111f4565b33610da661086b565b6001600160a01b0316146106c75760405162461bcd60e51b8152600401610559906114fa565b6001600160a01b038316610e2e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610559565b6001600160a01b038216610e8f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610559565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610efd8484610cd5565b90506000198114610f655781811015610f585760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610559565b610f658484848403610dcc565b50505050565b6001600160a01b038316610fcf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610559565b6001600160a01b0382166110315760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610559565b6001600160a01b038316600090815260208190526040902054818110156110a95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610559565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906110e0908490611545565b92505081905550826001600160a01b0316846001600160a01b031660008051602061160d8339815191528460405161111a91815260200190565b60405180910390a3610f65565b6001600160a01b03821661117d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610559565b806002600082825461118f9190611545565b90915550506001600160a01b038216600090815260208190526040812080548392906111bc908490611545565b90915550506040518181526001600160a01b0383169060009060008051602061160d8339815191529060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166112a65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610559565b6001600160a01b0382166000908152602081905260409020548181101561131a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610559565b6001600160a01b03831660009081526020819052604081208383039055600280548492906113499084906115f5565b90915550506040518281526000906001600160a01b0385169060008051602061160d83398151915290602001610ee4565b600060208083528351808285015260005b818110156113a75785810183015185820160400152820161138b565b818111156113b9576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146113e657600080fd5b919050565b600080604083850312156113fe57600080fd5b611407836113cf565b946020939093013593505050565b60006020828403121561142757600080fd5b611430826113cf565b9392505050565b60008060006060848603121561144c57600080fd5b611455846113cf565b9250611463602085016113cf565b9150604084013590509250925092565b60006020828403121561148557600080fd5b5035919050565b6000806040838503121561149f57600080fd5b6114a8836113cf565b91506114b6602084016113cf565b90509250929050565b600181811c908216806114d357607f821691505b602082108114156114f457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156115585761155861152f565b500190565b6020808252601c908201527f6d697373696e6720696e697469616c20726571756972656d656e747300000000604082015260600190565b60208082526022908201527f6d736773656e64657220646f6573206e6f742068617665207065726d6973736960408201526137b760f11b606082015260800190565b60008160001904831182151516156115f0576115f061152f565b500290565b6000828210156116075761160761152f565b50039056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e612d31a99bb3c8ae5651a8463b1079f5c3ea1efdac42067b90aa6a37b52f54964736f6c634300080b0033

Block Transaction 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.