Versions in this module Expand all Collapse all v11 v11.0.0 Jun 24, 2023 Changes in this version + const ModuleName + const ProposalTypeAddRateLimit + const ProposalTypeRemoveRateLimit + const ProposalTypeResetRateLimit + const ProposalTypeUpdateRateLimit + const QuerierRoute + const RouterKey + const StoreKey + var AddressWhitelistKeyPrefix = KeyPrefix("address-blacklist") + var Amino = codec.NewLegacyAmino() + var AttributeKeyAction = "action" + var AttributeKeyAmount = "amount" + var AttributeKeyChannel = "channel" + var AttributeKeyDenom = "denom" + var AttributeKeyError = "error" + var AttributeKeyModule = "module" + var AttributeKeyReason = "reason" + var DenomBlacklistKeyPrefix = KeyPrefix("denom-blacklist") + var ErrChannelNotFound = errorsmod.Register(ModuleName, 6, "channel does not exist") + var ErrDenomIsBlacklisted = errorsmod.Register(ModuleName, 7, "denom is blacklisted") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGov = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowRatelimit = fmt.Errorf("proto: integer overflow") + var ErrInvalidClientState = errorsmod.Register(ModuleName, 5, "unable to determine client state from channelId") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGov = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthRatelimit = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrQuotaExceeded = errorsmod.Register(ModuleName, 4, "quota exceeded") + var ErrRateLimitAlreadyExists = errorsmod.Register(ModuleName, 1, "ratelimit key duplicated") + var ErrRateLimitNotFound = errorsmod.Register(ModuleName, 2, "rate limit not found") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupRatelimit = fmt.Errorf("proto: unexpected end of group") + var ErrZeroChannelValue = errorsmod.Register(ModuleName, 3, "channel value is zero") + var EventBlacklistedDenom = "blacklisted_denom" + var EventRateLimitExceeded = "rate_limit_exceeded" + var EventTransferDenied = "transfer_denied" + var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) + var PacketDirection_name = map[int32]string + var PacketDirection_value = map[string]int32 + var PathKeyPrefix = KeyPrefix("path") + var PendingSendPacketChannelLength int = 16 + var PendingSendPacketPrefix = KeyPrefix("pending-send-packet") + var RateLimitKeyPrefix = KeyPrefix("rate-limit") + func GetAddressWhitelistKey(sender, receiver string) []byte + func GetPendingSendPacketKey(channelId string, sequenceNumber uint64) []byte + func KeyPrefix(p string) []byte + func NewAddRateLimitProposal(title, description, denom, channelId string, maxPercentSend sdkmath.Int, ...) govtypes.Content + func NewRemoveRateLimitProposal(title, description, denom, channelId string) govtypes.Content + func NewResetRateLimitProposal(title, description, denom, channelId string) govtypes.Content + func NewUpdateRateLimitProposal(title, description, denom, channelId string, maxPercentSend sdkmath.Int, ...) govtypes.Content + func ParamKeyTable() paramtypes.KeyTable + func RegisterCodec(cdc *codec.LegacyAmino) + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type AddRateLimitProposal struct + ChannelId string + Denom string + Deposit string + Description string + DurationHours uint64 + MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int + MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int + Title string + func (*AddRateLimitProposal) Descriptor() ([]byte, []int) + func (*AddRateLimitProposal) ProtoMessage() + func (m *AddRateLimitProposal) Marshal() (dAtA []byte, err error) + func (m *AddRateLimitProposal) MarshalTo(dAtA []byte) (int, error) + func (m *AddRateLimitProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AddRateLimitProposal) Reset() + func (m *AddRateLimitProposal) Size() (n int) + func (m *AddRateLimitProposal) Unmarshal(dAtA []byte) error + func (m *AddRateLimitProposal) XXX_DiscardUnknown() + func (m *AddRateLimitProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddRateLimitProposal) XXX_Merge(src proto.Message) + func (m *AddRateLimitProposal) XXX_Size() int + func (m *AddRateLimitProposal) XXX_Unmarshal(b []byte) error + func (p *AddRateLimitProposal) GetDescription() string + func (p *AddRateLimitProposal) GetTitle() string + func (p *AddRateLimitProposal) ProposalRoute() string + func (p *AddRateLimitProposal) ProposalType() string + func (p *AddRateLimitProposal) ValidateBasic() error + func (p AddRateLimitProposal) String() string + func (this *AddRateLimitProposal) Equal(that interface{}) bool + type BankKeeper interface + GetSupply func(ctx sdk.Context, denom string) sdk.Coin + type ChannelKeeper interface + GetChannel func(ctx sdk.Context, portID string, channelID string) (channeltypes.Channel, bool) + GetChannelClientState func(ctx sdk.Context, portID string, channelID string) (string, exported.ClientState, error) + type Flow struct + ChannelValue github_com_cosmos_cosmos_sdk_types.Int + Inflow github_com_cosmos_cosmos_sdk_types.Int + Outflow github_com_cosmos_cosmos_sdk_types.Int + func NewFlow(channelValue sdkmath.Int) Flow + func (*Flow) Descriptor() ([]byte, []int) + func (*Flow) ProtoMessage() + func (f *Flow) AddInflow(amount sdkmath.Int, quota Quota) error + func (f *Flow) AddOutflow(amount sdkmath.Int, quota Quota) error + func (m *Flow) Marshal() (dAtA []byte, err error) + func (m *Flow) MarshalTo(dAtA []byte) (int, error) + func (m *Flow) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Flow) Reset() + func (m *Flow) Size() (n int) + func (m *Flow) String() string + func (m *Flow) Unmarshal(dAtA []byte) error + func (m *Flow) XXX_DiscardUnknown() + func (m *Flow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Flow) XXX_Merge(src proto.Message) + func (m *Flow) XXX_Size() int + func (m *Flow) XXX_Unmarshal(b []byte) error + type GenesisState struct + BlacklistedDenoms []string + Params Params + PendingSendPacketSequenceNumbers []string + RateLimits []RateLimit + WhitelistedAddressPairs []WhitelistedAddressPair + func DefaultGenesis() *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) Validate() error + func (m *GenesisState) GetBlacklistedDenoms() []string + func (m *GenesisState) GetParams() Params + func (m *GenesisState) GetPendingSendPacketSequenceNumbers() []string + func (m *GenesisState) GetRateLimits() []RateLimit + func (m *GenesisState) GetWhitelistedAddressPairs() []WhitelistedAddressPair + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type ICS4Wrapper interface + GetAppVersion func(ctx sdk.Context, portID, channelID string) (string, bool) + SendPacket func(ctx sdk.Context, chanCap *capabilitytypes.Capability, sourcePort string, ...) (sequence uint64, err error) + WriteAcknowledgement func(ctx sdk.Context, chanCap *capabilitytypes.Capability, ...) error + type PacketDirection int32 + const PACKET_RECV + const PACKET_SEND + func (PacketDirection) EnumDescriptor() ([]byte, []int) + func (x PacketDirection) String() string + type Params struct + func DefaultParams() Params + func NewParams() Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + 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 (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 + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) Validate() error + type Path struct + ChannelId string + Denom string + func (*Path) Descriptor() ([]byte, []int) + func (*Path) ProtoMessage() + func (m *Path) GetChannelId() string + func (m *Path) GetDenom() string + func (m *Path) Marshal() (dAtA []byte, err error) + func (m *Path) MarshalTo(dAtA []byte) (int, error) + func (m *Path) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Path) Reset() + func (m *Path) Size() (n int) + func (m *Path) String() string + func (m *Path) Unmarshal(dAtA []byte) error + func (m *Path) XXX_DiscardUnknown() + func (m *Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Path) XXX_Merge(src proto.Message) + func (m *Path) XXX_Size() int + func (m *Path) XXX_Unmarshal(b []byte) error + type QueryAllBlacklistedDenomsRequest struct + func (*QueryAllBlacklistedDenomsRequest) Descriptor() ([]byte, []int) + func (*QueryAllBlacklistedDenomsRequest) ProtoMessage() + func (m *QueryAllBlacklistedDenomsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAllBlacklistedDenomsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllBlacklistedDenomsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllBlacklistedDenomsRequest) Reset() + func (m *QueryAllBlacklistedDenomsRequest) Size() (n int) + func (m *QueryAllBlacklistedDenomsRequest) String() string + func (m *QueryAllBlacklistedDenomsRequest) Unmarshal(dAtA []byte) error + func (m *QueryAllBlacklistedDenomsRequest) XXX_DiscardUnknown() + func (m *QueryAllBlacklistedDenomsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllBlacklistedDenomsRequest) XXX_Merge(src proto.Message) + func (m *QueryAllBlacklistedDenomsRequest) XXX_Size() int + func (m *QueryAllBlacklistedDenomsRequest) XXX_Unmarshal(b []byte) error + type QueryAllBlacklistedDenomsResponse struct + Denoms []string + func (*QueryAllBlacklistedDenomsResponse) Descriptor() ([]byte, []int) + func (*QueryAllBlacklistedDenomsResponse) ProtoMessage() + func (m *QueryAllBlacklistedDenomsResponse) GetDenoms() []string + func (m *QueryAllBlacklistedDenomsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAllBlacklistedDenomsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllBlacklistedDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllBlacklistedDenomsResponse) Reset() + func (m *QueryAllBlacklistedDenomsResponse) Size() (n int) + func (m *QueryAllBlacklistedDenomsResponse) String() string + func (m *QueryAllBlacklistedDenomsResponse) Unmarshal(dAtA []byte) error + func (m *QueryAllBlacklistedDenomsResponse) XXX_DiscardUnknown() + func (m *QueryAllBlacklistedDenomsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllBlacklistedDenomsResponse) XXX_Merge(src proto.Message) + func (m *QueryAllBlacklistedDenomsResponse) XXX_Size() int + func (m *QueryAllBlacklistedDenomsResponse) XXX_Unmarshal(b []byte) error + type QueryAllRateLimitsRequest struct + func (*QueryAllRateLimitsRequest) Descriptor() ([]byte, []int) + func (*QueryAllRateLimitsRequest) ProtoMessage() + func (m *QueryAllRateLimitsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAllRateLimitsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllRateLimitsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllRateLimitsRequest) Reset() + func (m *QueryAllRateLimitsRequest) Size() (n int) + func (m *QueryAllRateLimitsRequest) String() string + func (m *QueryAllRateLimitsRequest) Unmarshal(dAtA []byte) error + func (m *QueryAllRateLimitsRequest) XXX_DiscardUnknown() + func (m *QueryAllRateLimitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllRateLimitsRequest) XXX_Merge(src proto.Message) + func (m *QueryAllRateLimitsRequest) XXX_Size() int + func (m *QueryAllRateLimitsRequest) XXX_Unmarshal(b []byte) error + type QueryAllRateLimitsResponse struct + RateLimits []RateLimit + func (*QueryAllRateLimitsResponse) Descriptor() ([]byte, []int) + func (*QueryAllRateLimitsResponse) ProtoMessage() + func (m *QueryAllRateLimitsResponse) GetRateLimits() []RateLimit + func (m *QueryAllRateLimitsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAllRateLimitsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllRateLimitsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllRateLimitsResponse) Reset() + func (m *QueryAllRateLimitsResponse) Size() (n int) + func (m *QueryAllRateLimitsResponse) String() string + func (m *QueryAllRateLimitsResponse) Unmarshal(dAtA []byte) error + func (m *QueryAllRateLimitsResponse) XXX_DiscardUnknown() + func (m *QueryAllRateLimitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllRateLimitsResponse) XXX_Merge(src proto.Message) + func (m *QueryAllRateLimitsResponse) XXX_Size() int + func (m *QueryAllRateLimitsResponse) XXX_Unmarshal(b []byte) error + type QueryAllWhitelistedAddressesRequest struct + func (*QueryAllWhitelistedAddressesRequest) Descriptor() ([]byte, []int) + func (*QueryAllWhitelistedAddressesRequest) ProtoMessage() + func (m *QueryAllWhitelistedAddressesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryAllWhitelistedAddressesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllWhitelistedAddressesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllWhitelistedAddressesRequest) Reset() + func (m *QueryAllWhitelistedAddressesRequest) Size() (n int) + func (m *QueryAllWhitelistedAddressesRequest) String() string + func (m *QueryAllWhitelistedAddressesRequest) Unmarshal(dAtA []byte) error + func (m *QueryAllWhitelistedAddressesRequest) XXX_DiscardUnknown() + func (m *QueryAllWhitelistedAddressesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllWhitelistedAddressesRequest) XXX_Merge(src proto.Message) + func (m *QueryAllWhitelistedAddressesRequest) XXX_Size() int + func (m *QueryAllWhitelistedAddressesRequest) XXX_Unmarshal(b []byte) error + type QueryAllWhitelistedAddressesResponse struct + AddressPairs []WhitelistedAddressPair + func (*QueryAllWhitelistedAddressesResponse) Descriptor() ([]byte, []int) + func (*QueryAllWhitelistedAddressesResponse) ProtoMessage() + func (m *QueryAllWhitelistedAddressesResponse) GetAddressPairs() []WhitelistedAddressPair + func (m *QueryAllWhitelistedAddressesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryAllWhitelistedAddressesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryAllWhitelistedAddressesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryAllWhitelistedAddressesResponse) Reset() + func (m *QueryAllWhitelistedAddressesResponse) Size() (n int) + func (m *QueryAllWhitelistedAddressesResponse) String() string + func (m *QueryAllWhitelistedAddressesResponse) Unmarshal(dAtA []byte) error + func (m *QueryAllWhitelistedAddressesResponse) XXX_DiscardUnknown() + func (m *QueryAllWhitelistedAddressesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryAllWhitelistedAddressesResponse) XXX_Merge(src proto.Message) + func (m *QueryAllWhitelistedAddressesResponse) XXX_Size() int + func (m *QueryAllWhitelistedAddressesResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + AllBlacklistedDenoms func(ctx context.Context, in *QueryAllBlacklistedDenomsRequest, ...) (*QueryAllBlacklistedDenomsResponse, error) + AllRateLimits func(ctx context.Context, in *QueryAllRateLimitsRequest, opts ...grpc.CallOption) (*QueryAllRateLimitsResponse, error) + AllWhitelistedAddresses func(ctx context.Context, in *QueryAllWhitelistedAddressesRequest, ...) (*QueryAllWhitelistedAddressesResponse, error) + RateLimit func(ctx context.Context, in *QueryRateLimitRequest, opts ...grpc.CallOption) (*QueryRateLimitResponse, error) + RateLimitsByChainId func(ctx context.Context, in *QueryRateLimitsByChainIdRequest, ...) (*QueryRateLimitsByChainIdResponse, error) + RateLimitsByChannelId func(ctx context.Context, in *QueryRateLimitsByChannelIdRequest, ...) (*QueryRateLimitsByChannelIdResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryRateLimitRequest struct + ChannelId string + Denom string + func (*QueryRateLimitRequest) Descriptor() ([]byte, []int) + func (*QueryRateLimitRequest) ProtoMessage() + func (m *QueryRateLimitRequest) GetChannelId() string + func (m *QueryRateLimitRequest) GetDenom() string + func (m *QueryRateLimitRequest) Marshal() (dAtA []byte, err error) + func (m *QueryRateLimitRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRateLimitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRateLimitRequest) Reset() + func (m *QueryRateLimitRequest) Size() (n int) + func (m *QueryRateLimitRequest) String() string + func (m *QueryRateLimitRequest) Unmarshal(dAtA []byte) error + func (m *QueryRateLimitRequest) XXX_DiscardUnknown() + func (m *QueryRateLimitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRateLimitRequest) XXX_Merge(src proto.Message) + func (m *QueryRateLimitRequest) XXX_Size() int + func (m *QueryRateLimitRequest) XXX_Unmarshal(b []byte) error + type QueryRateLimitResponse struct + RateLimit *RateLimit + func (*QueryRateLimitResponse) Descriptor() ([]byte, []int) + func (*QueryRateLimitResponse) ProtoMessage() + func (m *QueryRateLimitResponse) GetRateLimit() *RateLimit + func (m *QueryRateLimitResponse) Marshal() (dAtA []byte, err error) + func (m *QueryRateLimitResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRateLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRateLimitResponse) Reset() + func (m *QueryRateLimitResponse) Size() (n int) + func (m *QueryRateLimitResponse) String() string + func (m *QueryRateLimitResponse) Unmarshal(dAtA []byte) error + func (m *QueryRateLimitResponse) XXX_DiscardUnknown() + func (m *QueryRateLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRateLimitResponse) XXX_Merge(src proto.Message) + func (m *QueryRateLimitResponse) XXX_Size() int + func (m *QueryRateLimitResponse) XXX_Unmarshal(b []byte) error + type QueryRateLimitsByChainIdRequest struct + ChainId string + func (*QueryRateLimitsByChainIdRequest) Descriptor() ([]byte, []int) + func (*QueryRateLimitsByChainIdRequest) ProtoMessage() + func (m *QueryRateLimitsByChainIdRequest) GetChainId() string + func (m *QueryRateLimitsByChainIdRequest) Marshal() (dAtA []byte, err error) + func (m *QueryRateLimitsByChainIdRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRateLimitsByChainIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRateLimitsByChainIdRequest) Reset() + func (m *QueryRateLimitsByChainIdRequest) Size() (n int) + func (m *QueryRateLimitsByChainIdRequest) String() string + func (m *QueryRateLimitsByChainIdRequest) Unmarshal(dAtA []byte) error + func (m *QueryRateLimitsByChainIdRequest) XXX_DiscardUnknown() + func (m *QueryRateLimitsByChainIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRateLimitsByChainIdRequest) XXX_Merge(src proto.Message) + func (m *QueryRateLimitsByChainIdRequest) XXX_Size() int + func (m *QueryRateLimitsByChainIdRequest) XXX_Unmarshal(b []byte) error + type QueryRateLimitsByChainIdResponse struct + RateLimits []RateLimit + func (*QueryRateLimitsByChainIdResponse) Descriptor() ([]byte, []int) + func (*QueryRateLimitsByChainIdResponse) ProtoMessage() + func (m *QueryRateLimitsByChainIdResponse) GetRateLimits() []RateLimit + func (m *QueryRateLimitsByChainIdResponse) Marshal() (dAtA []byte, err error) + func (m *QueryRateLimitsByChainIdResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRateLimitsByChainIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRateLimitsByChainIdResponse) Reset() + func (m *QueryRateLimitsByChainIdResponse) Size() (n int) + func (m *QueryRateLimitsByChainIdResponse) String() string + func (m *QueryRateLimitsByChainIdResponse) Unmarshal(dAtA []byte) error + func (m *QueryRateLimitsByChainIdResponse) XXX_DiscardUnknown() + func (m *QueryRateLimitsByChainIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRateLimitsByChainIdResponse) XXX_Merge(src proto.Message) + func (m *QueryRateLimitsByChainIdResponse) XXX_Size() int + func (m *QueryRateLimitsByChainIdResponse) XXX_Unmarshal(b []byte) error + type QueryRateLimitsByChannelIdRequest struct + ChannelId string + func (*QueryRateLimitsByChannelIdRequest) Descriptor() ([]byte, []int) + func (*QueryRateLimitsByChannelIdRequest) ProtoMessage() + func (m *QueryRateLimitsByChannelIdRequest) GetChannelId() string + func (m *QueryRateLimitsByChannelIdRequest) Marshal() (dAtA []byte, err error) + func (m *QueryRateLimitsByChannelIdRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRateLimitsByChannelIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRateLimitsByChannelIdRequest) Reset() + func (m *QueryRateLimitsByChannelIdRequest) Size() (n int) + func (m *QueryRateLimitsByChannelIdRequest) String() string + func (m *QueryRateLimitsByChannelIdRequest) Unmarshal(dAtA []byte) error + func (m *QueryRateLimitsByChannelIdRequest) XXX_DiscardUnknown() + func (m *QueryRateLimitsByChannelIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRateLimitsByChannelIdRequest) XXX_Merge(src proto.Message) + func (m *QueryRateLimitsByChannelIdRequest) XXX_Size() int + func (m *QueryRateLimitsByChannelIdRequest) XXX_Unmarshal(b []byte) error + type QueryRateLimitsByChannelIdResponse struct + RateLimits []RateLimit + func (*QueryRateLimitsByChannelIdResponse) Descriptor() ([]byte, []int) + func (*QueryRateLimitsByChannelIdResponse) ProtoMessage() + func (m *QueryRateLimitsByChannelIdResponse) GetRateLimits() []RateLimit + func (m *QueryRateLimitsByChannelIdResponse) Marshal() (dAtA []byte, err error) + func (m *QueryRateLimitsByChannelIdResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRateLimitsByChannelIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRateLimitsByChannelIdResponse) Reset() + func (m *QueryRateLimitsByChannelIdResponse) Size() (n int) + func (m *QueryRateLimitsByChannelIdResponse) String() string + func (m *QueryRateLimitsByChannelIdResponse) Unmarshal(dAtA []byte) error + func (m *QueryRateLimitsByChannelIdResponse) XXX_DiscardUnknown() + func (m *QueryRateLimitsByChannelIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRateLimitsByChannelIdResponse) XXX_Merge(src proto.Message) + func (m *QueryRateLimitsByChannelIdResponse) XXX_Size() int + func (m *QueryRateLimitsByChannelIdResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + AllBlacklistedDenoms func(context.Context, *QueryAllBlacklistedDenomsRequest) (*QueryAllBlacklistedDenomsResponse, error) + AllRateLimits func(context.Context, *QueryAllRateLimitsRequest) (*QueryAllRateLimitsResponse, error) + AllWhitelistedAddresses func(context.Context, *QueryAllWhitelistedAddressesRequest) (*QueryAllWhitelistedAddressesResponse, error) + RateLimit func(context.Context, *QueryRateLimitRequest) (*QueryRateLimitResponse, error) + RateLimitsByChainId func(context.Context, *QueryRateLimitsByChainIdRequest) (*QueryRateLimitsByChainIdResponse, error) + RateLimitsByChannelId func(context.Context, *QueryRateLimitsByChannelIdRequest) (*QueryRateLimitsByChannelIdResponse, error) + type Quota struct + DurationHours uint64 + MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int + MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int + func (*Quota) Descriptor() ([]byte, []int) + func (*Quota) ProtoMessage() + func (m *Quota) GetDurationHours() uint64 + func (m *Quota) Marshal() (dAtA []byte, err error) + func (m *Quota) MarshalTo(dAtA []byte) (int, error) + func (m *Quota) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Quota) Reset() + func (m *Quota) Size() (n int) + func (m *Quota) String() string + func (m *Quota) Unmarshal(dAtA []byte) error + func (m *Quota) XXX_DiscardUnknown() + func (m *Quota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Quota) XXX_Merge(src proto.Message) + func (m *Quota) XXX_Size() int + func (m *Quota) XXX_Unmarshal(b []byte) error + func (q *Quota) CheckExceedsQuota(direction PacketDirection, amount sdkmath.Int, totalValue sdkmath.Int) bool + type RateLimit struct + Flow *Flow + Path *Path + Quota *Quota + func (*RateLimit) Descriptor() ([]byte, []int) + func (*RateLimit) ProtoMessage() + func (m *RateLimit) GetFlow() *Flow + func (m *RateLimit) GetPath() *Path + func (m *RateLimit) GetQuota() *Quota + func (m *RateLimit) Marshal() (dAtA []byte, err error) + func (m *RateLimit) MarshalTo(dAtA []byte) (int, error) + func (m *RateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RateLimit) Reset() + func (m *RateLimit) Size() (n int) + func (m *RateLimit) String() string + func (m *RateLimit) Unmarshal(dAtA []byte) error + func (m *RateLimit) XXX_DiscardUnknown() + func (m *RateLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RateLimit) XXX_Merge(src proto.Message) + func (m *RateLimit) XXX_Size() int + func (m *RateLimit) XXX_Unmarshal(b []byte) error + type RemoveRateLimitProposal struct + ChannelId string + Denom string + Deposit string + Description string + Title string + func (*RemoveRateLimitProposal) Descriptor() ([]byte, []int) + func (*RemoveRateLimitProposal) ProtoMessage() + func (m *RemoveRateLimitProposal) Marshal() (dAtA []byte, err error) + func (m *RemoveRateLimitProposal) MarshalTo(dAtA []byte) (int, error) + func (m *RemoveRateLimitProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RemoveRateLimitProposal) Reset() + func (m *RemoveRateLimitProposal) Size() (n int) + func (m *RemoveRateLimitProposal) Unmarshal(dAtA []byte) error + func (m *RemoveRateLimitProposal) XXX_DiscardUnknown() + func (m *RemoveRateLimitProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RemoveRateLimitProposal) XXX_Merge(src proto.Message) + func (m *RemoveRateLimitProposal) XXX_Size() int + func (m *RemoveRateLimitProposal) XXX_Unmarshal(b []byte) error + func (p *RemoveRateLimitProposal) GetDescription() string + func (p *RemoveRateLimitProposal) GetTitle() string + func (p *RemoveRateLimitProposal) ProposalRoute() string + func (p *RemoveRateLimitProposal) ProposalType() string + func (p *RemoveRateLimitProposal) ValidateBasic() error + func (p RemoveRateLimitProposal) String() string + func (this *RemoveRateLimitProposal) Equal(that interface{}) bool + type ResetRateLimitProposal struct + ChannelId string + Denom string + Deposit string + Description string + Title string + func (*ResetRateLimitProposal) Descriptor() ([]byte, []int) + func (*ResetRateLimitProposal) ProtoMessage() + func (m *ResetRateLimitProposal) Marshal() (dAtA []byte, err error) + func (m *ResetRateLimitProposal) MarshalTo(dAtA []byte) (int, error) + func (m *ResetRateLimitProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ResetRateLimitProposal) Reset() + func (m *ResetRateLimitProposal) Size() (n int) + func (m *ResetRateLimitProposal) Unmarshal(dAtA []byte) error + func (m *ResetRateLimitProposal) XXX_DiscardUnknown() + func (m *ResetRateLimitProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ResetRateLimitProposal) XXX_Merge(src proto.Message) + func (m *ResetRateLimitProposal) XXX_Size() int + func (m *ResetRateLimitProposal) XXX_Unmarshal(b []byte) error + func (p *ResetRateLimitProposal) GetDescription() string + func (p *ResetRateLimitProposal) GetTitle() string + func (p *ResetRateLimitProposal) ProposalRoute() string + func (p *ResetRateLimitProposal) ProposalType() string + func (p *ResetRateLimitProposal) ValidateBasic() error + func (p ResetRateLimitProposal) String() string + func (this *ResetRateLimitProposal) Equal(that interface{}) bool + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) AllBlacklistedDenoms(ctx context.Context, req *QueryAllBlacklistedDenomsRequest) (*QueryAllBlacklistedDenomsResponse, error) + func (*UnimplementedQueryServer) AllRateLimits(ctx context.Context, req *QueryAllRateLimitsRequest) (*QueryAllRateLimitsResponse, error) + func (*UnimplementedQueryServer) AllWhitelistedAddresses(ctx context.Context, req *QueryAllWhitelistedAddressesRequest) (*QueryAllWhitelistedAddressesResponse, error) + func (*UnimplementedQueryServer) RateLimit(ctx context.Context, req *QueryRateLimitRequest) (*QueryRateLimitResponse, error) + func (*UnimplementedQueryServer) RateLimitsByChainId(ctx context.Context, req *QueryRateLimitsByChainIdRequest) (*QueryRateLimitsByChainIdResponse, error) + func (*UnimplementedQueryServer) RateLimitsByChannelId(ctx context.Context, req *QueryRateLimitsByChannelIdRequest) (*QueryRateLimitsByChannelIdResponse, error) + type UpdateRateLimitProposal struct + ChannelId string + Denom string + Deposit string + Description string + DurationHours uint64 + MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int + MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int + Title string + func (*UpdateRateLimitProposal) Descriptor() ([]byte, []int) + func (*UpdateRateLimitProposal) ProtoMessage() + func (m *UpdateRateLimitProposal) Marshal() (dAtA []byte, err error) + func (m *UpdateRateLimitProposal) MarshalTo(dAtA []byte) (int, error) + func (m *UpdateRateLimitProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UpdateRateLimitProposal) Reset() + func (m *UpdateRateLimitProposal) Size() (n int) + func (m *UpdateRateLimitProposal) Unmarshal(dAtA []byte) error + func (m *UpdateRateLimitProposal) XXX_DiscardUnknown() + func (m *UpdateRateLimitProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpdateRateLimitProposal) XXX_Merge(src proto.Message) + func (m *UpdateRateLimitProposal) XXX_Size() int + func (m *UpdateRateLimitProposal) XXX_Unmarshal(b []byte) error + func (p *UpdateRateLimitProposal) GetDescription() string + func (p *UpdateRateLimitProposal) GetTitle() string + func (p *UpdateRateLimitProposal) ProposalRoute() string + func (p *UpdateRateLimitProposal) ProposalType() string + func (p *UpdateRateLimitProposal) ValidateBasic() error + func (p UpdateRateLimitProposal) String() string + func (this *UpdateRateLimitProposal) Equal(that interface{}) bool + type WhitelistedAddressPair struct + Receiver string + Sender string + func (*WhitelistedAddressPair) Descriptor() ([]byte, []int) + func (*WhitelistedAddressPair) ProtoMessage() + func (m *WhitelistedAddressPair) GetReceiver() string + func (m *WhitelistedAddressPair) GetSender() string + func (m *WhitelistedAddressPair) Marshal() (dAtA []byte, err error) + func (m *WhitelistedAddressPair) MarshalTo(dAtA []byte) (int, error) + func (m *WhitelistedAddressPair) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *WhitelistedAddressPair) Reset() + func (m *WhitelistedAddressPair) Size() (n int) + func (m *WhitelistedAddressPair) String() string + func (m *WhitelistedAddressPair) Unmarshal(dAtA []byte) error + func (m *WhitelistedAddressPair) XXX_DiscardUnknown() + func (m *WhitelistedAddressPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *WhitelistedAddressPair) XXX_Merge(src proto.Message) + func (m *WhitelistedAddressPair) XXX_Size() int + func (m *WhitelistedAddressPair) XXX_Unmarshal(b []byte) error v11.0.0-testnet Jul 27, 2023 Other modules containing this package github.com/Stride-Labs/stride/v10 github.com/Stride-Labs/stride/v12 github.com/Stride-Labs/stride/v13 github.com/Stride-Labs/stride/v14 github.com/Stride-Labs/stride/v15 github.com/Stride-Labs/stride/v16 github.com/Stride-Labs/stride/v17 github.com/Stride-Labs/stride/v18 github.com/Stride-Labs/stride/v7 github.com/Stride-Labs/stride/v8 github.com/Stride-Labs/stride/v9