config

package
v0.0.0-...-79ba347 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeeConfig

type FeeConfig struct {
	// contains filtered or unexported fields
}

FeeConfig is an instance that returns extra fee values for contract invocations without notary support.

func NewFeeConfig

func NewFeeConfig(v *viper.Viper) *FeeConfig

NewFeeConfig constructs FeeConfig from viper.Viper instance. Latter must not be nil.

Fee for named container registration is taken from "fee.named_container_register" value.

func (FeeConfig) MainChainFee

func (f FeeConfig) MainChainFee() fixedn.Fixed8

func (FeeConfig) NamedContainerRegistrationFee

func (f FeeConfig) NamedContainerRegistrationFee() fixedn.Fixed8

NamedContainerRegistrationFee returns additional GAS fee for named container registration in FrostFS network.

func (FeeConfig) SideChainFee

func (f FeeConfig) SideChainFee() fixedn.Fixed8

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL