package
0.6.10
Repository: https://github.com/ava-labs/subnet-evm.git
Documentation: pkg.go.dev

# Functions

GetContractNativeMinterStatus returns the role of [address] for the minter list.
NewConfig returns a config for a network upgrade at [blockTimestamp] that enables ContractNativeMinter with the given [admins], [enableds] and [managers] as members of the allowlist.
NewDisableConfig returns config for a network upgrade at [blockTimestamp] that disables ContractNativeMinter.
PackMintNativeCoin packs [address] and [amount] into the appropriate arguments for mintNativeCoin.
PackNativeCoinMintedEvent packs the event into the appropriate arguments for NativeCoinMinted.
SetContractNativeMinterStatus sets the permissions of [address] to [role] for the minter list.
UnpackMintNativeCoinInput attempts to unpack [input] as address and amount.
UnpackNativeCoinMintedEventData attempts to unpack non-indexed [dataBytes].

# Constants

ConfigKey is the key used in json config files to specify this precompile config.
No description provided by the author
NativeCoinMintedEventGasCost is the gas cost of the NativeCoinMinted event.

# Variables

No description provided by the author
Singleton StatefulPrecompiledContract for minting native assets by permissioned callers.
No description provided by the author
No description provided by the author
Module is the precompile module.
No description provided by the author
NativeMinterRawABI contains the raw ABI of NativeMinter contract.go:embed contract.abi.

# Structs

Config implements the precompileconfig.Config interface while adding in the ContractNativeMinter specific precompile config.
No description provided by the author