Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeeConfig ¶ added in v0.19.0
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 ¶ added in v0.19.0
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 ¶ added in v0.19.0
func (FeeConfig) NamedContainerRegistrationFee ¶ added in v0.27.0
NamedContainerRegistrationFee returns additional GAS fee for named container registration in NeoFS network.
func (FeeConfig) SideChainFee ¶ added in v0.19.0
type GlobalConfig ¶
type GlobalConfig struct {
// contains filtered or unexported fields
}
func NewGlobalConfigReader ¶
func NewGlobalConfigReader(cfg *viper.Viper, nm *netmapClient.Wrapper) *GlobalConfig
func (*GlobalConfig) AuditFee ¶ added in v0.19.0
func (c *GlobalConfig) AuditFee() (uint64, error)
func (*GlobalConfig) BasicIncomeRate ¶
func (c *GlobalConfig) BasicIncomeRate() (uint64, error)
Click to show internal directories.
Click to hide internal directories.