Documentation ¶
Index ¶
- Variables
- type PlanV2
- func (*PlanV2) Descriptor() ([]byte, []int)
- func (this *PlanV2) Equal(that interface{}) bool
- func (m *PlanV2) GetAllowOveruse() bool
- func (m *PlanV2) GetAnnualDiscountPercentage() uint64
- func (m *PlanV2) GetBlock() uint64
- func (m *PlanV2) GetComputeUnits() uint64
- func (m *PlanV2) GetComputeUnitsPerEpoch() uint64
- func (m *PlanV2) GetDescription() string
- func (m *PlanV2) GetIndex() string
- func (m *PlanV2) GetMaxProvidersToPair() uint64
- func (m *PlanV2) GetOveruseRate() uint64
- func (m *PlanV2) GetPrice() types.Coin
- func (m *PlanV2) GetType() string
- func (m *PlanV2) Marshal() (dAtA []byte, err error)
- func (m *PlanV2) MarshalTo(dAtA []byte) (int, error)
- func (m *PlanV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PlanV2) ProtoMessage()
- func (m *PlanV2) Reset()
- func (m *PlanV2) Size() (n int)
- func (m *PlanV2) String() string
- func (m *PlanV2) Unmarshal(dAtA []byte) error
- func (m *PlanV2) XXX_DiscardUnknown()
- func (m *PlanV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlanV2) XXX_Merge(src proto.Message)
- func (m *PlanV2) XXX_Size() int
- func (m *PlanV2) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type PlanV2 ¶ added in v0.10.0
type PlanV2 struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Block uint64 `protobuf:"varint,3,opt,name=block,proto3" json:"block,omitempty"` Price types.Coin `protobuf:"bytes,4,opt,name=price,proto3" json:"price"` ComputeUnits uint64 `protobuf:"varint,5,opt,name=compute_units,json=computeUnits,proto3" json:"compute_units,omitempty"` ComputeUnitsPerEpoch uint64 `` /* 126-byte string literal not displayed */ MaxProvidersToPair uint64 `protobuf:"varint,7,opt,name=max_providers_to_pair,json=maxProvidersToPair,proto3" json:"max_providers_to_pair,omitempty"` AllowOveruse bool `protobuf:"varint,8,opt,name=allow_overuse,json=allowOveruse,proto3" json:"allow_overuse,omitempty"` OveruseRate uint64 `protobuf:"varint,9,opt,name=overuse_rate,json=overuseRate,proto3" json:"overuse_rate,omitempty"` Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"` AnnualDiscountPercentage uint64 `` /* 137-byte string literal not displayed */ }
func (*PlanV2) Descriptor ¶ added in v0.10.0
func (*PlanV2) GetAllowOveruse ¶ added in v0.10.0
func (*PlanV2) GetAnnualDiscountPercentage ¶ added in v0.10.0
func (*PlanV2) GetComputeUnits ¶ added in v0.10.0
func (*PlanV2) GetComputeUnitsPerEpoch ¶ added in v0.10.0
func (*PlanV2) GetDescription ¶ added in v0.10.0
func (*PlanV2) GetMaxProvidersToPair ¶ added in v0.10.0
func (*PlanV2) GetOveruseRate ¶ added in v0.10.0
func (*PlanV2) MarshalToSizedBuffer ¶ added in v0.10.0
func (*PlanV2) ProtoMessage ¶ added in v0.10.0
func (*PlanV2) ProtoMessage()
func (*PlanV2) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *PlanV2) XXX_DiscardUnknown()
func (*PlanV2) XXX_Marshal ¶ added in v0.10.0
func (*PlanV2) XXX_Unmarshal ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.