types

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeTimeout           = "timeout"
	EventTypeCurrentKeysPacket = "currentKeys_packet"
	EventTypeRequestKeyshare   = "keyshare_request_packet"

	AttributeKeyAckSuccess = "success"
	AttributeKeyAck        = "acknowledgement"
	AttributeKeyAckError   = "error"
	AttributeKeyRequestID  = "request_id"
)

IBC events

View Source
const (
	// ActivePubKeyPrefix is the prefix to retrieve the active Public Key
	ActivePubKeyPrefix = "ActivePubKey/value/"

	QueuedPubKeyPrefix = "QueuedPubKey/value/"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "pep"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_pep"

	// Version defines the current version the IBC module supports
	Version = "pep-1"

	// PortID is the default port id that module binds to
	PortID = "pep"

	// PepChannelID is the default channel id that module will use to transmit IBC packets to pep module.
	PepChannelID = "channel-0"

	// KeushareChannelID is the default channel id that module will use to transmit IBC packets to keyshare module.
	KeyshareChannelID = "channel-1"
)
View Source
const (
	SubmittedEncryptedTxEventType         = "new-encrypted-tx-submitted"
	SubmittedEncryptedTxEventCreator      = "creator"
	SubmittedEncryptedTxEventTargetHeight = "target-height"
	SubmittedEncryptedTxEventIndex        = "index"
	SubmittedEncryptedTxEventData         = "data"
)
View Source
const (
	EncryptedTxExecutedEventType             = "executed-encrypted-tx"
	EncryptedTxExecutedEventCreator          = "creator"
	EncryptedTxExecutedEventHeight           = "target-height"
	EncryptedTxExecutedEventIndex            = "index"
	EncryptedTxExecutedEventData             = "data"
	EncryptedTxExecutedEventMemo             = "memo"
	EncryptedTxExecutedEventUnderlyingEvents = "events"
)
View Source
const (
	EncryptedTxRevertedEventType    = "reverted-encrypted-tx"
	EncryptedTxRevertedEventCreator = "creator"
	EncryptedTxRevertedEventHeight  = "height"
	EncryptedTxRevertedEventIndex   = "index"
	EncryptedTxRevertedEventReason  = "reason"
)
View Source
const (
	EncryptedTxDiscardedEventType   = "discarded-encrypted-tx"
	EncryptedTxDiscardedEventHeight = "height"
	EncryptedTxDiscardedEventTxIDs  = "tx-ids"
)
View Source
const (
	KeyShareVerificationType    = "keyshare-verification"
	KeyShareVerificationCreator = "creator"
	KeyShareVerificationHeight  = "height"
	KeyShareVerificationReason  = "reason"
)
View Source
const (
	KeyTotalEncryptedTxSubmitted = "total_encrypted_tx_submitted"
	KeyTotalSuccessEncryptedTx   = "total_success_encrypted_tx"
	KeyTotalFailedEncryptedTx    = "total_failed_encrypted_tx"
)
View Source
const (
	// AggregatedKeyShareKeyPrefix is the prefix to retrieve all AggregatedKeyShare
	AggregatedKeyShareKeyPrefix = "AggregatedKeyShare/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	// EncryptedTxKeyPrefix is the prefix to retrieve all EncryptedTx
	EncryptedTxKeyPrefix = "EncryptedTx/value/"
)
View Source
const (
	//PepNonceKeyPrefix is the prefix to retrieve all PepNonce
	PepNonceKeyPrefix = "PepNonce/value/"
)
View Source
const (
	TypeMsgCreateAggregatedKeyShare = "create_aggregated_key_share"
)
View Source
const TypeMsgGetGeneralKeyshare = "get_general_keyshare"
View Source
const TypeMsgRequestGeneralKeyshare = "request_general_keyshare"
View Source
const TypeMsgSubmitEncryptedTx = "submit_encrypted_tx"

Variables

View Source
var (
	ErrInvalidLengthAggregatedKeyShare        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAggregatedKeyShare          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAggregatedKeyShare = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthEncryptedTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEncryptedTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEncryptedTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidVersion           = sdkerrors.Register(ModuleName, 1501, "invalid version")
	ErrInvalidTargetBlockHeight = sdkerrors.Register(ModuleName, 1600, "Invalid target block height")
	ErrInvalidMsgCreator        = sdkerrors.Register(ModuleName, 1700, "Invalid msg creator address")
	ErrActivePubKeyNotFound     = sdkerrors.Register(ModuleName, 1800, "Active public key not found")
)

x/pep module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// PortKey defines the key to store the port ID in store
	PortKey               = KeyPrefix("pep-port-")
	ChannelKey            = KeyPrefix("pep-channel-")
	LatestHeightKey       = KeyPrefix("pep-latest-height-")
	LastExecutedHeightKey = KeyPrefix("pep-last-executed-height-")
)
View Source
var (
	ErrInvalidLengthPacket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPacket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyTrustedAddresses     = []byte("TrustedAddresses")
	DefaultTrustedAddresses []string
)
View Source
var (
	KeyTrustedCounterParties     = []byte("TrustedCounterParty")
	DefaultTrustedCounterParties []*TrustedCounterParty
)
View Source
var (
	KeyPepChannelID          = []byte("PepChannelID")
	KeyKeyshareChannelID     = []byte("KeyshareChannelID")
	DefaultPepChannelID      = PepChannelID
	DefaultKeyshareChannelID = KeyshareChannelID
	KeyMinGasPrice           = []byte("MinGasPrice")
	DefaultMinGasPrice       = sdk.NewCoin("ufairy", cosmosmath.NewInt(300000))
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPepNonce        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPepNonce          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPepNonce = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPubKey        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPubKey          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPubKey = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func AggregatedKeyShareKey

func AggregatedKeyShareKey(
	height uint64,
) []byte

AggregatedKeyShareKey returns the store key to retrieve a AggregatedKeyShare from the index fields

func EncryptedTxAllFromHeightKey

func EncryptedTxAllFromHeightKey(
	targetHeight uint64,
) []byte

func KeyPrefix

func KeyPrefix(p string) []byte

func MustProtoMarshalJSON

func MustProtoMarshalJSON(msg proto.Message) ([]byte, error)

mustProtoMarshalJSON provides an auxiliary function to return Proto3 JSON encoded bytes of a message. NOTE: Copied from https://github.com/cosmos/cosmos-sdk/blob/971c542453e0972ef1dfc5a80159ad5049c7211c/codec/json.go and modified in order to allow `EmitDefaults` to be set to false for ics20 packet marshalling. This allows for the introduction of the memo field to be backwards compatible.

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func PepNonceKey

func PepNonceKey(
	address string,
) []byte

PepNonceKey returns the store key to retrieve a PepNonce from the index fields

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type ActivePubKey

type ActivePubKey struct {
	PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Creator   string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Expiry    uint64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
}

func (*ActivePubKey) Descriptor

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

func (*ActivePubKey) GetCreator

func (m *ActivePubKey) GetCreator() string

func (*ActivePubKey) GetExpiry

func (m *ActivePubKey) GetExpiry() uint64

func (*ActivePubKey) GetPublicKey

func (m *ActivePubKey) GetPublicKey() string

func (*ActivePubKey) Marshal

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

func (*ActivePubKey) MarshalTo

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

func (*ActivePubKey) MarshalToSizedBuffer

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

func (*ActivePubKey) ProtoMessage

func (*ActivePubKey) ProtoMessage()

func (*ActivePubKey) Reset

func (m *ActivePubKey) Reset()

func (*ActivePubKey) Size

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

func (*ActivePubKey) String

func (m *ActivePubKey) String() string

func (*ActivePubKey) Unmarshal

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

func (*ActivePubKey) XXX_DiscardUnknown

func (m *ActivePubKey) XXX_DiscardUnknown()

func (*ActivePubKey) XXX_Marshal

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

func (*ActivePubKey) XXX_Merge

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

func (*ActivePubKey) XXX_Size

func (m *ActivePubKey) XXX_Size() int

func (*ActivePubKey) XXX_Unmarshal

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

type AggregatedKeyShare

type AggregatedKeyShare struct {
	Height  uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Data    string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*AggregatedKeyShare) Descriptor

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

func (*AggregatedKeyShare) GetCreator

func (m *AggregatedKeyShare) GetCreator() string

func (*AggregatedKeyShare) GetData

func (m *AggregatedKeyShare) GetData() string

func (*AggregatedKeyShare) GetHeight

func (m *AggregatedKeyShare) GetHeight() uint64

func (*AggregatedKeyShare) Marshal

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

func (*AggregatedKeyShare) MarshalTo

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

func (*AggregatedKeyShare) MarshalToSizedBuffer

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

func (*AggregatedKeyShare) ProtoMessage

func (*AggregatedKeyShare) ProtoMessage()

func (*AggregatedKeyShare) Reset

func (m *AggregatedKeyShare) Reset()

func (*AggregatedKeyShare) Size

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

func (*AggregatedKeyShare) String

func (m *AggregatedKeyShare) String() string

func (*AggregatedKeyShare) Unmarshal

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

func (*AggregatedKeyShare) XXX_DiscardUnknown

func (m *AggregatedKeyShare) XXX_DiscardUnknown()

func (*AggregatedKeyShare) XXX_Marshal

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

func (*AggregatedKeyShare) XXX_Merge

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

func (*AggregatedKeyShare) XXX_Size

func (m *AggregatedKeyShare) XXX_Size() int

func (*AggregatedKeyShare) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	SendCoins(ctx sdk.Context, from, to sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error
}

BankKeeper defines the expected interface needed to retrieve account balances.

type ChannelKeeper

type ChannelKeeper interface {
	GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool)
	GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
	SendPacket(
		ctx sdk.Context,
		channelCap *capabilitytypes.Capability,
		sourcePort string,
		sourceChannel string,
		timeoutHeight clienttypes.Height,
		timeoutTimestamp uint64,
		data []byte,
	) (uint64, error)
	ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error
}

