types

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: Apache-2.0 Imports: 44 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"

	AttributeKeyAckSuccess = "success"
	AttributeKeyAck        = "acknowledgement"
	AttributeKeyAckError   = "error"

	EventTypeCurrentKeysPacket          = "currentKeys_packet"
	EventTypeRequestKeyshare            = "keyshare_request_packet"
	EventTypePrivateKeyshareRequest     = "private_keyshare_request_packet"
	EventTypePrivateKeyshareRequestSent = "private_keyshare_request_packet_sent"
	EventTypeGetPrivateKeyshareRequest  = "get_private_keyshare_request_packet"

	AttributeKeyRequestID = "request_id"
	AttributeKeyIdentity  = "identity"
	AttributeKeyCreator   = "creator"
)

IBC events

View Source
const (
	// EncryptedTxKeyPrefix is the prefix to retrieve all EncryptedTx
	EncryptedTxKeyPrefix         = "EncryptedTx/value/"
	GenEncTxKeyPrefix            = "GenEncTx/value/"
	PrivateRequestQueueKeyPrefix = "PrivateReq/value/"
	PrivateSignalQueueKeyPrefix  = "PrivateSignal/value/"
	GenEncTxReqQueueKeyPrefix    = "GenEncTxReqQueue/value/"
	GenEncTxSignalQueueKeyPrefix = "GenEncTxSignalQueue/value/"
	GenEncTxExeQueueKeyPrefix    = "GenEncTxExeQueue/value/"
)
View Source
const (
	// ActivePubkeyPrefix is the prefix to retrieve the active Public Key
	ActivePubkeyPrefix = "ActivePubkey/value/"

	QueuedPubkeyPrefix = "QueuedPubkey/value/"
)
View Source
const (
	// RequestIdKeyPrefix is the prefix to retrieve all RequestId
	RequestIdKeyPrefix        = "RequestId/value/"
	PrivateRequestIdKeyPrefix = "PrivateRequestId/value/"
	ContractKeyPrefix         = "Contract/value/"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "pep"

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

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

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

	// KeyshareVersion defines the current version the IBC module supports
	KeyshareVersion = "keyshare-1"

	// 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"
	SubmittedGeneralEncryptedTxEventType  = "new-general-encrypted-tx-submitted"
	SubmittedEncryptedTxEventIdentity     = "identity"
	SubmittedEncryptedTxEventCreator      = "creator"
	SubmittedEncryptedTxEventTargetHeight = "target-height"
	SubmittedEncryptedTxEventIndex        = "index"
	SubmittedEncryptedTxEventData         = "data"
)
View Source
const (
	EncryptedTxExecutedEventType     = "executed-encrypted-tx"
	EncryptedTxExecutedEventCreator  = "creator"
	EncryptedTxExecutedEventHeight   = "target-height"
	EncryptedTxExecutedEventIndex    = "index"
	EncryptedTxExecutedEventIdentity = "identity"

	EncryptedTxExecutedEventData             = "data"
	EncryptedTxExecutedEventMemo             = "memo"
	EncryptedTxExecutedEventUnderlyingEvents = "events"
)
View Source
const (
	EncryptedTxRevertedEventType     = "reverted-encrypted-tx"
	EncryptedTxRevertedEventCreator  = "creator"
	EncryptedTxRevertedEventHeight   = "height"
	EncryptedTxRevertedEventIndex    = "index"
	EncryptedTxRevertedEventIdentity = "identity"
	EncryptedTxRevertedEventReason   = "reason"
)
View Source
const (
	EncryptedTxDiscardedEventType   = "discarded-encrypted-tx"
	EncryptedTxDiscardedEventHeight = "height"
	EncryptedTxDiscardedEventTxIDs  = "tx-ids"
)
View Source
const (
	DecryptionKeyVerificationType    = "decryption-key-verification"
	DecryptionKeyVerificationCreator = "creator"
	DecryptionKeyVerificationHeight  = "height"
	DecryptionKeyVerificationReason  = "reason"
)
View Source
const (
	KeyTotalEncryptedTxSubmitted = "total_encrypted_tx_submitted"
	KeyTotalSuccessEncryptedTx   = "total_success_encrypted_tx"
	KeyTotalFailedEncryptedTx    = "total_failed_encrypted_tx"
)
View Source
const (
	RequestIdentityEventType     = "new-identity-requested"
	RequestIdentityEventIdentity = "identity"
	RequestIdentityEventPubkey   = "pubkey"
)
View Source
const (
	// DecryptionKeyKeyPrefix is the prefix to retrieve all decryption key
	DecryptionKeyKeyPrefix = "DecryptionKey/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const (
	//PepNonceKeyPrefix is the prefix to retrieve all PepNonce
	PepNonceKeyPrefix = "PepNonce/value/"
)
View Source
const TypeMsgRegisterContract = "register_contract"
View Source
const TypeMsgRequestGeneralDecryptionKey = "request_general_decryption_key"
View Source
const TypeMsgRequestGeneralIdentity = "request_general_identity"
View Source
const (
	TypeMsgSubmitDecryptionKey = "submit_decryption_key"
)
View Source
const TypeMsgSubmitEncryptedTx = "submit_encrypted_tx"
View Source
const TypeMsgSubmitGeneralEncryptedTx = "submit_general_encrypted_tx"
View Source
const TypeMsgUnregisterContract = "unregister_contract"

Variables

View Source
var (
	ErrInvalidLengthDecryptionKey        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDecryptionKey          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDecryptionKey = 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 (
	ErrInvalidSigner            = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message")
	ErrInvalidVersion           = sdkerrors.Register(ModuleName, 1501, "invalid version")
	ErrInvalidTargetBlockHeight = sdkerrors.Register(ModuleName, 1600, "Invalid target block height")
	ErrInvalidIdentity          = sdkerrors.Register(ModuleName, 1601, "Invalid identity")
	ErrInvalidMsgCreator        = sdkerrors.Register(ModuleName, 1700, "Invalid msg creator address")
	ErrActivePubkeyNotFound     = sdkerrors.Register(ModuleName, 1800, "Active public key not found")
	ErrReqIDAlreadyExists       = sdkerrors.Register(ModuleName, 1900, "Request ID already exists")
)

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-")
	RequestsCountKey      = KeyPrefix("Pep-request-count-")
)
View Source
var (
	KeyKeyshareChannelID            = []byte("KeyshareChannelId")
	DefaultKeyshareChannelID string = KeyshareChannelID
)
View Source
var (
	KeyIsSourceChain          = []byte("IsSourceChain")
	DefaultIsSourceChain bool = false
)
View Source
var (
	KeyMinGasPrice       = []byte("MinGasPrice")
	DefaultMinGasPrice   = sdk.NewCoin("ufairy", cosmosmath.NewInt(300000))
	DecryptionKeyPrice   = []byte("PrivateKeysPrice")
	DefaultKeysharePrice = sdk.NewCoin("ufairy", cosmosmath.NewInt(300000))
)
View Source
var (
	KeyTrustedAddresses     = []byte("TrustedAddresses")
	DefaultTrustedAddresses []string
)
View Source
var (
	KeyTrustedCounterParties     = []byte("TrustedCounterParty")
	DefaultTrustedCounterParties []*TrustedCounterParty
)
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 (
	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 (
	ErrInvalidLengthRequestId        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRequestId          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRequestId = 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")
)
View Source
var (
	// ModuleCdc references the global x/ibc-transfer module codec. Note, the codec
	// should ONLY be used in certain instances of tests and for JSON encoding.
	//
	// The actual codec used for serialization should be provided to x/ibc transfer and
	// defined at the application level.
	ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
)
View Source
var Msg_serviceDesc = _Msg_serviceDesc
View Source
var (
	ParamsKey = []byte("p_pep")
)
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func DecryptionKeyKey added in v0.10.0

func DecryptionKeyKey(
	height uint64,
) []byte

DecryptionKeyKey returns the store key to retrieve a decryption key from the index fields

func EncryptedTxAllFromHeightKey

func EncryptedTxAllFromHeightKey(
	targetHeight uint64,
) []byte

func GenEncTxQueueKey added in v0.6.0

func GenEncTxQueueKey(
	identity string,
) []byte

func GenerateIdentityFromReqID added in v0.10.2

func GenerateIdentityFromReqID(creator string, requestID string) string

func KeyPrefix

func KeyPrefix(p string) []byte

func MustProtoMarshalJSON

func MustProtoMarshalJSON(msg proto.Message) []byte

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 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)

func RequestIdKey added in v0.8.3

func RequestIdKey(
	creator string,
	requestID string,
) []byte

RequestIdKey returns the store key to retrieve a RequestId from the index fields

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(context.Context, sdk.AccAddress) sdk.AccountI // only used for simulation

}

AccountKeeper defines the expected interface for the Account module.

type BankKeeper

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

BankKeeper defines the expected interface for the Bank module.

type ChannelKeeper

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

ChannelKeeper defines the expected IBC channel keeper.

type ContractDetails added in v0.9.0

type ContractDetails struct {
	Registrar       string `protobuf:"bytes,1,opt,name=registrar,proto3" json:"registrar,omitempty"`
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
}

ContractDetails defines the structure to store the details of a contract that has been registered to execute automatically when the identity associated with it has a decryption key available

func (*ContractDetails) Descriptor added in v0.9.0

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

func (*ContractDetails) GetContractAddress added in v0.9.0

func (m *ContractDetails) GetContractAddress() string

func (*ContractDetails) GetRegistrar added in v0.9.0

func (m *ContractDetails) GetRegistrar() string

func (*ContractDetails) Marshal added in v0.9.0

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

func (*ContractDetails) MarshalTo added in v0.9.0

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

func (*ContractDetails) MarshalToSizedBuffer added in v0.9.0

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

func (*ContractDetails) ProtoMessage added in v0.9.0

func (*ContractDetails) ProtoMessage()

func (*ContractDetails) Reset added in v0.9.0

func (m *ContractDetails) Reset()

func (*ContractDetails) Size added in v0.9.0

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

func (*ContractDetails) String added in v0.9.0

func (m *ContractDetails) String() string

func (*ContractDetails) Unmarshal added in v0.9.0

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

func (*ContractDetails) XXX_DiscardUnknown added in v0.9.0

func (m *ContractDetails) XXX_DiscardUnknown()

func (*ContractDetails) XXX_Marshal added in v0.9.0

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

func (*ContractDetails) XXX_Merge added in v0.9.0

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

func (*ContractDetails) XXX_Size added in v0.9.0

func (m *ContractDetails) XXX_Size() int

func (*ContractDetails) XXX_Unmarshal added in v0.9.0

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

type ContractKeeper added in v0.9.0

type ContractKeeper interface {
	Execute(ctx sdk.Context, contractAddress, caller sdk.AccAddress, msg []byte, coins sdk.Coins) ([]byte, error)
}

ContractKeeper defines the expected interface for the wasm module.

type DecryptionKey added in v0.10.0

type DecryptionKey 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"`
}

DecryptionKey defines the structure to store the decryption key of a particular identity

func (*DecryptionKey) Descriptor added in v0.10.0

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

func (*DecryptionKey) GetCreator added in v0.10.0

func (m *DecryptionKey) GetCreator() string

func (*DecryptionKey) GetData added in v0.10.0

func (m *DecryptionKey) GetData() string

func (*DecryptionKey) GetHeight added in v0.10.0

func (m *DecryptionKey) GetHeight() uint64

func (*DecryptionKey) Marshal added in v0.10.0

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

func (*DecryptionKey) MarshalTo added in v0.10.0

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

func (*DecryptionKey) MarshalToSizedBuffer added in v0.10.0

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

func (*DecryptionKey) ProtoMessage added in v0.10.0

func (*DecryptionKey) ProtoMessage()

func (*DecryptionKey) Reset added in v0.10.0

func (m *DecryptionKey) Reset()

func (*DecryptionKey) Size added in v0.10.0

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

func (*DecryptionKey) String added in v0.10.0

func (m *DecryptionKey) String() string

func (*DecryptionKey) Unmarshal added in v0.10.0

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

func (*DecryptionKey) XXX_DiscardUnknown added in v0.10.0

func (m *DecryptionKey) XXX_DiscardUnknown()

func (*DecryptionKey) XXX_Marshal added in v0.10.0

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

func (*DecryptionKey) XXX_Merge added in v0.10.0

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

func (*DecryptionKey) XXX_Size added in v0.10.0

func (m *DecryptionKey) XXX_Size() int

func (*DecryptionKey) XXX_Unmarshal added in v0.10.0

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

type EncryptedTx

type EncryptedTx struct {
	TargetHeight           uint64      `protobuf:"varint,1,opt,name=target_height,json=targetHeight,proto3" json:"target_height,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=charged_gas,json=chargedGas,proto3" json:"charged_gas,omitempty"`
	ProcessedAtChainHeight uint64      `` /* 132-byte string literal not displayed */
	Expired                bool        `protobuf:"varint,7,opt,name=expired,proto3" json:"expired,omitempty"`
}

EncryptedTx defines the structure to store an encrypted transaction by execution height

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 {
	EncryptedTxs []EncryptedTx `protobuf:"bytes,1,rep,name=encrypted_txs,json=encryptedTxs,proto3" json:"encrypted_txs"`
}

EncryptedTxArray defines a list of EncryptedTx

func (*EncryptedTxArray) Descriptor

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

func (*EncryptedTxArray) GetEncryptedTxs added in v0.10.0

func (m *EncryptedTxArray) GetEncryptedTxs() []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 ExecuteContractMsg added in v0.9.0

type ExecuteContractMsg 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"`
	DecryptionKey string `protobuf:"bytes,3,opt,name=decryption_key,json=decryptionKey,proto3" json:"decryption_key,omitempty"`
}

ExecuteContractMsg defines the structure to callback registered contracts

