Run NodesReferencevmsplatformvmvalidators

fee

Package fee

import "github.com/luxfi/node/vms/platformvm/validators/fee"

Types

Config

Config contains all the static parameters of the dynamic fee mechanism.

State

State represents the current on-chain values used in the dynamic fee mechanism.

func (s State) AdvanceTime(target gas.Gas, seconds uint64) State
func (s State) CostOf(c Config, seconds uint64) uint64
func (s State) SecondsRemaining(c Config, maxSeconds uint64, fundsRemaining uint64) uint64