ChannelKeeper defines the expected IBC channel keeper

type ConnectionKeeper

type ConnectionKeeper interface {
	GetConnection(ctx sdk.Context, connectionID string) (connTypes.ConnectionEnd, bool)
}

ConnectionKeeper defines the expected interfaces needed to retrieve connection info

type CurrentKeysPacketAck

type CurrentKeysPacketAck struct {
	ActiveKey *ActivePubKey `protobuf:"bytes,1,opt,name=activeKey,proto3" json:"activeKey,omitempty"`
	QueuedKey *QueuedPubKey `protobuf:"bytes,2,opt,name=queuedKey,proto3" json:"queuedKey,omitempty"`
}

CurrentKeysPacketAck defines a struct for the packet acknowledgment

func (*CurrentKeysPacketAck) Descriptor

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

func (*CurrentKeysPacketAck) GetActiveKey

func (m *CurrentKeysPacketAck) GetActiveKey() *ActivePubKey

func (*CurrentKeysPacketAck) GetQueuedKey

func (m *CurrentKeysPacketAck) GetQueuedKey() *QueuedPubKey

func (*CurrentKeysPacketAck) Marshal

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

func (*CurrentKeysPacketAck) MarshalTo

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

func (*CurrentKeysPacketAck) MarshalToSizedBuffer

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

func (*CurrentKeysPacketAck) ProtoMessage

func (*CurrentKeysPacketAck) ProtoMessage()

func (*CurrentKeysPacketAck) Reset

func (m *CurrentKeysPacketAck) Reset()

func (*CurrentKeysPacketAck) Size

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

func (*CurrentKeysPacketAck) String

func (m *CurrentKeysPacketAck) String() string

func (*CurrentKeysPacketAck) Unmarshal

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

func (*CurrentKeysPacketAck) XXX_DiscardUnknown

func (m *CurrentKeysPacketAck) XXX_DiscardUnknown()

func (*CurrentKeysPacketAck) XXX_Marshal

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

func (*CurrentKeysPacketAck) XXX_Merge

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

func (*CurrentKeysPacketAck) XXX_Size

func (m *CurrentKeysPacketAck) XXX_Size() int

func (*CurrentKeysPacketAck) XXX_Unmarshal

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

type CurrentKeysPacketData

type CurrentKeysPacketData struct {
}

CurrentKeysPacketData defines a struct for the packet payload

func (*CurrentKeysPacketData) Descriptor

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

func (CurrentKeysPacketData) GetBytes

func (p CurrentKeysPacketData) GetBytes() ([]byte, error)

GetBytes is a helper for serialising

func (*CurrentKeysPacketData) Marshal

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

func (*CurrentKeysPacketData) MarshalTo

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

func (*CurrentKeysPacketData) MarshalToSizedBuffer

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

func (*CurrentKeysPacketData) ProtoMessage

func (*CurrentKeysPacketData) ProtoMessage()

func (*CurrentKeysPacketData) Reset

func (m *CurrentKeysPacketData) Reset()

func (*CurrentKeysPacketData) Size

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

func (*CurrentKeysPacketData) String

func (m *CurrentKeysPacketData) String() string

func (*CurrentKeysPacketData) Unmarshal

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

func (CurrentKeysPacketData) ValidateBasic

func (p CurrentKeysPacketData) ValidateBasic() error

ValidateBasic is used for validating the packet

func (*CurrentKeysPacketData) XXX_DiscardUnknown

func (m *CurrentKeysPacketData) XXX_DiscardUnknown()

func (*CurrentKeysPacketData) XXX_Marshal

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

func (*CurrentKeysPacketData) XXX_Merge

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

func (*CurrentKeysPacketData) XXX_Size

func (m *CurrentKeysPacketData) XXX_Size() int

func (*CurrentKeysPacketData) XXX_Unmarshal

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

type EncryptedTx