func (*ExecuteContractMsg) Descriptor added in v0.9.0

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

func (*ExecuteContractMsg) GetDecryptionKey added in v0.10.0

func (m *ExecuteContractMsg) GetDecryptionKey() string

func (*ExecuteContractMsg) GetIdentity added in v0.9.0

func (m *ExecuteContractMsg) GetIdentity() string

func (*ExecuteContractMsg) GetPubkey added in v0.9.0

func (m *ExecuteContractMsg) GetPubkey() string

func (*ExecuteContractMsg) Marshal added in v0.9.0

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

func (*ExecuteContractMsg) MarshalTo added in v0.9.0

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

func (*ExecuteContractMsg) MarshalToSizedBuffer added in v0.9.0

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

func (*ExecuteContractMsg) ProtoMessage added in v0.9.0

func (*ExecuteContractMsg) ProtoMessage()

func (*ExecuteContractMsg) Reset added in v0.9.0

func (m *ExecuteContractMsg) Reset()

func (*ExecuteContractMsg) Size added in v0.9.0

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

func (*ExecuteContractMsg) String added in v0.9.0

func (m *ExecuteContractMsg) String() string

func (*ExecuteContractMsg) Unmarshal added in v0.9.0

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

func (*ExecuteContractMsg) XXX_DiscardUnknown added in v0.9.0

func (m *ExecuteContractMsg) XXX_DiscardUnknown()

func (*ExecuteContractMsg) XXX_Marshal added in v0.9.0

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

func (*ExecuteContractMsg) XXX_Merge added in v0.9.0

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

func (*ExecuteContractMsg) XXX_Size added in v0.9.0

func (m *ExecuteContractMsg) XXX_Size() int

func (*ExecuteContractMsg) XXX_Unmarshal added in v0.9.0

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

type GeneralEncryptedTx added in v0.6.0

type GeneralEncryptedTx struct {
	Identity   string      `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,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=charged_gas,json=chargedGas,proto3" json:"charged_gas,omitempty"`
}

GeneralEncryptedTx defines the structure to store a general encrypted transaction by identity

func (*GeneralEncryptedTx) Descriptor added in v0.6.0

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

func (*GeneralEncryptedTx) GetChargedGas added in v0.6.0

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

func (*GeneralEncryptedTx) GetCreator added in v0.6.0

func (m *GeneralEncryptedTx) GetCreator() string

func (*GeneralEncryptedTx) GetData added in v0.6.0

func (m *GeneralEncryptedTx) GetData() string

func (*GeneralEncryptedTx) GetIdentity added in v0.6.0

func (m *GeneralEncryptedTx) GetIdentity() string

func (*GeneralEncryptedTx) GetIndex added in v0.6.0

func (m *GeneralEncryptedTx) GetIndex() uint64

func (*GeneralEncryptedTx) Marshal added in v0.6.0

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

func (*GeneralEncryptedTx) MarshalTo added in v0.6.0

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

func (*GeneralEncryptedTx) MarshalToSizedBuffer added in v0.6.0

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

func (*GeneralEncryptedTx) ProtoMessage added in v0.6.0

func (*GeneralEncryptedTx) ProtoMessage()

func (*GeneralEncryptedTx) Reset added in v0.6.0

func (m *GeneralEncryptedTx) Reset()

func (*GeneralEncryptedTx) Size added in v0.6.0

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

func (*GeneralEncryptedTx) String added in v0.6.0

func (m *GeneralEncryptedTx) String() string

func (*GeneralEncryptedTx) Unmarshal added in v0.6.0

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

func (*GeneralEncryptedTx) XXX_DiscardUnknown added in v0.6.0

func (m *GeneralEncryptedTx) XXX_DiscardUnknown()

func (*GeneralEncryptedTx) XXX_Marshal added in v0.6.0

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

func (*GeneralEncryptedTx) XXX_Merge added in v0.6.0

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

func (*GeneralEncryptedTx) XXX_Size added in v0.6.0

func (m *GeneralEncryptedTx) XXX_Size() int

func (*GeneralEncryptedTx) XXX_Unmarshal added in v0.6.0

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

type GeneralEncryptedTxArray added in v0.6.0

type GeneralEncryptedTxArray struct {
	EncryptedTxs []GeneralEncryptedTx `protobuf:"bytes,1,rep,name=encrypted_txs,json=encryptedTxs,proto3" json:"encrypted_txs"`
}

GeneralEncryptedTxArray defines a list of GeneralEncryptedTx

func (*GeneralEncryptedTxArray) Descriptor added in v0.6.0

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

func (*GeneralEncryptedTxArray) GetEncryptedTxs added in v0.10.0

func (m *GeneralEncryptedTxArray) GetEncryptedTxs() []GeneralEncryptedTx

func (*GeneralEncryptedTxArray) Marshal added in v0.6.0

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

func (*GeneralEncryptedTxArray) MarshalTo added in v0.6.0

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

func (*GeneralEncryptedTxArray) MarshalToSizedBuffer added in v0.6.0

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

func (*GeneralEncryptedTxArray) ProtoMessage added in v0.6.0

func (*GeneralEncryptedTxArray) ProtoMessage()

func (*GeneralEncryptedTxArray) Reset added in v0.6.0

func (m *GeneralEncryptedTxArray) Reset()

func (*GeneralEncryptedTxArray) Size added in v0.6.0

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

func (*GeneralEncryptedTxArray) String added in v0.6.0

func (m *GeneralEncryptedTxArray) String() string

func (*GeneralEncryptedTxArray) Unmarshal added in v0.6.0

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

func (*GeneralEncryptedTxArray) XXX_DiscardUnknown added in v0.6.0

func (m *GeneralEncryptedTxArray) XXX_DiscardUnknown()

func (*GeneralEncryptedTxArray) XXX_Marshal added in v0.6.0

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

func (*GeneralEncryptedTxArray) XXX_Merge added in v0.6.0

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

func (*GeneralEncryptedTxArray) XXX_Size added in v0.6.0

func (m *GeneralEncryptedTxArray) XXX_Size() int

func (*GeneralEncryptedTxArray) XXX_Unmarshal added in v0.6.0

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

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	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=encrypted_tx_array,json=encryptedTxArray,proto3" json:"encrypted_tx_array"`
	PepNonceList      []PepNonce            `protobuf:"bytes,4,rep,name=pep_nonce_list,json=pepNonceList,proto3" json:"pep_nonce_list"`
	DecryptionKeyList []DecryptionKey       `protobuf:"bytes,6,rep,name=decryption_key_list,json=decryptionKeyList,proto3" json:"decryption_key_list"`
	ActivePubkey      types.ActivePublicKey `protobuf:"bytes,7,opt,name=active_pubkey,json=activePubkey,proto3" json:"active_pubkey"`
	QueuedPubkey      types.QueuedPublicKey `protobuf:"bytes,8,opt,name=queued_pubkey,json=queuedPubkey,proto3" json:"queued_pubkey"`
	RequestCount      uint64                `protobuf:"varint,9,opt,name=request_count,json=requestCount,proto3" json:"request_count,omitempty"`
	RequestIdList     []RequestId           `protobuf:"bytes,10,rep,name=request_id_list,json=requestIdList,proto3" json:"request_id_list"`
}

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 added in v0.10.0

func (m *GenesisState) GetActivePubkey() types.ActivePublicKey

func (*GenesisState) GetDecryptionKeyList added in v0.10.0

func (m *GenesisState) GetDecryptionKeyList() []DecryptionKey

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 added in v0.10.0

func (m *GenesisState) GetQueuedPubkey() types.QueuedPublicKey

func (*GenesisState) GetRequestCount added in v0.6.0

func (m *GenesisState) GetRequestCount() uint64

func (*GenesisState) GetRequestIdList added in v0.8.3

func (m *GenesisState) GetRequestIdList() []RequestId

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 IdentityExecutionEntry added in v0.10.0

type IdentityExecutionEntry struct {
	Creator       string                   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Identity      string                   `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	Pubkey        string                   `protobuf:"bytes,4,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	TxList        *GeneralEncryptedTxArray `protobuf:"bytes,5,opt,name=tx_list,json=txList,proto3" json:"tx_list,omitempty"`
	DecryptionKey string                   `protobuf:"bytes,6,opt,name=decryption_key,json=decryptionKey,proto3" json:"decryption_key,omitempty"`
}

IdentityExecutionEntry defines the structure to queue up identities that have decryption keys available and are ready to execute any associated contracts or encrypted transactions

func (*IdentityExecutionEntry) Descriptor added in v0.10.0

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

func (*IdentityExecutionEntry) GetCreator added in v0.10.0

func (m *IdentityExecutionEntry) GetCreator() string

func (*IdentityExecutionEntry) GetDecryptionKey added in v0.10.0

func (m *IdentityExecutionEntry) GetDecryptionKey() string

func (*IdentityExecutionEntry) GetIdentity added in v0.10.0

func (m *IdentityExecutionEntry) GetIdentity() string

func (*IdentityExecutionEntry) GetPubkey added in v0.10.0

func (m *IdentityExecutionEntry) GetPubkey() string

func (*IdentityExecutionEntry) GetTxList added in v0.10.0

func (*IdentityExecutionEntry) Marshal added in v0.10.0

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

func (*IdentityExecutionEntry) MarshalTo added in v0.10.0

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

func (*IdentityExecutionEntry) MarshalToSizedBuffer added in v0.10.0

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

func (*IdentityExecutionEntry) ProtoMessage added in v0.10.0

func (*IdentityExecutionEntry) ProtoMessage()

func (*IdentityExecutionEntry) Reset added in v0.10.0

func (m *IdentityExecutionEntry) Reset()

func (*IdentityExecutionEntry) Size added in v0.10.0

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

func (*IdentityExecutionEntry) String added in v0.10.0

func (m *IdentityExecutionEntry) String() string

func (*IdentityExecutionEntry) Unmarshal added in v0.10.0

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

func (*IdentityExecutionEntry) XXX_DiscardUnknown added in v0.10.0

func (m *IdentityExecutionEntry) XXX_DiscardUnknown()

func (*IdentityExecutionEntry) XXX_Marshal added in v0.10.0

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

func (*IdentityExecutionEntry) XXX_Merge added in v0.10.0

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

func (*IdentityExecutionEntry) XXX_Size added in v0.10.0

func (m *IdentityExecutionEntry) XXX_Size() int

func (*IdentityExecutionEntry) XXX_Unmarshal added in v0.10.0

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

type MsgClient

type MsgClient interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// SubmitEncryptedTx defines an operation to submit an
	// encrypted transaction for a particular target block height
	SubmitEncryptedTx(ctx context.Context, in *MsgSubmitEncryptedTx, opts ...grpc.CallOption) (*MsgSubmitEncryptedTxResponse, error)
	// SubmitGeneralEncryptedTx defines an operation to submit an
	// encrypted transaction for a particular identity
	SubmitGeneralEncryptedTx(ctx context.Context, in *MsgSubmitGeneralEncryptedTx, opts ...grpc.CallOption) (*MsgSubmitGeneralEncryptedTxResponse, error)
	// SubmitDecryptionKey defines an operation to submit a
	// decryption to a destination chain
	SubmitDecryptionKey(ctx context.Context, in *MsgSubmitDecryptionKey, opts ...grpc.CallOption) (*MsgSubmitDecryptionKeyResponse, error)
	// RequestGeneralIdentity defines an operation to request the
	// creation of a new identity to which validators will be required
	// to submit keyshares
	RequestGeneralIdentity(ctx context.Context, in *MsgRequestGeneralIdentity, opts ...grpc.CallOption) (*MsgRequestGeneralIdentityResponse, error)
	// RequestGeneralDecryptionKey defines an operation to signal validators to start
	// submitting keyshares for a particular identity
	RequestGeneralDecryptionKey(ctx context.Context, in *MsgRequestGeneralDecryptionKey, opts ...grpc.CallOption) (*MsgRequestGeneralDecryptionKeyResponse, error)
	// RequestPrivateIdentity defines an operation to request the
	// creation of a new identity to which validators will be required
	// to submit encrypted keyshares
	RequestPrivateIdentity(ctx context.Context, in *MsgRequestPrivateIdentity, opts ...grpc.CallOption) (*MsgRequestPrivateIdentityResponse, error)
	// RequestPrivateDecryptionKey defines an operation to signal validators to start
	// submitting encrypted keyshares for a particular identity
	RequestPrivateDecryptionKey(ctx context.Context, in *MsgRequestPrivateDecryptionKey, opts ...grpc.CallOption) (*MsgRequestPrivateDecryptionKeyResponse, error)
	// RegisterContract defines an operation to make an instantiated
	// contract eligible to be automatically executed when a particular
	// identity has decryption key available for it
	RegisterContract(ctx context.Context, in *MsgRegisterContract, opts ...grpc.CallOption) (*MsgRegisterContractResponse, error)
	// UnregisterContract defines an operation to remove a registered contract
	// from the list of contracts set to be automatically executed when
	// decryption key is available for a particular identity
	UnregisterContract(ctx context.Context, in *MsgUnregisterContract, opts ...grpc.CallOption) (*MsgUnregisterContractResponse, 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 MsgRegisterContract added in v0.9.0

type MsgRegisterContract struct {
	Creator         string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	Identity        string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
}

MsgRegisterContract is the Msg/RegisterContract request type.

func NewMsgRegisterContract added in v0.9.0

func NewMsgRegisterContract(creator string, contractAddr string, identity string) *MsgRegisterContract

func (*MsgRegisterContract) Descriptor added in v0.9.0

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

func (*MsgRegisterContract) GetContractAddress added in v0.9.0

func (m *MsgRegisterContract) GetContractAddress() string

func (*MsgRegisterContract) GetCreator added in v0.9.0

func (m *MsgRegisterContract) GetCreator() string

func (*MsgRegisterContract) GetIdentity added in v0.9.0

func (m *MsgRegisterContract) GetIdentity() string

func (*MsgRegisterContract) Marshal added in v0.9.0

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

func (*MsgRegisterContract) MarshalTo added in v0.9.0

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

func (*MsgRegisterContract) MarshalToSizedBuffer added in v0.9.0

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

func (*MsgRegisterContract) ProtoMessage added in v0.9.0

func (*MsgRegisterContract) ProtoMessage()

func (*MsgRegisterContract) Reset added in v0.9.0

func (m *MsgRegisterContract) Reset()

func (*MsgRegisterContract) Size added in v0.9.0

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

func (*MsgRegisterContract) String added in v0.9.0

func (m *MsgRegisterContract) String() string

func (*MsgRegisterContract) Unmarshal added in v0.9.0

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

func (*MsgRegisterContract) ValidateBasic added in v0.9.0

func (msg *MsgRegisterContract) ValidateBasic() error

func (*MsgRegisterContract) XXX_DiscardUnknown added in v0.9.0

func (m *MsgRegisterContract) XXX_DiscardUnknown()

func (*MsgRegisterContract) XXX_Marshal added in v0.9.0

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

func (*MsgRegisterContract) XXX_Merge added in v0.9.0

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

func (*MsgRegisterContract) XXX_Size added in v0.9.0

func (m *MsgRegisterContract) XXX_Size() int

func (*MsgRegisterContract) XXX_Unmarshal added in v0.9.0

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

type MsgRegisterContractResponse added in v0.9.0

type MsgRegisterContractResponse struct {
}

MsgRegisterContractResponse defines the response structure for executing a MsgRegisterContract message.

func (*MsgRegisterContractResponse) Descriptor added in v0.9.0

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

func (*MsgRegisterContractResponse) Marshal added in v0.9.0

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

func (*MsgRegisterContractResponse) MarshalTo added in v0.9.0

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

func (*MsgRegisterContractResponse) MarshalToSizedBuffer added in v0.9.0

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

func (*MsgRegisterContractResponse) ProtoMessage added in v0.9.0

func (*MsgRegisterContractResponse) ProtoMessage()

func (*MsgRegisterContractResponse) Reset added in v0.9.0

func (m *MsgRegisterContractResponse) Reset()

func (*MsgRegisterContractResponse) Size added in v0.9.0

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

func (*MsgRegisterContractResponse) String added in v0.9.0

func (m *MsgRegisterContractResponse) String() string

func (*MsgRegisterContractResponse) Unmarshal added in v0.9.0

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

func (*MsgRegisterContractResponse) XXX_DiscardUnknown added in v0.9.0

func (m *MsgRegisterContractResponse) XXX_DiscardUnknown()

func (*MsgRegisterContractResponse) XXX_Marshal added in v0.9.0

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

func (*MsgRegisterContractResponse) XXX_Merge added in v0.9.0

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

func (*MsgRegisterContractResponse) XXX_Size added in v0.9.0

func (m *MsgRegisterContractResponse) XXX_Size() int

func (*MsgRegisterContractResponse) XXX_Unmarshal added in v0.9.0

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

type MsgRequestGeneralDecryptionKey added in v0.10.0

type MsgRequestGeneralDecryptionKey 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"`
}

MsgRequestGeneralDecryptionKey is the Msg/RequestGeneralDecryptionKey request type.

func NewMsgRequestGeneralDecryptionKey added in v0.10.0

func NewMsgRequestGeneralDecryptionKey(creator string, identity string) *MsgRequestGeneralDecryptionKey

func (*MsgRequestGeneralDecryptionKey) Descriptor added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKey) GetCreator added in v0.10.0

func (m *MsgRequestGeneralDecryptionKey) GetCreator() string

func (*MsgRequestGeneralDecryptionKey) GetIdentity added in v0.10.2

func (m *MsgRequestGeneralDecryptionKey) GetIdentity() string

func (*MsgRequestGeneralDecryptionKey) Marshal added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKey) MarshalTo added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKey) MarshalToSizedBuffer added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKey) ProtoMessage added in v0.10.0

func (*MsgRequestGeneralDecryptionKey) ProtoMessage()

func (*MsgRequestGeneralDecryptionKey) Reset added in v0.10.0

func (m *MsgRequestGeneralDecryptionKey) Reset()

func (*MsgRequestGeneralDecryptionKey) Size added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKey) String added in v0.10.0

func (*MsgRequestGeneralDecryptionKey) Unmarshal added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKey) ValidateBasic added in v0.10.0

func (msg *MsgRequestGeneralDecryptionKey) ValidateBasic() error

func (*MsgRequestGeneralDecryptionKey) XXX_DiscardUnknown added in v0.10.0

func (m *MsgRequestGeneralDecryptionKey) XXX_DiscardUnknown()

func (*MsgRequestGeneralDecryptionKey) XXX_Marshal added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKey) XXX_Merge added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKey) XXX_Size added in v0.10.0

func (m *MsgRequestGeneralDecryptionKey) XXX_Size() int

func (*MsgRequestGeneralDecryptionKey) XXX_Unmarshal added in v0.10.0

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

type MsgRequestGeneralDecryptionKeyResponse added in v0.10.0

type MsgRequestGeneralDecryptionKeyResponse struct {
}

MsgRequestGeneralDecryptionKeyResponse defines the response structure for executing a MsgRequestGeneralDecryptionKey message.

func (*MsgRequestGeneralDecryptionKeyResponse) Descriptor added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKeyResponse) Marshal added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKeyResponse) MarshalTo added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKeyResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKeyResponse) ProtoMessage added in v0.10.0

func (*MsgRequestGeneralDecryptionKeyResponse) Reset added in v0.10.0

func (*MsgRequestGeneralDecryptionKeyResponse) Size added in v0.10.0

func (*MsgRequestGeneralDecryptionKeyResponse) String added in v0.10.0

func (*MsgRequestGeneralDecryptionKeyResponse) Unmarshal added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKeyResponse) XXX_DiscardUnknown added in v0.10.0

func (m *MsgRequestGeneralDecryptionKeyResponse) XXX_DiscardUnknown()

func (*MsgRequestGeneralDecryptionKeyResponse) XXX_Marshal added in v0.10.0

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

func (*MsgRequestGeneralDecryptionKeyResponse) XXX_Merge added in v0.10.0

func (*MsgRequestGeneralDecryptionKeyResponse) XXX_Size added in v0.10.0

func (*MsgRequestGeneralDecryptionKeyResponse) XXX_Unmarshal added in v0.10.0

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

type MsgRequestGeneralIdentity added in v0.10.0

type MsgRequestGeneralIdentity struct {
	Creator        string         `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	EstimatedDelay *time.Duration `protobuf:"bytes,2,opt,name=estimated_delay,json=estimatedDelay,proto3,stdduration" json:"estimated_delay,omitempty"`
	ReqId          string         `protobuf:"bytes,3,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
}

MsgRequestGeneralIdentity is the Msg/RequestGeneralIdentity request type.

func NewMsgRequestGeneralIdentity added in v0.10.0

func NewMsgRequestGeneralIdentity(
	creator string,
	estimatedDelay time.Duration,
	reqID string,
) *MsgRequestGeneralIdentity

func (*MsgRequestGeneralIdentity) Descriptor added in v0.10.0

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

func (*MsgRequestGeneralIdentity) GetCreator added in v0.10.0

func (m *MsgRequestGeneralIdentity) GetCreator() string

func (*MsgRequestGeneralIdentity) GetEstimatedDelay added in v0.10.0

func (m *MsgRequestGeneralIdentity) GetEstimatedDelay() *time.Duration

func (*MsgRequestGeneralIdentity) GetReqId added in v0.10.0

func (m *MsgRequestGeneralIdentity) GetReqId() string

func (*MsgRequestGeneralIdentity) Marshal added in v0.10.0

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

func (*MsgRequestGeneralIdentity) MarshalTo added in v0.10.0

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

func (*MsgRequestGeneralIdentity) MarshalToSizedBuffer added in v0.10.0

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

func (*MsgRequestGeneralIdentity) ProtoMessage added in v0.10.0

func (*MsgRequestGeneralIdentity) ProtoMessage()

func (*MsgRequestGeneralIdentity) Reset added in v0.10.0

func (m *MsgRequestGeneralIdentity) Reset()

func (*MsgRequestGeneralIdentity) Size added in v0.10.0

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

func (*MsgRequestGeneralIdentity) String added in v0.10.0

func (m *MsgRequestGeneralIdentity) String() string

func (*MsgRequestGeneralIdentity) Unmarshal added in v0.10.0

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

func (*MsgRequestGeneralIdentity) ValidateBasic added in v0.10.0

func (msg *MsgRequestGeneralIdentity) ValidateBasic() error

func (*MsgRequestGeneralIdentity) XXX_DiscardUnknown added in v0.10.0

func (m *MsgRequestGeneralIdentity) XXX_DiscardUnknown()

func (*MsgRequestGeneralIdentity) XXX_Marshal added in v0.10.0

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

func (*MsgRequestGeneralIdentity) XXX_Merge added in v0.10.0

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

func (*MsgRequestGeneralIdentity) XXX_Size added in v0.10.0

func (m *MsgRequestGeneralIdentity) XXX_Size() int

func (*MsgRequestGeneralIdentity) XXX_Unmarshal added in v0.10.0

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

type MsgRequestGeneralIdentityResponse added in v0.10.0

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

MsgRequestGeneralIdentityResponse defines the response structure for executing a MsgRequestGeneralIdentity message.

func (*MsgRequestGeneralIdentityResponse) Descriptor added in v0.10.0

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

func (*MsgRequestGeneralIdentityResponse) GetIdentity added in v0.10.2

func (m *MsgRequestGeneralIdentityResponse) GetIdentity() string

func (*MsgRequestGeneralIdentityResponse) Marshal added in v0.10.0

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

func (*MsgRequestGeneralIdentityResponse) MarshalTo added in v0.10.0

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

func (*MsgRequestGeneralIdentityResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*MsgRequestGeneralIdentityResponse) ProtoMessage added in v0.10.0

func (*MsgRequestGeneralIdentityResponse) ProtoMessage()

func (*MsgRequestGeneralIdentityResponse) Reset added in v0.10.0

func (*MsgRequestGeneralIdentityResponse) Size added in v0.10.0

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

func (*MsgRequestGeneralIdentityResponse) String added in v0.10.0

func (*MsgRequestGeneralIdentityResponse) Unmarshal added in v0.10.0

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

func (*MsgRequestGeneralIdentityResponse) XXX_DiscardUnknown added in v0.10.0

func (m *MsgRequestGeneralIdentityResponse) XXX_DiscardUnknown()

func (*MsgRequestGeneralIdentityResponse) XXX_Marshal added in v0.10.0

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

func (*MsgRequestGeneralIdentityResponse) XXX_Merge added in v0.10.0

func (*MsgRequestGeneralIdentityResponse) XXX_Size added in v0.10.0

func (m *MsgRequestGeneralIdentityResponse) XXX_Size() int

func (*MsgRequestGeneralIdentityResponse) XXX_Unmarshal added in v0.10.0

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

type MsgRequestPrivateDecryptionKey added in v0.10.0

type MsgRequestPrivateDecryptionKey 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"`
	SecpPubkey string `protobuf:"bytes,3,opt,name=secp_pubkey,json=secpPubkey,proto3" json:"secp_pubkey,omitempty"`
}

MsgRequestPrivateDecryptionKey is the Msg/RequestPrivateDecryptionKey request type.

func NewMsgRequestPrivateDecryptionKey added in v0.10.0

func NewMsgRequestPrivateDecryptionKey(
	creator string,
	identity string,
	pubkey string,
) *MsgRequestPrivateDecryptionKey

func (*MsgRequestPrivateDecryptionKey) Descriptor added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKey) GetCreator added in v0.10.0

func (m *MsgRequestPrivateDecryptionKey) GetCreator() string

func (*MsgRequestPrivateDecryptionKey) GetIdentity added in v0.10.2

func (m *MsgRequestPrivateDecryptionKey) GetIdentity() string

func (*MsgRequestPrivateDecryptionKey) GetSecpPubkey added in v0.10.0

func (m *MsgRequestPrivateDecryptionKey) GetSecpPubkey() string

func (*MsgRequestPrivateDecryptionKey) Marshal added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKey) MarshalTo added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKey) MarshalToSizedBuffer added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKey) ProtoMessage added in v0.10.0

func (*MsgRequestPrivateDecryptionKey) ProtoMessage()

func (*MsgRequestPrivateDecryptionKey) Reset added in v0.10.0

func (m *MsgRequestPrivateDecryptionKey) Reset()

func (*MsgRequestPrivateDecryptionKey) Size added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKey) String added in v0.10.0

func (*MsgRequestPrivateDecryptionKey) Unmarshal added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKey) ValidateBasic added in v0.10.0

func (msg *MsgRequestPrivateDecryptionKey) ValidateBasic() error

func (*MsgRequestPrivateDecryptionKey) XXX_DiscardUnknown added in v0.10.0

func (m *MsgRequestPrivateDecryptionKey) XXX_DiscardUnknown()

func (*MsgRequestPrivateDecryptionKey) XXX_Marshal added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKey) XXX_Merge added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKey) XXX_Size added in v0.10.0

func (m *MsgRequestPrivateDecryptionKey) XXX_Size() int

func (*MsgRequestPrivateDecryptionKey) XXX_Unmarshal added in v0.10.0

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

type MsgRequestPrivateDecryptionKeyResponse added in v0.10.0

type MsgRequestPrivateDecryptionKeyResponse struct {
}

MsgRequestPrivateDecryptionKeyResponse defines the response structure for executing a MsgRequestPrivateDecryptionKey message.

