Documentation ¶
Index ¶
- Variables
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetFeeDenom() string
- func (m *Params) GetForcedSettleTime() uint64
- func (m *Params) GetMaxAutoResumeFlowCount() uint64
- func (m *Params) GetMaxAutoSettleFlowCount() uint64
- func (m *Params) GetPaymentAccountCountLimit() uint64
- func (m *Params) GetVersionedParams() VersionedParams
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type VersionedParams
- func (*VersionedParams) Descriptor() ([]byte, []int)
- func (m *VersionedParams) GetReserveTime() uint64
- func (m *VersionedParams) Marshal() (dAtA []byte, err error)
- func (m *VersionedParams) MarshalTo(dAtA []byte) (int, error)
- func (m *VersionedParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VersionedParams) ProtoMessage()
- func (m *VersionedParams) Reset()
- func (m *VersionedParams) Size() (n int)
- func (m *VersionedParams) String() string
- func (m *VersionedParams) Unmarshal(dAtA []byte) error
- func (m *VersionedParams) XXX_DiscardUnknown()
- func (m *VersionedParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionedParams) XXX_Merge(src proto.Message)
- func (m *VersionedParams) XXX_Size() int
- func (m *VersionedParams) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { VersionedParams VersionedParams `protobuf:"bytes,1,opt,name=versioned_params,json=versionedParams,proto3" json:"versioned_params"` // The maximum number of payment accounts that can be created by one user PaymentAccountCountLimit uint64 `` /* 173-byte string literal not displayed */ // Time duration threshold of forced settlement. // If dynamic balance is less than NetOutFlowRate * forcedSettleTime, the account can be forced settled. ForcedSettleTime uint64 `` /* 138-byte string literal not displayed */ // the maximum number of flows that will be auto forced settled in one block MaxAutoSettleFlowCount uint64 `` /* 168-byte string literal not displayed */ // the maximum number of flows that will be auto resumed in one block MaxAutoResumeFlowCount uint64 `` /* 168-byte string literal not displayed */ // The denom of fee charged in payment module FeeDenom string `protobuf:"bytes,6,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty" yaml:"fee_denom"` }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) GetFeeDenom ¶
func (*Params) GetForcedSettleTime ¶
func (*Params) GetMaxAutoResumeFlowCount ¶
func (*Params) GetMaxAutoSettleFlowCount ¶
func (*Params) GetPaymentAccountCountLimit ¶
func (*Params) GetVersionedParams ¶
func (m *Params) GetVersionedParams() VersionedParams
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type VersionedParams ¶
type VersionedParams struct { // Time duration which the buffer balance need to be reserved for NetOutFlow e.g. 6 month ReserveTime uint64 `protobuf:"varint,1,opt,name=reserve_time,json=reserveTime,proto3" json:"reserve_time,omitempty" yaml:"reserve_time"` // The tax rate to pay for validators in storage payment. The default value is 1%(0.01) ValidatorTaxRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */ }
VersionedParams defines the parameters with multiple versions, each version is stored with different timestamp.
func (*VersionedParams) Descriptor ¶
func (*VersionedParams) Descriptor() ([]byte, []int)
func (*VersionedParams) GetReserveTime ¶
func (m *VersionedParams) GetReserveTime() uint64
func (*VersionedParams) Marshal ¶
func (m *VersionedParams) Marshal() (dAtA []byte, err error)
func (*VersionedParams) MarshalToSizedBuffer ¶
func (m *VersionedParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VersionedParams) ProtoMessage ¶
func (*VersionedParams) ProtoMessage()
func (*VersionedParams) Reset ¶
func (m *VersionedParams) Reset()
func (*VersionedParams) Size ¶
func (m *VersionedParams) Size() (n int)
func (*VersionedParams) String ¶
func (m *VersionedParams) String() string
func (*VersionedParams) Unmarshal ¶
func (m *VersionedParams) Unmarshal(dAtA []byte) error
func (*VersionedParams) XXX_DiscardUnknown ¶
func (m *VersionedParams) XXX_DiscardUnknown()
func (*VersionedParams) XXX_Marshal ¶
func (m *VersionedParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionedParams) XXX_Merge ¶
func (m *VersionedParams) XXX_Merge(src proto.Message)
func (*VersionedParams) XXX_Size ¶
func (m *VersionedParams) XXX_Size() int
func (*VersionedParams) XXX_Unmarshal ¶
func (m *VersionedParams) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.