type EncryptedTx struct {
	TargetHeight           uint64      `protobuf:"varint,1,opt,name=targetHeight,proto3" json:"targetHeight,omitempty"`
	Index                  uint64      `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Data                   string      `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Creator                string      `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
	ChargedGas             *types.Coin `protobuf:"bytes,5,opt,name=chargedGas,proto3" json:"chargedGas,omitempty"`
	ProcessedAtChainHeight uint64      `protobuf:"varint,6,opt,name=processedAtChainHeight,proto3" json:"processedAtChainHeight,omitempty"`
	Expired                bool        `protobuf:"varint,7,opt,name=expired,proto3" json:"expired,omitempty"`
}

func (*EncryptedTx) Descriptor

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

func (*EncryptedTx) GetChargedGas

func (m *EncryptedTx) GetChargedGas() *types.Coin

func (*EncryptedTx) GetCreator

func (m *EncryptedTx) GetCreator() string

func (*EncryptedTx) GetData

func (m *EncryptedTx) GetData() string

func (*EncryptedTx) GetExpired added in v0.4.0

func (m *EncryptedTx) GetExpired() bool

func (*EncryptedTx) GetIndex

func (m *EncryptedTx) GetIndex() uint64

func (*EncryptedTx) GetProcessedAtChainHeight added in v0.4.0

func (m *EncryptedTx) GetProcessedAtChainHeight() uint64

func (*EncryptedTx) GetTargetHeight

func (m *EncryptedTx) GetTargetHeight() uint64

func (*EncryptedTx) Marshal

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

func (*EncryptedTx) MarshalTo

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

func (*EncryptedTx) MarshalToSizedBuffer

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

func (*EncryptedTx) ProtoMessage

func (*EncryptedTx) ProtoMessage()

func (*EncryptedTx) Reset

func (m *EncryptedTx) Reset()

func (*EncryptedTx) Size

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

func (*EncryptedTx) String

func (m *EncryptedTx) String() string

func (*EncryptedTx) Unmarshal

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

func (*EncryptedTx) XXX_DiscardUnknown

func (m *EncryptedTx) XXX_DiscardUnknown()

func (*EncryptedTx) XXX_Marshal

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

func (*EncryptedTx) XXX_Merge

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

func (*EncryptedTx) XXX_Size

func (m *EncryptedTx) XXX_Size() int

func (*EncryptedTx) XXX_Unmarshal

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

type EncryptedTxArray

type EncryptedTxArray struct {
	EncryptedTx []EncryptedTx `protobuf:"bytes,1,rep,name=encryptedTx,proto3" json:"encryptedTx"`
}

func (*EncryptedTxArray) Descriptor

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

func (*EncryptedTxArray) GetEncryptedTx

func (m *EncryptedTxArray) GetEncryptedTx() []EncryptedTx

func (*EncryptedTxArray) Marshal

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

func (*EncryptedTxArray) MarshalTo

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

func (*EncryptedTxArray) MarshalToSizedBuffer

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

func (*EncryptedTxArray) ProtoMessage

func (*EncryptedTxArray) ProtoMessage()

func (*EncryptedTxArray) Reset

func (m *EncryptedTxArray) Reset()

func (*EncryptedTxArray) Size

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

func (*EncryptedTxArray) String

func (m *EncryptedTxArray) String() string

func (*EncryptedTxArray) Unmarshal

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

func (*EncryptedTxArray) XXX_DiscardUnknown

func (m *EncryptedTxArray) XXX_DiscardUnknown()

func (*EncryptedTxArray) XXX_Marshal

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

func (*EncryptedTxArray) XXX_Merge

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

func (*EncryptedTxArray) XXX_Size

func (m *EncryptedTxArray) XXX_Size() int

func (*EncryptedTxArray) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params           Params             `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	PortId           string             `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	EncryptedTxArray []EncryptedTxArray `protobuf:"bytes,3,rep,name=encryptedTxArray,proto3" json:"encryptedTxArray"`
	PepNonceList     []PepNonce         `protobuf:"bytes,4,rep,name=pepNonceList,proto3" json:"pepNonceList"`
	// this line is used by starport scaffolding # genesis/proto/state
	AggregatedKeyShareList []AggregatedKeyShare `protobuf:"bytes,6,rep,name=aggregatedKeyShareList,proto3" json:"aggregatedKeyShareList"`
	ActivePubKey           ActivePubKey         `protobuf:"bytes,7,opt,name=activePubKey,proto3" json:"activePubKey"`
	QueuedPubKey           QueuedPubKey         `protobuf:"bytes,8,opt,name=queuedPubKey,proto3" json:"queuedPubKey"`
}

GenesisState defines the pep module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetActivePubKey

func (m *GenesisState) GetActivePubKey() ActivePubKey

func (*GenesisState) GetAggregatedKeyShareList

func (m *GenesisState) GetAggregatedKeyShareList() []AggregatedKeyShare

func (*GenesisState) GetEncryptedTxArray

func (m *GenesisState) GetEncryptedTxArray() []EncryptedTxArray

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPepNonceList

func (m *GenesisState) GetPepNonceList() []PepNonce

func (*GenesisState) GetPortId

func (m *GenesisState) GetPortId() string

func (*GenesisState) GetQueuedPubKey

func (m *GenesisState) GetQueuedPubKey() QueuedPubKey

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type IBCKeeper

type IBCKeeper struct {
	ChannelKeeper ChannelKeeper
	PortKeeper    PortKeeper
	ScopedKeeper  ScopedKeeper
	// contains filtered or unexported fields
}

IBCKeeper defines the IBC Keeper

func NewIBCKeeper

func NewIBCKeeper(
	portKey []byte,
	storeKey storetypes.StoreKey,
	channelKeeper ChannelKeeper,
	portKeeper PortKeeper,
	scopedKeeper ScopedKeeper,
) *IBCKeeper

NewKeeper create an IBC Keeper

func (IBCKeeper) AuthenticateCapability

func (k IBCKeeper) AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool

AuthenticateCapability wraps the scopedKeeper's AuthenticateCapability function

func (IBCKeeper) BindPort

func (k IBCKeeper) BindPort(ctx sdk.Context, portID string) error

BindPort defines a wrapper function for the ort Keeper's function in order to expose it to module's InitGenesis function

func (IBCKeeper) ChanCloseInit

func (k IBCKeeper) ChanCloseInit(ctx sdk.Context, portID, channelID string) error

ChanCloseInit defines a wrapper function for the channel Keeper's function

func (IBCKeeper) ClaimCapability

func (k IBCKeeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error

ClaimCapability allows the module that can claim a capability that IBC module passes to it

func (IBCKeeper) GetPort

func (k IBCKeeper) GetPort(ctx sdk.Context) string

GetPort returns the portID for the module. Used in ExportGenesis

func (IBCKeeper) IsBound

func (k IBCKeeper) IsBound(ctx sdk.Context, portID string) bool

IsBound checks if the module is already bound to the desired port

func (IBCKeeper) SetPort

func (k IBCKeeper) SetPort(ctx sdk.Context, portID string)

SetPort sets the portID for the module. Used in InitGenesis

type MsgClient

type MsgClient interface {
	SubmitEncryptedTx(ctx context.Context, in *MsgSubmitEncryptedTx, opts ...grpc.CallOption) (*MsgSubmitEncryptedTxResponse, error)
	// this line is used by starport scaffolding # proto/tx/rpc
	CreateAggregatedKeyShare(ctx context.Context, in *MsgCreateAggregatedKeyShare, opts ...grpc.CallOption) (*MsgCreateAggregatedKeyShareResponse, error)
	RequestGeneralKeyshare(ctx context.Context, in *MsgRequestGeneralKeyshare, opts ...grpc.CallOption) (*MsgRequestGeneralKeyshareResponse, error)
	GetGeneralKeyshare(ctx context.Context, in *MsgGetGeneralKeyshare, opts ...grpc.CallOption) (*MsgGetGeneralKeyshareResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateAggregatedKeyShare

type MsgCreateAggregatedKeyShare struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Height  uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Data    string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

this line is used by starport scaffolding # proto/tx/message

func NewMsgCreateAggregatedKeyShare

func NewMsgCreateAggregatedKeyShare(
	creator string,
	height uint64,
	data string,
) *MsgCreateAggregatedKeyShare

func (*MsgCreateAggregatedKeyShare) Descriptor

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

func (*MsgCreateAggregatedKeyShare) GetCreator

func (m *MsgCreateAggregatedKeyShare) GetCreator() string

func (*MsgCreateAggregatedKeyShare) GetData

func (m *MsgCreateAggregatedKeyShare) GetData() string

func (*MsgCreateAggregatedKeyShare) GetHeight

func (m *MsgCreateAggregatedKeyShare) GetHeight() uint64

func (*MsgCreateAggregatedKeyShare) GetSignBytes

func (msg *MsgCreateAggregatedKeyShare) GetSignBytes() []byte

func (*MsgCreateAggregatedKeyShare) GetSigners

func (msg *MsgCreateAggregatedKeyShare) GetSigners() []sdk.AccAddress

func (*MsgCreateAggregatedKeyShare) Marshal

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

func (*MsgCreateAggregatedKeyShare) MarshalTo

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

func (*MsgCreateAggregatedKeyShare) MarshalToSizedBuffer

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

func (*MsgCreateAggregatedKeyShare) ProtoMessage

func (*MsgCreateAggregatedKeyShare) ProtoMessage()

func (*MsgCreateAggregatedKeyShare) Reset

func (m *MsgCreateAggregatedKeyShare) Reset()

func (*MsgCreateAggregatedKeyShare) Route

func (msg *MsgCreateAggregatedKeyShare) Route() string

func (*MsgCreateAggregatedKeyShare) Size

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

func (*MsgCreateAggregatedKeyShare) String

func (m *MsgCreateAggregatedKeyShare) String() string

func (*MsgCreateAggregatedKeyShare) Type

func (msg *MsgCreateAggregatedKeyShare) Type() string

func (*MsgCreateAggregatedKeyShare) Unmarshal

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

func (*MsgCreateAggregatedKeyShare) ValidateBasic

func (msg *MsgCreateAggregatedKeyShare) ValidateBasic() error

func (*MsgCreateAggregatedKeyShare) XXX_DiscardUnknown

func (m *MsgCreateAggregatedKeyShare) XXX_DiscardUnknown()

func (*MsgCreateAggregatedKeyShare) XXX_Marshal

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

func (*MsgCreateAggregatedKeyShare) XXX_Merge

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

func (*MsgCreateAggregatedKeyShare) XXX_Size

func (m *MsgCreateAggregatedKeyShare) XXX_Size() int

func (*MsgCreateAggregatedKeyShare) XXX_Unmarshal

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

type MsgCreateAggregatedKeyShareResponse

type MsgCreateAggregatedKeyShareResponse struct {
}

func (*MsgCreateAggregatedKeyShareResponse) Descriptor

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

func (*MsgCreateAggregatedKeyShareResponse) Marshal

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

func (*MsgCreateAggregatedKeyShareResponse) MarshalTo

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

func (*MsgCreateAggregatedKeyShareResponse) MarshalToSizedBuffer

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

func (*MsgCreateAggregatedKeyShareResponse) ProtoMessage

func (*MsgCreateAggregatedKeyShareResponse) ProtoMessage()

func (*MsgCreateAggregatedKeyShareResponse) Reset

func (*MsgCreateAggregatedKeyShareResponse) Size

func (*MsgCreateAggregatedKeyShareResponse) String

func (*MsgCreateAggregatedKeyShareResponse) Unmarshal

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

func (*MsgCreateAggregatedKeyShareResponse) XXX_DiscardUnknown

func (m *MsgCreateAggregatedKeyShareResponse) XXX_DiscardUnknown()

func (*MsgCreateAggregatedKeyShareResponse) XXX_Marshal

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

func (*MsgCreateAggregatedKeyShareResponse) XXX_Merge

func (*MsgCreateAggregatedKeyShareResponse) XXX_Size

func (*MsgCreateAggregatedKeyShareResponse) XXX_Unmarshal

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

type MsgGetGeneralKeyshare added in v0.4.0

type MsgGetGeneralKeyshare struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
}

func NewMsgGetGeneralKeyshare added in v0.4.0

func NewMsgGetGeneralKeyshare(creator string, identity string) *MsgGetGeneralKeyshare

func (*MsgGetGeneralKeyshare) Descriptor added in v0.4.0

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

func (*MsgGetGeneralKeyshare) GetCreator added in v0.4.0

func (m *MsgGetGeneralKeyshare) GetCreator() string

func (*MsgGetGeneralKeyshare) GetIdentity added in v0.4.0

func (m *MsgGetGeneralKeyshare) GetIdentity() string

func (*MsgGetGeneralKeyshare) GetSignBytes added in v0.4.0

func (msg *MsgGetGeneralKeyshare) GetSignBytes() []byte

func (*MsgGetGeneralKeyshare) GetSigners added in v0.4.0

func (msg *MsgGetGeneralKeyshare) GetSigners() []sdk.AccAddress

func (*MsgGetGeneralKeyshare) Marshal added in v0.4.0

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

func (*MsgGetGeneralKeyshare) MarshalTo added in v0.4.0

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

func (*MsgGetGeneralKeyshare) MarshalToSizedBuffer added in v0.4.0

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

func (*MsgGetGeneralKeyshare) ProtoMessage added in v0.4.0

func (*MsgGetGeneralKeyshare) ProtoMessage()

func (*MsgGetGeneralKeyshare) Reset added in v0.4.0

func (m *MsgGetGeneralKeyshare) Reset()

func (*MsgGetGeneralKeyshare) Route added in v0.4.0

func (msg *MsgGetGeneralKeyshare) Route() string

func (*MsgGetGeneralKeyshare) Size added in v0.4.0

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

func (*MsgGetGeneralKeyshare) String added in v0.4.0

func (m *MsgGetGeneralKeyshare) String() string

func (*MsgGetGeneralKeyshare) Type added in v0.4.0

func (msg *MsgGetGeneralKeyshare) Type() string

func (*MsgGetGeneralKeyshare) Unmarshal added in v0.4.0

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

func (*MsgGetGeneralKeyshare) ValidateBasic added in v0.4.0

func (msg *MsgGetGeneralKeyshare) ValidateBasic() error

func (*MsgGetGeneralKeyshare) XXX_DiscardUnknown added in v0.4.0

func (m *MsgGetGeneralKeyshare) XXX_DiscardUnknown()

func (*MsgGetGeneralKeyshare) XXX_Marshal added in v0.4.0

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

func (*MsgGetGeneralKeyshare) XXX_Merge added in v0.4.0

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

func (*MsgGetGeneralKeyshare) XXX_Size added in v0.4.0

func (m *MsgGetGeneralKeyshare) XXX_Size() int

func (*MsgGetGeneralKeyshare) XXX_Unmarshal added in v0.4.0

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

type MsgGetGeneralKeyshareResponse added in v0.4.0

type MsgGetGeneralKeyshareResponse struct {
}

func (*MsgGetGeneralKeyshareResponse) Descriptor added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) Marshal added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) MarshalTo added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) MarshalToSizedBuffer added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) ProtoMessage added in v0.4.0

func (*MsgGetGeneralKeyshareResponse) ProtoMessage()

func (*MsgGetGeneralKeyshareResponse) Reset added in v0.4.0

func (m *MsgGetGeneralKeyshareResponse) Reset()

func (*MsgGetGeneralKeyshareResponse) Size added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) String added in v0.4.0

func (*MsgGetGeneralKeyshareResponse) Unmarshal added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) XXX_DiscardUnknown added in v0.4.0

func (m *MsgGetGeneralKeyshareResponse) XXX_DiscardUnknown()

func (*MsgGetGeneralKeyshareResponse) XXX_Marshal added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) XXX_Merge added in v0.4.0

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

func (*MsgGetGeneralKeyshareResponse) XXX_Size added in v0.4.0

func (m *MsgGetGeneralKeyshareResponse) XXX_Size() int

func (*MsgGetGeneralKeyshareResponse) XXX_Unmarshal added in v0.4.0

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

type MsgRequestGeneralKeyshare added in v0.4.0

type MsgRequestGeneralKeyshare struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	RequestId string `protobuf:"bytes,2,opt,name=requestId,proto3" json:"requestId,omitempty"`
}

func NewMsgRequestGeneralKeyshare added in v0.4.0

func NewMsgRequestGeneralKeyshare(creator string, requestId string) *MsgRequestGeneralKeyshare

func (*MsgRequestGeneralKeyshare) Descriptor added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) GetCreator added in v0.4.0

func (m *MsgRequestGeneralKeyshare) GetCreator() string

func (*MsgRequestGeneralKeyshare) GetRequestId added in v0.4.0

func (m *MsgRequestGeneralKeyshare) GetRequestId() string

func (*MsgRequestGeneralKeyshare) GetSignBytes added in v0.4.0

func (msg *MsgRequestGeneralKeyshare) GetSignBytes() []byte

func (*MsgRequestGeneralKeyshare) GetSigners added in v0.4.0

func (msg *MsgRequestGeneralKeyshare) GetSigners() []sdk.AccAddress

func (*MsgRequestGeneralKeyshare) Marshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) MarshalTo added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) MarshalToSizedBuffer added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) ProtoMessage added in v0.4.0

func (*MsgRequestGeneralKeyshare) ProtoMessage()

func (*MsgRequestGeneralKeyshare) Reset added in v0.4.0

func (m *MsgRequestGeneralKeyshare) Reset()

func (*MsgRequestGeneralKeyshare) Route added in v0.4.0

func (msg *MsgRequestGeneralKeyshare) Route() string

func (*MsgRequestGeneralKeyshare) Size added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) String added in v0.4.0

func (m *MsgRequestGeneralKeyshare) String() string

func (*MsgRequestGeneralKeyshare) Type added in v0.4.0

func (msg *MsgRequestGeneralKeyshare) Type() string

func (*MsgRequestGeneralKeyshare) Unmarshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) ValidateBasic added in v0.4.0

func (msg *MsgRequestGeneralKeyshare) ValidateBasic() error

func (*MsgRequestGeneralKeyshare) XXX_DiscardUnknown added in v0.4.0

func (m *MsgRequestGeneralKeyshare) XXX_DiscardUnknown()

func (*MsgRequestGeneralKeyshare) XXX_Marshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) XXX_Merge added in v0.4.0

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

func (*MsgRequestGeneralKeyshare) XXX_Size added in v0.4.0

func (m *MsgRequestGeneralKeyshare) XXX_Size() int

func (*MsgRequestGeneralKeyshare) XXX_Unmarshal added in v0.4.0

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

type MsgRequestGeneralKeyshareResponse added in v0.4.0

type MsgRequestGeneralKeyshareResponse struct {
	Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Pubkey   string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
}

func (*MsgRequestGeneralKeyshareResponse) Descriptor added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) GetIdentity added in v0.4.0

func (m *MsgRequestGeneralKeyshareResponse) GetIdentity() string

func (*MsgRequestGeneralKeyshareResponse) GetPubkey added in v0.4.0

func (*MsgRequestGeneralKeyshareResponse) Marshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) MarshalTo added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) MarshalToSizedBuffer added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) ProtoMessage added in v0.4.0

func (*MsgRequestGeneralKeyshareResponse) ProtoMessage()

func (*MsgRequestGeneralKeyshareResponse) Reset added in v0.4.0

func (*MsgRequestGeneralKeyshareResponse) Size added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) String added in v0.4.0

func (*MsgRequestGeneralKeyshareResponse) Unmarshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) XXX_DiscardUnknown added in v0.4.0

func (m *MsgRequestGeneralKeyshareResponse) XXX_DiscardUnknown()

func (*MsgRequestGeneralKeyshareResponse) XXX_Marshal added in v0.4.0

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

func (*MsgRequestGeneralKeyshareResponse) XXX_Merge added in v0.4.0

func (*MsgRequestGeneralKeyshareResponse) XXX_Size added in v0.4.0

func (m *MsgRequestGeneralKeyshareResponse) XXX_Size() int

func (*MsgRequestGeneralKeyshareResponse) XXX_Unmarshal added in v0.4.0

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

type MsgServer

type MsgServer interface {
	SubmitEncryptedTx(context.Context, *MsgSubmitEncryptedTx) (*MsgSubmitEncryptedTxResponse, error)
	// this line is used by starport scaffolding # proto/tx/rpc
	CreateAggregatedKeyShare(context.Context, *MsgCreateAggregatedKeyShare) (*MsgCreateAggregatedKeyShareResponse, error)
	RequestGeneralKeyshare(context.Context, *MsgRequestGeneralKeyshare) (*MsgRequestGeneralKeyshareResponse, error)
	GetGeneralKeyshare(context.Context, *MsgGetGeneralKeyshare) (*MsgGetGeneralKeyshareResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSubmitEncryptedTx

type MsgSubmitEncryptedTx struct {
	Creator           string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Data              string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	TargetBlockHeight uint64 `protobuf:"varint,3,opt,name=targetBlockHeight,proto3" json:"targetBlockHeight,omitempty"`
}

func NewMsgSubmitEncryptedTx

func NewMsgSubmitEncryptedTx(creator string, data string, targetBlockHeight uint64) *MsgSubmitEncryptedTx

func (*MsgSubmitEncryptedTx) Descriptor

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

func (*MsgSubmitEncryptedTx) GetCreator

func (m *MsgSubmitEncryptedTx) GetCreator() string

func (*MsgSubmitEncryptedTx) GetData

func (m *MsgSubmitEncryptedTx) GetData() string

func (*MsgSubmitEncryptedTx) GetSignBytes

func (msg *MsgSubmitEncryptedTx) GetSignBytes() []byte

func (*MsgSubmitEncryptedTx) GetSigners

func (msg *MsgSubmitEncryptedTx) GetSigners() []sdk.AccAddress

func (*MsgSubmitEncryptedTx) GetTargetBlockHeight

func (m *MsgSubmitEncryptedTx) GetTargetBlockHeight() uint64

func (*MsgSubmitEncryptedTx) Marshal

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

func (*MsgSubmitEncryptedTx) MarshalTo

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

func (*MsgSubmitEncryptedTx) MarshalToSizedBuffer

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

func (*MsgSubmitEncryptedTx) ProtoMessage

func (*MsgSubmitEncryptedTx) ProtoMessage()

func (*MsgSubmitEncryptedTx) Reset

func (m *MsgSubmitEncryptedTx) Reset()

func (*MsgSubmitEncryptedTx) Route

func (msg *MsgSubmitEncryptedTx) Route() string

func (*MsgSubmitEncryptedTx) Size

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

func (*MsgSubmitEncryptedTx) String

func (m *MsgSubmitEncryptedTx) String() string

func (*MsgSubmitEncryptedTx) Type

func (msg *MsgSubmitEncryptedTx) Type() string

func (*MsgSubmitEncryptedTx) Unmarshal

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

func (*MsgSubmitEncryptedTx) ValidateBasic

func (msg *MsgSubmitEncryptedTx) ValidateBasic() error

func (*MsgSubmitEncryptedTx) XXX_DiscardUnknown

func (m *MsgSubmitEncryptedTx) XXX_DiscardUnknown()

func (*MsgSubmitEncryptedTx) XXX_Marshal

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

func (*MsgSubmitEncryptedTx) XXX_Merge

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

func (*MsgSubmitEncryptedTx) XXX_Size

func (m *MsgSubmitEncryptedTx) XXX_Size() int

func (*MsgSubmitEncryptedTx) XXX_Unmarshal

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

type MsgSubmitEncryptedTxResponse

type MsgSubmitEncryptedTxResponse struct {
}

func (*MsgSubmitEncryptedTxResponse) Descriptor

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

func (*MsgSubmitEncryptedTxResponse) Marshal

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

func (*MsgSubmitEncryptedTxResponse) MarshalTo

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

func (*MsgSubmitEncryptedTxResponse) MarshalToSizedBuffer

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

func (*MsgSubmitEncryptedTxResponse) ProtoMessage

func (*MsgSubmitEncryptedTxResponse) ProtoMessage()

func (*MsgSubmitEncryptedTxResponse) Reset

func (m *MsgSubmitEncryptedTxResponse) Reset()

func (*MsgSubmitEncryptedTxResponse) Size

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

func (*MsgSubmitEncryptedTxResponse) String

func (*MsgSubmitEncryptedTxResponse) Unmarshal

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

func (*MsgSubmitEncryptedTxResponse) XXX_DiscardUnknown

func (m *MsgSubmitEncryptedTxResponse) XXX_DiscardUnknown()

func (*MsgSubmitEncryptedTxResponse) XXX_Marshal

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

func (*MsgSubmitEncryptedTxResponse) XXX_Merge

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

func (*MsgSubmitEncryptedTxResponse) XXX_Size

func (m *MsgSubmitEncryptedTxResponse) XXX_Size() int

func (*MsgSubmitEncryptedTxResponse) XXX_Unmarshal

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

type NoData

type NoData struct {
}

func (*NoData) Descriptor

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

func (*NoData) Marshal

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

func (*NoData) MarshalTo

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

func (*NoData) MarshalToSizedBuffer

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

func (*NoData) ProtoMessage

func (*NoData) ProtoMessage()

func (*NoData) Reset

func (m *NoData) Reset()

func (*NoData) Size

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

func (*NoData) String

func (m *NoData) String() string

func (*NoData) Unmarshal

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

func (*NoData) XXX_DiscardUnknown

func (m *NoData) XXX_DiscardUnknown()

func (*NoData) XXX_Marshal

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

func (*NoData) XXX_Merge

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

func (*NoData) XXX_Size

func (m *NoData) XXX_Size() int

func (*NoData) XXX_Unmarshal

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

type Params

type Params struct {
	TrustedCounterParties []*TrustedCounterParty `` /* 126-byte string literal not displayed */
	TrustedAddresses      []string               `protobuf:"bytes,2,rep,name=trusted_addresses,json=trustedAddresses,proto3" json:"trusted_addresses,omitempty"`
	PepChannelId          string                 `protobuf:"bytes,3,opt,name=pep_channel_id,json=pepChannelId,proto3" json:"pep_channel_id,omitempty"`
	KeyshareChannelId     string                 `protobuf:"bytes,4,opt,name=keyshare_channel_id,json=keyshareChannelId,proto3" json:"keyshare_channel_id,omitempty"`
	MinGasPrice           *types.Coin            `protobuf:"bytes,5,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price,omitempty"`
	IsSourceChain         bool                   `protobuf:"varint,6,opt,name=is_source_chain,json=isSourceChain,proto3" json:"is_source_chain,omitempty"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	trAddrs []string,
	trustedParties []*TrustedCounterParty,
	pepChannelID string,
	keyshareChannelID string,
	minGasPrice *sdk.Coin,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetIsSourceChain added in v0.4.0

func (m *Params) GetIsSourceChain() bool

func (*Params) GetKeyshareChannelId added in v0.4.0

func (m *Params) GetKeyshareChannelId() string

func (*Params) GetMinGasPrice

func (m *Params) GetMinGasPrice() *types.Coin

func (*Params) GetPepChannelId added in v0.4.0

func (m *Params) GetPepChannelId() string

func (*Params) GetTrustedAddresses

func (m *Params) GetTrustedAddresses() []string

func (*Params) GetTrustedCounterParties

func (m *Params) GetTrustedCounterParties() []*TrustedCounterParty

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type PepNonce

type PepNonce struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Nonce   uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*PepNonce) Descriptor

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