func (*MsgRequestPrivateDecryptionKeyResponse) Descriptor added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKeyResponse) Marshal added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKeyResponse) MarshalTo added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKeyResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKeyResponse) ProtoMessage added in v0.10.0

func (*MsgRequestPrivateDecryptionKeyResponse) Reset added in v0.10.0

func (*MsgRequestPrivateDecryptionKeyResponse) Size added in v0.10.0

func (*MsgRequestPrivateDecryptionKeyResponse) String added in v0.10.0

func (*MsgRequestPrivateDecryptionKeyResponse) Unmarshal added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKeyResponse) XXX_DiscardUnknown added in v0.10.0

func (m *MsgRequestPrivateDecryptionKeyResponse) XXX_DiscardUnknown()

func (*MsgRequestPrivateDecryptionKeyResponse) XXX_Marshal added in v0.10.0

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

func (*MsgRequestPrivateDecryptionKeyResponse) XXX_Merge added in v0.10.0

func (*MsgRequestPrivateDecryptionKeyResponse) XXX_Size added in v0.10.0

func (*MsgRequestPrivateDecryptionKeyResponse) XXX_Unmarshal added in v0.10.0

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

type MsgRequestPrivateIdentity added in v0.9.0

type MsgRequestPrivateIdentity struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ReqId   string `protobuf:"bytes,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
}

MsgRequestPrivateIdentity is the Msg/RequestPrivateIdentity request type.

func NewMsgRequestPrivateIdentity added in v0.9.0

func NewMsgRequestPrivateIdentity(creator string, reqId string) *MsgRequestPrivateIdentity

func (*MsgRequestPrivateIdentity) Descriptor added in v0.9.0

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

func (*MsgRequestPrivateIdentity) GetCreator added in v0.9.0

func (m *MsgRequestPrivateIdentity) GetCreator() string

func (*MsgRequestPrivateIdentity) GetReqId added in v0.9.0

func (m *MsgRequestPrivateIdentity) GetReqId() string

func (*MsgRequestPrivateIdentity) Marshal added in v0.9.0

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

func (*MsgRequestPrivateIdentity) MarshalTo added in v0.9.0

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

func (*MsgRequestPrivateIdentity) MarshalToSizedBuffer added in v0.9.0

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

func (*MsgRequestPrivateIdentity) ProtoMessage added in v0.9.0

func (*MsgRequestPrivateIdentity) ProtoMessage()

func (*MsgRequestPrivateIdentity) Reset added in v0.9.0

func (m *MsgRequestPrivateIdentity) Reset()

func (*MsgRequestPrivateIdentity) Size added in v0.9.0

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

func (*MsgRequestPrivateIdentity) String added in v0.9.0

func (m *MsgRequestPrivateIdentity) String() string

func (*MsgRequestPrivateIdentity) Unmarshal added in v0.9.0

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

func (*MsgRequestPrivateIdentity) ValidateBasic added in v0.9.0

func (msg *MsgRequestPrivateIdentity) ValidateBasic() error

func (*MsgRequestPrivateIdentity) XXX_DiscardUnknown added in v0.9.0

func (m *MsgRequestPrivateIdentity) XXX_DiscardUnknown()

func (*MsgRequestPrivateIdentity) XXX_Marshal added in v0.9.0

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

func (*MsgRequestPrivateIdentity) XXX_Merge added in v0.9.0

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

func (*MsgRequestPrivateIdentity) XXX_Size added in v0.9.0

func (m *MsgRequestPrivateIdentity) XXX_Size() int

func (*MsgRequestPrivateIdentity) XXX_Unmarshal added in v0.9.0

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

type MsgRequestPrivateIdentityResponse added in v0.9.0

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

MsgRequestPrivateIdentityResponse defines the response structure for executing a MsgRequestPrivateIdentity message.

func (*MsgRequestPrivateIdentityResponse) Descriptor added in v0.9.0

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

func (*MsgRequestPrivateIdentityResponse) GetIdentity added in v0.10.2

func (m *MsgRequestPrivateIdentityResponse) GetIdentity() string

func (*MsgRequestPrivateIdentityResponse) Marshal added in v0.9.0

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

func (*MsgRequestPrivateIdentityResponse) MarshalTo added in v0.9.0

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

func (*MsgRequestPrivateIdentityResponse) MarshalToSizedBuffer added in v0.9.0

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

func (*MsgRequestPrivateIdentityResponse) ProtoMessage added in v0.9.0

func (*MsgRequestPrivateIdentityResponse) ProtoMessage()

func (*MsgRequestPrivateIdentityResponse) Reset added in v0.9.0

func (*MsgRequestPrivateIdentityResponse) Size added in v0.9.0

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

func (*MsgRequestPrivateIdentityResponse) String added in v0.9.0

func (*MsgRequestPrivateIdentityResponse) Unmarshal added in v0.9.0

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

func (*MsgRequestPrivateIdentityResponse) XXX_DiscardUnknown added in v0.9.0

func (m *MsgRequestPrivateIdentityResponse) XXX_DiscardUnknown()

func (*MsgRequestPrivateIdentityResponse) XXX_Marshal added in v0.9.0

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

func (*MsgRequestPrivateIdentityResponse) XXX_Merge added in v0.9.0

func (*MsgRequestPrivateIdentityResponse) XXX_Size added in v0.9.0

func (m *MsgRequestPrivateIdentityResponse) XXX_Size() int

func (*MsgRequestPrivateIdentityResponse) XXX_Unmarshal added in v0.9.0

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

type MsgServer

type MsgServer interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// SubmitEncryptedTx defines an operation to submit an
	// encrypted transaction for a particular target block height
	SubmitEncryptedTx(context.Context, *MsgSubmitEncryptedTx) (*MsgSubmitEncryptedTxResponse, error)
	// SubmitGeneralEncryptedTx defines an operation to submit an
	// encrypted transaction for a particular identity
	SubmitGeneralEncryptedTx(context.Context, *MsgSubmitGeneralEncryptedTx) (*MsgSubmitGeneralEncryptedTxResponse, error)
	// SubmitDecryptionKey defines an operation to submit a
	// decryption to a destination chain
	SubmitDecryptionKey(context.Context, *MsgSubmitDecryptionKey) (*MsgSubmitDecryptionKeyResponse, error)
	// RequestGeneralIdentity defines an operation to request the
	// creation of a new identity to which validators will be required
	// to submit keyshares
	RequestGeneralIdentity(context.Context, *MsgRequestGeneralIdentity) (*MsgRequestGeneralIdentityResponse, error)
	// RequestGeneralDecryptionKey defines an operation to signal validators to start
	// submitting keyshares for a particular identity
	RequestGeneralDecryptionKey(context.Context, *MsgRequestGeneralDecryptionKey) (*MsgRequestGeneralDecryptionKeyResponse, error)
	// RequestPrivateIdentity defines an operation to request the
	// creation of a new identity to which validators will be required
	// to submit encrypted keyshares
	RequestPrivateIdentity(context.Context, *MsgRequestPrivateIdentity) (*MsgRequestPrivateIdentityResponse, error)
	// RequestPrivateDecryptionKey defines an operation to signal validators to start
	// submitting encrypted keyshares for a particular identity
	RequestPrivateDecryptionKey(context.Context, *MsgRequestPrivateDecryptionKey) (*MsgRequestPrivateDecryptionKeyResponse, error)
	// RegisterContract defines an operation to make an instantiated
	// contract eligible to be automatically executed when a particular
	// identity has decryption key available for it
	RegisterContract(context.Context, *MsgRegisterContract) (*MsgRegisterContractResponse, error)
	// UnregisterContract defines an operation to remove a registered contract
	// from the list of contracts set to be automatically executed when
	// decryption key is available for a particular identity
	UnregisterContract(context.Context, *MsgUnregisterContract) (*MsgUnregisterContractResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSubmitDecryptionKey added in v0.10.0

type MsgSubmitDecryptionKey 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"`
}

MsgSubmitDecryptionKey is the Msg/SubmitDecryptionKey request type.

func NewMsgSubmitDecryptionKey added in v0.10.0

func NewMsgSubmitDecryptionKey(
	creator string,
	height uint64,
	data string,
) *MsgSubmitDecryptionKey

func (*MsgSubmitDecryptionKey) Descriptor added in v0.10.0

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

func (*MsgSubmitDecryptionKey) GetCreator added in v0.10.0

func (m *MsgSubmitDecryptionKey) GetCreator() string

func (*MsgSubmitDecryptionKey) GetData added in v0.10.0

func (m *MsgSubmitDecryptionKey) GetData() string

func (*MsgSubmitDecryptionKey) GetHeight added in v0.10.0

func (m *MsgSubmitDecryptionKey) GetHeight() uint64

func (*MsgSubmitDecryptionKey) Marshal added in v0.10.0

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

func (*MsgSubmitDecryptionKey) MarshalTo added in v0.10.0

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

func (*MsgSubmitDecryptionKey) MarshalToSizedBuffer added in v0.10.0

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

func (*MsgSubmitDecryptionKey) ProtoMessage added in v0.10.0

func (*MsgSubmitDecryptionKey) ProtoMessage()

func (*MsgSubmitDecryptionKey) Reset added in v0.10.0

func (m *MsgSubmitDecryptionKey) Reset()

func (*MsgSubmitDecryptionKey) Size added in v0.10.0

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

func (*MsgSubmitDecryptionKey) String added in v0.10.0

func (m *MsgSubmitDecryptionKey) String() string

func (*MsgSubmitDecryptionKey) Unmarshal added in v0.10.0

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

func (*MsgSubmitDecryptionKey) ValidateBasic added in v0.10.0

func (msg *MsgSubmitDecryptionKey) ValidateBasic() error

func (*MsgSubmitDecryptionKey) XXX_DiscardUnknown added in v0.10.0

func (m *MsgSubmitDecryptionKey) XXX_DiscardUnknown()

func (*MsgSubmitDecryptionKey) XXX_Marshal added in v0.10.0

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

func (*MsgSubmitDecryptionKey) XXX_Merge added in v0.10.0

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

func (*MsgSubmitDecryptionKey) XXX_Size added in v0.10.0

func (m *MsgSubmitDecryptionKey) XXX_Size() int

func (*MsgSubmitDecryptionKey) XXX_Unmarshal added in v0.10.0

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

type MsgSubmitDecryptionKeyResponse added in v0.10.0

type MsgSubmitDecryptionKeyResponse struct {
}

MsgSubmitDecryptionKeyResponse defines the response structure for executing a MsgSubmitDecryptionKey message.

func (*MsgSubmitDecryptionKeyResponse) Descriptor added in v0.10.0

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

func (*MsgSubmitDecryptionKeyResponse) Marshal added in v0.10.0

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

func (*MsgSubmitDecryptionKeyResponse) MarshalTo added in v0.10.0

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

func (*MsgSubmitDecryptionKeyResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*MsgSubmitDecryptionKeyResponse) ProtoMessage added in v0.10.0

func (*MsgSubmitDecryptionKeyResponse) ProtoMessage()

func (*MsgSubmitDecryptionKeyResponse) Reset added in v0.10.0

func (m *MsgSubmitDecryptionKeyResponse) Reset()

func (*MsgSubmitDecryptionKeyResponse) Size added in v0.10.0

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

func (*MsgSubmitDecryptionKeyResponse) String added in v0.10.0

func (*MsgSubmitDecryptionKeyResponse) Unmarshal added in v0.10.0

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

func (*MsgSubmitDecryptionKeyResponse) XXX_DiscardUnknown added in v0.10.0

func (m *MsgSubmitDecryptionKeyResponse) XXX_DiscardUnknown()

func (*MsgSubmitDecryptionKeyResponse) XXX_Marshal added in v0.10.0

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

func (*MsgSubmitDecryptionKeyResponse) XXX_Merge added in v0.10.0

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

func (*MsgSubmitDecryptionKeyResponse) XXX_Size added in v0.10.0

func (m *MsgSubmitDecryptionKeyResponse) XXX_Size() int

func (*MsgSubmitDecryptionKeyResponse) XXX_Unmarshal added in v0.10.0

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

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=target_block_height,json=targetBlockHeight,proto3" json:"target_block_height,omitempty"`
}

MsgSubmitEncryptedTx is the Msg/SubmitEncryptedTx request type.

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) 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) Size

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

func (*MsgSubmitEncryptedTx) String

func (m *MsgSubmitEncryptedTx) String() 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 {
}

MsgSubmitEncryptedTxResponse defines the response structure for executing a MsgSubmitEncryptedTx message.

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 MsgSubmitGeneralEncryptedTx added in v0.6.0

type MsgSubmitGeneralEncryptedTx 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"`
	ReqId   string `protobuf:"bytes,3,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"`
}

MsgSubmitGeneralEncryptedTx is the Msg/SubmitGeneralEncryptedTx request type.

func NewMsgSubmitGeneralEncryptedTx added in v0.6.0

func NewMsgSubmitGeneralEncryptedTx(creator string, data string, reqID string) *MsgSubmitGeneralEncryptedTx

func (*MsgSubmitGeneralEncryptedTx) Descriptor added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) GetCreator added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) GetCreator() string

func (*MsgSubmitGeneralEncryptedTx) GetData added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) GetData() string

func (*MsgSubmitGeneralEncryptedTx) GetReqId added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) GetReqId() string

func (*MsgSubmitGeneralEncryptedTx) Marshal added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) MarshalTo added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) MarshalToSizedBuffer added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) ProtoMessage added in v0.6.0

func (*MsgSubmitGeneralEncryptedTx) ProtoMessage()

func (*MsgSubmitGeneralEncryptedTx) Reset added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) Reset()

func (*MsgSubmitGeneralEncryptedTx) Size added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) String added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) String() string

