types

package
v22.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRatelimit        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRatelimit          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRatelimit = fmt.Errorf("proto: unexpected end of group")
)
View Source
var PacketDirection_name = map[int32]string{
	0: "PACKET_SEND",
	1: "PACKET_RECV",
}
View Source
var PacketDirection_value = map[string]int32{
	"PACKET_SEND": 0,
	"PACKET_RECV": 1,
}

Functions

This section is empty.

Types

type Flow

type Flow struct {
	Inflow       github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=inflow,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"inflow"`
	Outflow      github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=outflow,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"outflow"`
	ChannelValue github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */
}

func (*Flow) Descriptor

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

func (*Flow) Marshal

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

func (*Flow) MarshalTo

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

func (*Flow) MarshalToSizedBuffer

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

func (*Flow) ProtoMessage

func (*Flow) ProtoMessage()

func (*Flow) Reset

func (m *Flow) Reset()

func (*Flow) Size

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

func (*Flow) String

func (m *Flow) String() string

func (*Flow) Unmarshal

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

func (*Flow) XXX_DiscardUnknown

func (m *Flow) XXX_DiscardUnknown()

func (*Flow) XXX_Marshal

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

func (*Flow) XXX_Merge

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

func (*Flow) XXX_Size

func (m *Flow) XXX_Size() int

func (*Flow) XXX_Unmarshal

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

type PacketDirection

type PacketDirection int32
const (
	PACKET_SEND PacketDirection = 0
	PACKET_RECV PacketDirection = 1
)

func (PacketDirection) EnumDescriptor

func (PacketDirection) EnumDescriptor() ([]byte, []int)

func (PacketDirection) String

func (x PacketDirection) String() string

type Path

type Path struct {
	Denom     string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

func (*Path) Descriptor

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

func (*Path) GetChannelId

func (m *Path) GetChannelId() string

func (*Path) GetDenom

func (m *Path) GetDenom() string

func (*Path) Marshal

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

func (*Path) MarshalTo

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

func (*Path) MarshalToSizedBuffer

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

func (*Path) ProtoMessage

func (*Path) ProtoMessage()

func (*Path) Reset

func (m *Path) Reset()

func (*Path) Size

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

func (*Path) String

func (m *Path) String() string

func (*Path) Unmarshal

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

func (*Path) XXX_DiscardUnknown

func (m *Path) XXX_DiscardUnknown()

func (*Path) XXX_Marshal

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

func (*Path) XXX_Merge

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

func (*Path) XXX_Size

func (m *Path) XXX_Size() int

func (*Path) XXX_Unmarshal

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

type Quota

type Quota struct {
	MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */
	MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */
	DurationHours  uint64                                 `protobuf:"varint,3,opt,name=duration_hours,json=durationHours,proto3" json:"duration_hours,omitempty"`
}

func (*Quota) Descriptor

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

func (*Quota) GetDurationHours

func (m *Quota) GetDurationHours() uint64

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 RateLimit

type RateLimit struct {
	Path  *Path  `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Quota *Quota `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"`
	Flow  *Flow  `protobuf:"bytes,3,opt,name=flow,proto3" json:"flow,omitempty"`
}

func (*RateLimit) Descriptor

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

func (*RateLimit) GetFlow

func (m *RateLimit) GetFlow() *Flow

func (*RateLimit) GetPath

func (m *RateLimit) GetPath() *Path

func (*RateLimit) GetQuota

func (m *RateLimit) GetQuota() *Quota

func (*RateLimit) Marshal

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

func (*RateLimit) MarshalTo

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

func (*RateLimit) MarshalToSizedBuffer

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

func (*RateLimit) ProtoMessage

func (*RateLimit) ProtoMessage()

func (*RateLimit) Reset

func (m *RateLimit) Reset()

func (*RateLimit) Size

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

func (*RateLimit) String

func (m *RateLimit) String() string

func (*RateLimit) Unmarshal

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

func (*RateLimit) XXX_DiscardUnknown

func (m *RateLimit) XXX_DiscardUnknown()

func (*RateLimit) XXX_Marshal

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

func (*RateLimit) XXX_Merge

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

func (*RateLimit) XXX_Size

func (m *RateLimit) XXX_Size() int

func (*RateLimit) XXX_Unmarshal

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

type WhitelistedAddressPair

type WhitelistedAddressPair struct {
	Sender   string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
}

func (*WhitelistedAddressPair) Descriptor

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

func (*WhitelistedAddressPair) GetReceiver

func (m *WhitelistedAddressPair) GetReceiver() string

func (*WhitelistedAddressPair) GetSender

func (m *WhitelistedAddressPair) GetSender() string

func (*WhitelistedAddressPair) Marshal

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

func (*WhitelistedAddressPair) MarshalTo

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

func (*WhitelistedAddressPair) MarshalToSizedBuffer

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

func (*WhitelistedAddressPair) ProtoMessage

func (*WhitelistedAddressPair) ProtoMessage()

func (*WhitelistedAddressPair) Reset

func (m *WhitelistedAddressPair) Reset()

func (*WhitelistedAddressPair) Size

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

func (*WhitelistedAddressPair) String

func (m *WhitelistedAddressPair) String() string

func (*WhitelistedAddressPair) Unmarshal

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

func (*WhitelistedAddressPair) XXX_DiscardUnknown

func (m *WhitelistedAddressPair) XXX_DiscardUnknown()

func (*WhitelistedAddressPair) XXX_Marshal

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

func (*WhitelistedAddressPair) XXX_Merge

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

func (*WhitelistedAddressPair) XXX_Size

func (m *WhitelistedAddressPair) XXX_Size() int

func (*WhitelistedAddressPair) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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