Skip to main content

NativeMinter

// (c) 2022-2023, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0;

interface NativeMinterInterface {
// Set [addr] to have the admin role over the minter list
function setAdmin(address addr) external;

// Set [addr] to be enabled on the minter list
function setEnabled(address addr) external;

// Set [addr] to have no role over the minter list
function setNone(address addr) external;

// Read the status of [addr]
function readAllowList(address addr) external view returns (uint256);

// Mint [amount] number of native coins and send to [addr]
function mintNativeCoin(address addr, uint256 amount) external;
}

Was this page helpful?