func (*MsgSubmitGeneralEncryptedTx) Unmarshal added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) ValidateBasic added in v0.6.0

func (msg *MsgSubmitGeneralEncryptedTx) ValidateBasic() error

func (*MsgSubmitGeneralEncryptedTx) XXX_DiscardUnknown added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) XXX_DiscardUnknown()

func (*MsgSubmitGeneralEncryptedTx) XXX_Marshal added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) XXX_Merge added in v0.6.0

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

func (*MsgSubmitGeneralEncryptedTx) XXX_Size added in v0.6.0

func (m *MsgSubmitGeneralEncryptedTx) XXX_Size() int

func (*MsgSubmitGeneralEncryptedTx) XXX_Unmarshal added in v0.6.0

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

type MsgSubmitGeneralEncryptedTxResponse added in v0.10.0

type MsgSubmitGeneralEncryptedTxResponse struct {
}

MsgSubmitGeneralEncryptedTxResponse defines the response structure for executing a MsgSubmitGeneralEncryptedTx message.

func (*MsgSubmitGeneralEncryptedTxResponse) Descriptor added in v0.10.0

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

func (*MsgSubmitGeneralEncryptedTxResponse) Marshal added in v0.10.0

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

func (*MsgSubmitGeneralEncryptedTxResponse) MarshalTo added in v0.10.0

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

func (*MsgSubmitGeneralEncryptedTxResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*MsgSubmitGeneralEncryptedTxResponse) ProtoMessage added in v0.10.0

func (*MsgSubmitGeneralEncryptedTxResponse) ProtoMessage()

func (*MsgSubmitGeneralEncryptedTxResponse) Reset added in v0.10.0

func (*MsgSubmitGeneralEncryptedTxResponse) Size added in v0.10.0

func (*MsgSubmitGeneralEncryptedTxResponse) String added in v0.10.0

func (*MsgSubmitGeneralEncryptedTxResponse) Unmarshal added in v0.10.0

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

func (*MsgSubmitGeneralEncryptedTxResponse) XXX_DiscardUnknown added in v0.10.0

func (m *MsgSubmitGeneralEncryptedTxResponse) XXX_DiscardUnknown()

func (*MsgSubmitGeneralEncryptedTxResponse) XXX_Marshal added in v0.10.0

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

func (*MsgSubmitGeneralEncryptedTxResponse) XXX_Merge added in v0.10.0

func (*MsgSubmitGeneralEncryptedTxResponse) XXX_Size added in v0.10.0

func (*MsgSubmitGeneralEncryptedTxResponse) XXX_Unmarshal added in v0.10.0

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

type MsgUnregisterContract added in v0.9.0

type MsgUnregisterContract struct {
	Creator         string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	Identity        string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
}

MsgUnregisterContract is the Msg/UnregisterContract request type.

func NewMsgUnregisterContract added in v0.9.0

func NewMsgUnregisterContract(creator string, contractAddr string, identity string) *MsgUnregisterContract

func (*MsgUnregisterContract) Descriptor added in v0.9.0

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

func (*MsgUnregisterContract) GetContractAddress added in v0.9.0

func (m *MsgUnregisterContract) GetContractAddress() string

func (*MsgUnregisterContract) GetCreator added in v0.9.0

func (m *MsgUnregisterContract) GetCreator() string

func (*MsgUnregisterContract) GetIdentity added in v0.9.0

func (m *MsgUnregisterContract) GetIdentity() string

func (*MsgUnregisterContract) Marshal added in v0.9.0

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

func (*MsgUnregisterContract) MarshalTo added in v0.9.0

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

func (*MsgUnregisterContract) MarshalToSizedBuffer added in v0.9.0

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

func (*MsgUnregisterContract) ProtoMessage added in v0.9.0

func (*MsgUnregisterContract) ProtoMessage()

func (*MsgUnregisterContract) Reset added in v0.9.0

func (m *MsgUnregisterContract) Reset()

func (*MsgUnregisterContract) Size added in v0.9.0

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

func (*MsgUnregisterContract) String added in v0.9.0

func (m *MsgUnregisterContract) String() string

func (*MsgUnregisterContract) Unmarshal added in v0.9.0

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

func (*MsgUnregisterContract) ValidateBasic added in v0.9.0

func (msg *MsgUnregisterContract) ValidateBasic() error

func (*MsgUnregisterContract) XXX_DiscardUnknown added in v0.9.0

func (m *MsgUnregisterContract) XXX_DiscardUnknown()

func (*MsgUnregisterContract) XXX_Marshal added in v0.9.0

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

func (*MsgUnregisterContract) XXX_Merge added in v0.9.0

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

func (*MsgUnregisterContract) XXX_Size added in v0.9.0

func (m *MsgUnregisterContract) XXX_Size() int

func (*MsgUnregisterContract) XXX_Unmarshal added in v0.9.0

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

type MsgUnregisterContractResponse added in v0.9.0

type MsgUnregisterContractResponse struct {
}

MsgUnregisterContractResponse defines the response structure for executing a MsgUnregisterContract message.

func (*MsgUnregisterContractResponse) Descriptor added in v0.9.0

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

func (*MsgUnregisterContractResponse) Marshal added in v0.9.0

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

func (*MsgUnregisterContractResponse) MarshalTo added in v0.9.0

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

func (*MsgUnregisterContractResponse) MarshalToSizedBuffer added in v0.9.0

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

func (*MsgUnregisterContractResponse) ProtoMessage added in v0.9.0

func (*MsgUnregisterContractResponse) ProtoMessage()

func (*MsgUnregisterContractResponse) Reset added in v0.9.0

func (m *MsgUnregisterContractResponse) Reset()

func (*MsgUnregisterContractResponse) Size added in v0.9.0

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

func (*MsgUnregisterContractResponse) String added in v0.9.0

func (*MsgUnregisterContractResponse) Unmarshal added in v0.9.0

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

func (*MsgUnregisterContractResponse) XXX_DiscardUnknown added in v0.9.0

func (m *MsgUnregisterContractResponse) XXX_DiscardUnknown()

func (*MsgUnregisterContractResponse) XXX_Marshal added in v0.9.0

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

func (*MsgUnregisterContractResponse) XXX_Merge added in v0.9.0

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

func (*MsgUnregisterContractResponse) XXX_Size added in v0.9.0

func (m *MsgUnregisterContractResponse) XXX_Size() int

func (*MsgUnregisterContractResponse) XXX_Unmarshal added in v0.9.0

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

type MsgUpdateParams added in v0.7.0

type MsgUpdateParams struct {
	// authority is the address that controls the module (defaults to x/gov unless overwritten).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams is the Msg/UpdateParams request type.

func (*MsgUpdateParams) Descriptor added in v0.7.0

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

func (*MsgUpdateParams) GetAuthority added in v0.7.0

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams added in v0.7.0

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal added in v0.7.0

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

func (*MsgUpdateParams) MarshalTo added in v0.7.0

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

func (*MsgUpdateParams) MarshalToSizedBuffer added in v0.7.0

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

func (*MsgUpdateParams) ProtoMessage added in v0.7.0

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset added in v0.7.0

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size added in v0.7.0

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

func (*MsgUpdateParams) String added in v0.7.0

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal added in v0.7.0

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

func (*MsgUpdateParams) ValidateBasic added in v0.7.0

func (m *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown added in v0.7.0

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal added in v0.7.0

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

func (*MsgUpdateParams) XXX_Merge added in v0.7.0

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

func (*MsgUpdateParams) XXX_Size added in v0.7.0

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal added in v0.7.0

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

type MsgUpdateParamsResponse added in v0.7.0

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor added in v0.7.0

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

func (*MsgUpdateParamsResponse) Marshal added in v0.7.0

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

func (*MsgUpdateParamsResponse) MarshalTo added in v0.7.0

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer added in v0.7.0

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

func (*MsgUpdateParamsResponse) ProtoMessage added in v0.7.0

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset added in v0.7.0

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size added in v0.7.0

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

func (*MsgUpdateParamsResponse) String added in v0.7.0

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal added in v0.7.0

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown added in v0.7.0

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal added in v0.7.0

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

func (*MsgUpdateParamsResponse) XXX_Merge added in v0.7.0

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

func (*MsgUpdateParamsResponse) XXX_Size added in v0.7.0

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal added in v0.7.0

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

type ParamSubspace added in v0.7.0

type ParamSubspace interface {
	Get(context.Context, []byte, interface{})
	Set(context.Context, []byte, interface{})
}

ParamSubspace defines the expected Subspace interface for parameters.

type Params

type Params struct {
	// option (gogoproto.equal) = true;
	KeyshareChannelId         string                 `` /* 141-byte string literal not displayed */
	IsSourceChain             bool                   `` /* 126-byte string literal not displayed */
	TrustedCounterParties     []*TrustedCounterParty `` /* 126-byte string literal not displayed */
	TrustedAddresses          []string               `` /* 134-byte string literal not displayed */
	MinGasPrice               *types.Coin            `protobuf:"bytes,5,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price,omitempty" yaml:"min_gas_price"`
	PrivateDecryptionKeyPrice *types.Coin            `` /* 176-byte string literal not displayed */
}

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,
	keyshareChannelID string,
	minGasPrice *sdk.Coin,
	isSourceChain bool,
	decryptionKeyPrice *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) GetPrivateDecryptionKeyPrice added in v0.10.0

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

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 (m *Params) String() string

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"`
}

PepNonce defines the nonce of an account to send encrypted transactions. It is incremanted seperately from the nonce maintained by the auth module

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 PortKeeper

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

PortKeeper defines the expected IBC port keeper.

type PrivateRequest added in v0.9.0

