ibcstakingv1

package
v0.0.0-...-891b8cb Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 15 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.

Index

Constants

This section is empty.

Variables

View Source
var File_nova_ibcstaking_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_nova_ibcstaking_v1_params_proto protoreflect.FileDescriptor
View Source
var File_nova_ibcstaking_v1_query_proto protoreflect.FileDescriptor
View Source
var File_nova_ibcstaking_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "nova.ibcstaking.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterZone",
			Handler:    _Msg_RegisterZone_Handler,
		},
		{
			MethodName: "IcaDelegate",
			Handler:    _Msg_IcaDelegate_Handler,
		},
		{
			MethodName: "IcaUndelegate",
			Handler:    _Msg_IcaUndelegate_Handler,
		},
		{
			MethodName: "IcaTransfer",
			Handler:    _Msg_IcaTransfer_Handler,
		},
		{
			MethodName: "IcaAutoStaking",
			Handler:    _Msg_IcaAutoStaking_Handler,
		},
		{
			MethodName: "IcaRegisterHostAccount",
			Handler:    _Msg_IcaRegisterHostAccount_Handler,
		},
		{
			MethodName: "DeleteRegisteredZone",
			Handler:    _Msg_DeleteRegisteredZone_Handler,
		},
		{
			MethodName: "ChangeRegisteredZoneInfo",
			Handler:    _Msg_ChangeRegisteredZoneInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "nova/ibcstaking/v1/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: "nova.ibcstaking.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "InterchainAccountFromZone",
			Handler:    _Query_InterchainAccountFromZone_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "nova/ibcstaking/v1/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 CommissionInfo

type CommissionInfo struct {
	TreasuryAddress string `protobuf:"bytes,1,opt,name=treasury_address,json=treasuryAddress,proto3" json:"treasury_address,omitempty"`
	CommissionRate  string `protobuf:"bytes,2,opt,name=commission_rate,json=commissionRate,proto3" json:"commission_rate,omitempty"`
	// contains filtered or unexported fields
}

func (*CommissionInfo) Descriptor deprecated

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

Deprecated: Use CommissionInfo.ProtoReflect.Descriptor instead.

func (*CommissionInfo) GetCommissionRate

func (x *CommissionInfo) GetCommissionRate() string

func (*CommissionInfo) GetTreasuryAddress

func (x *CommissionInfo) GetTreasuryAddress() string

func (*CommissionInfo) ProtoMessage

func (*CommissionInfo) ProtoMessage()

func (*CommissionInfo) ProtoReflect

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

func (*CommissionInfo) Reset

func (x *CommissionInfo) Reset()

func (*CommissionInfo) String

func (x *CommissionInfo) String() string

type GenesisState

type GenesisState struct {

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

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

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 IcaAccount

type IcaAccount struct {
	DaomodifierAddress string        `protobuf:"bytes,1,opt,name=daomodifier_address,json=daomodifierAddress,proto3" json:"daomodifier_address,omitempty"`
	HostAddress        string        `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	Balance            *v1beta1.Coin `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*IcaAccount) Descriptor deprecated

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

Deprecated: Use IcaAccount.ProtoReflect.Descriptor instead.

func (*IcaAccount) GetBalance

func (x *IcaAccount) GetBalance() *v1beta1.Coin

func (*IcaAccount) GetDaomodifierAddress

func (x *IcaAccount) GetDaomodifierAddress() string

func (*IcaAccount) GetHostAddress

func (x *IcaAccount) GetHostAddress() string

func (*IcaAccount) ProtoMessage

func (*IcaAccount) ProtoMessage()

func (*IcaAccount) ProtoReflect

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

func (*IcaAccount) Reset

func (x *IcaAccount) Reset()

func (*IcaAccount) String

func (x *IcaAccount) String() string

type IcaConnectionInfo

type IcaConnectionInfo struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	PortId       string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	// contains filtered or unexported fields
}

zone name, connection id, portID(owner address)

func (*IcaConnectionInfo) Descriptor deprecated

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

Deprecated: Use IcaConnectionInfo.ProtoReflect.Descriptor instead.

func (*IcaConnectionInfo) GetConnectionId

func (x *IcaConnectionInfo) GetConnectionId() string

func (*IcaConnectionInfo) GetPortId

func (x *IcaConnectionInfo) GetPortId() string

func (*IcaConnectionInfo) ProtoMessage

func (*IcaConnectionInfo) ProtoMessage()

func (*IcaConnectionInfo) ProtoReflect

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

func (*IcaConnectionInfo) Reset

func (x *IcaConnectionInfo) Reset()

func (*IcaConnectionInfo) String

func (x *IcaConnectionInfo) String() string

type MsgChangeRegisteredZoneInfo

type MsgChangeRegisteredZoneInfo struct {
	ZoneId           string             `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	IcaInfo          *IcaConnectionInfo `protobuf:"bytes,2,opt,name=ica_info,json=icaInfo,proto3" json:"ica_info,omitempty"`
	IcaAccount       *IcaAccount        `protobuf:"bytes,3,opt,name=ica_account,json=icaAccount,proto3" json:"ica_account,omitempty"`
	ValidatorAddress string             `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom        string             `protobuf:"bytes,5,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgChangeRegisteredZoneInfo) Descriptor deprecated

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

Deprecated: Use MsgChangeRegisteredZoneInfo.ProtoReflect.Descriptor instead.

func (*MsgChangeRegisteredZoneInfo) GetBaseDenom

func (x *MsgChangeRegisteredZoneInfo) GetBaseDenom() string

func (*MsgChangeRegisteredZoneInfo) GetIcaAccount

func (x *MsgChangeRegisteredZoneInfo) GetIcaAccount() *IcaAccount

func (*MsgChangeRegisteredZoneInfo) GetIcaInfo

func (*MsgChangeRegisteredZoneInfo) GetValidatorAddress

func (x *MsgChangeRegisteredZoneInfo) GetValidatorAddress() string

func (*MsgChangeRegisteredZoneInfo) GetZoneId

func (x *MsgChangeRegisteredZoneInfo) GetZoneId() string

func (*MsgChangeRegisteredZoneInfo) ProtoMessage

func (*MsgChangeRegisteredZoneInfo) ProtoMessage()

func (*MsgChangeRegisteredZoneInfo) ProtoReflect

func (*MsgChangeRegisteredZoneInfo) Reset

func (x *MsgChangeRegisteredZoneInfo) Reset()

func (*MsgChangeRegisteredZoneInfo) String

func (x *MsgChangeRegisteredZoneInfo) String() string

type MsgChangeRegisteredZoneInfoResponse

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

func (*MsgChangeRegisteredZoneInfoResponse) Descriptor deprecated

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

Deprecated: Use MsgChangeRegisteredZoneInfoResponse.ProtoReflect.Descriptor instead.

func (*MsgChangeRegisteredZoneInfoResponse) ProtoMessage

func (*MsgChangeRegisteredZoneInfoResponse) ProtoMessage()

func (*MsgChangeRegisteredZoneInfoResponse) ProtoReflect

func (*MsgChangeRegisteredZoneInfoResponse) Reset

func (*MsgChangeRegisteredZoneInfoResponse) String

type MsgClient

type MsgClient interface {
	// RegisterZone defines a rpc handler for MsgRegisterZone
	RegisterZone(ctx context.Context, in *MsgRegisterZone, opts ...grpc.CallOption) (*MsgRegisterZoneResponse, error)
	// IcaDelegate defines a rpc handler for MsgIcaDelegate
	IcaDelegate(ctx context.Context, in *MsgIcaDelegate, opts ...grpc.CallOption) (*MsgIcaDelegateResponse, error)
	// IcaUnDelegate defines a rpc handler for MsgIcaUnDelegate
	IcaUndelegate(ctx context.Context, in *MsgIcaUndelegate, opts ...grpc.CallOption) (*MsgIcaUndelegateResponse, error)
	// IcaTransfer defines a rpc handler for MsgIcaTransfer
	IcaTransfer(ctx context.Context, in *MsgIcaTransfer, opts ...grpc.CallOption) (*MsgIcaTransferResponse, error)
	// IcaAutoStaking defines a rpc handler for MsgIcaAutoStaking
	IcaAutoStaking(ctx context.Context, in *MsgIcaAutoStaking, opts ...grpc.CallOption) (*MsgIcaAutoStakingResponse, error)
	// IcaRegisterHostAccount defines a rpc handler for MsgRegisterHostAccount
	IcaRegisterHostAccount(ctx context.Context, in *MsgRegisterHostAccount, opts ...grpc.CallOption) (*MsgRegisterHostAccountResponse, error)
	// DeleteRegisteredZone defines a rpc handler for MsgDeleteRegisteredZone
	DeleteRegisteredZone(ctx context.Context, in *MsgDeleteRegisteredZone, opts ...grpc.CallOption) (*MsgDeleteRegisteredZoneResponse, error)
	ChangeRegisteredZoneInfo(ctx context.Context, in *MsgChangeRegisteredZoneInfo, opts ...grpc.CallOption) (*MsgChangeRegisteredZoneInfoResponse, 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 MsgDeleteRegisteredZone

type MsgDeleteRegisteredZone struct {
	ZoneId             string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	DaomodifierAddress string `protobuf:"bytes,2,opt,name=daomodifier_address,json=daomodifierAddress,proto3" json:"daomodifier_address,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgDeleteRegisteredZone) Descriptor deprecated

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

Deprecated: Use MsgDeleteRegisteredZone.ProtoReflect.Descriptor instead.

func (*MsgDeleteRegisteredZone) GetDaomodifierAddress

func (x *MsgDeleteRegisteredZone) GetDaomodifierAddress() string

func (*MsgDeleteRegisteredZone) GetZoneId

func (x *MsgDeleteRegisteredZone) GetZoneId() string

func (*MsgDeleteRegisteredZone) ProtoMessage

func (*MsgDeleteRegisteredZone) ProtoMessage()

func (*MsgDeleteRegisteredZone) ProtoReflect

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

func (*MsgDeleteRegisteredZone) Reset

func (x *MsgDeleteRegisteredZone) Reset()

func (*MsgDeleteRegisteredZone) String

func (x *MsgDeleteRegisteredZone) String() string

type MsgDeleteRegisteredZoneResponse

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

func (*MsgDeleteRegisteredZoneResponse) Descriptor deprecated

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

Deprecated: Use MsgDeleteRegisteredZoneResponse.ProtoReflect.Descriptor instead.

func (*MsgDeleteRegisteredZoneResponse) ProtoMessage

func (*MsgDeleteRegisteredZoneResponse) ProtoMessage()

func (*MsgDeleteRegisteredZoneResponse) ProtoReflect

func (*MsgDeleteRegisteredZoneResponse) Reset

func (*MsgDeleteRegisteredZoneResponse) String

type MsgIcaAutoStaking

type MsgIcaAutoStaking struct {
	ZoneId             string        `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	HostAddress        string        `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	DaomodifierAddress string        `protobuf:"bytes,3,opt,name=daomodifier_address,json=daomodifierAddress,proto3" json:"daomodifier_address,omitempty"`
	Amount             *v1beta1.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgIcaAutoStaking) Descriptor deprecated

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

Deprecated: Use MsgIcaAutoStaking.ProtoReflect.Descriptor instead.

func (*MsgIcaAutoStaking) GetAmount

func (x *MsgIcaAutoStaking) GetAmount() *v1beta1.Coin

func (*MsgIcaAutoStaking) GetDaomodifierAddress

func (x *MsgIcaAutoStaking) GetDaomodifierAddress() string

func (*MsgIcaAutoStaking) GetHostAddress

func (x *MsgIcaAutoStaking) GetHostAddress() string

func (*MsgIcaAutoStaking) GetZoneId

func (x *MsgIcaAutoStaking) GetZoneId() string

func (*MsgIcaAutoStaking) ProtoMessage

func (*MsgIcaAutoStaking) ProtoMessage()

func (*MsgIcaAutoStaking) ProtoReflect

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

func (*MsgIcaAutoStaking) Reset

func (x *MsgIcaAutoStaking) Reset()

func (*MsgIcaAutoStaking) String

func (x *MsgIcaAutoStaking) String() string

type MsgIcaAutoStakingResponse

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

func (*MsgIcaAutoStakingResponse) Descriptor deprecated

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

Deprecated: Use MsgIcaAutoStakingResponse.ProtoReflect.Descriptor instead.

func (*MsgIcaAutoStakingResponse) ProtoMessage

func (*MsgIcaAutoStakingResponse) ProtoMessage()

func (*MsgIcaAutoStakingResponse) ProtoReflect

func (*MsgIcaAutoStakingResponse) Reset

func (x *MsgIcaAutoStakingResponse) Reset()

func (*MsgIcaAutoStakingResponse) String

func (x *MsgIcaAutoStakingResponse) String() string

type MsgIcaDelegate

type MsgIcaDelegate struct {
	ZoneId             string        `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	HostAddress        string        `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	DaomodifierAddress string        `protobuf:"bytes,3,opt,name=daomodifier_address,json=daomodifierAddress,proto3" json:"daomodifier_address,omitempty"`
	Amount             *v1beta1.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgIcaDelegate) Descriptor deprecated

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

Deprecated: Use MsgIcaDelegate.ProtoReflect.Descriptor instead.

func (*MsgIcaDelegate) GetAmount

func (x *MsgIcaDelegate) GetAmount() *v1beta1.Coin

func (*MsgIcaDelegate) GetDaomodifierAddress

func (x *MsgIcaDelegate) GetDaomodifierAddress() string

func (*MsgIcaDelegate) GetHostAddress

func (x *MsgIcaDelegate) GetHostAddress() string

func (*MsgIcaDelegate) GetZoneId

func (x *MsgIcaDelegate) GetZoneId() string

func (*MsgIcaDelegate) ProtoMessage

func (*MsgIcaDelegate) ProtoMessage()

func (*MsgIcaDelegate) ProtoReflect

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

func (*MsgIcaDelegate) Reset

func (x *MsgIcaDelegate) Reset()

func (*MsgIcaDelegate) String

func (x *MsgIcaDelegate) String() string

type MsgIcaDelegateResponse

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

func (*MsgIcaDelegateResponse) Descriptor deprecated

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

Deprecated: Use MsgIcaDelegateResponse.ProtoReflect.Descriptor instead.

func (*MsgIcaDelegateResponse) ProtoMessage

func (*MsgIcaDelegateResponse) ProtoMessage()

func (*MsgIcaDelegateResponse) ProtoReflect

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

func (*MsgIcaDelegateResponse) Reset

func (x *MsgIcaDelegateResponse) Reset()

func (*MsgIcaDelegateResponse) String

func (x *MsgIcaDelegateResponse) String() string

type MsgIcaTransfer

type MsgIcaTransfer struct {
	ZoneId               string        `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	HostAddress          string        `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	DaomodifierAddress   string        `protobuf:"bytes,3,opt,name=daomodifier_address,json=daomodifierAddress,proto3" json:"daomodifier_address,omitempty"`
	ReceiverAddress      string        `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"`
	IcaTransferPortId    string        `protobuf:"bytes,5,opt,name=ica_transfer_port_id,json=icaTransferPortId,proto3" json:"ica_transfer_port_id,omitempty"`
	IcaTransferChannelId string        `protobuf:"bytes,6,opt,name=ica_transfer_channel_id,json=icaTransferChannelId,proto3" json:"ica_transfer_channel_id,omitempty"`
	Amount               *v1beta1.Coin `protobuf:"bytes,7,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgIcaTransfer) Descriptor deprecated

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

Deprecated: Use MsgIcaTransfer.ProtoReflect.Descriptor instead.

func (*MsgIcaTransfer) GetAmount

func (x *MsgIcaTransfer) GetAmount() *v1beta1.Coin

func (*MsgIcaTransfer) GetDaomodifierAddress

func (x *MsgIcaTransfer) GetDaomodifierAddress() string

func (*MsgIcaTransfer) GetHostAddress

func (x *MsgIcaTransfer) GetHostAddress() string

func (*MsgIcaTransfer) GetIcaTransferChannelId

func (x *MsgIcaTransfer) GetIcaTransferChannelId() string

func (*MsgIcaTransfer) GetIcaTransferPortId

func (x *MsgIcaTransfer) GetIcaTransferPortId() string

func (*MsgIcaTransfer) GetReceiverAddress

func (x *MsgIcaTransfer) GetReceiverAddress() string

func (*MsgIcaTransfer) GetZoneId

func (x *MsgIcaTransfer) GetZoneId() string

func (*MsgIcaTransfer) ProtoMessage

func (*MsgIcaTransfer) ProtoMessage()

func (*MsgIcaTransfer) ProtoReflect

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

func (*MsgIcaTransfer) Reset

func (x *MsgIcaTransfer) Reset()

func (*MsgIcaTransfer) String

func (x *MsgIcaTransfer) String() string

type MsgIcaTransferResponse

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

func (*MsgIcaTransferResponse) Descriptor deprecated

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

Deprecated: Use MsgIcaTransferResponse.ProtoReflect.Descriptor instead.

func (*MsgIcaTransferResponse) ProtoMessage

func (*MsgIcaTransferResponse) ProtoMessage()

func (*MsgIcaTransferResponse) ProtoReflect

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

func (*MsgIcaTransferResponse) Reset

func (x *MsgIcaTransferResponse) Reset()

func (*MsgIcaTransferResponse) String

func (x *MsgIcaTransferResponse) String() string

type MsgIcaUndelegate

type MsgIcaUndelegate struct {
	ZoneId             string        `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	HostAddress        string        `protobuf:"bytes,2,opt,name=host_address,json=hostAddress,proto3" json:"host_address,omitempty"`
	DaomodifierAddress string        `protobuf:"bytes,3,opt,name=daomodifier_address,json=daomodifierAddress,proto3" json:"daomodifier_address,omitempty"`
	Amount             *v1beta1.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgIcaUndelegate) Descriptor deprecated

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

Deprecated: Use MsgIcaUndelegate.ProtoReflect.Descriptor instead.

func (*MsgIcaUndelegate) GetAmount

func (x *MsgIcaUndelegate) GetAmount() *v1beta1.Coin

func (*MsgIcaUndelegate) GetDaomodifierAddress

func (x *MsgIcaUndelegate) GetDaomodifierAddress() string

func (*MsgIcaUndelegate) GetHostAddress

func (x *MsgIcaUndelegate) GetHostAddress() string

func (*MsgIcaUndelegate) GetZoneId

func (x *MsgIcaUndelegate) GetZoneId() string

func (*MsgIcaUndelegate) ProtoMessage

func (*MsgIcaUndelegate) ProtoMessage()

func (*MsgIcaUndelegate) ProtoReflect

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

func (*MsgIcaUndelegate) Reset

func (x *MsgIcaUndelegate) Reset()

func (*MsgIcaUndelegate) String

func (x *MsgIcaUndelegate) String() string

type MsgIcaUndelegateResponse

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

func (*MsgIcaUndelegateResponse) Descriptor deprecated

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

Deprecated: Use MsgIcaUndelegateResponse.ProtoReflect.Descriptor instead.

func (*MsgIcaUndelegateResponse) ProtoMessage

func (*MsgIcaUndelegateResponse) ProtoMessage()

func (*MsgIcaUndelegateResponse) ProtoReflect

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

func (*MsgIcaUndelegateResponse) Reset

func (x *MsgIcaUndelegateResponse) Reset()

func (*MsgIcaUndelegateResponse) String

func (x *MsgIcaUndelegateResponse) String() string

type MsgRegisterHostAccount

type MsgRegisterHostAccount struct {
	ZoneId      string      `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	AccountInfo *IcaAccount `protobuf:"bytes,2,opt,name=account_info,json=accountInfo,proto3" json:"account_info,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgRegisterHostAccount) Descriptor deprecated

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

Deprecated: Use MsgRegisterHostAccount.ProtoReflect.Descriptor instead.

func (*MsgRegisterHostAccount) GetAccountInfo

func (x *MsgRegisterHostAccount) GetAccountInfo() *IcaAccount

func (*MsgRegisterHostAccount) GetZoneId

func (x *MsgRegisterHostAccount) GetZoneId() string

func (*MsgRegisterHostAccount) ProtoMessage

func (*MsgRegisterHostAccount) ProtoMessage()

func (*MsgRegisterHostAccount) ProtoReflect

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

func (*MsgRegisterHostAccount) Reset

func (x *MsgRegisterHostAccount) Reset()

func (*MsgRegisterHostAccount) String

func (x *MsgRegisterHostAccount) String() string

type MsgRegisterHostAccountResponse

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

func (*MsgRegisterHostAccountResponse) Descriptor deprecated

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

Deprecated: Use MsgRegisterHostAccountResponse.ProtoReflect.Descriptor instead.

func (*MsgRegisterHostAccountResponse) ProtoMessage

func (*MsgRegisterHostAccountResponse) ProtoMessage()

func (*MsgRegisterHostAccountResponse) ProtoReflect

func (*MsgRegisterHostAccountResponse) Reset

func (x *MsgRegisterHostAccountResponse) Reset()

func (*MsgRegisterHostAccountResponse) String

type MsgRegisterZone

type MsgRegisterZone struct {
	ZoneId           string             `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	IcaInfo          *IcaConnectionInfo `protobuf:"bytes,2,opt,name=ica_info,json=icaInfo,proto3" json:"ica_info,omitempty"`
	IcaAccount       *IcaAccount        `protobuf:"bytes,3,opt,name=ica_account,json=icaAccount,proto3" json:"ica_account,omitempty"`
	ValidatorAddress string             `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom        string             `protobuf:"bytes,5,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// contains filtered or unexported fields
}

MsgRegisterZone defines the payload for Msg/RegisterZone

func (*MsgRegisterZone) Descriptor deprecated

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

Deprecated: Use MsgRegisterZone.ProtoReflect.Descriptor instead.

func (*MsgRegisterZone) GetBaseDenom

func (x *MsgRegisterZone) GetBaseDenom() string

func (*MsgRegisterZone) GetIcaAccount

func (x *MsgRegisterZone) GetIcaAccount() *IcaAccount

func (*MsgRegisterZone) GetIcaInfo

func (x *MsgRegisterZone) GetIcaInfo() *IcaConnectionInfo

func (*MsgRegisterZone) GetValidatorAddress

func (x *MsgRegisterZone) GetValidatorAddress() string

func (*MsgRegisterZone) GetZoneId

func (x *MsgRegisterZone) GetZoneId() string

func (*MsgRegisterZone) ProtoMessage

func (*MsgRegisterZone) ProtoMessage()

func (*MsgRegisterZone) ProtoReflect

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

func (*MsgRegisterZone) Reset

func (x *MsgRegisterZone) Reset()

func (*MsgRegisterZone) String

func (x *MsgRegisterZone) String() string

type MsgRegisterZoneResponse

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

func (*MsgRegisterZoneResponse) Descriptor deprecated

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

Deprecated: Use MsgRegisterZoneResponse.ProtoReflect.Descriptor instead.

func (*MsgRegisterZoneResponse) ProtoMessage

func (*MsgRegisterZoneResponse) ProtoMessage()

func (*MsgRegisterZoneResponse) ProtoReflect

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

func (*MsgRegisterZoneResponse) Reset

func (x *MsgRegisterZoneResponse) Reset()

func (*MsgRegisterZoneResponse) String

func (x *MsgRegisterZoneResponse) String() string

type MsgServer

type MsgServer interface {
	// RegisterZone defines a rpc handler for MsgRegisterZone
	RegisterZone(context.Context, *MsgRegisterZone) (*MsgRegisterZoneResponse, error)
	// IcaDelegate defines a rpc handler for MsgIcaDelegate
	IcaDelegate(context.Context, *MsgIcaDelegate) (*MsgIcaDelegateResponse, error)
	// IcaUnDelegate defines a rpc handler for MsgIcaUnDelegate
	IcaUndelegate(context.Context, *MsgIcaUndelegate) (*MsgIcaUndelegateResponse, error)
	// IcaTransfer defines a rpc handler for MsgIcaTransfer
	IcaTransfer(context.Context, *MsgIcaTransfer) (*MsgIcaTransferResponse, error)
	// IcaAutoStaking defines a rpc handler for MsgIcaAutoStaking
	IcaAutoStaking(context.Context, *MsgIcaAutoStaking) (*MsgIcaAutoStakingResponse, error)
	// IcaRegisterHostAccount defines a rpc handler for MsgRegisterHostAccount
	IcaRegisterHostAccount(context.Context, *MsgRegisterHostAccount) (*MsgRegisterHostAccountResponse, error)
	// DeleteRegisteredZone defines a rpc handler for MsgDeleteRegisteredZone
	DeleteRegisteredZone(context.Context, *MsgDeleteRegisteredZone) (*MsgDeleteRegisteredZoneResponse, error)
	ChangeRegisteredZoneInfo(context.Context, *MsgChangeRegisteredZoneInfo) (*MsgChangeRegisteredZoneInfoResponse, error)
	// contains filtered or unexported methods
}

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

type Params

type Params struct {

	// zone register address.
	DaoModifiers []string          `protobuf:"bytes,1,rep,name=dao_modifiers,json=daoModifiers,proto3" json:"dao_modifiers,omitempty"`
	Commission   []*CommissionInfo `protobuf:"bytes,2,rep,name=commission,proto3" json:"commission,omitempty"`
	// contains filtered or unexported fields
}

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetCommission

func (x *Params) GetCommission() []*CommissionInfo

func (*Params) GetDaoModifiers

func (x *Params) GetDaoModifiers() []string

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 {
	// QueryInterchainAccountFromZone returns the interchain account for given owner address on a given connection pair
	InterchainAccountFromZone(ctx context.Context, in *QueryInterchainAccountFromZoneRequest, opts ...grpc.CallOption) (*QueryInterchainAccountFromZoneResponse, 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 QueryInterchainAccountFromZoneRequest

type QueryInterchainAccountFromZoneRequest struct {
	PortId       string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// contains filtered or unexported fields
}

QueryInterchainAccountFromZoneRequest is the request type for the Query/InterchainAccountFromZone RPC

func (*QueryInterchainAccountFromZoneRequest) Descriptor deprecated

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

Deprecated: Use QueryInterchainAccountFromZoneRequest.ProtoReflect.Descriptor instead.

func (*QueryInterchainAccountFromZoneRequest) GetConnectionId

func (x *QueryInterchainAccountFromZoneRequest) GetConnectionId() string

func (*QueryInterchainAccountFromZoneRequest) GetPortId

func (*QueryInterchainAccountFromZoneRequest) ProtoMessage

func (*QueryInterchainAccountFromZoneRequest) ProtoMessage()

func (*QueryInterchainAccountFromZoneRequest) ProtoReflect

func (*QueryInterchainAccountFromZoneRequest) Reset

func (*QueryInterchainAccountFromZoneRequest) String

type QueryInterchainAccountFromZoneResponse

type QueryInterchainAccountFromZoneResponse struct {
	InterchainAccountAddress string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

QueryInterchainAccountFromZoneResponse the response type for the Query/InterchainAccountFromZone RPC

func (*QueryInterchainAccountFromZoneResponse) Descriptor deprecated

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

Deprecated: Use QueryInterchainAccountFromZoneResponse.ProtoReflect.Descriptor instead.

func (*QueryInterchainAccountFromZoneResponse) GetInterchainAccountAddress

func (x *QueryInterchainAccountFromZoneResponse) GetInterchainAccountAddress() string

func (*QueryInterchainAccountFromZoneResponse) ProtoMessage

func (*QueryInterchainAccountFromZoneResponse) ProtoReflect

func (*QueryInterchainAccountFromZoneResponse) Reset

func (*QueryInterchainAccountFromZoneResponse) String

type QueryServer

type QueryServer interface {
	// QueryInterchainAccountFromZone returns the interchain account for given owner address on a given connection pair
	InterchainAccountFromZone(context.Context, *QueryInterchainAccountFromZoneRequest) (*QueryInterchainAccountFromZoneResponse, error)
	// contains filtered or unexported methods
}

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

type RegisteredZone

type RegisteredZone struct {
	ZoneId            string             `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	IcaConnectionInfo *IcaConnectionInfo `protobuf:"bytes,2,opt,name=ica_connection_info,json=icaConnectionInfo,proto3" json:"ica_connection_info,omitempty"`
	IcaAccount        *IcaAccount        `protobuf:"bytes,3,opt,name=ica_account,json=icaAccount,proto3" json:"ica_account,omitempty"`
	ValidatorAddress  string             `protobuf:"bytes,4,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	BaseDenom         string             `protobuf:"bytes,5,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	SnDenom           string             `protobuf:"bytes,6,opt,name=sn_denom,json=snDenom,proto3" json:"sn_denom,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisteredZone) Descriptor deprecated

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

Deprecated: Use RegisteredZone.ProtoReflect.Descriptor instead.

func (*RegisteredZone) GetBaseDenom

func (x *RegisteredZone) GetBaseDenom() string

func (*RegisteredZone) GetIcaAccount

func (x *RegisteredZone) GetIcaAccount() *IcaAccount

func (*RegisteredZone) GetIcaConnectionInfo

func (x *RegisteredZone) GetIcaConnectionInfo() *IcaConnectionInfo

func (*RegisteredZone) GetSnDenom

func (x *RegisteredZone) GetSnDenom() string

func (*RegisteredZone) GetValidatorAddress

func (x *RegisteredZone) GetValidatorAddress() string

func (*RegisteredZone) GetZoneId

func (x *RegisteredZone) GetZoneId() string

func (*RegisteredZone) ProtoMessage

func (*RegisteredZone) ProtoMessage()

func (*RegisteredZone) ProtoReflect

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

func (*RegisteredZone) Reset

func (x *RegisteredZone) Reset()

func (*RegisteredZone) String

func (x *RegisteredZone) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) IcaAutoStaking

func (UnimplementedMsgServer) IcaDelegate

func (UnimplementedMsgServer) IcaTransfer

func (UnimplementedMsgServer) IcaUndelegate

func (UnimplementedMsgServer) RegisterZone

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

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