tunnelv1beta1

package
v3.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_Tunnels_FullMethodName   = "/band.tunnel.v1beta1.Query/Tunnels"
	Query_Tunnel_FullMethodName    = "/band.tunnel.v1beta1.Query/Tunnel"
	Query_Deposits_FullMethodName  = "/band.tunnel.v1beta1.Query/Deposits"
	Query_Deposit_FullMethodName   = "/band.tunnel.v1beta1.Query/Deposit"
	Query_Packets_FullMethodName   = "/band.tunnel.v1beta1.Query/Packets"
	Query_Packet_FullMethodName    = "/band.tunnel.v1beta1.Query/Packet"
	Query_TotalFees_FullMethodName = "/band.tunnel.v1beta1.Query/TotalFees"
	Query_Params_FullMethodName    = "/band.tunnel.v1beta1.Query/Params"
)
View Source
const (
	Msg_CreateTunnel_FullMethodName             = "/band.tunnel.v1beta1.Msg/CreateTunnel"
	Msg_UpdateRoute_FullMethodName              = "/band.tunnel.v1beta1.Msg/UpdateRoute"
	Msg_UpdateSignalsAndInterval_FullMethodName = "/band.tunnel.v1beta1.Msg/UpdateSignalsAndInterval"
	Msg_WithdrawFeePayerFunds_FullMethodName    = "/band.tunnel.v1beta1.Msg/WithdrawFeePayerFunds"
	Msg_ActivateTunnel_FullMethodName           = "/band.tunnel.v1beta1.Msg/ActivateTunnel"
	Msg_DeactivateTunnel_FullMethodName         = "/band.tunnel.v1beta1.Msg/DeactivateTunnel"
	Msg_TriggerTunnel_FullMethodName            = "/band.tunnel.v1beta1.Msg/TriggerTunnel"
	Msg_DepositToTunnel_FullMethodName          = "/band.tunnel.v1beta1.Msg/DepositToTunnel"
	Msg_WithdrawFromTunnel_FullMethodName       = "/band.tunnel.v1beta1.Msg/WithdrawFromTunnel"
	Msg_UpdateParams_FullMethodName             = "/band.tunnel.v1beta1.Msg/UpdateParams"
)

Variables

View Source
var (
	TunnelStatusFilter_name = map[int32]string{
		0: "TUNNEL_STATUS_FILTER_UNSPECIFIED",
		1: "TUNNEL_STATUS_FILTER_ACTIVE",
		2: "TUNNEL_STATUS_FILTER_INACTIVE",
	}
	TunnelStatusFilter_value = map[string]int32{
		"TUNNEL_STATUS_FILTER_UNSPECIFIED": 0,
		"TUNNEL_STATUS_FILTER_ACTIVE":      1,
		"TUNNEL_STATUS_FILTER_INACTIVE":    2,
	}
)

Enum value maps for TunnelStatusFilter.

View Source
var File_band_tunnel_v1beta1_genesis_proto protoreflect.FileDescriptor
View Source
var File_band_tunnel_v1beta1_params_proto protoreflect.FileDescriptor
View Source
var File_band_tunnel_v1beta1_query_proto protoreflect.FileDescriptor
View Source
var File_band_tunnel_v1beta1_route_proto protoreflect.FileDescriptor
View Source
var File_band_tunnel_v1beta1_tunnel_proto protoreflect.FileDescriptor
View Source
var File_band_tunnel_v1beta1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "band.tunnel.v1beta1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTunnel",
			Handler:    _Msg_CreateTunnel_Handler,
		},
		{
			MethodName: "UpdateRoute",
			Handler:    _Msg_UpdateRoute_Handler,
		},
		{
			MethodName: "UpdateSignalsAndInterval",
			Handler:    _Msg_UpdateSignalsAndInterval_Handler,
		},
		{
			MethodName: "WithdrawFeePayerFunds",
			Handler:    _Msg_WithdrawFeePayerFunds_Handler,
		},
		{
			MethodName: "ActivateTunnel",
			Handler:    _Msg_ActivateTunnel_Handler,
		},
		{
			MethodName: "DeactivateTunnel",
			Handler:    _Msg_DeactivateTunnel_Handler,
		},
		{
			MethodName: "TriggerTunnel",
			Handler:    _Msg_TriggerTunnel_Handler,
		},
		{
			MethodName: "DepositToTunnel",
			Handler:    _Msg_DepositToTunnel_Handler,
		},
		{
			MethodName: "WithdrawFromTunnel",
			Handler:    _Msg_WithdrawFromTunnel_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "band/tunnel/v1beta1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "band.tunnel.v1beta1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Tunnels",
			Handler:    _Query_Tunnels_Handler,
		},
		{
			MethodName: "Tunnel",
			Handler:    _Query_Tunnel_Handler,
		},
		{
			MethodName: "Deposits",
			Handler:    _Query_Deposits_Handler,
		},
		{
			MethodName: "Deposit",
			Handler:    _Query_Deposit_Handler,
		},
		{
			MethodName: "Packets",
			Handler:    _Query_Packets_Handler,
		},
		{
			MethodName: "Packet",
			Handler:    _Query_Packet_Handler,
		},
		{
			MethodName: "TotalFees",
			Handler:    _Query_TotalFees_Handler,
		},
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "band/tunnel/v1beta1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type Deposit