type PrivateRequest 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"`
	Pubkey                string                        `protobuf:"bytes,3,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	PrivateDecryptionKeys []*types.PrivateDecryptionKey `` /* 126-byte string literal not displayed */
}

PrivateRequest defines the structure for storing private decryption key requests along with the unaggregated encrypted keyshares

func (*PrivateRequest) Descriptor added in v0.9.0

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

func (*PrivateRequest) GetCreator added in v0.9.0

func (m *PrivateRequest) GetCreator() string

func (*PrivateRequest) GetIdentity added in v0.10.2

func (m *PrivateRequest) GetIdentity() string

func (*PrivateRequest) GetPrivateDecryptionKeys added in v0.10.0

func (m *PrivateRequest) GetPrivateDecryptionKeys() []*types.PrivateDecryptionKey

func (*PrivateRequest) GetPubkey added in v0.9.0

func (m *PrivateRequest) GetPubkey() string

func (*PrivateRequest) Marshal added in v0.9.0

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

func (*PrivateRequest) MarshalTo added in v0.9.0

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

func (*PrivateRequest) MarshalToSizedBuffer added in v0.9.0

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

func (*PrivateRequest) ProtoMessage added in v0.9.0

func (*PrivateRequest) ProtoMessage()

func (*PrivateRequest) Reset added in v0.9.0

func (m *PrivateRequest) Reset()

func (*PrivateRequest) Size added in v0.9.0

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

func (*PrivateRequest) String added in v0.9.0

func (m *PrivateRequest) String() string

func (*PrivateRequest) Unmarshal added in v0.9.0

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

func (*PrivateRequest) XXX_DiscardUnknown added in v0.9.0

func (m *PrivateRequest) XXX_DiscardUnknown()

func (*PrivateRequest) XXX_Marshal added in v0.9.0

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

func (*PrivateRequest) XXX_Merge added in v0.9.0

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

func (*PrivateRequest) XXX_Size added in v0.9.0

func (m *PrivateRequest) XXX_Size() int

func (*PrivateRequest) XXX_Unmarshal added in v0.9.0

func (m *PrivateRequest) 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 *QueryEncryptedTxRequest, opts ...grpc.CallOption) (*QueryEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAll(ctx context.Context, in *QueryEncryptedTxAllRequest, opts ...grpc.CallOption) (*QueryEncryptedTxAllResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAllFromHeight(ctx context.Context, in *QueryEncryptedTxAllFromHeightRequest, opts ...grpc.CallOption) (*QueryEncryptedTxAllFromHeightResponse, 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 *QueryPepNonceRequest, opts ...grpc.CallOption) (*QueryPepNonceResponse, error)
	// Queries a list of PepNonce items.
	PepNonceAll(ctx context.Context, in *QueryPepNonceAllRequest, opts ...grpc.CallOption) (*QueryPepNonceAllResponse, error)
	// Queries the public keys
	Pubkey(ctx context.Context, in *QueryPubkeyRequest, opts ...grpc.CallOption) (*QueryPubkeyResponse, error)
	// Queries a General Identity request by identity
	GeneralIdentity(ctx context.Context, in *QueryGeneralIdentityRequest, opts ...grpc.CallOption) (*QueryGeneralIdentityResponse, error)
	// Queries a list of General Identity requests
	GeneralIdentityAll(ctx context.Context, in *QueryGeneralIdentityAllRequest, opts ...grpc.CallOption) (*QueryGeneralIdentityAllResponse, error)
	// Queries a Private Identity request item by identity
	PrivateIdentity(ctx context.Context, in *QueryPrivateIdentityRequest, opts ...grpc.CallOption) (*QueryPrivateIdentityResponse, error)
	// Queries a list of DecryptData items.
	DecryptData(ctx context.Context, in *QueryDecryptDataRequest, opts ...grpc.CallOption) (*QueryDecryptDataResponse, 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 QueryDecryptDataRequest added in v0.9.0

type QueryDecryptDataRequest struct {
	Pubkey        string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	DecryptionKey string `protobuf:"bytes,2,opt,name=decryption_key,json=decryptionKey,proto3" json:"decryption_key,omitempty"`
	EncryptedData string `protobuf:"bytes,3,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"`
}

QueryDecryptDataRequest is request type for the Query/DecryptData RPC method.

func (*QueryDecryptDataRequest) Descriptor added in v0.9.0

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

func (*QueryDecryptDataRequest) GetDecryptionKey added in v0.10.0

func (m *QueryDecryptDataRequest) GetDecryptionKey() string

func (*QueryDecryptDataRequest) GetEncryptedData added in v0.9.0

func (m *QueryDecryptDataRequest) GetEncryptedData() string

func (*QueryDecryptDataRequest) GetPubkey added in v0.9.0

func (m *QueryDecryptDataRequest) GetPubkey() string

func (*QueryDecryptDataRequest) Marshal added in v0.9.0

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

func (*QueryDecryptDataRequest) MarshalTo added in v0.9.0

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

func (*QueryDecryptDataRequest) MarshalToSizedBuffer added in v0.9.0

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

func (*QueryDecryptDataRequest) ProtoMessage added in v0.9.0

func (*QueryDecryptDataRequest) ProtoMessage()

func (*QueryDecryptDataRequest) Reset added in v0.9.0

func (m *QueryDecryptDataRequest) Reset()

func (*QueryDecryptDataRequest) Size added in v0.9.0

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

func (*QueryDecryptDataRequest) String added in v0.9.0

func (m *QueryDecryptDataRequest) String() string

func (*QueryDecryptDataRequest) Unmarshal added in v0.9.0

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

func (*QueryDecryptDataRequest) XXX_DiscardUnknown added in v0.9.0

func (m *QueryDecryptDataRequest) XXX_DiscardUnknown()

func (*QueryDecryptDataRequest) XXX_Marshal added in v0.9.0

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

func (*QueryDecryptDataRequest) XXX_Merge added in v0.9.0

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

func (*QueryDecryptDataRequest) XXX_Size added in v0.9.0

func (m *QueryDecryptDataRequest) XXX_Size() int

func (*QueryDecryptDataRequest) XXX_Unmarshal added in v0.9.0

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

type QueryDecryptDataResponse added in v0.9.0

type QueryDecryptDataResponse struct {
	DecryptedData string `protobuf:"bytes,1,opt,name=decrypted_data,json=decryptedData,proto3" json:"decrypted_data,omitempty"`
}

QueryDecryptDataResponse is response type for the Query/DecryptData RPC method.

func (*QueryDecryptDataResponse) Descriptor added in v0.9.0

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

func (*QueryDecryptDataResponse) GetDecryptedData added in v0.9.0

func (m *QueryDecryptDataResponse) GetDecryptedData() string

func (*QueryDecryptDataResponse) Marshal added in v0.9.0

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

func (*QueryDecryptDataResponse) MarshalTo added in v0.9.0

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

func (*QueryDecryptDataResponse) MarshalToSizedBuffer added in v0.9.0

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

func (*QueryDecryptDataResponse) ProtoMessage added in v0.9.0

func (*QueryDecryptDataResponse) ProtoMessage()

func (*QueryDecryptDataResponse) Reset added in v0.9.0

func (m *QueryDecryptDataResponse) Reset()

func (*QueryDecryptDataResponse) Size added in v0.9.0

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

func (*QueryDecryptDataResponse) String added in v0.9.0

func (m *QueryDecryptDataResponse) String() string

func (*QueryDecryptDataResponse) Unmarshal added in v0.9.0

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

func (*QueryDecryptDataResponse) XXX_DiscardUnknown added in v0.9.0

func (m *QueryDecryptDataResponse) XXX_DiscardUnknown()

func (*QueryDecryptDataResponse) XXX_Marshal added in v0.9.0

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

func (*QueryDecryptDataResponse) XXX_Merge added in v0.9.0

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

func (*QueryDecryptDataResponse) XXX_Size added in v0.9.0

func (m *QueryDecryptDataResponse) XXX_Size() int

func (*QueryDecryptDataResponse) XXX_Unmarshal added in v0.9.0

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

type QueryEncryptedTxAllFromHeightRequest added in v0.10.0

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

QueryEncryptedTxAllFromHeightRequest is request type for the Query/EncryptedTxAllFromHeight RPC method.

func (*QueryEncryptedTxAllFromHeightRequest) Descriptor added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightRequest) GetTargetHeight added in v0.10.0

func (m *QueryEncryptedTxAllFromHeightRequest) GetTargetHeight() uint64

func (*QueryEncryptedTxAllFromHeightRequest) Marshal added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightRequest) MarshalTo added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightRequest) ProtoMessage added in v0.10.0

func (*QueryEncryptedTxAllFromHeightRequest) ProtoMessage()

func (*QueryEncryptedTxAllFromHeightRequest) Reset added in v0.10.0

func (*QueryEncryptedTxAllFromHeightRequest) Size added in v0.10.0

func (*QueryEncryptedTxAllFromHeightRequest) String added in v0.10.0

func (*QueryEncryptedTxAllFromHeightRequest) Unmarshal added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryEncryptedTxAllFromHeightRequest) XXX_DiscardUnknown()

func (*QueryEncryptedTxAllFromHeightRequest) XXX_Marshal added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightRequest) XXX_Merge added in v0.10.0

func (*QueryEncryptedTxAllFromHeightRequest) XXX_Size added in v0.10.0

func (*QueryEncryptedTxAllFromHeightRequest) XXX_Unmarshal added in v0.10.0

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

type QueryEncryptedTxAllFromHeightResponse added in v0.10.0

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

QueryEncryptedTxAllFromHeightResponse is response type for the Query/EncryptedTxAllFromHeight RPC method.

func (*QueryEncryptedTxAllFromHeightResponse) Descriptor added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightResponse) GetEncryptedTxArray added in v0.10.0

func (*QueryEncryptedTxAllFromHeightResponse) Marshal added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightResponse) MarshalTo added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightResponse) ProtoMessage added in v0.10.0

func (*QueryEncryptedTxAllFromHeightResponse) ProtoMessage()

func (*QueryEncryptedTxAllFromHeightResponse) Reset added in v0.10.0

func (*QueryEncryptedTxAllFromHeightResponse) Size added in v0.10.0

func (*QueryEncryptedTxAllFromHeightResponse) String added in v0.10.0

func (*QueryEncryptedTxAllFromHeightResponse) Unmarshal added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryEncryptedTxAllFromHeightResponse) XXX_DiscardUnknown()

func (*QueryEncryptedTxAllFromHeightResponse) XXX_Marshal added in v0.10.0

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

func (*QueryEncryptedTxAllFromHeightResponse) XXX_Merge added in v0.10.0

func (*QueryEncryptedTxAllFromHeightResponse) XXX_Size added in v0.10.0

func (*QueryEncryptedTxAllFromHeightResponse) XXX_Unmarshal added in v0.10.0

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

type QueryEncryptedTxAllRequest added in v0.10.0

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

QueryEncryptedTxAllRequest is request type for the Query/EncryptedTxAll RPC method.

func (*QueryEncryptedTxAllRequest) Descriptor added in v0.10.0

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

func (*QueryEncryptedTxAllRequest) GetPagination added in v0.10.0

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

func (*QueryEncryptedTxAllRequest) Marshal added in v0.10.0

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

func (*QueryEncryptedTxAllRequest) MarshalTo added in v0.10.0

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

func (*QueryEncryptedTxAllRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryEncryptedTxAllRequest) ProtoMessage added in v0.10.0

func (*QueryEncryptedTxAllRequest) ProtoMessage()

func (*QueryEncryptedTxAllRequest) Reset added in v0.10.0

func (m *QueryEncryptedTxAllRequest) Reset()

func (*QueryEncryptedTxAllRequest) Size added in v0.10.0

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

func (*QueryEncryptedTxAllRequest) String added in v0.10.0

func (m *QueryEncryptedTxAllRequest) String() string

func (*QueryEncryptedTxAllRequest) Unmarshal added in v0.10.0

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

func (*QueryEncryptedTxAllRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryEncryptedTxAllRequest) XXX_DiscardUnknown()

func (*QueryEncryptedTxAllRequest) XXX_Marshal added in v0.10.0

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

func (*QueryEncryptedTxAllRequest) XXX_Merge added in v0.10.0

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

func (*QueryEncryptedTxAllRequest) XXX_Size added in v0.10.0

func (m *QueryEncryptedTxAllRequest) XXX_Size() int

func (*QueryEncryptedTxAllRequest) XXX_Unmarshal added in v0.10.0

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

type QueryEncryptedTxAllResponse added in v0.10.0

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

QueryEncryptedTxAllResponse is response type for the Query/EncryptedTxAll RPC method.

func (*QueryEncryptedTxAllResponse) Descriptor added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) GetEncryptedTxArray added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) GetPagination added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) Marshal added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) MarshalTo added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) ProtoMessage added in v0.10.0

func (*QueryEncryptedTxAllResponse) ProtoMessage()

func (*QueryEncryptedTxAllResponse) Reset added in v0.10.0

func (m *QueryEncryptedTxAllResponse) Reset()

func (*QueryEncryptedTxAllResponse) Size added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) String added in v0.10.0

func (m *QueryEncryptedTxAllResponse) String() string

func (*QueryEncryptedTxAllResponse) Unmarshal added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryEncryptedTxAllResponse) XXX_DiscardUnknown()

func (*QueryEncryptedTxAllResponse) XXX_Marshal added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) XXX_Merge added in v0.10.0

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

func (*QueryEncryptedTxAllResponse) XXX_Size added in v0.10.0

func (m *QueryEncryptedTxAllResponse) XXX_Size() int

func (*QueryEncryptedTxAllResponse) XXX_Unmarshal added in v0.10.0

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

type QueryEncryptedTxRequest added in v0.10.0

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

QueryEncryptedTxRequest is request type for the Query/EncryptedTx RPC method.

func (*QueryEncryptedTxRequest) Descriptor added in v0.10.0

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

func (*QueryEncryptedTxRequest) GetIndex added in v0.10.0

func (m *QueryEncryptedTxRequest) GetIndex() uint64

func (*QueryEncryptedTxRequest) GetTargetHeight added in v0.10.0

func (m *QueryEncryptedTxRequest) GetTargetHeight() uint64

func (*QueryEncryptedTxRequest) Marshal added in v0.10.0

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

func (*QueryEncryptedTxRequest) MarshalTo added in v0.10.0

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

func (*QueryEncryptedTxRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryEncryptedTxRequest) ProtoMessage added in v0.10.0

func (*QueryEncryptedTxRequest) ProtoMessage()

func (*QueryEncryptedTxRequest) Reset added in v0.10.0

func (m *QueryEncryptedTxRequest) Reset()

func (*QueryEncryptedTxRequest) Size added in v0.10.0

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

func (*QueryEncryptedTxRequest) String added in v0.10.0

func (m *QueryEncryptedTxRequest) String() string

func (*QueryEncryptedTxRequest) Unmarshal added in v0.10.0

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

func (*QueryEncryptedTxRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryEncryptedTxRequest) XXX_DiscardUnknown()

func (*QueryEncryptedTxRequest) XXX_Marshal added in v0.10.0

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

func (*QueryEncryptedTxRequest) XXX_Merge added in v0.10.0

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

func (*QueryEncryptedTxRequest) XXX_Size added in v0.10.0

func (m *QueryEncryptedTxRequest) XXX_Size() int

func (*QueryEncryptedTxRequest) XXX_Unmarshal added in v0.10.0

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

type QueryEncryptedTxResponse added in v0.10.0

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

QueryEncryptedTxResponse is response type for the Query/EncryptedTx RPC method.

func (*QueryEncryptedTxResponse) Descriptor added in v0.10.0

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

func (*QueryEncryptedTxResponse) GetEncryptedTx added in v0.10.0

func (m *QueryEncryptedTxResponse) GetEncryptedTx() EncryptedTx

func (*QueryEncryptedTxResponse) Marshal added in v0.10.0

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

func (*QueryEncryptedTxResponse) MarshalTo added in v0.10.0

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

func (*QueryEncryptedTxResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryEncryptedTxResponse) ProtoMessage added in v0.10.0

func (*QueryEncryptedTxResponse) ProtoMessage()

func (*QueryEncryptedTxResponse) Reset added in v0.10.0

func (m *QueryEncryptedTxResponse) Reset()

func (*QueryEncryptedTxResponse) Size added in v0.10.0

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

func (*QueryEncryptedTxResponse) String added in v0.10.0

func (m *QueryEncryptedTxResponse) String() string

func (*QueryEncryptedTxResponse) Unmarshal added in v0.10.0

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

func (*QueryEncryptedTxResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryEncryptedTxResponse) XXX_DiscardUnknown()

func (*QueryEncryptedTxResponse) XXX_Marshal added in v0.10.0

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

func (*QueryEncryptedTxResponse) XXX_Merge added in v0.10.0

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

func (*QueryEncryptedTxResponse) XXX_Size added in v0.10.0

func (m *QueryEncryptedTxResponse) XXX_Size() int

func (*QueryEncryptedTxResponse) XXX_Unmarshal added in v0.10.0

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

type QueryGeneralIdentityAllRequest added in v0.10.0

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

QueryGeneralIdentityAllRequest is request type for the Query/GeneralIdentityAll RPC method.

func (*QueryGeneralIdentityAllRequest) Descriptor added in v0.10.0

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

func (*QueryGeneralIdentityAllRequest) GetPagination added in v0.10.0

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

func (*QueryGeneralIdentityAllRequest) Marshal added in v0.10.0

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

func (*QueryGeneralIdentityAllRequest) MarshalTo added in v0.10.0

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

func (*QueryGeneralIdentityAllRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryGeneralIdentityAllRequest) ProtoMessage added in v0.10.0

func (*QueryGeneralIdentityAllRequest) ProtoMessage()

func (*QueryGeneralIdentityAllRequest) Reset added in v0.10.0

func (m *QueryGeneralIdentityAllRequest) Reset()

func (*QueryGeneralIdentityAllRequest) Size added in v0.10.0

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

func (*QueryGeneralIdentityAllRequest) String added in v0.10.0

func (*QueryGeneralIdentityAllRequest) Unmarshal added in v0.10.0

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

func (*QueryGeneralIdentityAllRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryGeneralIdentityAllRequest) XXX_DiscardUnknown()

func (*QueryGeneralIdentityAllRequest) XXX_Marshal added in v0.10.0

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

func (*QueryGeneralIdentityAllRequest) XXX_Merge added in v0.10.0

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

func (*QueryGeneralIdentityAllRequest) XXX_Size added in v0.10.0

func (m *QueryGeneralIdentityAllRequest) XXX_Size() int

func (*QueryGeneralIdentityAllRequest) XXX_Unmarshal added in v0.10.0

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

type QueryGeneralIdentityAllResponse added in v0.10.0

type QueryGeneralIdentityAllResponse struct {
	RequestDetailsList []*IdentityExecutionEntry `protobuf:"bytes,1,rep,name=request_details_list,json=requestDetailsList,proto3" json:"request_details_list,omitempty"`
	Pagination         *query.PageResponse       `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGeneralIdentityAllResponse is response type for the Query/GeneralIdentityAll RPC method.