func (*PepNonce) GetAddress

func (m *PepNonce) GetAddress() string

func (*PepNonce) GetNonce

func (m *PepNonce) GetNonce() uint64

func (*PepNonce) Marshal

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

func (*PepNonce) MarshalTo

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

func (*PepNonce) MarshalToSizedBuffer

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

func (*PepNonce) ProtoMessage

func (*PepNonce) ProtoMessage()

func (*PepNonce) Reset

func (m *PepNonce) Reset()

func (*PepNonce) Size

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

func (*PepNonce) String

func (m *PepNonce) String() string

func (*PepNonce) Unmarshal

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

func (*PepNonce) XXX_DiscardUnknown

func (m *PepNonce) XXX_DiscardUnknown()

func (*PepNonce) XXX_Marshal

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

func (*PepNonce) XXX_Merge

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

func (*PepNonce) XXX_Size

func (m *PepNonce) XXX_Size() int

func (*PepNonce) XXX_Unmarshal

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

type PepPacketData

type PepPacketData struct {
	// Types that are valid to be assigned to Packet:
	//	*PepPacketData_NoData
	//	*PepPacketData_CurrentKeysPacket
	Packet isPepPacketData_Packet `protobuf_oneof:"packet"`
}

func (*PepPacketData) Descriptor

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

