types

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthQuota        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuota          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuota = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSubscription        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSubscription          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSubscription = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Quota

type Quota struct {
	Address   string                                 `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Allocated github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=allocated,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"allocated"`
	Consumed  github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=consumed,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"consumed"`
}

func (*Quota) Descriptor

func (*Quota) Descriptor() ([]byte, []int)

func (*Quota) Marshal

func (m *Quota) Marshal() (dAtA []byte, err error)

func (*Quota) MarshalTo

func (m *Quota) MarshalTo(dAtA []byte) (int, error)

func (*Quota) MarshalToSizedBuffer

func (m *Quota) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Quota) ProtoMessage

func (*Quota) ProtoMessage()

func (*Quota) Reset

func (m *Quota) Reset()

func (*Quota) Size

func (m *Quota) Size() (n int)

func (*Quota) String

func (m *Quota) String() string

func (*Quota) Unmarshal

func (m *Quota) Unmarshal(dAtA []byte) error

func (*Quota) XXX_DiscardUnknown

func (m *Quota) XXX_DiscardUnknown()

func (*Quota) XXX_Marshal

func (m *Quota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Quota) XXX_Merge

func (m *Quota) XXX_Merge(src proto.Message)

func (*Quota) XXX_Size

func (m *Quota) XXX_Size() int

func (*Quota) XXX_Unmarshal

func (m *Quota) XXX_Unmarshal(b []byte) error

type Subscription

type Subscription struct {
	Id       uint64                                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Owner    string                                 `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Node     string                                 `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"`
	Price    types.Coin                             `protobuf:"bytes,4,opt,name=price,proto3" json:"price"`
	Deposit  types.Coin                             `protobuf:"bytes,5,opt,name=deposit,proto3" json:"deposit"`
	Plan     uint64                                 `protobuf:"varint,6,opt,name=plan,proto3" json:"plan,omitempty"`
	Denom    string                                 `protobuf:"bytes,7,opt,name=denom,proto3" json:"denom,omitempty"`
	Expiry   time.Time                              `protobuf:"bytes,8,opt,name=expiry,proto3,stdtime" json:"expiry"`
	Free     github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,9,opt,name=free,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"free"`
	Status   types1.Status                          `protobuf:"varint,10,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"`
	StatusAt time.Time                              `protobuf:"bytes,11,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"`
}

func (*Subscription) Descriptor

func (*Subscription) Descriptor() ([]byte, []int)

func (*Subscription) Marshal

func (m *Subscription) Marshal() (dAtA []byte, err error)

func (*Subscription) MarshalTo

func (m *Subscription) MarshalTo(dAtA []byte) (int, error)

func (*Subscription) MarshalToSizedBuffer

func (m *Subscription) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) Reset

func (m *Subscription) Reset()

func (*Subscription) Size

func (m *Subscription) Size() (n int)

func (*Subscription) String

func (m *Subscription) String() string

func (*Subscription) Unmarshal

func (m *Subscription) Unmarshal(dAtA []byte) error

func (*Subscription) XXX_DiscardUnknown

func (m *Subscription) XXX_DiscardUnknown()

func (*Subscription) XXX_Marshal

func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Subscription) XXX_Merge

func (m *Subscription) XXX_Merge(src proto.Message)

func (*Subscription) XXX_Size

func (m *Subscription) XXX_Size() int

func (*Subscription) XXX_Unmarshal

func (m *Subscription) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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