func (*QueryGeneralIdentityAllResponse) Descriptor added in v0.10.0

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

func (*QueryGeneralIdentityAllResponse) GetPagination added in v0.10.0

func (*QueryGeneralIdentityAllResponse) GetRequestDetailsList added in v0.10.0

func (m *QueryGeneralIdentityAllResponse) GetRequestDetailsList() []*IdentityExecutionEntry

func (*QueryGeneralIdentityAllResponse) Marshal added in v0.10.0

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

func (*QueryGeneralIdentityAllResponse) MarshalTo added in v0.10.0

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

func (*QueryGeneralIdentityAllResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryGeneralIdentityAllResponse) ProtoMessage added in v0.10.0

func (*QueryGeneralIdentityAllResponse) ProtoMessage()

func (*QueryGeneralIdentityAllResponse) Reset added in v0.10.0

func (*QueryGeneralIdentityAllResponse) Size added in v0.10.0

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

func (*QueryGeneralIdentityAllResponse) String added in v0.10.0

func (*QueryGeneralIdentityAllResponse) Unmarshal added in v0.10.0

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

func (*QueryGeneralIdentityAllResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryGeneralIdentityAllResponse) XXX_DiscardUnknown()

func (*QueryGeneralIdentityAllResponse) XXX_Marshal added in v0.10.0

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

func (*QueryGeneralIdentityAllResponse) XXX_Merge added in v0.10.0

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

func (*QueryGeneralIdentityAllResponse) XXX_Size added in v0.10.0

func (m *QueryGeneralIdentityAllResponse) XXX_Size() int

func (*QueryGeneralIdentityAllResponse) XXX_Unmarshal added in v0.10.0

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

type QueryGeneralIdentityRequest added in v0.10.0

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

QueryGeneralIdentityRequest is request type for the Query/GeneralIdentity RPC method.

func (*QueryGeneralIdentityRequest) Descriptor added in v0.10.0

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

func (*QueryGeneralIdentityRequest) GetIdentity added in v0.10.2

func (m *QueryGeneralIdentityRequest) GetIdentity() string

func (*QueryGeneralIdentityRequest) Marshal added in v0.10.0

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

func (*QueryGeneralIdentityRequest) MarshalTo added in v0.10.0

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

func (*QueryGeneralIdentityRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryGeneralIdentityRequest) ProtoMessage added in v0.10.0

func (*QueryGeneralIdentityRequest) ProtoMessage()

func (*QueryGeneralIdentityRequest) Reset added in v0.10.0

func (m *QueryGeneralIdentityRequest) Reset()

func (*QueryGeneralIdentityRequest) Size added in v0.10.0

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

func (*QueryGeneralIdentityRequest) String added in v0.10.0

func (m *QueryGeneralIdentityRequest) String() string

func (*QueryGeneralIdentityRequest) Unmarshal added in v0.10.0

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

func (*QueryGeneralIdentityRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryGeneralIdentityRequest) XXX_DiscardUnknown()

func (*QueryGeneralIdentityRequest) XXX_Marshal added in v0.10.0

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

func (*QueryGeneralIdentityRequest) XXX_Merge added in v0.10.0

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

func (*QueryGeneralIdentityRequest) XXX_Size added in v0.10.0

func (m *QueryGeneralIdentityRequest) XXX_Size() int

func (*QueryGeneralIdentityRequest) XXX_Unmarshal added in v0.10.0

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

type QueryGeneralIdentityResponse added in v0.10.0

type QueryGeneralIdentityResponse struct {
	RequestDetails *IdentityExecutionEntry `protobuf:"bytes,1,opt,name=request_details,json=requestDetails,proto3" json:"request_details,omitempty"`
}

QueryGeneralIdentityResponse is response type for the Query/GeneralIdentity RPC method.

func (*QueryGeneralIdentityResponse) Descriptor added in v0.10.0

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

func (*QueryGeneralIdentityResponse) GetRequestDetails added in v0.10.0

func (m *QueryGeneralIdentityResponse) GetRequestDetails() *IdentityExecutionEntry

func (*QueryGeneralIdentityResponse) Marshal added in v0.10.0

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

func (*QueryGeneralIdentityResponse) MarshalTo added in v0.10.0

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

func (*QueryGeneralIdentityResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryGeneralIdentityResponse) ProtoMessage added in v0.10.0

func (*QueryGeneralIdentityResponse) ProtoMessage()

func (*QueryGeneralIdentityResponse) Reset added in v0.10.0

func (m *QueryGeneralIdentityResponse) Reset()

func (*QueryGeneralIdentityResponse) Size added in v0.10.0

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

func (*QueryGeneralIdentityResponse) String added in v0.10.0

func (*QueryGeneralIdentityResponse) Unmarshal added in v0.10.0

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

func (*QueryGeneralIdentityResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryGeneralIdentityResponse) XXX_DiscardUnknown()

func (*QueryGeneralIdentityResponse) XXX_Marshal added in v0.10.0

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

func (*QueryGeneralIdentityResponse) XXX_Merge added in v0.10.0

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

func (*QueryGeneralIdentityResponse) XXX_Size added in v0.10.0

func (m *QueryGeneralIdentityResponse) XXX_Size() int

func (*QueryGeneralIdentityResponse) XXX_Unmarshal added in v0.10.0

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

type QueryLatestHeightRequest

type QueryLatestHeightRequest struct {
}

QueryLatestHeightRequest is request type for the Query/LatestHeight RPC method.

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"`
}

QueryLatestHeightResponse is response type for the Query/LatestHeight RPC method.

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 QueryPepNonceAllRequest added in v0.10.0

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

QueryPepNonceAllRequest is request type for the Query/PepNonceAll RPC method.

func (*QueryPepNonceAllRequest) Descriptor added in v0.10.0

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

func (*QueryPepNonceAllRequest) GetPagination added in v0.10.0

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

func (*QueryPepNonceAllRequest) Marshal added in v0.10.0

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

func (*QueryPepNonceAllRequest) MarshalTo added in v0.10.0

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

func (*QueryPepNonceAllRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryPepNonceAllRequest) ProtoMessage added in v0.10.0

func (*QueryPepNonceAllRequest) ProtoMessage()

func (*QueryPepNonceAllRequest) Reset added in v0.10.0

func (m *QueryPepNonceAllRequest) Reset()

func (*QueryPepNonceAllRequest) Size added in v0.10.0

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

func (*QueryPepNonceAllRequest) String added in v0.10.0

func (m *QueryPepNonceAllRequest) String() string

func (*QueryPepNonceAllRequest) Unmarshal added in v0.10.0

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

func (*QueryPepNonceAllRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryPepNonceAllRequest) XXX_DiscardUnknown()

func (*QueryPepNonceAllRequest) XXX_Marshal added in v0.10.0

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

func (*QueryPepNonceAllRequest) XXX_Merge added in v0.10.0

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

func (*QueryPepNonceAllRequest) XXX_Size added in v0.10.0

func (m *QueryPepNonceAllRequest) XXX_Size() int

func (*QueryPepNonceAllRequest) XXX_Unmarshal added in v0.10.0

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

type QueryPepNonceAllResponse added in v0.10.0

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

QueryPepNonceAllResponse is response type for the Query/PepNonceAll RPC method.

func (*QueryPepNonceAllResponse) Descriptor added in v0.10.0

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

func (*QueryPepNonceAllResponse) GetPagination added in v0.10.0

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

func (*QueryPepNonceAllResponse) GetPepNonce added in v0.10.0

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

func (*QueryPepNonceAllResponse) Marshal added in v0.10.0

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

func (*QueryPepNonceAllResponse) MarshalTo added in v0.10.0

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

func (*QueryPepNonceAllResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryPepNonceAllResponse) ProtoMessage added in v0.10.0

func (*QueryPepNonceAllResponse) ProtoMessage()

func (*QueryPepNonceAllResponse) Reset added in v0.10.0

func (m *QueryPepNonceAllResponse) Reset()

func (*QueryPepNonceAllResponse) Size added in v0.10.0

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

func (*QueryPepNonceAllResponse) String added in v0.10.0

func (m *QueryPepNonceAllResponse) String() string

func (*QueryPepNonceAllResponse) Unmarshal added in v0.10.0

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

func (*QueryPepNonceAllResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryPepNonceAllResponse) XXX_DiscardUnknown()

func (*QueryPepNonceAllResponse) XXX_Marshal added in v0.10.0

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

func (*QueryPepNonceAllResponse) XXX_Merge added in v0.10.0

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

func (*QueryPepNonceAllResponse) XXX_Size added in v0.10.0

func (m *QueryPepNonceAllResponse) XXX_Size() int

func (*QueryPepNonceAllResponse) XXX_Unmarshal added in v0.10.0

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

type QueryPepNonceRequest added in v0.10.0

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

QueryPepNonceRequest is request type for the Query/PepNonce RPC method.

func (*QueryPepNonceRequest) Descriptor added in v0.10.0

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

func (*QueryPepNonceRequest) GetAddress added in v0.10.0

func (m *QueryPepNonceRequest) GetAddress() string

func (*QueryPepNonceRequest) Marshal added in v0.10.0

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

func (*QueryPepNonceRequest) MarshalTo added in v0.10.0

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

func (*QueryPepNonceRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryPepNonceRequest) ProtoMessage added in v0.10.0

func (*QueryPepNonceRequest) ProtoMessage()

func (*QueryPepNonceRequest) Reset added in v0.10.0

func (m *QueryPepNonceRequest) Reset()

func (*QueryPepNonceRequest) Size added in v0.10.0

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

func (*QueryPepNonceRequest) String added in v0.10.0

func (m *QueryPepNonceRequest) String() string

func (*QueryPepNonceRequest) Unmarshal added in v0.10.0

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

func (*QueryPepNonceRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryPepNonceRequest) XXX_DiscardUnknown()

func (*QueryPepNonceRequest) XXX_Marshal added in v0.10.0

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

func (*QueryPepNonceRequest) XXX_Merge added in v0.10.0

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

func (*QueryPepNonceRequest) XXX_Size added in v0.10.0

func (m *QueryPepNonceRequest) XXX_Size() int

func (*QueryPepNonceRequest) XXX_Unmarshal added in v0.10.0

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

type QueryPepNonceResponse added in v0.10.0

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

QueryPepNonceResponse is response type for the Query/PepNonce RPC method.

func (*QueryPepNonceResponse) Descriptor added in v0.10.0

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

func (*QueryPepNonceResponse) GetPepNonce added in v0.10.0

func (m *QueryPepNonceResponse) GetPepNonce() PepNonce

func (*QueryPepNonceResponse) Marshal added in v0.10.0

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

func (*QueryPepNonceResponse) MarshalTo added in v0.10.0

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

func (*QueryPepNonceResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryPepNonceResponse) ProtoMessage added in v0.10.0

func (*QueryPepNonceResponse) ProtoMessage()

func (*QueryPepNonceResponse) Reset added in v0.10.0

func (m *QueryPepNonceResponse) Reset()

func (*QueryPepNonceResponse) Size added in v0.10.0

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

func (*QueryPepNonceResponse) String added in v0.10.0

func (m *QueryPepNonceResponse) String() string

func (*QueryPepNonceResponse) Unmarshal added in v0.10.0

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

func (*QueryPepNonceResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryPepNonceResponse) XXX_DiscardUnknown()

func (*QueryPepNonceResponse) XXX_Marshal added in v0.10.0

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

func (*QueryPepNonceResponse) XXX_Merge added in v0.10.0

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

func (*QueryPepNonceResponse) XXX_Size added in v0.10.0

func (m *QueryPepNonceResponse) XXX_Size() int

func (*QueryPepNonceResponse) XXX_Unmarshal added in v0.10.0

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

type QueryPrivateIdentityRequest added in v0.10.0

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

QueryPrivateIdentityRequest is request type for the Query/PrivateIdentity RPC method.

func (*QueryPrivateIdentityRequest) Descriptor added in v0.10.0

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

func (*QueryPrivateIdentityRequest) GetIdentity added in v0.10.2

func (m *QueryPrivateIdentityRequest) GetIdentity() string

func (*QueryPrivateIdentityRequest) Marshal added in v0.10.0

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

func (*QueryPrivateIdentityRequest) MarshalTo added in v0.10.0

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

func (*QueryPrivateIdentityRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryPrivateIdentityRequest) ProtoMessage added in v0.10.0

func (*QueryPrivateIdentityRequest) ProtoMessage()

func (*QueryPrivateIdentityRequest) Reset added in v0.10.0