func (*PepPacketData) GetCurrentKeysPacket

func (m *PepPacketData) GetCurrentKeysPacket() *CurrentKeysPacketData

func (*PepPacketData) GetNoData

func (m *PepPacketData) GetNoData() *NoData

func (*PepPacketData) GetPacket

func (m *PepPacketData) GetPacket() isPepPacketData_Packet

func (*PepPacketData) Marshal

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

func (*PepPacketData) MarshalTo

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

func (*PepPacketData) MarshalToSizedBuffer

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

func (*PepPacketData) ProtoMessage

func (*PepPacketData) ProtoMessage()

func (*PepPacketData) Reset

func (m *PepPacketData) Reset()

func (*PepPacketData) Size

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

func (*PepPacketData) String

func (m *PepPacketData) String() string

func (*PepPacketData) Unmarshal

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

func (*PepPacketData) XXX_DiscardUnknown

func (m *PepPacketData) XXX_DiscardUnknown()

func (*PepPacketData) XXX_Marshal

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

func (*PepPacketData) XXX_Merge

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

func (*PepPacketData) XXX_OneofWrappers

func (*PepPacketData) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PepPacketData) XXX_Size

func (m *PepPacketData) XXX_Size() int

func (*PepPacketData) XXX_Unmarshal

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

type PepPacketData_CurrentKeysPacket

type PepPacketData_CurrentKeysPacket struct {
	CurrentKeysPacket *CurrentKeysPacketData `protobuf:"bytes,2,opt,name=currentKeysPacket,proto3,oneof" json:"currentKeysPacket,omitempty"`
}

func (*PepPacketData_CurrentKeysPacket) MarshalTo

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

func (*PepPacketData_CurrentKeysPacket) MarshalToSizedBuffer

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

func (*PepPacketData_CurrentKeysPacket) Size

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

type PepPacketData_NoData

type PepPacketData_NoData struct {
	NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}

func (*PepPacketData_NoData) MarshalTo

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

func (*PepPacketData_NoData) MarshalToSizedBuffer

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

func (*PepPacketData_NoData) Size

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

type PortKeeper

type PortKeeper interface {
	BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}

PortKeeper defines the expected IBC port keeper

type QueryAllEncryptedTxFromHeightRequest

type QueryAllEncryptedTxFromHeightRequest struct {
	TargetHeight uint64 `protobuf:"varint,1,opt,name=targetHeight,proto3" json:"targetHeight,omitempty"`
}

func (*QueryAllEncryptedTxFromHeightRequest) Descriptor

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