type Deposit struct {

	// tunnel_id defines the unique id of the tunnel.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// depositor defines the deposit addresses from the proposals.
	Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"`
	// amount to be deposited by depositor.
	Amount []*v1beta1.Coin `protobuf:"bytes,3,rep,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

Deposit defines an amount deposited by an account address to the tunnel.

func (*Deposit) Descriptor deprecated

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

Deprecated: Use Deposit.ProtoReflect.Descriptor instead.

func (*Deposit) GetAmount

func (x *Deposit) GetAmount() []*v1beta1.Coin

func (*Deposit) GetDepositor

func (x *Deposit) GetDepositor() string

func (*Deposit) GetTunnelId

func (x *Deposit) GetTunnelId() uint64

func (*Deposit) ProtoMessage

func (*Deposit) ProtoMessage()

func (*Deposit) ProtoReflect

func (x *Deposit) ProtoReflect() protoreflect.Message

func (*Deposit) Reset

func (x *Deposit) Reset()

func (*Deposit) String

func (x *Deposit) String() string

type GenesisState

type GenesisState struct {

	// params is all parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// tunnel_count is the number of tunnels.
	TunnelCount uint64 `protobuf:"varint,2,opt,name=tunnel_count,json=tunnelCount,proto3" json:"tunnel_count,omitempty"`
	// tunnels is the list of tunnels.
	Tunnels []*Tunnel `protobuf:"bytes,3,rep,name=tunnels,proto3" json:"tunnels,omitempty"`
	// deposits is the list of deposits.
	Deposits []*Deposit `protobuf:"bytes,4,rep,name=deposits,proto3" json:"deposits,omitempty"`
	// total_fees is the type for the total fees collected by the tunnel
	TotalFees *TotalFees `protobuf:"bytes,5,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"`
	// contains filtered or unexported fields
}

GenesisState represents the initial state of the blockchain.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetDeposits

func (x *GenesisState) GetDeposits() []*Deposit

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) GetTotalFees

func (x *GenesisState) GetTotalFees() *TotalFees

func (*GenesisState) GetTunnelCount

func (x *GenesisState) GetTunnelCount() uint64

func (*GenesisState) GetTunnels

func (x *GenesisState) GetTunnels() []*Tunnel

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type IBCPacketReceipt

type IBCPacketReceipt struct {

	// sequence is representing the sequence of the IBC packet.
	Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

IBCPacketReceipt represents a receipt for a IBC packet and implements the PacketReceiptI interface.

func (*IBCPacketReceipt) Descriptor deprecated

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

Deprecated: Use IBCPacketReceipt.ProtoReflect.Descriptor instead.

func (*IBCPacketReceipt) GetSequence

func (x *IBCPacketReceipt) GetSequence() uint64

func (*IBCPacketReceipt) ProtoMessage

func (*IBCPacketReceipt) ProtoMessage()

func (*IBCPacketReceipt) ProtoReflect

func (x *IBCPacketReceipt) ProtoReflect() protoreflect.Message

func (*IBCPacketReceipt) Reset

func (x *IBCPacketReceipt) Reset()

func (*IBCPacketReceipt) String

func (x *IBCPacketReceipt) String() string

type IBCRoute

type IBCRoute struct {

	// channel_id is the IBC channel ID
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// contains filtered or unexported fields
}

IBCRoute represents a route for IBC packets and implements the RouteI interface.

func (*IBCRoute) Descriptor deprecated

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

Deprecated: Use IBCRoute.ProtoReflect.Descriptor instead.

func (*IBCRoute) GetChannelId

func (x *IBCRoute) GetChannelId() string

func (*IBCRoute) ProtoMessage

func (*IBCRoute) ProtoMessage()

func (*IBCRoute) ProtoReflect

func (x *IBCRoute) ProtoReflect() protoreflect.Message

func (*IBCRoute) Reset

func (x *IBCRoute) Reset()

func (*IBCRoute) String

func (x *IBCRoute) String() string

type LatestPrices

type LatestPrices struct {

	// tunnel_id is the tunnel ID
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// prices is the list of prices information from feeds module.
	Prices []*v1beta11.Price `protobuf:"bytes,2,rep,name=prices,proto3" json:"prices,omitempty"`
	// last_interval is the last interval when the signal prices are produced by interval trigger
	LastInterval int64 `protobuf:"varint,3,opt,name=last_interval,json=lastInterval,proto3" json:"last_interval,omitempty"`
	// contains filtered or unexported fields
}

LatestPrices is the type for prices that tunnel produces

func (*LatestPrices) Descriptor deprecated

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

Deprecated: Use LatestPrices.ProtoReflect.Descriptor instead.

func (*LatestPrices) GetLastInterval

func (x *LatestPrices) GetLastInterval() int64

func (*LatestPrices) GetPrices

func (x *LatestPrices) GetPrices() []*v1beta11.Price

func (*LatestPrices) GetTunnelId

func (x *LatestPrices) GetTunnelId() uint64

func (*LatestPrices) ProtoMessage

func (*LatestPrices) ProtoMessage()

func (*LatestPrices) ProtoReflect

func (x *LatestPrices) ProtoReflect() protoreflect.Message

func (*LatestPrices) Reset

func (x *LatestPrices) Reset()

func (*LatestPrices) String

func (x *LatestPrices) String() string

type MsgActivateTunnel

type MsgActivateTunnel struct {

	// tunnel_id is the ID of the tunnel to activate.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// creator is the address of the creator.
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

MsgActivateTunnel is the transaction message to activate a tunnel.

func (*MsgActivateTunnel) Descriptor deprecated

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

Deprecated: Use MsgActivateTunnel.ProtoReflect.Descriptor instead.

func (*MsgActivateTunnel) GetCreator

func (x *MsgActivateTunnel) GetCreator() string

func (*MsgActivateTunnel) GetTunnelId

func (x *MsgActivateTunnel) GetTunnelId() uint64

func (*MsgActivateTunnel) ProtoMessage

func (*MsgActivateTunnel) ProtoMessage()

func (*MsgActivateTunnel) ProtoReflect

func (x *MsgActivateTunnel) ProtoReflect() protoreflect.Message

func (*MsgActivateTunnel) Reset

func (x *MsgActivateTunnel) Reset()

func (*MsgActivateTunnel) String

func (x *MsgActivateTunnel) String() string

type MsgActivateTunnelResponse

type MsgActivateTunnelResponse struct {
	// contains filtered or unexported fields
}

MsgActivateTunnelResponse is the response type for the Msg/Activate RPC method.

func (*MsgActivateTunnelResponse) Descriptor deprecated

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

Deprecated: Use MsgActivateTunnelResponse.ProtoReflect.Descriptor instead.

func (*MsgActivateTunnelResponse) ProtoMessage

func (*MsgActivateTunnelResponse) ProtoMessage()

func (*MsgActivateTunnelResponse) ProtoReflect

func (*MsgActivateTunnelResponse) Reset

func (x *MsgActivateTunnelResponse) Reset()

func (*MsgActivateTunnelResponse) String

func (x *MsgActivateTunnelResponse) String() string

type MsgClient

type MsgClient interface {
	// CreateTunnel is a RPC method to create a new tunnel.
	CreateTunnel(ctx context.Context, in *MsgCreateTunnel, opts ...grpc.CallOption) (*MsgCreateTunnelResponse, error)
	// UpdateRoute is a RPC method to update a route information of the tunnel.
	UpdateRoute(ctx context.Context, in *MsgUpdateRoute, opts ...grpc.CallOption) (*MsgUpdateRouteResponse, error)
	// UpdateSignalsAndInterval is a RPC method to update a signals and interval of the tunnel.
	UpdateSignalsAndInterval(ctx context.Context, in *MsgUpdateSignalsAndInterval, opts ...grpc.CallOption) (*MsgUpdateSignalsAndIntervalResponse, error)
	// WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator.
	WithdrawFeePayerFunds(ctx context.Context, in *MsgWithdrawFeePayerFunds, opts ...grpc.CallOption) (*MsgWithdrawFeePayerFundsResponse, error)
	// ActivateTunnel is a RPC method to activate a tunnel.
	ActivateTunnel(ctx context.Context, in *MsgActivateTunnel, opts ...grpc.CallOption) (*MsgActivateTunnelResponse, error)
	// DeactivateTunnel is a RPC method to deactivate a tunnel.
	DeactivateTunnel(ctx context.Context, in *MsgDeactivateTunnel, opts ...grpc.CallOption) (*MsgDeactivateTunnelResponse, error)
	// TriggerTunnel is a RPC method to manually trigger a tunnel.
	TriggerTunnel(ctx context.Context, in *MsgTriggerTunnel, opts ...grpc.CallOption) (*MsgTriggerTunnelResponse, error)
	// DepositToTunnel is a RPC method to deposit to an existing tunnel.
	DepositToTunnel(ctx context.Context, in *MsgDepositToTunnel, opts ...grpc.CallOption) (*MsgDepositToTunnelResponse, error)
	// WithdrawFromTunnel is a RPC method to withdraw a deposit from an existing tunnel.
	WithdrawFromTunnel(ctx context.Context, in *MsgWithdrawFromTunnel, opts ...grpc.CallOption) (*MsgWithdrawFromTunnelResponse, error)
	// UpdateParams is a RPC method to update parameters
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCreateTunnel

type MsgCreateTunnel struct {

	// signal_deviations is the list of signal deviations.
	SignalDeviations []*SignalDeviation `protobuf:"bytes,1,rep,name=signal_deviations,json=signalDeviations,proto3" json:"signal_deviations,omitempty"`
	// interval is the interval for delivering the signal prices in seconds.
	Interval uint64 `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"`
	// route is the route for delivering the signal prices
	Route *anypb.Any `protobuf:"bytes,3,opt,name=route,proto3" json:"route,omitempty"`
	// initial_deposit is the deposit value that must be paid at tunnel creation.
	InitialDeposit []*v1beta1.Coin `protobuf:"bytes,4,rep,name=initial_deposit,json=initialDeposit,proto3" json:"initial_deposit,omitempty"`
	// creator is the address of the creator.
	Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateTunnel is the transaction message to create a new tunnel.

func (*MsgCreateTunnel) Descriptor deprecated

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

Deprecated: Use MsgCreateTunnel.ProtoReflect.Descriptor instead.

func (*MsgCreateTunnel) GetCreator

func (x *MsgCreateTunnel) GetCreator() string

func (*MsgCreateTunnel) GetInitialDeposit

func (x *MsgCreateTunnel) GetInitialDeposit() []*v1beta1.Coin

func (*MsgCreateTunnel) GetInterval

func (x *MsgCreateTunnel) GetInterval() uint64

func (*MsgCreateTunnel) GetRoute

func (x *MsgCreateTunnel) GetRoute() *anypb.Any

func (*MsgCreateTunnel) GetSignalDeviations

func (x *MsgCreateTunnel) GetSignalDeviations() []*SignalDeviation

func (*MsgCreateTunnel) ProtoMessage

func (*MsgCreateTunnel) ProtoMessage()

func (*MsgCreateTunnel) ProtoReflect

func (x *MsgCreateTunnel) ProtoReflect() protoreflect.Message

func (*MsgCreateTunnel) Reset

func (x *MsgCreateTunnel) Reset()

func (*MsgCreateTunnel) String

func (x *MsgCreateTunnel) String() string

type MsgCreateTunnelResponse

type MsgCreateTunnelResponse struct {
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateTunnelResponse is the response type for the Msg/CreateTunnel RPC method.

func (*MsgCreateTunnelResponse) Descriptor deprecated

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

Deprecated: Use MsgCreateTunnelResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateTunnelResponse) GetTunnelId

func (x *MsgCreateTunnelResponse) GetTunnelId() uint64

func (*MsgCreateTunnelResponse) ProtoMessage

func (*MsgCreateTunnelResponse) ProtoMessage()

func (*MsgCreateTunnelResponse) ProtoReflect

func (x *MsgCreateTunnelResponse) ProtoReflect() protoreflect.Message

func (*MsgCreateTunnelResponse) Reset

func (x *MsgCreateTunnelResponse) Reset()

func (*MsgCreateTunnelResponse) String

func (x *MsgCreateTunnelResponse) String() string

type MsgDeactivateTunnel

type MsgDeactivateTunnel struct {

	// tunnel_id is the ID of the tunnel to deactivate.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// creator is the address of the creator.
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

MsgDeactivateTunnel is the transaction message to deactivate a tunnel.

func (*MsgDeactivateTunnel) Descriptor deprecated

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

Deprecated: Use MsgDeactivateTunnel.ProtoReflect.Descriptor instead.

func (*MsgDeactivateTunnel) GetCreator

func (x *MsgDeactivateTunnel) GetCreator() string

func (*MsgDeactivateTunnel) GetTunnelId

func (x *MsgDeactivateTunnel) GetTunnelId() uint64

func (*MsgDeactivateTunnel) ProtoMessage

func (*MsgDeactivateTunnel) ProtoMessage()

func (*MsgDeactivateTunnel) ProtoReflect

func (x *MsgDeactivateTunnel) ProtoReflect() protoreflect.Message

func (*MsgDeactivateTunnel) Reset

func (x *MsgDeactivateTunnel) Reset()

func (*MsgDeactivateTunnel) String

func (x *MsgDeactivateTunnel) String() string

type MsgDeactivateTunnelResponse

type MsgDeactivateTunnelResponse struct {
	// contains filtered or unexported fields
}

MsgDeactivateTunnelResponse is the response type for the Msg/Deactivate RPC method.

func (*MsgDeactivateTunnelResponse) Descriptor deprecated

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

Deprecated: Use MsgDeactivateTunnelResponse.ProtoReflect.Descriptor instead.

func (*MsgDeactivateTunnelResponse) ProtoMessage

func (*MsgDeactivateTunnelResponse) ProtoMessage()

func (*MsgDeactivateTunnelResponse) ProtoReflect

func (*MsgDeactivateTunnelResponse) Reset

func (x *MsgDeactivateTunnelResponse) Reset()

func (*MsgDeactivateTunnelResponse) String

func (x *MsgDeactivateTunnelResponse) String() string

type MsgDepositToTunnel

type MsgDepositToTunnel struct {

	// tunnel_id defines the unique id of the tunnel.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// amount to be deposited by depositor.
	Amount []*v1beta1.Coin `protobuf:"bytes,2,rep,name=amount,proto3" json:"amount,omitempty"`
	// depositor defines the deposit addresses from the tunnel.
	Depositor string `protobuf:"bytes,3,opt,name=depositor,proto3" json:"depositor,omitempty"`
	// contains filtered or unexported fields
}

MsgDepositToTunnel defines a message to deposit to an existing tunnel.

func (*MsgDepositToTunnel) Descriptor deprecated

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

Deprecated: Use MsgDepositToTunnel.ProtoReflect.Descriptor instead.

func (*MsgDepositToTunnel) GetAmount

func (x *MsgDepositToTunnel) GetAmount() []*v1beta1.Coin

func (*MsgDepositToTunnel) GetDepositor

func (x *MsgDepositToTunnel) GetDepositor() string

func (*MsgDepositToTunnel) GetTunnelId

func (x *MsgDepositToTunnel) GetTunnelId() uint64

func (*MsgDepositToTunnel) ProtoMessage

func (*MsgDepositToTunnel) ProtoMessage()

func (*MsgDepositToTunnel) ProtoReflect

func (x *MsgDepositToTunnel) ProtoReflect() protoreflect.Message

func (*MsgDepositToTunnel) Reset

func (x *MsgDepositToTunnel) Reset()

func (*MsgDepositToTunnel) String

func (x *MsgDepositToTunnel) String() string

type MsgDepositToTunnelResponse

type MsgDepositToTunnelResponse struct {
	// contains filtered or unexported fields
}

MsgDepositToTunnelResponse defines the Msg/DepositToTunnel response type.

func (*MsgDepositToTunnelResponse) Descriptor deprecated

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

Deprecated: Use MsgDepositToTunnelResponse.ProtoReflect.Descriptor instead.

func (*MsgDepositToTunnelResponse) ProtoMessage

func (*MsgDepositToTunnelResponse) ProtoMessage()

func (*MsgDepositToTunnelResponse) ProtoReflect

func (*MsgDepositToTunnelResponse) Reset

func (x *MsgDepositToTunnelResponse) Reset()

func (*MsgDepositToTunnelResponse) String

func (x *MsgDepositToTunnelResponse) String() string

type MsgServer

type MsgServer interface {
	// CreateTunnel is a RPC method to create a new tunnel.
	CreateTunnel(context.Context, *MsgCreateTunnel) (*MsgCreateTunnelResponse, error)
	// UpdateRoute is a RPC method to update a route information of the tunnel.
	UpdateRoute(context.Context, *MsgUpdateRoute) (*MsgUpdateRouteResponse, error)
	// UpdateSignalsAndInterval is a RPC method to update a signals and interval of the tunnel.
	UpdateSignalsAndInterval(context.Context, *MsgUpdateSignalsAndInterval) (*MsgUpdateSignalsAndIntervalResponse, error)
	// WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator.
	WithdrawFeePayerFunds(context.Context, *MsgWithdrawFeePayerFunds) (*MsgWithdrawFeePayerFundsResponse, error)
	// ActivateTunnel is a RPC method to activate a tunnel.
	ActivateTunnel(context.Context, *MsgActivateTunnel) (*MsgActivateTunnelResponse, error)
	// DeactivateTunnel is a RPC method to deactivate a tunnel.
	DeactivateTunnel(context.Context, *MsgDeactivateTunnel) (*MsgDeactivateTunnelResponse, error)
	// TriggerTunnel is a RPC method to manually trigger a tunnel.
	TriggerTunnel(context.Context, *MsgTriggerTunnel) (*MsgTriggerTunnelResponse, error)
	// DepositToTunnel is a RPC method to deposit to an existing tunnel.
	DepositToTunnel(context.Context, *MsgDepositToTunnel) (*MsgDepositToTunnelResponse, error)
	// WithdrawFromTunnel is a RPC method to withdraw a deposit from an existing tunnel.
	WithdrawFromTunnel(context.Context, *MsgWithdrawFromTunnel) (*MsgWithdrawFromTunnelResponse, error)
	// UpdateParams is a RPC method to update parameters
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgTriggerTunnel

type MsgTriggerTunnel struct {

	// tunnel_id is the ID of the tunnel to manually trigger.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// creator is the address of the creator.
	Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

MsgTriggerTunnel is the transaction message to manually trigger a tunnel.

func (*MsgTriggerTunnel) Descriptor deprecated

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

Deprecated: Use MsgTriggerTunnel.ProtoReflect.Descriptor instead.

func (*MsgTriggerTunnel) GetCreator

func (x *MsgTriggerTunnel) GetCreator() string

func (*MsgTriggerTunnel) GetTunnelId

func (x *MsgTriggerTunnel) GetTunnelId() uint64

func (*MsgTriggerTunnel) ProtoMessage

func (*MsgTriggerTunnel) ProtoMessage()

func (*MsgTriggerTunnel) ProtoReflect

func (x *MsgTriggerTunnel) ProtoReflect() protoreflect.Message

func (*MsgTriggerTunnel) Reset

func (x *MsgTriggerTunnel) Reset()

func (*MsgTriggerTunnel) String

func (x *MsgTriggerTunnel) String() string

type MsgTriggerTunnelResponse

type MsgTriggerTunnelResponse struct {
	// contains filtered or unexported fields
}

MsgTriggerTunnelResponse is the response type for the Msg/TriggerTunnel RPC method.

func (*MsgTriggerTunnelResponse) Descriptor deprecated

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

Deprecated: Use MsgTriggerTunnelResponse.ProtoReflect.Descriptor instead.

func (*MsgTriggerTunnelResponse) ProtoMessage

func (*MsgTriggerTunnelResponse) ProtoMessage()

func (*MsgTriggerTunnelResponse) ProtoReflect

func (x *MsgTriggerTunnelResponse) ProtoReflect() protoreflect.Message

func (*MsgTriggerTunnelResponse) Reset

func (x *MsgTriggerTunnelResponse) Reset()

func (*MsgTriggerTunnelResponse) String

func (x *MsgTriggerTunnelResponse) String() string

type MsgUpdateParams

type MsgUpdateParams struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params is the x/tunnel parameters to update.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams is the transaction message to update parameters.

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse is the response type for the Msg/UpdateParams RPC method.

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type MsgUpdateRoute

type MsgUpdateRoute struct {

	// tunnel_id is the ID of the tunnel to edit.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// route is the route for delivering the signal prices
	Route *anypb.Any `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
	// creator is the address of the creator.
	Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateRoute is the transaction message to update a route information of the tunnel.

func (*MsgUpdateRoute) Descriptor deprecated

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

Deprecated: Use MsgUpdateRoute.ProtoReflect.Descriptor instead.

func (*MsgUpdateRoute) GetCreator

func (x *MsgUpdateRoute) GetCreator() string

func (*MsgUpdateRoute) GetRoute

func (x *MsgUpdateRoute) GetRoute() *anypb.Any

func (*MsgUpdateRoute) GetTunnelId

func (x *MsgUpdateRoute) GetTunnelId() uint64

func (*MsgUpdateRoute) ProtoMessage

func (*MsgUpdateRoute) ProtoMessage()

func (*MsgUpdateRoute) ProtoReflect

func (x *MsgUpdateRoute) ProtoReflect() protoreflect.Message

func (*MsgUpdateRoute) Reset

func (x *MsgUpdateRoute) Reset()

func (*MsgUpdateRoute) String

func (x *MsgUpdateRoute) String() string

type MsgUpdateRouteResponse

type MsgUpdateRouteResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateRouteResponse is the response type for the Msg/UpdateRoute RPC method.

func (*MsgUpdateRouteResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateRouteResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateRouteResponse) ProtoMessage

func (*MsgUpdateRouteResponse) ProtoMessage()

func (*MsgUpdateRouteResponse) ProtoReflect

func (x *MsgUpdateRouteResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateRouteResponse) Reset

func (x *MsgUpdateRouteResponse) Reset()

func (*MsgUpdateRouteResponse) String

func (x *MsgUpdateRouteResponse) String() string

type MsgUpdateSignalsAndInterval

type MsgUpdateSignalsAndInterval struct {

	// tunnel_id is the ID of the tunnel to edit.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// signal_deviations is the list of signal deviations.
	SignalDeviations []*SignalDeviation `protobuf:"bytes,2,rep,name=signal_deviations,json=signalDeviations,proto3" json:"signal_deviations,omitempty"`
	// interval is the interval for delivering the signal prices.
	Interval uint64 `protobuf:"varint,3,opt,name=interval,proto3" json:"interval,omitempty"`
	// creator is the address of the creator.
	Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateSignalsAndInterval is the transaction message to update signals and interval of the tunnel.

func (*MsgUpdateSignalsAndInterval) Descriptor deprecated

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

Deprecated: Use MsgUpdateSignalsAndInterval.ProtoReflect.Descriptor instead.

func (*MsgUpdateSignalsAndInterval) GetCreator

func (x *MsgUpdateSignalsAndInterval) GetCreator() string

func (*MsgUpdateSignalsAndInterval) GetInterval

func (x *MsgUpdateSignalsAndInterval) GetInterval() uint64

func (*MsgUpdateSignalsAndInterval) GetSignalDeviations

func (x *MsgUpdateSignalsAndInterval) GetSignalDeviations() []*SignalDeviation

func (*MsgUpdateSignalsAndInterval) GetTunnelId

func (x *MsgUpdateSignalsAndInterval) GetTunnelId() uint64

func (*MsgUpdateSignalsAndInterval) ProtoMessage

func (*MsgUpdateSignalsAndInterval) ProtoMessage()

func (*MsgUpdateSignalsAndInterval) ProtoReflect

func (*MsgUpdateSignalsAndInterval) Reset

func (x *MsgUpdateSignalsAndInterval) Reset()

func (*MsgUpdateSignalsAndInterval) String

func (x *MsgUpdateSignalsAndInterval) String() string

type MsgUpdateSignalsAndIntervalResponse

type MsgUpdateSignalsAndIntervalResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateSignalsAndIntervalResponse is the response type for the Msg/UpdateSignalsAndInterval RPC method.

func (*MsgUpdateSignalsAndIntervalResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateSignalsAndIntervalResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateSignalsAndIntervalResponse) ProtoMessage

func (*MsgUpdateSignalsAndIntervalResponse) ProtoMessage()

func (*MsgUpdateSignalsAndIntervalResponse) ProtoReflect

func (*MsgUpdateSignalsAndIntervalResponse) Reset

func (*MsgUpdateSignalsAndIntervalResponse) String

type MsgWithdrawFeePayerFunds

type MsgWithdrawFeePayerFunds struct {

	// tunnel_id is the ID of the tunnel to withdraw fee payer coins.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// amount is the coins to withdraw.
	Amount []*v1beta1.Coin `protobuf:"bytes,2,rep,name=amount,proto3" json:"amount,omitempty"`
	// creator is the address of the creator.
	Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawFeePayerFunds is the transaction message to withdraw fee payer funds to creator.

func (*MsgWithdrawFeePayerFunds) Descriptor deprecated

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

Deprecated: Use MsgWithdrawFeePayerFunds.ProtoReflect.Descriptor instead.

func (*MsgWithdrawFeePayerFunds) GetAmount

func (x *MsgWithdrawFeePayerFunds) GetAmount() []*v1beta1.Coin

func (*MsgWithdrawFeePayerFunds) GetCreator

func (x *MsgWithdrawFeePayerFunds) GetCreator() string

func (*MsgWithdrawFeePayerFunds) GetTunnelId

func (x *MsgWithdrawFeePayerFunds) GetTunnelId() uint64

func (*MsgWithdrawFeePayerFunds) ProtoMessage

func (*MsgWithdrawFeePayerFunds) ProtoMessage()

func (*MsgWithdrawFeePayerFunds) ProtoReflect

func (x *MsgWithdrawFeePayerFunds) ProtoReflect() protoreflect.Message

func (*MsgWithdrawFeePayerFunds) Reset

func (x *MsgWithdrawFeePayerFunds) Reset()

func (*MsgWithdrawFeePayerFunds) String

func (x *MsgWithdrawFeePayerFunds) String() string

type MsgWithdrawFeePayerFundsResponse

type MsgWithdrawFeePayerFundsResponse struct {
	// contains filtered or unexported fields
}

MsgWithdrawFeePayerFundsResponse is the response type for the Msg/WithdrawFeePayerFunds RPC method.

func (*MsgWithdrawFeePayerFundsResponse) Descriptor deprecated

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

Deprecated: Use MsgWithdrawFeePayerFundsResponse.ProtoReflect.Descriptor instead.

func (*MsgWithdrawFeePayerFundsResponse) ProtoMessage

func (*MsgWithdrawFeePayerFundsResponse) ProtoMessage()

func (*MsgWithdrawFeePayerFundsResponse) ProtoReflect

func (*MsgWithdrawFeePayerFundsResponse) Reset

func (*MsgWithdrawFeePayerFundsResponse) String

type MsgWithdrawFromTunnel

type MsgWithdrawFromTunnel struct {

	// tunnel_id defines the unique id of the tunnel.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// amount to be withdrawn by withdrawer.
	Amount []*v1beta1.Coin `protobuf:"bytes,2,rep,name=amount,proto3" json:"amount,omitempty"`
	// withdrawer defines the withdraw addresses from the tunnel.
	Withdrawer string `protobuf:"bytes,3,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"`
	// contains filtered or unexported fields
}

MsgWithdrawFromTunnel is the transaction message to withdraw a deposit from an existing tunnel.

func (*MsgWithdrawFromTunnel) Descriptor deprecated

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

Deprecated: Use MsgWithdrawFromTunnel.ProtoReflect.Descriptor instead.

func (*MsgWithdrawFromTunnel) GetAmount

func (x *MsgWithdrawFromTunnel) GetAmount() []*v1beta1.Coin

func (*MsgWithdrawFromTunnel) GetTunnelId

func (x *MsgWithdrawFromTunnel) GetTunnelId() uint64

func (*MsgWithdrawFromTunnel) GetWithdrawer

func (x *MsgWithdrawFromTunnel) GetWithdrawer() string

func (*MsgWithdrawFromTunnel) ProtoMessage

func (*MsgWithdrawFromTunnel) ProtoMessage()

func (*MsgWithdrawFromTunnel) ProtoReflect

func (x *MsgWithdrawFromTunnel) ProtoReflect() protoreflect.Message

func (*MsgWithdrawFromTunnel) Reset

func (x *MsgWithdrawFromTunnel) Reset()

func (*MsgWithdrawFromTunnel) String

func (x *MsgWithdrawFromTunnel) String() string

type MsgWithdrawFromTunnelResponse

type MsgWithdrawFromTunnelResponse struct {
	// contains filtered or unexported fields
}

MsgWithdrawFromTunnelResponse defines the Msg/WithdrawFromTunnel response type.

func (*MsgWithdrawFromTunnelResponse) Descriptor deprecated

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

Deprecated: Use MsgWithdrawFromTunnelResponse.ProtoReflect.Descriptor instead.

func (*MsgWithdrawFromTunnelResponse) ProtoMessage

func (*MsgWithdrawFromTunnelResponse) ProtoMessage()

func (*MsgWithdrawFromTunnelResponse) ProtoReflect

func (*MsgWithdrawFromTunnelResponse) Reset

func (x *MsgWithdrawFromTunnelResponse) Reset()

func (*MsgWithdrawFromTunnelResponse) String

type Packet

type Packet struct {

	// tunnel_id is the tunnel ID
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// sequence is representing the sequence of the tunnel packet.
	Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// prices is the list of prices information from feeds module.
	Prices []*v1beta11.Price `protobuf:"bytes,3,rep,name=prices,proto3" json:"prices,omitempty"`
	// receipt represents the confirmation of the packet delivery to the destination via the specified route.
	Receipt *anypb.Any `protobuf:"bytes,4,opt,name=receipt,proto3" json:"receipt,omitempty"`
	// created_at is the timestamp when the packet is created
	CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

Packet is the packet that tunnel produces

func (*Packet) Descriptor deprecated

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

Deprecated: Use Packet.ProtoReflect.Descriptor instead.

func (*Packet) GetCreatedAt

func (x *Packet) GetCreatedAt() int64

func (*Packet) GetPrices

func (x *Packet) GetPrices() []*v1beta11.Price

func (*Packet) GetReceipt

func (x *Packet) GetReceipt() *anypb.Any

func (*Packet) GetSequence

func (x *Packet) GetSequence() uint64

func (*Packet) GetTunnelId

func (x *Packet) GetTunnelId() uint64

func (*Packet) ProtoMessage

func (*Packet) ProtoMessage()

func (*Packet) ProtoReflect

func (x *Packet) ProtoReflect() protoreflect.Message

func (*Packet) Reset

func (x *Packet) Reset()

func (*Packet) String

func (x *Packet) String() string

type Params

type Params struct {

	// min_deposit is the minimum deposit required to create a tunnel.
	MinDeposit []*v1beta1.Coin `protobuf:"bytes,1,rep,name=min_deposit,json=minDeposit,proto3" json:"min_deposit,omitempty"`
	// min_interval is the minimum interval in seconds.
	MinInterval uint64 `protobuf:"varint,2,opt,name=min_interval,json=minInterval,proto3" json:"min_interval,omitempty"`
	// max_interval is the maximum interval in seconds.
	MaxInterval uint64 `protobuf:"varint,3,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
	// min_deviation_bps is the minimum deviation in basis points.
	MinDeviationBps uint64 `protobuf:"varint,4,opt,name=min_deviation_bps,json=minDeviationBps,proto3" json:"min_deviation_bps,omitempty"`
	// max_deviation_bps is the maximum deviation in basis points.
	MaxDeviationBps uint64 `protobuf:"varint,5,opt,name=max_deviation_bps,json=maxDeviationBps,proto3" json:"max_deviation_bps,omitempty"`
	// max_signals defines the maximum number of signals allowed per tunnel.
	MaxSignals uint64 `protobuf:"varint,6,opt,name=max_signals,json=maxSignals,proto3" json:"max_signals,omitempty"`
	// base_packet_fee is the base fee for each packet.
	BasePacketFee []*v1beta1.Coin `protobuf:"bytes,7,rep,name=base_packet_fee,json=basePacketFee,proto3" json:"base_packet_fee,omitempty"`
	// contains filtered or unexported fields
}

Params is the data structure that keeps the parameters of the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetBasePacketFee

func (x *Params) GetBasePacketFee() []*v1beta1.Coin

func (*Params) GetMaxDeviationBps

func (x *Params) GetMaxDeviationBps() uint64

func (*Params) GetMaxInterval

func (x *Params) GetMaxInterval() uint64

func (*Params) GetMaxSignals

func (x *Params) GetMaxSignals() uint64

func (*Params) GetMinDeposit

func (x *Params) GetMinDeposit() []*v1beta1.Coin

func (*Params) GetMinDeviationBps

func (x *Params) GetMinDeviationBps() uint64

func (*Params) GetMinInterval

func (x *Params) GetMinInterval() uint64

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryClient

type QueryClient interface {
	// Tunnels is a RPC method that returns all tunnels.
	Tunnels(ctx context.Context, in *QueryTunnelsRequest, opts ...grpc.CallOption) (*QueryTunnelsResponse, error)
	// Tunnel is a RPC method that returns a tunnel by its ID.
	Tunnel(ctx context.Context, in *QueryTunnelRequest, opts ...grpc.CallOption) (*QueryTunnelResponse, error)
	// Deposits queries all deposits of a single tunnel.
	Deposits(ctx context.Context, in *QueryDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error)
	// Deposit queries single deposit information based tunnelID, depositAddr.
	Deposit(ctx context.Context, in *QueryDepositRequest, opts ...grpc.CallOption) (*QueryDepositResponse, error)
	// Packets is a RPC method that returns all packets of a tunnel.
	Packets(ctx context.Context, in *QueryPacketsRequest, opts ...grpc.CallOption) (*QueryPacketsResponse, error)
	// Packet is a RPC method that returns a packet by its tunnel ID and sequence.
	Packet(ctx context.Context, in *QueryPacketRequest, opts ...grpc.CallOption) (*QueryPacketResponse, error)
	// TotalFees is a RPC method that returns the total fees collected by the tunnel
	TotalFees(ctx context.Context, in *QueryTotalFeesRequest, opts ...grpc.CallOption) (*QueryTotalFeesResponse, error)
	// Params is a RPC method that returns all parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryDepositRequest

type QueryDepositRequest struct {

	// tunnel_id is the ID of the tunnel to query.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// depositor is the address of the depositor to query.
	Depositor string `protobuf:"bytes,2,opt,name=depositor,proto3" json:"depositor,omitempty"`
	// contains filtered or unexported fields
}

QueryDepositRequest is the request type for the Query/Deposit RPC method.

func (*QueryDepositRequest) Descriptor deprecated

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

Deprecated: Use QueryDepositRequest.ProtoReflect.Descriptor instead.

func (*QueryDepositRequest) GetDepositor

func (x *QueryDepositRequest) GetDepositor() string

func (*QueryDepositRequest) GetTunnelId

func (x *QueryDepositRequest) GetTunnelId() uint64

func (*QueryDepositRequest) ProtoMessage

func (*QueryDepositRequest) ProtoMessage()

func (*QueryDepositRequest) ProtoReflect

func (x *QueryDepositRequest) ProtoReflect() protoreflect.Message

func (*QueryDepositRequest) Reset

func (x *QueryDepositRequest) Reset()

func (*QueryDepositRequest) String

func (x *QueryDepositRequest) String() string

type QueryDepositResponse

type QueryDepositResponse struct {

	// deposit is the deposit with the given tunnel ID and depositor address.
	Deposit *Deposit `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit,omitempty"`
	// contains filtered or unexported fields
}

QueryDepositResponse is the response type for the Query/Deposit RPC method.

func (*QueryDepositResponse) Descriptor deprecated

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

Deprecated: Use QueryDepositResponse.ProtoReflect.Descriptor instead.

func (*QueryDepositResponse) GetDeposit

func (x *QueryDepositResponse) GetDeposit() *Deposit

func (*QueryDepositResponse) ProtoMessage

func (*QueryDepositResponse) ProtoMessage()

func (*QueryDepositResponse) ProtoReflect

func (x *QueryDepositResponse) ProtoReflect() protoreflect.Message

func (*QueryDepositResponse) Reset

func (x *QueryDepositResponse) Reset()

func (*QueryDepositResponse) String

func (x *QueryDepositResponse) String() string

type QueryDepositsRequest

type QueryDepositsRequest struct {

	// tunnel_id is the ID of the tunnel to query deposits.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryDepositsRequest is the request type for the Query/Deposits RPC method.

func (*QueryDepositsRequest) Descriptor deprecated

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

Deprecated: Use QueryDepositsRequest.ProtoReflect.Descriptor instead.

func (*QueryDepositsRequest) GetPagination

func (x *QueryDepositsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryDepositsRequest) GetTunnelId

func (x *QueryDepositsRequest) GetTunnelId() uint64

func (*QueryDepositsRequest) ProtoMessage

func (*QueryDepositsRequest) ProtoMessage()

func (*QueryDepositsRequest) ProtoReflect

func (x *QueryDepositsRequest) ProtoReflect() protoreflect.Message

func (*QueryDepositsRequest) Reset

func (x *QueryDepositsRequest) Reset()

func (*QueryDepositsRequest) String

func (x *QueryDepositsRequest) String() string

type QueryDepositsResponse

type QueryDepositsResponse struct {

	// deposits is a list of deposits.
	Deposits []*Deposit `protobuf:"bytes,1,rep,name=deposits,proto3" json:"deposits,omitempty"`
	// pagination defines an optional pagination for the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryDepositsResponse is the response type for the Query/Deposits RPC method.

func (*QueryDepositsResponse) Descriptor deprecated

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

Deprecated: Use QueryDepositsResponse.ProtoReflect.Descriptor instead.

func (*QueryDepositsResponse) GetDeposits

func (x *QueryDepositsResponse) GetDeposits() []*Deposit

func (*QueryDepositsResponse) GetPagination

func (x *QueryDepositsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryDepositsResponse) ProtoMessage

func (*QueryDepositsResponse) ProtoMessage()

func (*QueryDepositsResponse) ProtoReflect

func (x *QueryDepositsResponse) ProtoReflect() protoreflect.Message

func (*QueryDepositsResponse) Reset

func (x *QueryDepositsResponse) Reset()

func (*QueryDepositsResponse) String

func (x *QueryDepositsResponse) String() string

type QueryPacketRequest

type QueryPacketRequest struct {

	// tunnel_id is the ID of the tunnel to query packets.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// sequence is the sequence of the packet to query.
	Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

QueryPacketRequest is the request type for the Query/Packet RPC method.

func (*QueryPacketRequest) Descriptor deprecated

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

Deprecated: Use QueryPacketRequest.ProtoReflect.Descriptor instead.

func (*QueryPacketRequest) GetSequence

func (x *QueryPacketRequest) GetSequence() uint64

func (*QueryPacketRequest) GetTunnelId

func (x *QueryPacketRequest) GetTunnelId() uint64

func (*QueryPacketRequest) ProtoMessage

func (*QueryPacketRequest) ProtoMessage()

func (*QueryPacketRequest) ProtoReflect

func (x *QueryPacketRequest) ProtoReflect() protoreflect.Message

func (*QueryPacketRequest) Reset

func (x *QueryPacketRequest) Reset()

func (*QueryPacketRequest) String

func (x *QueryPacketRequest) String() string

type QueryPacketResponse

type QueryPacketResponse struct {

	// packet is the packet with the given tunnel ID and sequence.
	Packet *Packet `protobuf:"bytes,1,opt,name=packet,proto3" json:"packet,omitempty"`
	// contains filtered or unexported fields
}

QueryPacketResponse is the response type for the Query/Packet RPC method.

func (*QueryPacketResponse) Descriptor deprecated

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

Deprecated: Use QueryPacketResponse.ProtoReflect.Descriptor instead.

func (*QueryPacketResponse) GetPacket

func (x *QueryPacketResponse) GetPacket() *Packet

func (*QueryPacketResponse) ProtoMessage

func (*QueryPacketResponse) ProtoMessage()

func (*QueryPacketResponse) ProtoReflect

func (x *QueryPacketResponse) ProtoReflect() protoreflect.Message

func (*QueryPacketResponse) Reset

func (x *QueryPacketResponse) Reset()

func (*QueryPacketResponse) String

func (x *QueryPacketResponse) String() string

type QueryPacketsRequest

type QueryPacketsRequest struct {

	// tunnel_id is the ID of the tunnel to query packets.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryPacketsRequest is the request type for the Query/Packets RPC method.

func (*QueryPacketsRequest) Descriptor deprecated

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

Deprecated: Use QueryPacketsRequest.ProtoReflect.Descriptor instead.

func (*QueryPacketsRequest) GetPagination

func (x *QueryPacketsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryPacketsRequest) GetTunnelId

func (x *QueryPacketsRequest) GetTunnelId() uint64

func (*QueryPacketsRequest) ProtoMessage

func (*QueryPacketsRequest) ProtoMessage()

func (*QueryPacketsRequest) ProtoReflect

func (x *QueryPacketsRequest) ProtoReflect() protoreflect.Message

func (*QueryPacketsRequest) Reset

func (x *QueryPacketsRequest) Reset()

func (*QueryPacketsRequest) String

func (x *QueryPacketsRequest) String() string

type QueryPacketsResponse

type QueryPacketsResponse struct {

	// packets is a list of packets.
	Packets []*Packet `protobuf:"bytes,1,rep,name=packets,proto3" json:"packets,omitempty"`
	// pagination defines an optional pagination for the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryPacketsResponse is the response type for the Query/Packets RPC method.

func (*QueryPacketsResponse) Descriptor deprecated

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

Deprecated: Use QueryPacketsResponse.ProtoReflect.Descriptor instead.

func (*QueryPacketsResponse) GetPackets

func (x *QueryPacketsResponse) GetPackets() []*Packet

func (*QueryPacketsResponse) GetPagination

func (x *QueryPacketsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryPacketsResponse) ProtoMessage

func (*QueryPacketsResponse) ProtoMessage()

func (*QueryPacketsResponse) ProtoReflect

func (x *QueryPacketsResponse) ProtoReflect() protoreflect.Message

func (*QueryPacketsResponse) Reset

func (x *QueryPacketsResponse) Reset()

func (*QueryPacketsResponse) String

func (x *QueryPacketsResponse) String() string

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params is the parameters of the module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Tunnels is a RPC method that returns all tunnels.
	Tunnels(context.Context, *QueryTunnelsRequest) (*QueryTunnelsResponse, error)
	// Tunnel is a RPC method that returns a tunnel by its ID.
	Tunnel(context.Context, *QueryTunnelRequest) (*QueryTunnelResponse, error)
	// Deposits queries all deposits of a single tunnel.
	Deposits(context.Context, *QueryDepositsRequest) (*QueryDepositsResponse, error)
	// Deposit queries single deposit information based tunnelID, depositAddr.
	Deposit(context.Context, *QueryDepositRequest) (*QueryDepositResponse, error)
	// Packets is a RPC method that returns all packets of a tunnel.
	Packets(context.Context, *QueryPacketsRequest) (*QueryPacketsResponse, error)
	// Packet is a RPC method that returns a packet by its tunnel ID and sequence.
	Packet(context.Context, *QueryPacketRequest) (*QueryPacketResponse, error)
	// TotalFees is a RPC method that returns the total fees collected by the tunnel
	TotalFees(context.Context, *QueryTotalFeesRequest) (*QueryTotalFeesResponse, error)
	// Params is a RPC method that returns all parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QueryTotalFeesRequest

type QueryTotalFeesRequest struct {
	// contains filtered or unexported fields
}

QueryTotalFeesRequest is the request type for the Query/TotalFees RPC method.

func (*QueryTotalFeesRequest) Descriptor deprecated

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

Deprecated: Use QueryTotalFeesRequest.ProtoReflect.Descriptor instead.

func (*QueryTotalFeesRequest) ProtoMessage

func (*QueryTotalFeesRequest) ProtoMessage()

func (*QueryTotalFeesRequest) ProtoReflect

func (x *QueryTotalFeesRequest) ProtoReflect() protoreflect.Message

func (*QueryTotalFeesRequest) Reset

func (x *QueryTotalFeesRequest) Reset()

func (*QueryTotalFeesRequest) String

func (x *QueryTotalFeesRequest) String() string

type QueryTotalFeesResponse

type QueryTotalFeesResponse struct {

	// total_fees is the total fees collected by the tunnel.
	TotalFees *TotalFees `protobuf:"bytes,1,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"`
	// contains filtered or unexported fields
}

QueryTotalFeesResponse is the response type for the Query/TotalFees RPC method.

func (*QueryTotalFeesResponse) Descriptor deprecated

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

Deprecated: Use QueryTotalFeesResponse.ProtoReflect.Descriptor instead.

func (*QueryTotalFeesResponse) GetTotalFees

func (x *QueryTotalFeesResponse) GetTotalFees() *TotalFees

func (*QueryTotalFeesResponse) ProtoMessage

func (*QueryTotalFeesResponse) ProtoMessage()

func (*QueryTotalFeesResponse) ProtoReflect

func (x *QueryTotalFeesResponse) ProtoReflect() protoreflect.Message

func (*QueryTotalFeesResponse) Reset

func (x *QueryTotalFeesResponse) Reset()

func (*QueryTotalFeesResponse) String

func (x *QueryTotalFeesResponse) String() string

type QueryTunnelRequest

type QueryTunnelRequest struct {

	// tunnel_id is the ID of the tunnel to query.
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// contains filtered or unexported fields
}

QueryTunnelRequest is the request type for the Query/Tunnel RPC method.

func (*QueryTunnelRequest) Descriptor deprecated

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

Deprecated: Use QueryTunnelRequest.ProtoReflect.Descriptor instead.

func (*QueryTunnelRequest) GetTunnelId

func (x *QueryTunnelRequest) GetTunnelId() uint64

func (*QueryTunnelRequest) ProtoMessage

func (*QueryTunnelRequest) ProtoMessage()

func (*QueryTunnelRequest) ProtoReflect

func (x *QueryTunnelRequest) ProtoReflect() protoreflect.Message

func (*QueryTunnelRequest) Reset

func (x *QueryTunnelRequest) Reset()

func (*QueryTunnelRequest) String

func (x *QueryTunnelRequest) String() string

type QueryTunnelResponse

type QueryTunnelResponse struct {

	// tunnel is the tunnel with the given ID.
	Tunnel *Tunnel `protobuf:"bytes,1,opt,name=tunnel,proto3" json:"tunnel,omitempty"`
	// contains filtered or unexported fields
}

QueryTunnelResponse is the response type for the Query/Tunnel RPC method.

func (*QueryTunnelResponse) Descriptor deprecated

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

Deprecated: Use QueryTunnelResponse.ProtoReflect.Descriptor instead.

func (*QueryTunnelResponse) GetTunnel

func (x *QueryTunnelResponse) GetTunnel() *Tunnel

func (*QueryTunnelResponse) ProtoMessage

func (*QueryTunnelResponse) ProtoMessage()

func (*QueryTunnelResponse) ProtoReflect

func (x *QueryTunnelResponse) ProtoReflect() protoreflect.Message

func (*QueryTunnelResponse) Reset

func (x *QueryTunnelResponse) Reset()

func (*QueryTunnelResponse) String

func (x *QueryTunnelResponse) String() string

type QueryTunnelsRequest

type QueryTunnelsRequest struct {

	// status_filter is a flag to filter tunnels by status.
	StatusFilter TunnelStatusFilter `` /* 142-byte string literal not displayed */
	// pagination defines an optional pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryTunnelsRequest is the request type for the Query/Tunnels RPC method.

func (*QueryTunnelsRequest) Descriptor deprecated

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

Deprecated: Use QueryTunnelsRequest.ProtoReflect.Descriptor instead.

func (*QueryTunnelsRequest) GetPagination

func (x *QueryTunnelsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryTunnelsRequest) GetStatusFilter

func (x *QueryTunnelsRequest) GetStatusFilter() TunnelStatusFilter

func (*QueryTunnelsRequest) ProtoMessage

func (*QueryTunnelsRequest) ProtoMessage()

func (*QueryTunnelsRequest) ProtoReflect

func (x *QueryTunnelsRequest) ProtoReflect() protoreflect.Message

func (*QueryTunnelsRequest) Reset

func (x *QueryTunnelsRequest) Reset()

func (*QueryTunnelsRequest) String

func (x *QueryTunnelsRequest) String() string

type QueryTunnelsResponse

type QueryTunnelsResponse struct {

	// Tunnels is a list of tunnels.
	Tunnels []*Tunnel `protobuf:"bytes,1,rep,name=tunnels,proto3" json:"tunnels,omitempty"`
	// pagination defines an optional pagination for the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryTunnelsResponse is the response type for the Query/Tunnels RPC method.

func (*QueryTunnelsResponse) Descriptor deprecated

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

Deprecated: Use QueryTunnelsResponse.ProtoReflect.Descriptor instead.

func (*QueryTunnelsResponse) GetPagination

func (x *QueryTunnelsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryTunnelsResponse) GetTunnels

func (x *QueryTunnelsResponse) GetTunnels() []*Tunnel

func (*QueryTunnelsResponse) ProtoMessage

func (*QueryTunnelsResponse) ProtoMessage()

func (*QueryTunnelsResponse) ProtoReflect

func (x *QueryTunnelsResponse) ProtoReflect() protoreflect.Message

func (*QueryTunnelsResponse) Reset

func (x *QueryTunnelsResponse) Reset()

func (*QueryTunnelsResponse) String

func (x *QueryTunnelsResponse) String() string

type SignalDeviation

type SignalDeviation struct {

	// signal_id is the signal ID
	SignalId string `protobuf:"bytes,1,opt,name=signal_id,json=signalId,proto3" json:"signal_id,omitempty"`
	// soft_deviation_bps is the soft deviation in basis points
	SoftDeviationBps uint64 `protobuf:"varint,2,opt,name=soft_deviation_bps,json=softDeviationBps,proto3" json:"soft_deviation_bps,omitempty"`
	// hard_deviation_bps is the hard deviation in basis points
	HardDeviationBps uint64 `protobuf:"varint,3,opt,name=hard_deviation_bps,json=hardDeviationBps,proto3" json:"hard_deviation_bps,omitempty"`
	// contains filtered or unexported fields
}

SignalDeviation is the type for a signal with soft and hard deviation

func (*SignalDeviation) Descriptor deprecated

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

Deprecated: Use SignalDeviation.ProtoReflect.Descriptor instead.

func (*SignalDeviation) GetHardDeviationBps

func (x *SignalDeviation) GetHardDeviationBps() uint64

func (*SignalDeviation) GetSignalId

func (x *SignalDeviation) GetSignalId() string

func (*SignalDeviation) GetSoftDeviationBps

func (x *SignalDeviation) GetSoftDeviationBps() uint64

func (*SignalDeviation) ProtoMessage

func (*SignalDeviation) ProtoMessage()

func (*SignalDeviation) ProtoReflect

func (x *SignalDeviation) ProtoReflect() protoreflect.Message

func (*SignalDeviation) Reset

func (x *SignalDeviation) Reset()

func (*SignalDeviation) String

func (x *SignalDeviation) String() string

type TSSPacketReceipt

type TSSPacketReceipt struct {

	// signing_id is the signing ID
	SigningId uint64 `protobuf:"varint,1,opt,name=signing_id,json=signingId,proto3" json:"signing_id,omitempty"`
	// contains filtered or unexported fields
}

TSSPacketReceipt represents a receipt for a TSS packet and implements the PacketReceiptI interface.

func (*TSSPacketReceipt) Descriptor deprecated

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

Deprecated: Use TSSPacketReceipt.ProtoReflect.Descriptor instead.

func (*TSSPacketReceipt) GetSigningId

func (x *TSSPacketReceipt) GetSigningId() uint64

func (*TSSPacketReceipt) ProtoMessage

func (*TSSPacketReceipt) ProtoMessage()

func (*TSSPacketReceipt) ProtoReflect

func (x *TSSPacketReceipt) ProtoReflect() protoreflect.Message

func (*TSSPacketReceipt) Reset

func (x *TSSPacketReceipt) Reset()

func (*TSSPacketReceipt) String

func (x *TSSPacketReceipt) String() string

type TSSRoute

type TSSRoute struct {

	// destination_chain_id is the destination chain ID
	DestinationChainId string `protobuf:"bytes,1,opt,name=destination_chain_id,json=destinationChainId,proto3" json:"destination_chain_id,omitempty"`
	// destination_contract_address is the destination contract address
	DestinationContractAddress string `` /* 141-byte string literal not displayed */
	// encoder is the mode of encoding packet data.
	Encoder v1beta1.Encoder `protobuf:"varint,3,opt,name=encoder,proto3,enum=band.feeds.v1beta1.Encoder" json:"encoder,omitempty"`
	// contains filtered or unexported fields
}

TSSRoute represents a route for TSS packets and implements the RouteI interface.

func (*TSSRoute) Descriptor deprecated

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

Deprecated: Use TSSRoute.ProtoReflect.Descriptor instead.

func (*TSSRoute) GetDestinationChainId

func (x *TSSRoute) GetDestinationChainId() string

func (*TSSRoute) GetDestinationContractAddress

func (x *TSSRoute) GetDestinationContractAddress() string

func (*TSSRoute) GetEncoder

func (x *TSSRoute) GetEncoder() v1beta1.Encoder

func (*TSSRoute) ProtoMessage

func (*TSSRoute) ProtoMessage()

func (*TSSRoute) ProtoReflect

func (x *TSSRoute) ProtoReflect() protoreflect.Message

func (*TSSRoute) Reset

func (x *TSSRoute) Reset()

func (*TSSRoute) String

func (x *TSSRoute) String() string

type TotalFees

type TotalFees struct {

	// total_base_packet_fee is the total base packet fee collected by the tunnel
	TotalBasePacketFee []*v1beta1.Coin `protobuf:"bytes,1,rep,name=total_base_packet_fee,json=totalBasePacketFee,proto3" json:"total_base_packet_fee,omitempty"`
	// contains filtered or unexported fields
}

TotalFees is the type for the total fees collected by the tunnel

func (*TotalFees) Descriptor deprecated

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

Deprecated: Use TotalFees.ProtoReflect.Descriptor instead.

func (*TotalFees) GetTotalBasePacketFee

func (x *TotalFees) GetTotalBasePacketFee() []*v1beta1.Coin

func (*TotalFees) ProtoMessage

func (*TotalFees) ProtoMessage()

func (*TotalFees) ProtoReflect

func (x *TotalFees) ProtoReflect() protoreflect.Message

func (*TotalFees) Reset

func (x *TotalFees) Reset()

func (*TotalFees) String

func (x *TotalFees) String() string

type Tunnel

type Tunnel struct {

	// id is the tunnel ID
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// sequence is representing the sequence of the tunnel packet.
	Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// route is the route for delivering the signal prices
	Route *anypb.Any `protobuf:"bytes,3,opt,name=route,proto3" json:"route,omitempty"`
	// fee_payer is the address of the fee payer
	FeePayer string `protobuf:"bytes,4,opt,name=fee_payer,json=feePayer,proto3" json:"fee_payer,omitempty"`
	// signal_deviations is the list of signal deviations
	SignalDeviations []*SignalDeviation `protobuf:"bytes,5,rep,name=signal_deviations,json=signalDeviations,proto3" json:"signal_deviations,omitempty"`
	// interval is the interval for delivering the signal prices
	Interval uint64 `protobuf:"varint,6,opt,name=interval,proto3" json:"interval,omitempty"`
	// total_deposit is the total deposit on the tunnel.
	TotalDeposit []*v1beta1.Coin `protobuf:"bytes,7,rep,name=total_deposit,json=totalDeposit,proto3" json:"total_deposit,omitempty"`
	// is_active is the flag to indicate if the tunnel is active
	IsActive bool `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	// created_at is the timestamp when the tunnel is created
	CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// creator is the address of the creator
	Creator string `protobuf:"bytes,10,opt,name=creator,proto3" json:"creator,omitempty"`
	// contains filtered or unexported fields
}

Tunnel contains the information of the tunnel that is created by the user

func (*Tunnel) Descriptor deprecated

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

Deprecated: Use Tunnel.ProtoReflect.Descriptor instead.

func (*Tunnel) GetCreatedAt

func (x *Tunnel) GetCreatedAt() int64

func (*Tunnel) GetCreator

func (x *Tunnel) GetCreator() string

func (*Tunnel) GetFeePayer

func (x *Tunnel) GetFeePayer() string

func (*Tunnel) GetId

func (x *Tunnel) GetId() uint64

func (*Tunnel) GetInterval

func (x *Tunnel) GetInterval() uint64

func (*Tunnel) GetIsActive

func (x *Tunnel) GetIsActive() bool

func (*Tunnel) GetRoute

func (x *Tunnel) GetRoute() *anypb.Any

func (*Tunnel) GetSequence

func (x *Tunnel) GetSequence() uint64

func (*Tunnel) GetSignalDeviations

func (x *Tunnel) GetSignalDeviations() []*SignalDeviation

func (*Tunnel) GetTotalDeposit

func (x *Tunnel) GetTotalDeposit() []*v1beta1.Coin

func (*Tunnel) ProtoMessage

func (*Tunnel) ProtoMessage()

func (*Tunnel) ProtoReflect

func (x *Tunnel) ProtoReflect() protoreflect.Message

func (*Tunnel) Reset

func (x *Tunnel) Reset()

func (*Tunnel) String

func (x *Tunnel) String() string

type TunnelPricesPacketData

type TunnelPricesPacketData struct {

	// tunnel_id is the tunnel ID
	TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"`
	// sequence is representing the sequence of the tunnel packet.
	Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// prices is the list of prices information from feeds module.
	Prices []*v1beta1.Price `protobuf:"bytes,3,rep,name=prices,proto3" json:"prices,omitempty"`
	// created_at is the timestamp when the packet is created
	CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

TunnelPricesPacketData represents the IBC packet payload for the tunnel packet.

func (*TunnelPricesPacketData) Descriptor deprecated

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

Deprecated: Use TunnelPricesPacketData.ProtoReflect.Descriptor instead.

func (*TunnelPricesPacketData) GetCreatedAt

func (x *TunnelPricesPacketData) GetCreatedAt() int64

func (*TunnelPricesPacketData) GetPrices

func (x *TunnelPricesPacketData) GetPrices() []*v1beta1.Price

func (*TunnelPricesPacketData) GetSequence

func (x *TunnelPricesPacketData) GetSequence() uint64

func (*TunnelPricesPacketData) GetTunnelId

func (x *TunnelPricesPacketData) GetTunnelId() uint64

func (*TunnelPricesPacketData) ProtoMessage

func (*TunnelPricesPacketData) ProtoMessage()

func (*TunnelPricesPacketData) ProtoReflect

func (x *TunnelPricesPacketData) ProtoReflect() protoreflect.Message

func (*TunnelPricesPacketData) Reset

func (x *TunnelPricesPacketData) Reset()

func (*TunnelPricesPacketData) String

func (x *TunnelPricesPacketData) String() string

type TunnelSignatureOrder

type TunnelSignatureOrder struct {

	// sequence is the sequence of the packet
	Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// prices is the list of prices information from feeds module.
	Prices []*v1beta11.Price `protobuf:"bytes,2,rep,name=prices,proto3" json:"prices,omitempty"`
	// created_at is the timestamp when the packet is created
	CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// encoder is the mode of encoding data.
	Encoder v1beta11.Encoder `protobuf:"varint,4,opt,name=encoder,proto3,enum=band.feeds.v1beta1.Encoder" json:"encoder,omitempty"`
	// contains filtered or unexported fields
}

TunnelSignatureOrder defines a general signature order for sending signature to tss group.

func (*TunnelSignatureOrder) Descriptor deprecated

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

Deprecated: Use TunnelSignatureOrder.ProtoReflect.Descriptor instead.

func (*TunnelSignatureOrder) GetCreatedAt

func (x *TunnelSignatureOrder) GetCreatedAt() int64

func (*TunnelSignatureOrder) GetEncoder

func (x *TunnelSignatureOrder) GetEncoder() v1beta11.Encoder

func (*TunnelSignatureOrder) GetPrices

func (x *TunnelSignatureOrder) GetPrices() []*v1beta11.Price

func (*TunnelSignatureOrder) GetSequence

func (x *TunnelSignatureOrder) GetSequence() uint64

func (*TunnelSignatureOrder) ProtoMessage

func (*TunnelSignatureOrder) ProtoMessage()

func (*TunnelSignatureOrder) ProtoReflect

func (x *TunnelSignatureOrder) ProtoReflect() protoreflect.Message

func (*TunnelSignatureOrder) Reset

func (x *TunnelSignatureOrder) Reset()

func (*TunnelSignatureOrder) String

func (x *TunnelSignatureOrder) String() string

type TunnelStatusFilter

type TunnelStatusFilter int32

TunnelStatusFilter defines a filter for tunnel status.

const (
	// TUNNEL_STATUS_FILTER_UNSPECIFIED defines an unspecified status.
	TunnelStatusFilter_TUNNEL_STATUS_FILTER_UNSPECIFIED TunnelStatusFilter = 0
	// TUNNEL_STATUS_FILTER_ACTIVE defines an active tunnel.
	TunnelStatusFilter_TUNNEL_STATUS_FILTER_ACTIVE TunnelStatusFilter = 1
	// TUNNEL_STATUS_FILTER_INACTIVE defines an inactive tunnel.
	TunnelStatusFilter_TUNNEL_STATUS_FILTER_INACTIVE TunnelStatusFilter = 2
)

func (TunnelStatusFilter) Descriptor

func (TunnelStatusFilter) Enum

func (TunnelStatusFilter) EnumDescriptor deprecated

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

Deprecated: Use TunnelStatusFilter.Descriptor instead.

func (TunnelStatusFilter) Number

func (TunnelStatusFilter) String

func (x TunnelStatusFilter) String() string

func (TunnelStatusFilter) Type

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) ActivateTunnel

func (UnimplementedMsgServer) CreateTunnel

func (UnimplementedMsgServer) DeactivateTunnel

func (UnimplementedMsgServer) DepositToTunnel

func (UnimplementedMsgServer) TriggerTunnel

func (UnimplementedMsgServer) UpdateParams

func (UnimplementedMsgServer) UpdateRoute

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Deposit

func (UnimplementedQueryServer) Deposits

func (UnimplementedQueryServer) Packet

func (UnimplementedQueryServer) Packets

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) TotalFees

func (UnimplementedQueryServer) Tunnel

func (UnimplementedQueryServer) Tunnels

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

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