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

# Functions

No description provided by the author
GetFeeManagerStatus returns the role of [address] for the fee config manager list.
GetStoredFeeConfig returns fee config from contract storage in given state.
NewConfig returns a config for a network upgrade at [blockTimestamp] that enables FeeManager with the given [admins], [enableds] and [managers] as members of the allowlist with [initialConfig] as initial fee config if specified.
NewDisableConfig returns config for a network upgrade at [blockTimestamp] that disables FeeManager.
PackFeeConfigChangedEvent packs the event into the appropriate arguments for changeFeeConfig.
PackGetFeeConfig packs the include selector (first 4 func signature bytes).
PackGetFeeConfigLastChangedAt packs the include selector (first 4 func signature bytes).
PackGetFeeConfigLastChangedAtOutput attempts to pack given blockNumber of type *big.Int to conform the ABI outputs.
PackGetFeeConfigOutput attempts to pack given [outputStruct] of type GetFeeConfigOutput to conform the ABI outputs.
PackSetFeeConfig packs [inputStruct] of type SetFeeConfigInput into the appropriate arguments for setFeeConfig.
SetFeeManagerStatus sets the permissions of [address] to [role] for the fee config manager list.
StoreFeeConfig stores given [feeConfig] and block number in the [blockContext] to the [stateDB].
UnpackFeeConfigChangedEventData attempts to unpack non-indexed [dataBytes].
UnpackGetFeeConfigLastChangedAtOutput attempts to unpack given [output] into the *big.Int type output assumes that [output] does not include selector (omits first 4 func signature bytes).
UnpackGetFeeConfigOutput attempts to unpack [output] as GetFeeConfigOutput assumes that [output] does not include selector (omits first 4 func signature bytes).
UnpackSetFeeConfigInput attempts to unpack [input] as SetFeeConfigInput assumes that [input] does not include selector (omits first 4 func signature bytes) if [useStrictMode] is true, it will return an error if the length of [input] is not [feeConfigInputLen].

# Constants

ConfigKey is the key used in json config files to specify this precompile config.
FeeConfigChangedEventGasCost is the gas cost of a FeeConfigChanged event.
No description provided by the author
No description provided by the author
plus one for setting last changed at.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Singleton StatefulPrecompiledContract for setting fee configs by permissioned callers.
IFeeManagerRawABI contains the raw ABI of FeeManager contract.go:embed contract.abi.
Module is the precompile module.

# Structs

Config implements the StatefulPrecompileConfig interface while adding in the FeeManager specific precompile config.
FeeConfigABIStruct is the ABI struct for FeeConfig type.