func (*QueryAllEncryptedTxFromHeightRequest) GetTargetHeight

func (m *QueryAllEncryptedTxFromHeightRequest) GetTargetHeight() uint64

func (*QueryAllEncryptedTxFromHeightRequest) Marshal

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

func (*QueryAllEncryptedTxFromHeightRequest) MarshalTo

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

func (*QueryAllEncryptedTxFromHeightRequest) MarshalToSizedBuffer

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

func (*QueryAllEncryptedTxFromHeightRequest) ProtoMessage

func (*QueryAllEncryptedTxFromHeightRequest) ProtoMessage()

func (*QueryAllEncryptedTxFromHeightRequest) Reset

func (*QueryAllEncryptedTxFromHeightRequest) Size

func (*QueryAllEncryptedTxFromHeightRequest) String

func (*QueryAllEncryptedTxFromHeightRequest) Unmarshal

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

func (*QueryAllEncryptedTxFromHeightRequest) XXX_DiscardUnknown

func (m *QueryAllEncryptedTxFromHeightRequest) XXX_DiscardUnknown()

func (*QueryAllEncryptedTxFromHeightRequest) XXX_Marshal

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

func (*QueryAllEncryptedTxFromHeightRequest) XXX_Merge

func (*QueryAllEncryptedTxFromHeightRequest) XXX_Size

func (*QueryAllEncryptedTxFromHeightRequest) XXX_Unmarshal

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

type QueryAllEncryptedTxFromHeightResponse

type QueryAllEncryptedTxFromHeightResponse struct {
	EncryptedTxArray EncryptedTxArray `protobuf:"bytes,1,opt,name=encryptedTxArray,proto3" json:"encryptedTxArray"`
}

func (*QueryAllEncryptedTxFromHeightResponse) Descriptor

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

func (*QueryAllEncryptedTxFromHeightResponse) GetEncryptedTxArray

func (*QueryAllEncryptedTxFromHeightResponse) Marshal

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

func (*QueryAllEncryptedTxFromHeightResponse) MarshalTo

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

func (*QueryAllEncryptedTxFromHeightResponse) MarshalToSizedBuffer

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

func (*QueryAllEncryptedTxFromHeightResponse) ProtoMessage

func (*QueryAllEncryptedTxFromHeightResponse) ProtoMessage()

func (*QueryAllEncryptedTxFromHeightResponse) Reset

func (*QueryAllEncryptedTxFromHeightResponse) Size

func (*QueryAllEncryptedTxFromHeightResponse) String

func (*QueryAllEncryptedTxFromHeightResponse) Unmarshal

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

func (*QueryAllEncryptedTxFromHeightResponse) XXX_DiscardUnknown

func (m *QueryAllEncryptedTxFromHeightResponse) XXX_DiscardUnknown()

func (*QueryAllEncryptedTxFromHeightResponse) XXX_Marshal

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

func (*QueryAllEncryptedTxFromHeightResponse) XXX_Merge

func (*QueryAllEncryptedTxFromHeightResponse) XXX_Size

func (*QueryAllEncryptedTxFromHeightResponse) XXX_Unmarshal

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

type QueryAllEncryptedTxRequest

type QueryAllEncryptedTxRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllEncryptedTxRequest) Descriptor

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

func (*QueryAllEncryptedTxRequest) GetPagination

func (m *QueryAllEncryptedTxRequest) GetPagination() *query.PageRequest

func (*QueryAllEncryptedTxRequest) Marshal

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

func (*QueryAllEncryptedTxRequest) MarshalTo

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

func (*QueryAllEncryptedTxRequest) MarshalToSizedBuffer

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

func (*QueryAllEncryptedTxRequest) ProtoMessage

func (*QueryAllEncryptedTxRequest) ProtoMessage()

func (*QueryAllEncryptedTxRequest) Reset

func (m *QueryAllEncryptedTxRequest) Reset()

func (*QueryAllEncryptedTxRequest) Size

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

func (*QueryAllEncryptedTxRequest) String

func (m *QueryAllEncryptedTxRequest) String() string

func (*QueryAllEncryptedTxRequest) Unmarshal

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

func (*QueryAllEncryptedTxRequest) XXX_DiscardUnknown

func (m *QueryAllEncryptedTxRequest) XXX_DiscardUnknown()

func (*QueryAllEncryptedTxRequest) XXX_Marshal

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

func (*QueryAllEncryptedTxRequest) XXX_Merge

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

func (*QueryAllEncryptedTxRequest) XXX_Size

func (m *QueryAllEncryptedTxRequest) XXX_Size() int

func (*QueryAllEncryptedTxRequest) XXX_Unmarshal

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

type QueryAllEncryptedTxResponse

type QueryAllEncryptedTxResponse struct {
	EncryptedTxArray []EncryptedTxArray  `protobuf:"bytes,1,rep,name=encryptedTxArray,proto3" json:"encryptedTxArray"`
	Pagination       *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllEncryptedTxResponse) Descriptor

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

func (*QueryAllEncryptedTxResponse) GetEncryptedTxArray

func (m *QueryAllEncryptedTxResponse) GetEncryptedTxArray() []EncryptedTxArray

func (*QueryAllEncryptedTxResponse) GetPagination

func (m *QueryAllEncryptedTxResponse) GetPagination() *query.PageResponse

func (*QueryAllEncryptedTxResponse) Marshal

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

func (*QueryAllEncryptedTxResponse) MarshalTo

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

func (*QueryAllEncryptedTxResponse) MarshalToSizedBuffer

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

func (*QueryAllEncryptedTxResponse) ProtoMessage

func (*QueryAllEncryptedTxResponse) ProtoMessage()

func (*QueryAllEncryptedTxResponse) Reset

func (m *QueryAllEncryptedTxResponse) Reset()

func (*QueryAllEncryptedTxResponse) Size

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

func (*QueryAllEncryptedTxResponse) String

func (m *QueryAllEncryptedTxResponse) String() string

func (*QueryAllEncryptedTxResponse) Unmarshal

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

func (*QueryAllEncryptedTxResponse) XXX_DiscardUnknown

func (m *QueryAllEncryptedTxResponse) XXX_DiscardUnknown()

func (*QueryAllEncryptedTxResponse) XXX_Marshal

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

func (*QueryAllEncryptedTxResponse) XXX_Merge

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

func (*QueryAllEncryptedTxResponse) XXX_Size

func (m *QueryAllEncryptedTxResponse) XXX_Size() int

func (*QueryAllEncryptedTxResponse) XXX_Unmarshal

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

type QueryAllPepNonceRequest

type QueryAllPepNonceRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPepNonceRequest) Descriptor

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

func (*QueryAllPepNonceRequest) GetPagination

func (m *QueryAllPepNonceRequest) GetPagination() *query.PageRequest

func (*QueryAllPepNonceRequest) Marshal

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

func (*QueryAllPepNonceRequest) MarshalTo

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

func (*QueryAllPepNonceRequest) MarshalToSizedBuffer

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

func (*QueryAllPepNonceRequest) ProtoMessage

func (*QueryAllPepNonceRequest) ProtoMessage()

func (*QueryAllPepNonceRequest) Reset

func (m *QueryAllPepNonceRequest) Reset()

func (*QueryAllPepNonceRequest) Size

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

func (*QueryAllPepNonceRequest) String

func (m *QueryAllPepNonceRequest) String() string

func (*QueryAllPepNonceRequest) Unmarshal

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

func (*QueryAllPepNonceRequest) XXX_DiscardUnknown

func (m *QueryAllPepNonceRequest) XXX_DiscardUnknown()

func (*QueryAllPepNonceRequest) XXX_Marshal

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

func (*QueryAllPepNonceRequest) XXX_Merge

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

func (*QueryAllPepNonceRequest) XXX_Size

func (m *QueryAllPepNonceRequest) XXX_Size() int

func (*QueryAllPepNonceRequest) XXX_Unmarshal

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

type QueryAllPepNonceResponse