func (m *QueryPrivateIdentityRequest) Reset()

func (*QueryPrivateIdentityRequest) Size added in v0.10.0

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

func (*QueryPrivateIdentityRequest) String added in v0.10.0

func (m *QueryPrivateIdentityRequest) String() string

func (*QueryPrivateIdentityRequest) Unmarshal added in v0.10.0

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

func (*QueryPrivateIdentityRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryPrivateIdentityRequest) XXX_DiscardUnknown()

func (*QueryPrivateIdentityRequest) XXX_Marshal added in v0.10.0

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

func (*QueryPrivateIdentityRequest) XXX_Merge added in v0.10.0

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

func (*QueryPrivateIdentityRequest) XXX_Size added in v0.10.0

func (m *QueryPrivateIdentityRequest) XXX_Size() int

func (*QueryPrivateIdentityRequest) XXX_Unmarshal added in v0.10.0

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

type QueryPrivateIdentityResponse added in v0.10.0

type QueryPrivateIdentityResponse 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"`
	Pubkey                string                        `protobuf:"bytes,3,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	PrivateDecryptionKeys []*types.PrivateDecryptionKey `` /* 126-byte string literal not displayed */
}

QueryPrivateIdentityResponse is response type for the Query/PrivateIdentity RPC method.

func (*QueryPrivateIdentityResponse) Descriptor added in v0.10.0

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

func (*QueryPrivateIdentityResponse) GetCreator added in v0.10.0

func (m *QueryPrivateIdentityResponse) GetCreator() string

func (*QueryPrivateIdentityResponse) GetIdentity added in v0.10.2

func (m *QueryPrivateIdentityResponse) GetIdentity() string

func (*QueryPrivateIdentityResponse) GetPrivateDecryptionKeys added in v0.10.0

func (m *QueryPrivateIdentityResponse) GetPrivateDecryptionKeys() []*types.PrivateDecryptionKey

func (*QueryPrivateIdentityResponse) GetPubkey added in v0.10.0

func (m *QueryPrivateIdentityResponse) GetPubkey() string

func (*QueryPrivateIdentityResponse) Marshal added in v0.10.0

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

func (*QueryPrivateIdentityResponse) MarshalTo added in v0.10.0

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

func (*QueryPrivateIdentityResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryPrivateIdentityResponse) ProtoMessage added in v0.10.0

func (*QueryPrivateIdentityResponse) ProtoMessage()

func (*QueryPrivateIdentityResponse) Reset added in v0.10.0

func (m *QueryPrivateIdentityResponse) Reset()

func (*QueryPrivateIdentityResponse) Size added in v0.10.0

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

func (*QueryPrivateIdentityResponse) String added in v0.10.0

func (*QueryPrivateIdentityResponse) Unmarshal added in v0.10.0

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

func (*QueryPrivateIdentityResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryPrivateIdentityResponse) XXX_DiscardUnknown()

func (*QueryPrivateIdentityResponse) XXX_Marshal added in v0.10.0

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

func (*QueryPrivateIdentityResponse) XXX_Merge added in v0.10.0

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

func (*QueryPrivateIdentityResponse) XXX_Size added in v0.10.0

func (m *QueryPrivateIdentityResponse) XXX_Size() int

func (*QueryPrivateIdentityResponse) XXX_Unmarshal added in v0.10.0

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

type QueryPubkeyRequest added in v0.10.0

type QueryPubkeyRequest struct {
}

QueryPubkeyRequest is request type for the Query/Pubkey RPC method.

func (*QueryPubkeyRequest) Descriptor added in v0.10.0

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

func (*QueryPubkeyRequest) Marshal added in v0.10.0

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

func (*QueryPubkeyRequest) MarshalTo added in v0.10.0

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

func (*QueryPubkeyRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryPubkeyRequest) ProtoMessage added in v0.10.0

func (*QueryPubkeyRequest) ProtoMessage()

func (*QueryPubkeyRequest) Reset added in v0.10.0

func (m *QueryPubkeyRequest) Reset()

func (*QueryPubkeyRequest) Size added in v0.10.0

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

func (*QueryPubkeyRequest) String added in v0.10.0

func (m *QueryPubkeyRequest) String() string

func (*QueryPubkeyRequest) Unmarshal added in v0.10.0

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

func (*QueryPubkeyRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryPubkeyRequest) XXX_DiscardUnknown()

func (*QueryPubkeyRequest) XXX_Marshal added in v0.10.0

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

func (*QueryPubkeyRequest) XXX_Merge added in v0.10.0

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

func (*QueryPubkeyRequest) XXX_Size added in v0.10.0

func (m *QueryPubkeyRequest) XXX_Size() int

func (*QueryPubkeyRequest) XXX_Unmarshal added in v0.10.0

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

type QueryPubkeyResponse added in v0.10.0

type QueryPubkeyResponse struct {
	ActivePubkey types.ActivePublicKey `protobuf:"bytes,1,opt,name=active_pubkey,json=activePubkey,proto3" json:"active_pubkey"`
	QueuedPubkey types.QueuedPublicKey `protobuf:"bytes,2,opt,name=queued_pubkey,json=queuedPubkey,proto3" json:"queued_pubkey"`
}

QueryPubkeyResponse is response type for the Query/Pubkey RPC method.

func (*QueryPubkeyResponse) Descriptor added in v0.10.0

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

func (*QueryPubkeyResponse) GetActivePubkey added in v0.10.0

func (m *QueryPubkeyResponse) GetActivePubkey() types.ActivePublicKey

func (*QueryPubkeyResponse) GetQueuedPubkey added in v0.10.0

func (m *QueryPubkeyResponse) GetQueuedPubkey() types.QueuedPublicKey

func (*QueryPubkeyResponse) Marshal added in v0.10.0

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

func (*QueryPubkeyResponse) MarshalTo added in v0.10.0

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

func (*QueryPubkeyResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryPubkeyResponse) ProtoMessage added in v0.10.0

func (*QueryPubkeyResponse) ProtoMessage()

func (*QueryPubkeyResponse) Reset added in v0.10.0

func (m *QueryPubkeyResponse) Reset()

func (*QueryPubkeyResponse) Size added in v0.10.0

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

func (*QueryPubkeyResponse) String added in v0.10.0

func (m *QueryPubkeyResponse) String() string

func (*QueryPubkeyResponse) Unmarshal added in v0.10.0

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

func (*QueryPubkeyResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryPubkeyResponse) XXX_DiscardUnknown()

func (*QueryPubkeyResponse) XXX_Marshal added in v0.10.0

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

func (*QueryPubkeyResponse) XXX_Merge added in v0.10.0

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

func (*QueryPubkeyResponse) XXX_Size added in v0.10.0

func (m *QueryPubkeyResponse) XXX_Size() int

func (*QueryPubkeyResponse) XXX_Unmarshal added in v0.10.0

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, *QueryEncryptedTxRequest) (*QueryEncryptedTxResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAll(context.Context, *QueryEncryptedTxAllRequest) (*QueryEncryptedTxAllResponse, error)
	// Queries a list of EncryptedTx items.
	EncryptedTxAllFromHeight(context.Context, *QueryEncryptedTxAllFromHeightRequest) (*QueryEncryptedTxAllFromHeightResponse, error)
	// Queries a list of LatestHeight items.
	LatestHeight(context.Context, *QueryLatestHeightRequest) (*QueryLatestHeightResponse, error)
	// Queries a PepNonce by index.
	PepNonce(context.Context, *QueryPepNonceRequest) (*QueryPepNonceResponse, error)
	// Queries a list of PepNonce items.
	PepNonceAll(context.Context, *QueryPepNonceAllRequest) (*QueryPepNonceAllResponse, error)
	// Queries the public keys
	Pubkey(context.Context, *QueryPubkeyRequest) (*QueryPubkeyResponse, error)
	// Queries a General Identity request by identity
	GeneralIdentity(context.Context, *QueryGeneralIdentityRequest) (*QueryGeneralIdentityResponse, error)
	// Queries a list of General Identity requests
	GeneralIdentityAll(context.Context, *QueryGeneralIdentityAllRequest) (*QueryGeneralIdentityAllResponse, error)
	// Queries a Private Identity request item by identity
	PrivateIdentity(context.Context, *QueryPrivateIdentityRequest) (*QueryPrivateIdentityResponse, error)
	// Queries a list of DecryptData items.
	DecryptData(context.Context, *QueryDecryptDataRequest) (*QueryDecryptDataResponse, error)
}

QueryServer is the server API for Query service.

type RegisteredContract added in v0.9.0

type RegisteredContract struct {
	Identity  string             `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	Contracts []*ContractDetails `protobuf:"bytes,2,rep,name=contracts,proto3" json:"contracts,omitempty"`
}

RegisteredContract defines the structure to store the list of contracts that have been registered with a particular identity

func (*RegisteredContract) Descriptor added in v0.9.0

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

func (*RegisteredContract) GetContracts added in v0.9.0

func (m *RegisteredContract) GetContracts() []*ContractDetails

func (*RegisteredContract) GetIdentity added in v0.9.0

func (m *RegisteredContract) GetIdentity() string

func (*RegisteredContract) Marshal added in v0.9.0

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

func (*RegisteredContract) MarshalTo added in v0.9.0

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

func (*RegisteredContract) MarshalToSizedBuffer added in v0.9.0

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

func (*RegisteredContract) ProtoMessage added in v0.9.0

func (*RegisteredContract) ProtoMessage()

func (*RegisteredContract) Reset added in v0.9.0

func (m *RegisteredContract) Reset()

func (*RegisteredContract) Size added in v0.9.0

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

func (*RegisteredContract) String added in v0.9.0

func (m *RegisteredContract) String() string

func (*RegisteredContract) Unmarshal added in v0.9.0

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

func (*RegisteredContract) XXX_DiscardUnknown added in v0.9.0

func (m *RegisteredContract) XXX_DiscardUnknown()

func (*RegisteredContract) XXX_Marshal added in v0.9.0

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

func (*RegisteredContract) XXX_Merge added in v0.9.0

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

func (*RegisteredContract) XXX_Size added in v0.9.0

func (m *RegisteredContract) XXX_Size() int

func (*RegisteredContract) XXX_Unmarshal added in v0.9.0

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

type RequestId added in v0.8.3

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

RequestId defines the structure for storing request ids that have already been registered to prevent overlap

func (*RequestId) Descriptor added in v0.8.3

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

func (*RequestId) GetCreator added in v0.8.3

func (m *RequestId) GetCreator() string

func (*RequestId) GetReqId added in v0.8.3

func (m *RequestId) GetReqId() string

func (*RequestId) Marshal added in v0.8.3

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

func (*RequestId) MarshalTo added in v0.8.3

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

func (*RequestId) MarshalToSizedBuffer added in v0.8.3

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

func (*RequestId) ProtoMessage added in v0.8.3

func (*RequestId) ProtoMessage()

func (*RequestId) Reset added in v0.8.3

func (m *RequestId) Reset()

func (*RequestId) Size added in v0.8.3

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

func (*RequestId) String added in v0.8.3

func (m *RequestId) String() string

func (*RequestId) Unmarshal added in v0.8.3

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

func (*RequestId) XXX_DiscardUnknown added in v0.8.3

func (m *RequestId) XXX_DiscardUnknown()

func (*RequestId) XXX_Marshal added in v0.8.3

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

func (*RequestId) XXX_Merge added in v0.8.3

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

func (*RequestId) XXX_Size added in v0.8.3

func (m *RequestId) XXX_Size() int

func (*RequestId) XXX_Unmarshal added in v0.8.3

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

type ScopedKeeper

type ScopedKeeper interface {
	GetCapability(ctx context.Context, name string) (*capabilitytypes.Capability, bool)
	AuthenticateCapability(ctx context.Context, cap *capabilitytypes.Capability, name string) bool
	ClaimCapability(ctx context.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"`
}

TrustedCounterParty defines the structure to store the ibc info of the source chain (fairyring) to reliably fetch active keys and general/private decryption keys

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) RegisterContract added in v0.9.0

func (*UnimplementedMsgServer) RequestGeneralDecryptionKey added in v0.10.0

func (*UnimplementedMsgServer) RequestGeneralIdentity added in v0.10.0

func (*UnimplementedMsgServer) RequestPrivateDecryptionKey added in v0.10.0

func (*UnimplementedMsgServer) RequestPrivateIdentity added in v0.9.0

func (*UnimplementedMsgServer) SubmitDecryptionKey added in v0.10.0

func (*UnimplementedMsgServer) SubmitEncryptedTx

func (*UnimplementedMsgServer) SubmitGeneralEncryptedTx added in v0.6.0

func (*UnimplementedMsgServer) UnregisterContract added in v0.9.0

func (*UnimplementedMsgServer) UpdateParams added in v0.7.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) DecryptData added in v0.9.0

func (*UnimplementedQueryServer) EncryptedTx

func (*UnimplementedQueryServer) EncryptedTxAll

func (*UnimplementedQueryServer) GeneralIdentity added in v0.10.0

func (*UnimplementedQueryServer) GeneralIdentityAll added in v0.10.0

func (*UnimplementedQueryServer) LatestHeight

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PepNonce

func (*UnimplementedQueryServer) PepNonceAll

func (*UnimplementedQueryServer) PrivateIdentity added in v0.10.0

func (*UnimplementedQueryServer) Pubkey added in v0.10.0

type WasmKeeper added in v0.9.0

type WasmKeeper interface {
	GetContractInfo(ctx context.Context, contractAddress sdk.AccAddress) *wasmtypes.ContractInfo
	HasContractInfo(ctx context.Context, contractAddress sdk.AccAddress) bool
}

WasmKeeper defines the expected interface for the wasm module.

Jump to

Keyboard shortcuts

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