type QueryAllPepNonceResponse struct {
	PepNonce   []PepNonce          `protobuf:"bytes,1,rep,name=pepNonce,proto3" json:"pepNonce"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPepNonceResponse) Descriptor

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

func (*QueryAllPepNonceResponse) GetPagination

func (m *QueryAllPepNonceResponse) GetPagination() *query.PageResponse

func (*QueryAllPepNonceResponse) GetPepNonce

func (m *QueryAllPepNonceResponse) GetPepNonce() []PepNonce

func (*QueryAllPepNonceResponse) Marshal

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

func (*QueryAllPepNonceResponse) MarshalTo

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

func (*QueryAllPepNonceResponse) MarshalToSizedBuffer

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

func (*QueryAllPepNonceResponse) ProtoMessage

func (*QueryAllPepNonceResponse) ProtoMessage()

func (*QueryAllPepNonceResponse) Reset

func (m *QueryAllPepNonceResponse) Reset()

func (*QueryAllPepNonceResponse) Size

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

func (*QueryAllPepNonceResponse) String

func (m *QueryAllPepNonceResponse) String() string

func (*QueryAllPepNonceResponse) Unmarshal

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

func (*QueryAllPepNonceResponse) XXX_DiscardUnknown

func (m *QueryAllPepNonceResponse) XXX_DiscardUnknown()

func (*QueryAllPepNonceResponse) XXX_Marshal

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

func (*QueryAllPepNonceResponse) XXX_Merge

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

func (*QueryAllPepNonceResponse) XXX_Size

func (m *QueryAllPepNonceResponse) XXX_Size() int

func (*QueryAllPepNonceResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a EncryptedTx by index.
	EncryptedTx(ctx context.Context, in *QueryGetEncryptedTxRequest, opts ...grpc.CallOption) (*QueryGetEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAll(ctx context.Context, in *QueryAllEncryptedTxRequest, opts ...grpc.CallOption) (*QueryAllEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAllFromHeight(ctx context.Context, in *QueryAllEncryptedTxFromHeightRequest, opts ...grpc.CallOption) (*QueryAllEncryptedTxFromHeightResponse, error)
	// Queries a list of LatestHeight items.
	LatestHeight(ctx context.Context, in *QueryLatestHeightRequest, opts ...grpc.CallOption) (*QueryLatestHeightResponse, error)
	// Queries a PepNonce by index.
	PepNonce(ctx context.Context, in *QueryGetPepNonceRequest, opts ...grpc.CallOption) (*QueryGetPepNonceResponse, error)
	// Queries a list of PepNonce items.
	PepNonceAll(ctx context.Context, in *QueryAllPepNonceRequest, opts ...grpc.CallOption) (*QueryAllPepNonceResponse, error)
	// Queries the public keys
	PubKey(ctx context.Context, in *QueryPubKeyRequest, opts ...grpc.CallOption) (*QueryPubKeyResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetEncryptedTxRequest

type QueryGetEncryptedTxRequest struct {
	TargetHeight uint64 `protobuf:"varint,1,opt,name=targetHeight,proto3" json:"targetHeight,omitempty"`
	Index        uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetEncryptedTxRequest) Descriptor

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

func (*QueryGetEncryptedTxRequest) GetIndex

func (m *QueryGetEncryptedTxRequest) GetIndex() uint64

func (*QueryGetEncryptedTxRequest) GetTargetHeight

func (m *QueryGetEncryptedTxRequest) GetTargetHeight() uint64

func (*QueryGetEncryptedTxRequest) Marshal

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

func (*QueryGetEncryptedTxRequest) MarshalTo

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

func (*QueryGetEncryptedTxRequest) MarshalToSizedBuffer

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

func (*QueryGetEncryptedTxRequest) ProtoMessage

func (*QueryGetEncryptedTxRequest) ProtoMessage()

func (*QueryGetEncryptedTxRequest) Reset

func (m *QueryGetEncryptedTxRequest) Reset()

func (*QueryGetEncryptedTxRequest) Size

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

func (*QueryGetEncryptedTxRequest) String

func (m *QueryGetEncryptedTxRequest) String() string

func (*QueryGetEncryptedTxRequest) Unmarshal

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

func (*QueryGetEncryptedTxRequest) XXX_DiscardUnknown

func (m *QueryGetEncryptedTxRequest) XXX_DiscardUnknown()

func (*QueryGetEncryptedTxRequest) XXX_Marshal

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

func (*QueryGetEncryptedTxRequest) XXX_Merge

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

func (*QueryGetEncryptedTxRequest) XXX_Size

func (m *QueryGetEncryptedTxRequest) XXX_Size() int

func (*QueryGetEncryptedTxRequest) XXX_Unmarshal

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

type QueryGetEncryptedTxResponse

type QueryGetEncryptedTxResponse struct {
	EncryptedTx EncryptedTx `protobuf:"bytes,1,opt,name=encryptedTx,proto3" json:"encryptedTx"`
}

func (*QueryGetEncryptedTxResponse) Descriptor

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

func (*QueryGetEncryptedTxResponse) GetEncryptedTx

func (m *QueryGetEncryptedTxResponse) GetEncryptedTx() EncryptedTx

func (*QueryGetEncryptedTxResponse) Marshal

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

func (*QueryGetEncryptedTxResponse) MarshalTo

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

func (*QueryGetEncryptedTxResponse) MarshalToSizedBuffer

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

func (*QueryGetEncryptedTxResponse) ProtoMessage

func (*QueryGetEncryptedTxResponse) ProtoMessage()

func (*QueryGetEncryptedTxResponse) Reset

func (m *QueryGetEncryptedTxResponse) Reset()

func (*QueryGetEncryptedTxResponse) Size

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

func (*QueryGetEncryptedTxResponse) String

func (m *QueryGetEncryptedTxResponse) String() string

func (*QueryGetEncryptedTxResponse) Unmarshal

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

func (*QueryGetEncryptedTxResponse) XXX_DiscardUnknown

func (m *QueryGetEncryptedTxResponse) XXX_DiscardUnknown()

func (*QueryGetEncryptedTxResponse) XXX_Marshal

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

func (*QueryGetEncryptedTxResponse) XXX_Merge

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

func (*QueryGetEncryptedTxResponse) XXX_Size

func (m *QueryGetEncryptedTxResponse) XXX_Size() int

func (*QueryGetEncryptedTxResponse) XXX_Unmarshal

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

type QueryGetPepNonceRequest

type QueryGetPepNonceRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryGetPepNonceRequest) Descriptor

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

func (*QueryGetPepNonceRequest) GetAddress

func (m *QueryGetPepNonceRequest) GetAddress() string

func (*QueryGetPepNonceRequest) Marshal

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

func (*QueryGetPepNonceRequest) MarshalTo

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

func (*QueryGetPepNonceRequest) MarshalToSizedBuffer

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

func (*QueryGetPepNonceRequest) ProtoMessage

func (*QueryGetPepNonceRequest) ProtoMessage()

func (*QueryGetPepNonceRequest) Reset

func (m *QueryGetPepNonceRequest) Reset()

func (*QueryGetPepNonceRequest) Size

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

func (*QueryGetPepNonceRequest) String

func (m *QueryGetPepNonceRequest) String() string

func (*QueryGetPepNonceRequest) Unmarshal

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

func (*QueryGetPepNonceRequest) XXX_DiscardUnknown

func (m *QueryGetPepNonceRequest) XXX_DiscardUnknown()

func (*QueryGetPepNonceRequest) XXX_Marshal

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

func (*QueryGetPepNonceRequest) XXX_Merge

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

func (*QueryGetPepNonceRequest) XXX_Size

func (m *QueryGetPepNonceRequest) XXX_Size() int

func (*QueryGetPepNonceRequest) XXX_Unmarshal

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

type QueryGetPepNonceResponse

type QueryGetPepNonceResponse struct {
	PepNonce PepNonce `protobuf:"bytes,1,opt,name=pepNonce,proto3" json:"pepNonce"`
}

func (*QueryGetPepNonceResponse) Descriptor

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

func (*QueryGetPepNonceResponse) GetPepNonce

func (m *QueryGetPepNonceResponse) GetPepNonce() PepNonce

func (*QueryGetPepNonceResponse) Marshal

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

func (*QueryGetPepNonceResponse) MarshalTo

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

func (*QueryGetPepNonceResponse) MarshalToSizedBuffer

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

func (*QueryGetPepNonceResponse) ProtoMessage

func (*QueryGetPepNonceResponse) ProtoMessage()

func (*QueryGetPepNonceResponse) Reset

func (m *QueryGetPepNonceResponse) Reset()

func (*QueryGetPepNonceResponse) Size

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

func (*QueryGetPepNonceResponse) String

func (m *QueryGetPepNonceResponse) String() string

func (*QueryGetPepNonceResponse) Unmarshal

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

func (*QueryGetPepNonceResponse) XXX_DiscardUnknown

func (m *QueryGetPepNonceResponse) XXX_DiscardUnknown()

func (*QueryGetPepNonceResponse) XXX_Marshal

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

func (*QueryGetPepNonceResponse) XXX_Merge

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

func (*QueryGetPepNonceResponse) XXX_Size

func (m *QueryGetPepNonceResponse) XXX_Size() int

func (*QueryGetPepNonceResponse) XXX_Unmarshal

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

type QueryLatestHeightRequest

type QueryLatestHeightRequest struct {
}

func (*QueryLatestHeightRequest) Descriptor

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

func (*QueryLatestHeightRequest) Marshal

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

func (*QueryLatestHeightRequest) MarshalTo

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

func (*QueryLatestHeightRequest) MarshalToSizedBuffer

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

func (*QueryLatestHeightRequest) ProtoMessage

func (*QueryLatestHeightRequest) ProtoMessage()

func (*QueryLatestHeightRequest) Reset

func (m *QueryLatestHeightRequest) Reset()

func (*QueryLatestHeightRequest) Size

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

func (*QueryLatestHeightRequest) String

func (m *QueryLatestHeightRequest) String() string

func (*QueryLatestHeightRequest) Unmarshal

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

func (*QueryLatestHeightRequest) XXX_DiscardUnknown

func (m *QueryLatestHeightRequest) XXX_DiscardUnknown()

func (*QueryLatestHeightRequest) XXX_Marshal

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

func (*QueryLatestHeightRequest) XXX_Merge

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

func (*QueryLatestHeightRequest) XXX_Size

func (m *QueryLatestHeightRequest) XXX_Size() int

func (*QueryLatestHeightRequest) XXX_Unmarshal

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

type QueryLatestHeightResponse

type QueryLatestHeightResponse struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

func (*QueryLatestHeightResponse) Descriptor

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

func (*QueryLatestHeightResponse) GetHeight

func (m *QueryLatestHeightResponse) GetHeight() uint64

func (*QueryLatestHeightResponse) Marshal

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

func (*QueryLatestHeightResponse) MarshalTo

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

func (*QueryLatestHeightResponse) MarshalToSizedBuffer

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

func (*QueryLatestHeightResponse) ProtoMessage

func (*QueryLatestHeightResponse) ProtoMessage()

func (*QueryLatestHeightResponse) Reset

func (m *QueryLatestHeightResponse) Reset()

func (*QueryLatestHeightResponse) Size

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

func (*QueryLatestHeightResponse) String

func (m *QueryLatestHeightResponse) String() string

func (*QueryLatestHeightResponse) Unmarshal

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

func (*QueryLatestHeightResponse) XXX_DiscardUnknown

func (m *QueryLatestHeightResponse) XXX_DiscardUnknown()

func (*QueryLatestHeightResponse) XXX_Marshal

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

func (*QueryLatestHeightResponse) XXX_Merge

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

func (*QueryLatestHeightResponse) XXX_Size

func (m *QueryLatestHeightResponse) XXX_Size() int

func (*QueryLatestHeightResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryPubKeyRequest

type QueryPubKeyRequest struct {
}

func (*QueryPubKeyRequest) Descriptor

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

func (*QueryPubKeyRequest) Marshal

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

func (*QueryPubKeyRequest) MarshalTo

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

func (*QueryPubKeyRequest) MarshalToSizedBuffer

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

func (*QueryPubKeyRequest) ProtoMessage

func (*QueryPubKeyRequest) ProtoMessage()

func (*QueryPubKeyRequest) Reset

func (m *QueryPubKeyRequest) Reset()

func (*QueryPubKeyRequest) Size

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

func (*QueryPubKeyRequest) String

func (m *QueryPubKeyRequest) String() string

func (*QueryPubKeyRequest) Unmarshal

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

func (*QueryPubKeyRequest) XXX_DiscardUnknown

func (m *QueryPubKeyRequest) XXX_DiscardUnknown()

func (*QueryPubKeyRequest) XXX_Marshal

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

func (*QueryPubKeyRequest) XXX_Merge

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

func (*QueryPubKeyRequest) XXX_Size

func (m *QueryPubKeyRequest) XXX_Size() int

func (*QueryPubKeyRequest) XXX_Unmarshal

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

type QueryPubKeyResponse

type QueryPubKeyResponse struct {
	ActivePubKey ActivePubKey `protobuf:"bytes,1,opt,name=activePubKey,proto3" json:"activePubKey"`
	QueuedPubKey QueuedPubKey `protobuf:"bytes,2,opt,name=queuedPubKey,proto3" json:"queuedPubKey"`
}

func (*QueryPubKeyResponse) Descriptor

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

func (*QueryPubKeyResponse) GetActivePubKey

func (m *QueryPubKeyResponse) GetActivePubKey() ActivePubKey

func (*QueryPubKeyResponse) GetQueuedPubKey

func (m *QueryPubKeyResponse) GetQueuedPubKey() QueuedPubKey

func (*QueryPubKeyResponse) Marshal

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

func (*QueryPubKeyResponse) MarshalTo

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

func (*QueryPubKeyResponse) MarshalToSizedBuffer

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

func (*QueryPubKeyResponse) ProtoMessage

func (*QueryPubKeyResponse) ProtoMessage()

func (*QueryPubKeyResponse) Reset

func (m *QueryPubKeyResponse) Reset()

func (*QueryPubKeyResponse) Size

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

func (*QueryPubKeyResponse) String

func (m *QueryPubKeyResponse) String() string

func (*QueryPubKeyResponse) Unmarshal

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

func (*QueryPubKeyResponse) XXX_DiscardUnknown

func (m *QueryPubKeyResponse) XXX_DiscardUnknown()

func (*QueryPubKeyResponse) XXX_Marshal

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

func (*QueryPubKeyResponse) XXX_Merge

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

func (*QueryPubKeyResponse) XXX_Size

func (m *QueryPubKeyResponse) XXX_Size() int

func (*QueryPubKeyResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a EncryptedTx by index.
	EncryptedTx(context.Context, *QueryGetEncryptedTxRequest) (*QueryGetEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAll(context.Context, *QueryAllEncryptedTxRequest) (*QueryAllEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAllFromHeight(context.Context, *QueryAllEncryptedTxFromHeightRequest) (*QueryAllEncryptedTxFromHeightResponse, error)
	// Queries a list of LatestHeight items.
	LatestHeight(context.Context, *QueryLatestHeightRequest) (*QueryLatestHeightResponse, error)
	// Queries a PepNonce by index.
	PepNonce(context.Context, *QueryGetPepNonceRequest) (*QueryGetPepNonceResponse, error)
	// Queries a list of PepNonce items.
	PepNonceAll(context.Context, *QueryAllPepNonceRequest) (*QueryAllPepNonceResponse, error)
	// Queries the public keys
	PubKey(context.Context, *QueryPubKeyRequest) (*QueryPubKeyResponse, error)
}

QueryServer is the server API for Query service.

type QueuedPubKey

type QueuedPubKey struct {
	PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Creator   string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Expiry    uint64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
}

func (*QueuedPubKey) Descriptor

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

func (*QueuedPubKey) GetCreator

func (m *QueuedPubKey) GetCreator() string

func (*QueuedPubKey) GetExpiry

func (m *QueuedPubKey) GetExpiry() uint64

func (*QueuedPubKey) GetPublicKey

func (m *QueuedPubKey) GetPublicKey() string

func (*QueuedPubKey) Marshal

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

func (*QueuedPubKey) MarshalTo

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

func (*QueuedPubKey) MarshalToSizedBuffer

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

func (*QueuedPubKey) ProtoMessage

func (*QueuedPubKey) ProtoMessage()

func (*QueuedPubKey) Reset

func (m *QueuedPubKey) Reset()

func (*QueuedPubKey) Size

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

func (*QueuedPubKey) String

func (m *QueuedPubKey) String() string

func (*QueuedPubKey) Unmarshal

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

func (*QueuedPubKey) XXX_DiscardUnknown

func (m *QueuedPubKey) XXX_DiscardUnknown()

func (*QueuedPubKey) XXX_Marshal

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

func (*QueuedPubKey) XXX_Merge

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

func (*QueuedPubKey) XXX_Size

func (m *QueuedPubKey) XXX_Size() int

func (*QueuedPubKey) XXX_Unmarshal

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

type ScopedKeeper

type ScopedKeeper interface {
	GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool)
	AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool
	ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
}

ScopedKeeper defines the expected IBC scoped keeper

type TrustedCounterParty

type TrustedCounterParty struct {
	ClientId     string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	ChannelId    string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
}

func (*TrustedCounterParty) Descriptor

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

func (*TrustedCounterParty) GetChannelId

func (m *TrustedCounterParty) GetChannelId() string

func (*TrustedCounterParty) GetClientId

func (m *TrustedCounterParty) GetClientId() string

func (*TrustedCounterParty) GetConnectionId

func (m *TrustedCounterParty) GetConnectionId() string

func (*TrustedCounterParty) Marshal

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

func (*TrustedCounterParty) MarshalTo

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

func (*TrustedCounterParty) MarshalToSizedBuffer

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

func (*TrustedCounterParty) ProtoMessage

func (*TrustedCounterParty) ProtoMessage()

func (*TrustedCounterParty) Reset

func (m *TrustedCounterParty) Reset()

func (*TrustedCounterParty) Size

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

func (*TrustedCounterParty) String

func (m *TrustedCounterParty) String() string

func (*TrustedCounterParty) Unmarshal

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

func (*TrustedCounterParty) XXX_DiscardUnknown

func (m *TrustedCounterParty) XXX_DiscardUnknown()

func (*TrustedCounterParty) XXX_Marshal

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

func (*TrustedCounterParty) XXX_Merge

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

func (*TrustedCounterParty) XXX_Size

func (m *TrustedCounterParty) XXX_Size() int

func (*TrustedCounterParty) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateAggregatedKeyShare

func (*UnimplementedMsgServer) GetGeneralKeyshare added in v0.4.0

func (*UnimplementedMsgServer) RequestGeneralKeyshare added in v0.4.0

func (*UnimplementedMsgServer) SubmitEncryptedTx

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) EncryptedTx

func (*UnimplementedQueryServer) EncryptedTxAll

func (*UnimplementedQueryServer) LatestHeight

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PepNonce

func (*UnimplementedQueryServer) PepNonceAll

func (*UnimplementedQueryServer) PubKey

Jump to

Keyboard shortcuts

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