v1beta2

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 42 Imported by: 1

Documentation

Overview

Package v1beta2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "warden"

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

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_warden"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

Variables

View Source
var (
	ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message")
	ErrSample        = sdkerrors.Register(ModuleName, 1101, "sample error")
)

x/warden 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 (
	ErrInvalidLengthKey        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKey          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKey = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthKeychain        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKeychain          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKeychain = fmt.Errorf("proto: unexpected end of group")
)
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 (
	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 (
	ErrInvalidLengthSignature        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSignature          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSignature = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSpace        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSpace          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSpace = 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 AddressType_name = map[int32]string{
	0: "ADDRESS_TYPE_UNSPECIFIED",
	1: "ADDRESS_TYPE_ETHEREUM",
	2: "ADDRESS_TYPE_OSMOSIS",
}
View Source
var AddressType_value = map[string]int32{
	"ADDRESS_TYPE_UNSPECIFIED": 0,
	"ADDRESS_TYPE_ETHEREUM":    1,
	"ADDRESS_TYPE_OSMOSIS":     2,
}
View Source
var ErrUnknownWalletType = fmt.Errorf("error in NewWallet: unknown wallet type")
View Source
var KeyRequestStatus_name = map[int32]string{
	0: "KEY_REQUEST_STATUS_UNSPECIFIED",
	1: "KEY_REQUEST_STATUS_PENDING",
	2: "KEY_REQUEST_STATUS_FULFILLED",
	3: "KEY_REQUEST_STATUS_REJECTED",
}
View Source
var KeyRequestStatus_value = map[string]int32{
	"KEY_REQUEST_STATUS_UNSPECIFIED": 0,
	"KEY_REQUEST_STATUS_PENDING":     1,
	"KEY_REQUEST_STATUS_FULFILLED":   2,
	"KEY_REQUEST_STATUS_REJECTED":    3,
}
View Source
var KeyType_name = map[int32]string{
	0: "KEY_TYPE_UNSPECIFIED",
	1: "KEY_TYPE_ECDSA_SECP256K1",
	2: "KEY_TYPE_EDDSA_ED25519",
}
View Source
var KeyType_value = map[string]int32{
	"KEY_TYPE_UNSPECIFIED":     0,
	"KEY_TYPE_ECDSA_SECP256K1": 1,
	"KEY_TYPE_EDDSA_ED25519":   2,
}
View Source
var (
	ParamsKey = []byte("p_warden")
)
View Source
var SignMethod_name = map[int32]string{
	0: "SIGN_METHOD_BLACK_BOX",
	1: "SIGN_METHOD_ETH",
	2: "SIGN_METHOD_OSMOSIS",
}
View Source
var SignMethod_value = map[string]int32{
	"SIGN_METHOD_BLACK_BOX": 0,
	"SIGN_METHOD_ETH":       1,
	"SIGN_METHOD_OSMOSIS":   2,
}
View Source
var SignRequestStatus_name = map[int32]string{
	0: "SIGN_REQUEST_STATUS_UNSPECIFIED",
	1: "SIGN_REQUEST_STATUS_PENDING",
	2: "SIGN_REQUEST_STATUS_FULFILLED",
	3: "SIGN_REQUEST_STATUS_REJECTED",
}
View Source
var SignRequestStatus_value = map[string]int32{
	"SIGN_REQUEST_STATUS_UNSPECIFIED": 0,
	"SIGN_REQUEST_STATUS_PENDING":     1,
	"SIGN_REQUEST_STATUS_FULFILLED":   2,
	"SIGN_REQUEST_STATUS_REJECTED":    3,
}

Functions

func DecodeUnsignedPayload

func DecodeUnsignedPayload(msg []byte) (types.TxData, error)

The following code doesn't work for unsigned transactions:

var tx types.Transaction
tx.UnmarshalBinary(b)

This function is a workaround taken from https://github.com/ethereum/go-ethereum/issues/26236.

func EthereumAddress

func EthereumAddress(key Key) (string, error)

func KeyPrefix

func KeyPrefix(p string) []byte

func NewMsgUpdateKeyRequestKey

func NewMsgUpdateKeyRequestKey(publicKey []byte) isMsgUpdateKeyRequest_Result

NewMsgUpdateKeyRequestKey is a utility function to generate a new successful UpdateKeyRequest result.

func NewMsgUpdateKeyRequestReject

func NewMsgUpdateKeyRequestReject(reason string) isMsgUpdateKeyRequest_Result

NewMsgUpdateKeyRequestReject is a utility function to generate a new errored UpdateKeyRequest result.

func OsmosisAddress added in v0.3.0

func OsmosisAddress(key Key) (string, error)

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccessListTxWithoutSignature

type AccessListTxWithoutSignature struct {
	ChainID    *big.Int         // destination chain ID
	Nonce      uint64           // nonce of sender account
	GasPrice   *big.Int         // wei per gas
	Gas        uint64           // gas limit
	To         *common.Address  `rlp:"nil"` // nil means contract creation
	Value      *big.Int         // wei amount
	Data       []byte           // contract invocation input data
	AccessList types.AccessList // EIP-2930 access list
}

type AddressResponse added in v0.3.0

type AddressResponse struct {
	Address string      `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Type    AddressType `protobuf:"varint,2,opt,name=type,proto3,enum=warden.warden.v1beta2.AddressType" json:"type,omitempty"`
}

func (*AddressResponse) Descriptor added in v0.3.0

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

func (*AddressResponse) GetAddress added in v0.3.0

func (m *AddressResponse) GetAddress() string

func (*AddressResponse) GetType added in v0.3.0

func (m *AddressResponse) GetType() AddressType

func (*AddressResponse) Marshal added in v0.3.0

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

func (*AddressResponse) MarshalTo added in v0.3.0

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

func (*AddressResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*AddressResponse) ProtoMessage added in v0.3.0

func (*AddressResponse) ProtoMessage()

func (*AddressResponse) Reset added in v0.3.0

func (m *AddressResponse) Reset()

func (*AddressResponse) Size added in v0.3.0

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

func (*AddressResponse) String added in v0.3.0

func (m *AddressResponse) String() string

func (*AddressResponse) Unmarshal added in v0.3.0

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

func (*AddressResponse) XXX_DiscardUnknown added in v0.3.0

func (m *AddressResponse) XXX_DiscardUnknown()

func (*AddressResponse) XXX_Marshal added in v0.3.0

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

func (*AddressResponse) XXX_Merge added in v0.3.0

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

func (*AddressResponse) XXX_Size added in v0.3.0

func (m *AddressResponse) XXX_Size() int

func (*AddressResponse) XXX_Unmarshal added in v0.3.0

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

type AddressType added in v0.3.0

type AddressType int32
const (
	// The address type is missing.
	AddressType_ADDRESS_TYPE_UNSPECIFIED AddressType = 0
	// Ethereum address type (e.g. 0x71C7656EC7ab88b098defB751B7401B5f6d8976F).
	AddressType_ADDRESS_TYPE_ETHEREUM AddressType = 1
	// Osmosis address type (e.g. osmo10kmgv5gzygnecf46x092ecfe5xcvvv9rlt823n).
	AddressType_ADDRESS_TYPE_OSMOSIS AddressType = 2
)

func (AddressType) EnumDescriptor added in v0.3.0

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

func (AddressType) String added in v0.3.0

func (x AddressType) String() string

type BlackBoxSignMethodHandler added in v0.3.0

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

func NewBlackBoxSignMethodHandler added in v0.3.0

func NewBlackBoxSignMethodHandler(k *Key) (*BlackBoxSignMethodHandler, error)

func (*BlackBoxSignMethodHandler) Handle added in v0.3.0

type DynamicFeeTxWithoutSignature

type DynamicFeeTxWithoutSignature struct {
	ChainID    *big.Int
	Nonce      uint64
	GasTipCap  *big.Int // a.k.a. maxPriorityFeePerGas
	GasFeeCap  *big.Int // a.k.a. maxFeePerGas
	Gas        uint64
	To         *common.Address `rlp:"nil"` // nil means contract creation
	Value      *big.Int
	Data       []byte
	AccessList types.AccessList
}

type EthereumSignMethodHandler added in v0.3.0

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

func NewEthereumSignMethodHandler added in v0.3.0

func NewEthereumSignMethodHandler(k *Key) (*EthereumSignMethodHandler, error)

func (*EthereumSignMethodHandler) Handle added in v0.3.0

type EthereumTransfer

type EthereumTransfer struct {
	// To is the destination of the transfer.
	To *common.Address

	// Amount is the amount being transferred.
	Amount *big.Int

	// Contract is nil if the native currency (ETH) is being transferred,
	// or is the address of the contract if a ERC-20 token is being
	// transferred.
	Contract *common.Address

	DataForSigning []byte
}

EthereumTransfer represents an ETH transfer or an ERC-20 transfer on the Ethereum blockchain.

func ParseEthereumTransaction

func ParseEthereumTransaction(b []byte, chainID *big.Int) (*EthereumTransfer, error)

ParseEthereumTransaction parses an unsigned transaction that can be an ETH transfer or a ERC-20 transfer.

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	Params            Params        `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	Keychains         []Keychain    `protobuf:"bytes,2,rep,name=keychains,proto3" json:"keychains"`
	Spaces            []Space       `protobuf:"bytes,3,rep,name=spaces,proto3" json:"spaces"`
	Keys              []Key         `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys"`
	KeyRequests       []KeyRequest  `protobuf:"bytes,5,rep,name=key_requests,json=keyRequests,proto3" json:"key_requests"`
	SignatureRequests []SignRequest `protobuf:"bytes,6,rep,name=signature_requests,json=signatureRequests,proto3" json:"signature_requests"`
}

GenesisState defines the warden 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) GetKeyRequests

func (m *GenesisState) GetKeyRequests() []KeyRequest

func (*GenesisState) GetKeychains

func (m *GenesisState) GetKeychains() []Keychain

func (*GenesisState) GetKeys

func (m *GenesisState) GetKeys() []Key

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetSignatureRequests

func (m *GenesisState) GetSignatureRequests() []SignRequest

func (*GenesisState) GetSpaces

func (m *GenesisState) GetSpaces() []Space

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 Key

type Key struct {
	Id         uint64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SpaceId    uint64  `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	KeychainId uint64  `protobuf:"varint,3,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Type       KeyType `protobuf:"varint,4,opt,name=type,proto3,enum=warden.warden.v1beta2.KeyType" json:"type,omitempty"`
	PublicKey  []byte  `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// IntentId is the ID of the intent that will need to be satisfied for using
	// this key to sign data.
	// If this is not set, the key will use the signing intent of the Space.
	IntentId uint64 `protobuf:"varint,8,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
}

func (Key) DeriveAddresses

func (k Key) DeriveAddresses(ctx sdk.Context, types []AddressType) []AddressResponse

func (*Key) Descriptor

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

func (*Key) GetId

func (m *Key) GetId() uint64

func (*Key) GetIntentId

func (m *Key) GetIntentId() uint64

func (*Key) GetKeychainId

func (m *Key) GetKeychainId() uint64

func (*Key) GetPublicKey

func (m *Key) GetPublicKey() []byte

func (*Key) GetSpaceId

func (m *Key) GetSpaceId() uint64

func (*Key) GetType

func (m *Key) GetType() KeyType

func (*Key) Marshal

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

func (*Key) MarshalTo

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

func (*Key) MarshalToSizedBuffer

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

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) Size

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

func (*Key) String

func (m *Key) String() string

func (*Key) ToECDSASecp256k1

func (k *Key) ToECDSASecp256k1() (*ecdsa.PublicKey, error)

ToECDSASecp256k1 returns the key parsed as a ECDSA secp256k1 public key. It can be parssed as a compressed or uncompressed key.

func (*Key) ToEdDSAEd25519

func (k *Key) ToEdDSAEd25519() (*ed25519.PublicKey, error)

ToEdDSAEd25519 returns the key parsed as a EdDSA Ed25519 public key.

func (*Key) Unmarshal

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

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

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

func (*Key) XXX_Merge

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

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

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

type KeyRequest

type KeyRequest struct {
	Id           uint64           `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator      string           `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	SpaceId      uint64           `protobuf:"varint,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	KeychainId   uint64           `protobuf:"varint,4,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	KeyType      KeyType          `protobuf:"varint,5,opt,name=key_type,json=keyType,proto3,enum=warden.warden.v1beta2.KeyType" json:"key_type,omitempty"`
	Status       KeyRequestStatus `protobuf:"varint,6,opt,name=status,proto3,enum=warden.warden.v1beta2.KeyRequestStatus" json:"status,omitempty"`
	RejectReason string           `protobuf:"bytes,7,opt,name=reject_reason,json=rejectReason,proto3" json:"reject_reason,omitempty"`
	// IntentId is the ID of the intent that the resulting Key will use.
	IntentId uint64 `protobuf:"varint,8,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
}

func (*KeyRequest) Descriptor

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

func (*KeyRequest) GetCreator

func (m *KeyRequest) GetCreator() string

func (*KeyRequest) GetId

func (m *KeyRequest) GetId() uint64

func (*KeyRequest) GetIntentId

func (m *KeyRequest) GetIntentId() uint64

func (*KeyRequest) GetKeyType

func (m *KeyRequest) GetKeyType() KeyType

func (*KeyRequest) GetKeychainId

func (m *KeyRequest) GetKeychainId() uint64

func (*KeyRequest) GetRejectReason

func (m *KeyRequest) GetRejectReason() string

func (*KeyRequest) GetSpaceId

func (m *KeyRequest) GetSpaceId() uint64

func (*KeyRequest) GetStatus

func (m *KeyRequest) GetStatus() KeyRequestStatus

func (*KeyRequest) Marshal

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

func (*KeyRequest) MarshalTo

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

func (*KeyRequest) MarshalToSizedBuffer

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

func (*KeyRequest) ProtoMessage

func (*KeyRequest) ProtoMessage()

func (*KeyRequest) Reset

func (m *KeyRequest) Reset()

func (*KeyRequest) Size

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

func (*KeyRequest) String

func (m *KeyRequest) String() string

func (*KeyRequest) Unmarshal

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

func (*KeyRequest) XXX_DiscardUnknown

func (m *KeyRequest) XXX_DiscardUnknown()

func (*KeyRequest) XXX_Marshal

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

func (*KeyRequest) XXX_Merge

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

func (*KeyRequest) XXX_Size

func (m *KeyRequest) XXX_Size() int

func (*KeyRequest) XXX_Unmarshal

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

type KeyRequestStatus

type KeyRequestStatus int32

KeyRequestStatus indicates the status of a key request. A request starts as "pending", waiting to be picked up. Then it can move to either "approved" or "rejected", depending on the decision of the keychain.

const (
	// The request is missing the status field.
	KeyRequestStatus_KEY_REQUEST_STATUS_UNSPECIFIED KeyRequestStatus = 0
	// The request is waiting to be fulfilled. This is the initial state of a
	// request.
	KeyRequestStatus_KEY_REQUEST_STATUS_PENDING KeyRequestStatus = 1
	// The request was fulfilled. This is a final state for a request.
	KeyRequestStatus_KEY_REQUEST_STATUS_FULFILLED KeyRequestStatus = 2
	// The request was rejected. This is a final state for a request.
	KeyRequestStatus_KEY_REQUEST_STATUS_REJECTED KeyRequestStatus = 3
)

func (KeyRequestStatus) EnumDescriptor

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

func (KeyRequestStatus) String

func (x KeyRequestStatus) String() string

type KeyType

type KeyType int32

KeyType indicates what crypto scheme will be used by this key (e.g. ECDSA). Its public key will be one of the specified type.

const (
	// The key type is missing.
	KeyType_KEY_TYPE_UNSPECIFIED KeyType = 0
	// The key is an ECDSA secp256k1 key.
	KeyType_KEY_TYPE_ECDSA_SECP256K1 KeyType = 1
	// The key is an EdDSA Ed25519 key.
	KeyType_KEY_TYPE_EDDSA_ED25519 KeyType = 2
)

func (KeyType) EnumDescriptor

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

func (KeyType) String

func (x KeyType) String() string

type Keychain

type Keychain struct {
	Id            uint64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator       string        `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Description   string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Admins        []string      `protobuf:"bytes,4,rep,name=admins,proto3" json:"admins,omitempty"`
	Parties       []string      `protobuf:"bytes,5,rep,name=parties,proto3" json:"parties,omitempty"`
	AdminIntentId uint64        `protobuf:"varint,6,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	Fees          *KeychainFees `protobuf:"bytes,7,opt,name=fees,proto3" json:"fees,omitempty"`
	IsActive      bool          `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
}

func (*Keychain) AccAddress

func (k *Keychain) AccAddress() sdk.AccAddress

func (*Keychain) AddParty

func (k *Keychain) AddParty(address string)

func (*Keychain) Descriptor

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

func (*Keychain) GetAdminIntentId

func (m *Keychain) GetAdminIntentId() uint64

func (*Keychain) GetAdmins

func (m *Keychain) GetAdmins() []string

func (*Keychain) GetCreator

func (m *Keychain) GetCreator() string

func (*Keychain) GetDescription

func (m *Keychain) GetDescription() string

func (*Keychain) GetFees

func (m *Keychain) GetFees() *KeychainFees

func (*Keychain) GetId

func (m *Keychain) GetId() uint64

func (*Keychain) GetIsActive

func (m *Keychain) GetIsActive() bool

func (*Keychain) GetParties

func (m *Keychain) GetParties() []string

func (*Keychain) IsAdmin

func (k *Keychain) IsAdmin(address string) bool

func (*Keychain) IsParty

func (k *Keychain) IsParty(address string) bool

func (*Keychain) Marshal

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

func (*Keychain) MarshalTo

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

func (*Keychain) MarshalToSizedBuffer

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

func (*Keychain) ProtoMessage

func (*Keychain) ProtoMessage()

func (*Keychain) Reset

func (m *Keychain) Reset()

func (*Keychain) SetDescription

func (k *Keychain) SetDescription(description string)

func (*Keychain) SetStatus

func (k *Keychain) SetStatus(status bool)

func (*Keychain) Size

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

func (*Keychain) String

func (m *Keychain) String() string

func (*Keychain) Unmarshal

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

func (*Keychain) XXX_DiscardUnknown

func (m *Keychain) XXX_DiscardUnknown()

func (*Keychain) XXX_Marshal

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

func (*Keychain) XXX_Merge

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

func (*Keychain) XXX_Size

func (m *Keychain) XXX_Size() int

func (*Keychain) XXX_Unmarshal

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

type KeychainFees

type KeychainFees struct {
	KeyReq int64 `protobuf:"varint,1,opt,name=key_req,json=keyReq,proto3" json:"key_req,omitempty"`
	SigReq int64 `protobuf:"varint,2,opt,name=sig_req,json=sigReq,proto3" json:"sig_req,omitempty"`
}

func (*KeychainFees) Descriptor

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

func (*KeychainFees) GetKeyReq

func (m *KeychainFees) GetKeyReq() int64

func (*KeychainFees) GetSigReq

func (m *KeychainFees) GetSigReq() int64

func (*KeychainFees) Marshal

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

func (*KeychainFees) MarshalTo

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

func (*KeychainFees) MarshalToSizedBuffer

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

func (*KeychainFees) ProtoMessage

func (*KeychainFees) ProtoMessage()

func (*KeychainFees) Reset

func (m *KeychainFees) Reset()

func (*KeychainFees) Size

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

func (*KeychainFees) String

func (m *KeychainFees) String() string

func (*KeychainFees) Unmarshal

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

func (*KeychainFees) XXX_DiscardUnknown

func (m *KeychainFees) XXX_DiscardUnknown()

func (*KeychainFees) XXX_Marshal

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

func (*KeychainFees) XXX_Merge

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

func (*KeychainFees) XXX_Size

func (m *KeychainFees) XXX_Size() int

func (*KeychainFees) XXX_Unmarshal

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

type Metadata

type Metadata any

type MetadataEthereum

type MetadataEthereum struct {
	ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*MetadataEthereum) Descriptor

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

func (*MetadataEthereum) GetChainId

func (m *MetadataEthereum) GetChainId() uint64

func (*MetadataEthereum) Marshal

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

func (*MetadataEthereum) MarshalTo

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

func (*MetadataEthereum) MarshalToSizedBuffer

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

func (*MetadataEthereum) ProtoMessage

func (*MetadataEthereum) ProtoMessage()

func (*MetadataEthereum) Reset

func (m *MetadataEthereum) Reset()

func (*MetadataEthereum) Size

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

func (*MetadataEthereum) String

func (m *MetadataEthereum) String() string

func (*MetadataEthereum) Unmarshal

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

func (*MetadataEthereum) XXX_DiscardUnknown

func (m *MetadataEthereum) XXX_DiscardUnknown()

func (*MetadataEthereum) XXX_Marshal

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

func (*MetadataEthereum) XXX_Merge

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

func (*MetadataEthereum) XXX_Size

func (m *MetadataEthereum) XXX_Size() int

func (*MetadataEthereum) XXX_Unmarshal

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

type MsgAddKeychainParty

type MsgAddKeychainParty struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	KeychainId uint64 `protobuf:"varint,2,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Party      string `protobuf:"bytes,3,opt,name=party,proto3" json:"party,omitempty"`
}

func (*MsgAddKeychainParty) Descriptor

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

func (*MsgAddKeychainParty) GetCreator

func (m *MsgAddKeychainParty) GetCreator() string

func (*MsgAddKeychainParty) GetKeychainId

func (m *MsgAddKeychainParty) GetKeychainId() uint64

func (*MsgAddKeychainParty) GetParty

func (m *MsgAddKeychainParty) GetParty() string

func (*MsgAddKeychainParty) Marshal

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

func (*MsgAddKeychainParty) MarshalTo

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

func (*MsgAddKeychainParty) MarshalToSizedBuffer

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

func (*MsgAddKeychainParty) ProtoMessage

func (*MsgAddKeychainParty) ProtoMessage()

func (*MsgAddKeychainParty) Reset

func (m *MsgAddKeychainParty) Reset()

func (*MsgAddKeychainParty) Size

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

func (*MsgAddKeychainParty) String

func (m *MsgAddKeychainParty) String() string

func (*MsgAddKeychainParty) Unmarshal

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

func (*MsgAddKeychainParty) XXX_DiscardUnknown

func (m *MsgAddKeychainParty) XXX_DiscardUnknown()

func (*MsgAddKeychainParty) XXX_Marshal

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

func (*MsgAddKeychainParty) XXX_Merge

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

func (*MsgAddKeychainParty) XXX_Size

func (m *MsgAddKeychainParty) XXX_Size() int

func (*MsgAddKeychainParty) XXX_Unmarshal

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

type MsgAddKeychainPartyResponse

type MsgAddKeychainPartyResponse struct {
}

func (*MsgAddKeychainPartyResponse) Descriptor

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

func (*MsgAddKeychainPartyResponse) Marshal

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

func (*MsgAddKeychainPartyResponse) MarshalTo

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

func (*MsgAddKeychainPartyResponse) MarshalToSizedBuffer

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

func (*MsgAddKeychainPartyResponse) ProtoMessage

func (*MsgAddKeychainPartyResponse) ProtoMessage()

func (*MsgAddKeychainPartyResponse) Reset

func (m *MsgAddKeychainPartyResponse) Reset()

func (*MsgAddKeychainPartyResponse) Size

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

func (*MsgAddKeychainPartyResponse) String

func (m *MsgAddKeychainPartyResponse) String() string

func (*MsgAddKeychainPartyResponse) Unmarshal

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

func (*MsgAddKeychainPartyResponse) XXX_DiscardUnknown

func (m *MsgAddKeychainPartyResponse) XXX_DiscardUnknown()

func (*MsgAddKeychainPartyResponse) XXX_Marshal

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

func (*MsgAddKeychainPartyResponse) XXX_Merge

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

func (*MsgAddKeychainPartyResponse) XXX_Size

func (m *MsgAddKeychainPartyResponse) XXX_Size() int

func (*MsgAddKeychainPartyResponse) XXX_Unmarshal

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

type MsgAddSpaceOwner

type MsgAddSpaceOwner struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	SpaceId  uint64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	NewOwner string `protobuf:"bytes,3,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"`
	Btl      uint64 `protobuf:"varint,4,opt,name=btl,proto3" json:"btl,omitempty"`
}

func (*MsgAddSpaceOwner) Descriptor

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

func (*MsgAddSpaceOwner) GetBtl

func (m *MsgAddSpaceOwner) GetBtl() uint64

func (*MsgAddSpaceOwner) GetCreator

func (m *MsgAddSpaceOwner) GetCreator() string

func (*MsgAddSpaceOwner) GetNewOwner

func (m *MsgAddSpaceOwner) GetNewOwner() string

func (*MsgAddSpaceOwner) GetSpaceId

func (m *MsgAddSpaceOwner) GetSpaceId() uint64

func (*MsgAddSpaceOwner) Marshal

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

func (*MsgAddSpaceOwner) MarshalTo

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

func (*MsgAddSpaceOwner) MarshalToSizedBuffer

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

func (*MsgAddSpaceOwner) ProtoMessage

func (*MsgAddSpaceOwner) ProtoMessage()

func (*MsgAddSpaceOwner) Reset

func (m *MsgAddSpaceOwner) Reset()

func (*MsgAddSpaceOwner) Size

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

func (*MsgAddSpaceOwner) String

func (m *MsgAddSpaceOwner) String() string

func (*MsgAddSpaceOwner) Unmarshal

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

func (*MsgAddSpaceOwner) XXX_DiscardUnknown

func (m *MsgAddSpaceOwner) XXX_DiscardUnknown()

func (*MsgAddSpaceOwner) XXX_Marshal

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

func (*MsgAddSpaceOwner) XXX_Merge

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

func (*MsgAddSpaceOwner) XXX_Size

func (m *MsgAddSpaceOwner) XXX_Size() int

func (*MsgAddSpaceOwner) XXX_Unmarshal

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

type MsgAddSpaceOwnerResponse

type MsgAddSpaceOwnerResponse struct {
}

func (*MsgAddSpaceOwnerResponse) Descriptor

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

func (*MsgAddSpaceOwnerResponse) Marshal

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

func (*MsgAddSpaceOwnerResponse) MarshalTo

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

func (*MsgAddSpaceOwnerResponse) MarshalToSizedBuffer

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

func (*MsgAddSpaceOwnerResponse) ProtoMessage

func (*MsgAddSpaceOwnerResponse) ProtoMessage()

func (*MsgAddSpaceOwnerResponse) Reset

func (m *MsgAddSpaceOwnerResponse) Reset()

func (*MsgAddSpaceOwnerResponse) Size

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

func (*MsgAddSpaceOwnerResponse) String

func (m *MsgAddSpaceOwnerResponse) String() string

func (*MsgAddSpaceOwnerResponse) Unmarshal

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

func (*MsgAddSpaceOwnerResponse) XXX_DiscardUnknown

func (m *MsgAddSpaceOwnerResponse) XXX_DiscardUnknown()

func (*MsgAddSpaceOwnerResponse) XXX_Marshal

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

func (*MsgAddSpaceOwnerResponse) XXX_Merge

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

func (*MsgAddSpaceOwnerResponse) XXX_Size

func (m *MsgAddSpaceOwnerResponse) XXX_Size() int

func (*MsgAddSpaceOwnerResponse) XXX_Unmarshal

func (m *MsgAddSpaceOwnerResponse) 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)
	// Create a new Space. The creator will be the first owner of the Space.
	NewSpace(ctx context.Context, in *MsgNewSpace, opts ...grpc.CallOption) (*MsgNewSpaceResponse, error)
	// Add a new owner to a space.
	AddSpaceOwner(ctx context.Context, in *MsgAddSpaceOwner, opts ...grpc.CallOption) (*types1.MsgActionCreated, error)
	// Remove an owner from the space. The user can remove itself, but at
	// least one owner must be left.
	RemoveSpaceOwner(ctx context.Context, in *MsgRemoveSpaceOwner, opts ...grpc.CallOption) (*types1.MsgActionCreated, error)
	// Create a new keychain. The user will be the first admin of the keychain.
	NewKeychain(ctx context.Context, in *MsgNewKeychain, opts ...grpc.CallOption) (*MsgNewKeychainResponse, error)
	// Add a new party to a keychain. Transactions coming from this party will
	// be considered trusted by the keychain.
	AddKeychainParty(ctx context.Context, in *MsgAddKeychainParty, opts ...grpc.CallOption) (*MsgAddKeychainPartyResponse, error)
	// Update a space, e.g. changing the intents in use.
	UpdateSpace(ctx context.Context, in *MsgUpdateSpace, opts ...grpc.CallOption) (*types1.MsgActionCreated, error)
	// Update a keychain, e.g. update the status or description.
	UpdateKeychain(ctx context.Context, in *MsgUpdateKeychain, opts ...grpc.CallOption) (*MsgUpdateKeychainResponse, error)
	// Request a new key to a keychain, the key will belong to the specified
	// space.
	NewKeyRequest(ctx context.Context, in *MsgNewKeyRequest, opts ...grpc.CallOption) (*types1.MsgActionCreated, error)
	// Update an existing request by writing a result into it. This method is
	// called by a keychain party.
	UpdateKeyRequest(ctx context.Context, in *MsgUpdateKeyRequest, opts ...grpc.CallOption) (*MsgUpdateKeyRequestResponse, error)
	// Update informations of a Key.
	UpdateKey(ctx context.Context, in *MsgUpdateKey, opts ...grpc.CallOption) (*types1.MsgActionCreated, error)
	// Request a new signature
	NewSignatureRequest(ctx context.Context, in *MsgNewSignatureRequest, opts ...grpc.CallOption) (*types1.MsgActionCreated, error)
	// Fulfill a signature request
	FulfilSignatureRequest(ctx context.Context, in *MsgFulfilSignatureRequest, opts ...grpc.CallOption) (*MsgFulfilSignatureRequestResponse, 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 MsgFulfilSignatureRequest

type MsgFulfilSignatureRequest struct {
	Creator   string            `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	RequestId uint64            `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Status    SignRequestStatus `protobuf:"varint,3,opt,name=status,proto3,enum=warden.warden.v1beta2.SignRequestStatus" json:"status,omitempty"`
	// Holds the result of the request. If status is approved, the result will
	// contain the signed data that was requested
	// If status is rejected, the result will contain the reason.
	//
	// Types that are valid to be assigned to Result:
	//
	//	*MsgFulfilSignatureRequest_Payload
	//	*MsgFulfilSignatureRequest_RejectReason
	Result isMsgFulfilSignatureRequest_Result `protobuf_oneof:"result"`
}

func (*MsgFulfilSignatureRequest) Descriptor

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

func (*MsgFulfilSignatureRequest) GetCreator

func (m *MsgFulfilSignatureRequest) GetCreator() string

func (*MsgFulfilSignatureRequest) GetPayload

func (m *MsgFulfilSignatureRequest) GetPayload() *MsgSignedData

func (*MsgFulfilSignatureRequest) GetRejectReason

func (m *MsgFulfilSignatureRequest) GetRejectReason() string

func (*MsgFulfilSignatureRequest) GetRequestId

func (m *MsgFulfilSignatureRequest) GetRequestId() uint64

func (*MsgFulfilSignatureRequest) GetResult

func (m *MsgFulfilSignatureRequest) GetResult() isMsgFulfilSignatureRequest_Result

func (*MsgFulfilSignatureRequest) GetStatus

func (*MsgFulfilSignatureRequest) Marshal

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

func (*MsgFulfilSignatureRequest) MarshalTo

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

func (*MsgFulfilSignatureRequest) MarshalToSizedBuffer

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

func (*MsgFulfilSignatureRequest) ProtoMessage

func (*MsgFulfilSignatureRequest) ProtoMessage()

func (*MsgFulfilSignatureRequest) Reset

func (m *MsgFulfilSignatureRequest) Reset()

func (*MsgFulfilSignatureRequest) Size

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

func (*MsgFulfilSignatureRequest) String

func (m *MsgFulfilSignatureRequest) String() string

func (*MsgFulfilSignatureRequest) Unmarshal

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

func (*MsgFulfilSignatureRequest) XXX_DiscardUnknown

func (m *MsgFulfilSignatureRequest) XXX_DiscardUnknown()

func (*MsgFulfilSignatureRequest) XXX_Marshal

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

func (*MsgFulfilSignatureRequest) XXX_Merge

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

func (*MsgFulfilSignatureRequest) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*MsgFulfilSignatureRequest) XXX_Size

func (m *MsgFulfilSignatureRequest) XXX_Size() int

func (*MsgFulfilSignatureRequest) XXX_Unmarshal

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

type MsgFulfilSignatureRequestResponse

type MsgFulfilSignatureRequestResponse struct {
}

func (*MsgFulfilSignatureRequestResponse) Descriptor

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

func (*MsgFulfilSignatureRequestResponse) Marshal

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

func (*MsgFulfilSignatureRequestResponse) MarshalTo

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

func (*MsgFulfilSignatureRequestResponse) MarshalToSizedBuffer

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

func (*MsgFulfilSignatureRequestResponse) ProtoMessage

func (*MsgFulfilSignatureRequestResponse) ProtoMessage()

func (*MsgFulfilSignatureRequestResponse) Reset

func (*MsgFulfilSignatureRequestResponse) Size

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

func (*MsgFulfilSignatureRequestResponse) String

func (*MsgFulfilSignatureRequestResponse) Unmarshal

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

func (*MsgFulfilSignatureRequestResponse) XXX_DiscardUnknown

func (m *MsgFulfilSignatureRequestResponse) XXX_DiscardUnknown()

func (*MsgFulfilSignatureRequestResponse) XXX_Marshal

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

func (*MsgFulfilSignatureRequestResponse) XXX_Merge

func (*MsgFulfilSignatureRequestResponse) XXX_Size

func (m *MsgFulfilSignatureRequestResponse) XXX_Size() int

func (*MsgFulfilSignatureRequestResponse) XXX_Unmarshal

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

type MsgFulfilSignatureRequest_Payload

type MsgFulfilSignatureRequest_Payload struct {
	Payload *MsgSignedData `protobuf:"bytes,4,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
}

func (*MsgFulfilSignatureRequest_Payload) MarshalTo

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

func (*MsgFulfilSignatureRequest_Payload) MarshalToSizedBuffer

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

func (*MsgFulfilSignatureRequest_Payload) Size

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

type MsgFulfilSignatureRequest_RejectReason

type MsgFulfilSignatureRequest_RejectReason struct {
	RejectReason string `protobuf:"bytes,5,opt,name=reject_reason,json=rejectReason,proto3,oneof" json:"reject_reason,omitempty"`
}

func (*MsgFulfilSignatureRequest_RejectReason) MarshalTo

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

func (*MsgFulfilSignatureRequest_RejectReason) MarshalToSizedBuffer

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

func (*MsgFulfilSignatureRequest_RejectReason) Size

type MsgNewKey

type MsgNewKey struct {
	PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
}

func (*MsgNewKey) Descriptor

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

func (*MsgNewKey) GetPublicKey

func (m *MsgNewKey) GetPublicKey() []byte

func (*MsgNewKey) Marshal

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

func (*MsgNewKey) MarshalTo

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

func (*MsgNewKey) MarshalToSizedBuffer

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

func (*MsgNewKey) ProtoMessage

func (*MsgNewKey) ProtoMessage()

func (*MsgNewKey) Reset

func (m *MsgNewKey) Reset()

func (*MsgNewKey) Size

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

func (*MsgNewKey) String

func (m *MsgNewKey) String() string

func (*MsgNewKey) Unmarshal

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

func (*MsgNewKey) XXX_DiscardUnknown

func (m *MsgNewKey) XXX_DiscardUnknown()

func (*MsgNewKey) XXX_Marshal

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

func (*MsgNewKey) XXX_Merge

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

func (*MsgNewKey) XXX_Size

func (m *MsgNewKey) XXX_Size() int

func (*MsgNewKey) XXX_Unmarshal

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

type MsgNewKeyRequest

type MsgNewKeyRequest struct {
	Creator    string  `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	SpaceId    uint64  `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	KeychainId uint64  `protobuf:"varint,3,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	KeyType    KeyType `protobuf:"varint,4,opt,name=key_type,json=keyType,proto3,enum=warden.warden.v1beta2.KeyType" json:"key_type,omitempty"`
	Btl        uint64  `protobuf:"varint,5,opt,name=btl,proto3" json:"btl,omitempty"`
	IntentId   uint64  `protobuf:"varint,6,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
}

func (*MsgNewKeyRequest) Descriptor

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

func (*MsgNewKeyRequest) GetBtl

func (m *MsgNewKeyRequest) GetBtl() uint64

func (*MsgNewKeyRequest) GetCreator

func (m *MsgNewKeyRequest) GetCreator() string

func (*MsgNewKeyRequest) GetIntentId

func (m *MsgNewKeyRequest) GetIntentId() uint64

func (*MsgNewKeyRequest) GetKeyType

func (m *MsgNewKeyRequest) GetKeyType() KeyType

func (*MsgNewKeyRequest) GetKeychainId

func (m *MsgNewKeyRequest) GetKeychainId() uint64

func (*MsgNewKeyRequest) GetSpaceId

func (m *MsgNewKeyRequest) GetSpaceId() uint64

func (*MsgNewKeyRequest) Marshal

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

func (*MsgNewKeyRequest) MarshalTo

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

func (*MsgNewKeyRequest) MarshalToSizedBuffer

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

func (*MsgNewKeyRequest) ProtoMessage

func (*MsgNewKeyRequest) ProtoMessage()

func (*MsgNewKeyRequest) Reset

func (m *MsgNewKeyRequest) Reset()

func (*MsgNewKeyRequest) Size

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

func (*MsgNewKeyRequest) String

func (m *MsgNewKeyRequest) String() string

func (*MsgNewKeyRequest) Unmarshal

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

func (*MsgNewKeyRequest) XXX_DiscardUnknown

func (m *MsgNewKeyRequest) XXX_DiscardUnknown()

func (*MsgNewKeyRequest) XXX_Marshal

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

func (*MsgNewKeyRequest) XXX_Merge

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

func (*MsgNewKeyRequest) XXX_Size

func (m *MsgNewKeyRequest) XXX_Size() int

func (*MsgNewKeyRequest) XXX_Unmarshal

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

type MsgNewKeyRequestResponse

type MsgNewKeyRequestResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgNewKeyRequestResponse) Descriptor

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

func (*MsgNewKeyRequestResponse) GetId

func (m *MsgNewKeyRequestResponse) GetId() uint64

func (*MsgNewKeyRequestResponse) Marshal

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

func (*MsgNewKeyRequestResponse) MarshalTo

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

func (*MsgNewKeyRequestResponse) MarshalToSizedBuffer

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

func (*MsgNewKeyRequestResponse) ProtoMessage

func (*MsgNewKeyRequestResponse) ProtoMessage()

func (*MsgNewKeyRequestResponse) Reset

func (m *MsgNewKeyRequestResponse) Reset()

func (*MsgNewKeyRequestResponse) Size

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

func (*MsgNewKeyRequestResponse) String

func (m *MsgNewKeyRequestResponse) String() string

func (*MsgNewKeyRequestResponse) Unmarshal

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

func (*MsgNewKeyRequestResponse) XXX_DiscardUnknown

func (m *MsgNewKeyRequestResponse) XXX_DiscardUnknown()

func (*MsgNewKeyRequestResponse) XXX_Marshal

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

func (*MsgNewKeyRequestResponse) XXX_Merge

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

func (*MsgNewKeyRequestResponse) XXX_Size

func (m *MsgNewKeyRequestResponse) XXX_Size() int

func (*MsgNewKeyRequestResponse) XXX_Unmarshal

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

type MsgNewKeychain

type MsgNewKeychain struct {
	Creator       string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Description   string        `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	AdminIntentId uint64        `protobuf:"varint,3,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	KeychainFees  *KeychainFees `protobuf:"bytes,4,opt,name=keychain_fees,json=keychainFees,proto3" json:"keychain_fees,omitempty"`
}

func (*MsgNewKeychain) Descriptor

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

func (*MsgNewKeychain) GetAdminIntentId

func (m *MsgNewKeychain) GetAdminIntentId() uint64

func (*MsgNewKeychain) GetCreator

func (m *MsgNewKeychain) GetCreator() string

func (*MsgNewKeychain) GetDescription

func (m *MsgNewKeychain) GetDescription() string

func (*MsgNewKeychain) GetKeychainFees

func (m *MsgNewKeychain) GetKeychainFees() *KeychainFees

func (*MsgNewKeychain) Marshal

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

func (*MsgNewKeychain) MarshalTo

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

func (*MsgNewKeychain) MarshalToSizedBuffer

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

func (*MsgNewKeychain) ProtoMessage

func (*MsgNewKeychain) ProtoMessage()

func (*MsgNewKeychain) Reset

func (m *MsgNewKeychain) Reset()

func (*MsgNewKeychain) Size

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

func (*MsgNewKeychain) String

func (m *MsgNewKeychain) String() string

func (*MsgNewKeychain) Unmarshal

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

func (*MsgNewKeychain) XXX_DiscardUnknown

func (m *MsgNewKeychain) XXX_DiscardUnknown()

func (*MsgNewKeychain) XXX_Marshal

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

func (*MsgNewKeychain) XXX_Merge

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

func (*MsgNewKeychain) XXX_Size

func (m *MsgNewKeychain) XXX_Size() int

func (*MsgNewKeychain) XXX_Unmarshal

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

type MsgNewKeychainResponse

type MsgNewKeychainResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgNewKeychainResponse) Descriptor

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

func (*MsgNewKeychainResponse) GetId

func (m *MsgNewKeychainResponse) GetId() uint64

func (*MsgNewKeychainResponse) Marshal

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

func (*MsgNewKeychainResponse) MarshalTo

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

func (*MsgNewKeychainResponse) MarshalToSizedBuffer

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

func (*MsgNewKeychainResponse) ProtoMessage

func (*MsgNewKeychainResponse) ProtoMessage()

func (*MsgNewKeychainResponse) Reset

func (m *MsgNewKeychainResponse) Reset()

func (*MsgNewKeychainResponse) Size

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

func (*MsgNewKeychainResponse) String

func (m *MsgNewKeychainResponse) String() string

func (*MsgNewKeychainResponse) Unmarshal

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

func (*MsgNewKeychainResponse) XXX_DiscardUnknown

func (m *MsgNewKeychainResponse) XXX_DiscardUnknown()

func (*MsgNewKeychainResponse) XXX_Marshal

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

func (*MsgNewKeychainResponse) XXX_Merge

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

func (*MsgNewKeychainResponse) XXX_Size

func (m *MsgNewKeychainResponse) XXX_Size() int

func (*MsgNewKeychainResponse) XXX_Unmarshal

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

type MsgNewSignatureRequest

type MsgNewSignatureRequest struct {
	Creator        string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	KeyId          uint64     `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	DataForSigning []byte     `protobuf:"bytes,3,opt,name=data_for_signing,json=dataForSigning,proto3" json:"data_for_signing,omitempty"`
	SignMethod     SignMethod `` /* 130-byte string literal not displayed */
	Metadata       *types.Any `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Btl            uint64     `protobuf:"varint,6,opt,name=btl,proto3" json:"btl,omitempty"`
}

func (*MsgNewSignatureRequest) Descriptor

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

func (*MsgNewSignatureRequest) GetBtl

func (m *MsgNewSignatureRequest) GetBtl() uint64

func (*MsgNewSignatureRequest) GetCreator

func (m *MsgNewSignatureRequest) GetCreator() string

func (*MsgNewSignatureRequest) GetDataForSigning

func (m *MsgNewSignatureRequest) GetDataForSigning() []byte

func (*MsgNewSignatureRequest) GetKeyId

func (m *MsgNewSignatureRequest) GetKeyId() uint64

func (*MsgNewSignatureRequest) GetMetadata added in v0.3.0

func (m *MsgNewSignatureRequest) GetMetadata() *types.Any

func (*MsgNewSignatureRequest) GetSignMethod added in v0.3.0

func (m *MsgNewSignatureRequest) GetSignMethod() SignMethod

func (*MsgNewSignatureRequest) Marshal

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

func (*MsgNewSignatureRequest) MarshalTo

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

func (*MsgNewSignatureRequest) MarshalToSizedBuffer

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

func (*MsgNewSignatureRequest) ProtoMessage

func (*MsgNewSignatureRequest) ProtoMessage()

func (*MsgNewSignatureRequest) Reset

func (m *MsgNewSignatureRequest) Reset()

func (*MsgNewSignatureRequest) Size

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

func (*MsgNewSignatureRequest) String

func (m *MsgNewSignatureRequest) String() string

func (*MsgNewSignatureRequest) Unmarshal

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

func (*MsgNewSignatureRequest) XXX_DiscardUnknown

func (m *MsgNewSignatureRequest) XXX_DiscardUnknown()

func (*MsgNewSignatureRequest) XXX_Marshal

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

func (*MsgNewSignatureRequest) XXX_Merge

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

func (*MsgNewSignatureRequest) XXX_Size

func (m *MsgNewSignatureRequest) XXX_Size() int

func (*MsgNewSignatureRequest) XXX_Unmarshal

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

type MsgNewSignatureRequestResponse

type MsgNewSignatureRequestResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgNewSignatureRequestResponse) Descriptor

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

func (*MsgNewSignatureRequestResponse) GetId

func (*MsgNewSignatureRequestResponse) Marshal

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

func (*MsgNewSignatureRequestResponse) MarshalTo

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

func (*MsgNewSignatureRequestResponse) MarshalToSizedBuffer

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

func (*MsgNewSignatureRequestResponse) ProtoMessage

func (*MsgNewSignatureRequestResponse) ProtoMessage()

func (*MsgNewSignatureRequestResponse) Reset

func (m *MsgNewSignatureRequestResponse) Reset()

func (*MsgNewSignatureRequestResponse) Size

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

func (*MsgNewSignatureRequestResponse) String

func (*MsgNewSignatureRequestResponse) Unmarshal

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

func (*MsgNewSignatureRequestResponse) XXX_DiscardUnknown

func (m *MsgNewSignatureRequestResponse) XXX_DiscardUnknown()

func (*MsgNewSignatureRequestResponse) XXX_Marshal

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

func (*MsgNewSignatureRequestResponse) XXX_Merge

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

func (*MsgNewSignatureRequestResponse) XXX_Size

func (m *MsgNewSignatureRequestResponse) XXX_Size() int

func (*MsgNewSignatureRequestResponse) XXX_Unmarshal

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

type MsgNewSpace

type MsgNewSpace struct {
	Creator          string   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	AdminIntentId    uint64   `protobuf:"varint,2,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	SignIntentId     uint64   `protobuf:"varint,3,opt,name=sign_intent_id,json=signIntentId,proto3" json:"sign_intent_id,omitempty"`
	AdditionalOwners []string `protobuf:"bytes,4,rep,name=additional_owners,json=additionalOwners,proto3" json:"additional_owners,omitempty"`
}

func (*MsgNewSpace) Descriptor

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

func (*MsgNewSpace) GetAdditionalOwners

func (m *MsgNewSpace) GetAdditionalOwners() []string

func (*MsgNewSpace) GetAdminIntentId

func (m *MsgNewSpace) GetAdminIntentId() uint64

func (*MsgNewSpace) GetCreator

func (m *MsgNewSpace) GetCreator() string

func (*MsgNewSpace) GetSignIntentId

func (m *MsgNewSpace) GetSignIntentId() uint64

func (*MsgNewSpace) Marshal

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

func (*MsgNewSpace) MarshalTo

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

func (*MsgNewSpace) MarshalToSizedBuffer

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

func (*MsgNewSpace) ProtoMessage

func (*MsgNewSpace) ProtoMessage()

func (*MsgNewSpace) Reset

func (m *MsgNewSpace) Reset()

func (*MsgNewSpace) Size

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

func (*MsgNewSpace) String

func (m *MsgNewSpace) String() string

func (*MsgNewSpace) Unmarshal

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

func (*MsgNewSpace) XXX_DiscardUnknown

func (m *MsgNewSpace) XXX_DiscardUnknown()

func (*MsgNewSpace) XXX_Marshal

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

func (*MsgNewSpace) XXX_Merge

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

func (*MsgNewSpace) XXX_Size

func (m *MsgNewSpace) XXX_Size() int

func (*MsgNewSpace) XXX_Unmarshal

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

type MsgNewSpaceResponse

type MsgNewSpaceResponse struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*MsgNewSpaceResponse) Descriptor

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

func (*MsgNewSpaceResponse) GetId

func (m *MsgNewSpaceResponse) GetId() uint64

func (*MsgNewSpaceResponse) Marshal

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

func (*MsgNewSpaceResponse) MarshalTo

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

func (*MsgNewSpaceResponse) MarshalToSizedBuffer

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

func (*MsgNewSpaceResponse) ProtoMessage

func (*MsgNewSpaceResponse) ProtoMessage()

func (*MsgNewSpaceResponse) Reset

func (m *MsgNewSpaceResponse) Reset()

func (*MsgNewSpaceResponse) Size

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

func (*MsgNewSpaceResponse) String

func (m *MsgNewSpaceResponse) String() string

func (*MsgNewSpaceResponse) Unmarshal

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

func (*MsgNewSpaceResponse) XXX_DiscardUnknown

func (m *MsgNewSpaceResponse) XXX_DiscardUnknown()

func (*MsgNewSpaceResponse) XXX_Marshal

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

func (*MsgNewSpaceResponse) XXX_Merge

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

func (*MsgNewSpaceResponse) XXX_Size

func (m *MsgNewSpaceResponse) XXX_Size() int

func (*MsgNewSpaceResponse) XXX_Unmarshal

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

type MsgRemoveSpaceOwner

type MsgRemoveSpaceOwner struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	SpaceId uint64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	Owner   string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	Btl     uint64 `protobuf:"varint,4,opt,name=btl,proto3" json:"btl,omitempty"`
}

func (*MsgRemoveSpaceOwner) Descriptor

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

func (*MsgRemoveSpaceOwner) GetBtl

func (m *MsgRemoveSpaceOwner) GetBtl() uint64

func (*MsgRemoveSpaceOwner) GetCreator

func (m *MsgRemoveSpaceOwner) GetCreator() string

func (*MsgRemoveSpaceOwner) GetOwner

func (m *MsgRemoveSpaceOwner) GetOwner() string

func (*MsgRemoveSpaceOwner) GetSpaceId

func (m *MsgRemoveSpaceOwner) GetSpaceId() uint64

func (*MsgRemoveSpaceOwner) Marshal

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

func (*MsgRemoveSpaceOwner) MarshalTo

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

func (*MsgRemoveSpaceOwner) MarshalToSizedBuffer

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

func (*MsgRemoveSpaceOwner) ProtoMessage

func (*MsgRemoveSpaceOwner) ProtoMessage()

func (*MsgRemoveSpaceOwner) Reset

func (m *MsgRemoveSpaceOwner) Reset()

func (*MsgRemoveSpaceOwner) Size

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

func (*MsgRemoveSpaceOwner) String

func (m *MsgRemoveSpaceOwner) String() string

func (*MsgRemoveSpaceOwner) Unmarshal

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

func (*MsgRemoveSpaceOwner) XXX_DiscardUnknown

func (m *MsgRemoveSpaceOwner) XXX_DiscardUnknown()

func (*MsgRemoveSpaceOwner) XXX_Marshal

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

func (*MsgRemoveSpaceOwner) XXX_Merge

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

func (*MsgRemoveSpaceOwner) XXX_Size

func (m *MsgRemoveSpaceOwner) XXX_Size() int

func (*MsgRemoveSpaceOwner) XXX_Unmarshal

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

type MsgRemoveSpaceOwnerResponse

type MsgRemoveSpaceOwnerResponse struct {
}

func (*MsgRemoveSpaceOwnerResponse) Descriptor

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

func (*MsgRemoveSpaceOwnerResponse) Marshal

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

func (*MsgRemoveSpaceOwnerResponse) MarshalTo

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

func (*MsgRemoveSpaceOwnerResponse) MarshalToSizedBuffer

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

func (*MsgRemoveSpaceOwnerResponse) ProtoMessage

func (*MsgRemoveSpaceOwnerResponse) ProtoMessage()

func (*MsgRemoveSpaceOwnerResponse) Reset

func (m *MsgRemoveSpaceOwnerResponse) Reset()

func (*MsgRemoveSpaceOwnerResponse) Size

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

func (*MsgRemoveSpaceOwnerResponse) String

func (m *MsgRemoveSpaceOwnerResponse) String() string

func (*MsgRemoveSpaceOwnerResponse) Unmarshal

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

func (*MsgRemoveSpaceOwnerResponse) XXX_DiscardUnknown

func (m *MsgRemoveSpaceOwnerResponse) XXX_DiscardUnknown()

func (*MsgRemoveSpaceOwnerResponse) XXX_Marshal

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

func (*MsgRemoveSpaceOwnerResponse) XXX_Merge

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

func (*MsgRemoveSpaceOwnerResponse) XXX_Size

func (m *MsgRemoveSpaceOwnerResponse) XXX_Size() int

func (*MsgRemoveSpaceOwnerResponse) XXX_Unmarshal

func (m *MsgRemoveSpaceOwnerResponse) 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)
	// Create a new Space. The creator will be the first owner of the Space.
	NewSpace(context.Context, *MsgNewSpace) (*MsgNewSpaceResponse, error)
	// Add a new owner to a space.
	AddSpaceOwner(context.Context, *MsgAddSpaceOwner) (*types1.MsgActionCreated, error)
	// Remove an owner from the space. The user can remove itself, but at
	// least one owner must be left.
	RemoveSpaceOwner(context.Context, *MsgRemoveSpaceOwner) (*types1.MsgActionCreated, error)
	// Create a new keychain. The user will be the first admin of the keychain.
	NewKeychain(context.Context, *MsgNewKeychain) (*MsgNewKeychainResponse, error)
	// Add a new party to a keychain. Transactions coming from this party will
	// be considered trusted by the keychain.
	AddKeychainParty(context.Context, *MsgAddKeychainParty) (*MsgAddKeychainPartyResponse, error)
	// Update a space, e.g. changing the intents in use.
	UpdateSpace(context.Context, *MsgUpdateSpace) (*types1.MsgActionCreated, error)
	// Update a keychain, e.g. update the status or description.
	UpdateKeychain(context.Context, *MsgUpdateKeychain) (*MsgUpdateKeychainResponse, error)
	// Request a new key to a keychain, the key will belong to the specified
	// space.
	NewKeyRequest(context.Context, *MsgNewKeyRequest) (*types1.MsgActionCreated, error)
	// Update an existing request by writing a result into it. This method is
	// called by a keychain party.
	UpdateKeyRequest(context.Context, *MsgUpdateKeyRequest) (*MsgUpdateKeyRequestResponse, error)
	// Update informations of a Key.
	UpdateKey(context.Context, *MsgUpdateKey) (*types1.MsgActionCreated, error)
	// Request a new signature
	NewSignatureRequest(context.Context, *MsgNewSignatureRequest) (*types1.MsgActionCreated, error)
	// Fulfill a signature request
	FulfilSignatureRequest(context.Context, *MsgFulfilSignatureRequest) (*MsgFulfilSignatureRequestResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSignedData

type MsgSignedData struct {
	SignedData []byte `protobuf:"bytes,1,opt,name=signed_data,json=signedData,proto3" json:"signed_data,omitempty"`
}

func (*MsgSignedData) Descriptor

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

func (*MsgSignedData) GetSignedData

func (m *MsgSignedData) GetSignedData() []byte

func (*MsgSignedData) Marshal

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

func (*MsgSignedData) MarshalTo

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

func (*MsgSignedData) MarshalToSizedBuffer

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

func (*MsgSignedData) ProtoMessage

func (*MsgSignedData) ProtoMessage()

func (*MsgSignedData) Reset

func (m *MsgSignedData) Reset()

func (*MsgSignedData) Size

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

func (*MsgSignedData) String

func (m *MsgSignedData) String() string

func (*MsgSignedData) Unmarshal

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

func (*MsgSignedData) XXX_DiscardUnknown

func (m *MsgSignedData) XXX_DiscardUnknown()

func (*MsgSignedData) XXX_Marshal

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

func (*MsgSignedData) XXX_Merge

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

func (*MsgSignedData) XXX_Size

func (m *MsgSignedData) XXX_Size() int

func (*MsgSignedData) XXX_Unmarshal

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

type MsgUpdateKey

type MsgUpdateKey struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	KeyId    uint64 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	IntentId uint64 `protobuf:"varint,3,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"`
	Btl      uint64 `protobuf:"varint,4,opt,name=btl,proto3" json:"btl,omitempty"`
}

func (*MsgUpdateKey) Descriptor

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

func (*MsgUpdateKey) GetBtl

func (m *MsgUpdateKey) GetBtl() uint64

func (*MsgUpdateKey) GetCreator

func (m *MsgUpdateKey) GetCreator() string

func (*MsgUpdateKey) GetIntentId

func (m *MsgUpdateKey) GetIntentId() uint64

func (*MsgUpdateKey) GetKeyId

func (m *MsgUpdateKey) GetKeyId() uint64

func (*MsgUpdateKey) Marshal

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

func (*MsgUpdateKey) MarshalTo

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

func (*MsgUpdateKey) MarshalToSizedBuffer

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

func (*MsgUpdateKey) ProtoMessage

func (*MsgUpdateKey) ProtoMessage()

func (*MsgUpdateKey) Reset

func (m *MsgUpdateKey) Reset()

func (*MsgUpdateKey) Size

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

func (*MsgUpdateKey) String

func (m *MsgUpdateKey) String() string

func (*MsgUpdateKey) Unmarshal

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

func (*MsgUpdateKey) XXX_DiscardUnknown

func (m *MsgUpdateKey) XXX_DiscardUnknown()

func (*MsgUpdateKey) XXX_Marshal

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

func (*MsgUpdateKey) XXX_Merge

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

func (*MsgUpdateKey) XXX_Size

func (m *MsgUpdateKey) XXX_Size() int

func (*MsgUpdateKey) XXX_Unmarshal

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

type MsgUpdateKeyRequest

type MsgUpdateKeyRequest struct {
	Creator   string           `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	RequestId uint64           `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Status    KeyRequestStatus `protobuf:"varint,3,opt,name=status,proto3,enum=warden.warden.v1beta2.KeyRequestStatus" json:"status,omitempty"`
	// Holds the result of the request. If status is approved, the result will
	// contain the requested key's public key that can be used for signing
	// payloads.
	// If status is rejected, the result will contain the reason.
	//
	// Types that are valid to be assigned to Result:
	//
	//	*MsgUpdateKeyRequest_Key
	//	*MsgUpdateKeyRequest_RejectReason
	Result isMsgUpdateKeyRequest_Result `protobuf_oneof:"result"`
}

func (*MsgUpdateKeyRequest) Descriptor

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

func (*MsgUpdateKeyRequest) GetCreator

func (m *MsgUpdateKeyRequest) GetCreator() string

func (*MsgUpdateKeyRequest) GetKey

func (m *MsgUpdateKeyRequest) GetKey() *MsgNewKey

func (*MsgUpdateKeyRequest) GetRejectReason

func (m *MsgUpdateKeyRequest) GetRejectReason() string

func (*MsgUpdateKeyRequest) GetRequestId

func (m *MsgUpdateKeyRequest) GetRequestId() uint64

func (*MsgUpdateKeyRequest) GetResult

func (m *MsgUpdateKeyRequest) GetResult() isMsgUpdateKeyRequest_Result

func (*MsgUpdateKeyRequest) GetStatus

func (m *MsgUpdateKeyRequest) GetStatus() KeyRequestStatus

func (*MsgUpdateKeyRequest) Marshal

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

func (*MsgUpdateKeyRequest) MarshalTo

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

func (*MsgUpdateKeyRequest) MarshalToSizedBuffer

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

func (*MsgUpdateKeyRequest) ProtoMessage

func (*MsgUpdateKeyRequest) ProtoMessage()

func (*MsgUpdateKeyRequest) Reset

func (m *MsgUpdateKeyRequest) Reset()

func (*MsgUpdateKeyRequest) Size

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

func (*MsgUpdateKeyRequest) String

func (m *MsgUpdateKeyRequest) String() string

func (*MsgUpdateKeyRequest) Unmarshal

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

func (*MsgUpdateKeyRequest) XXX_DiscardUnknown

func (m *MsgUpdateKeyRequest) XXX_DiscardUnknown()

func (*MsgUpdateKeyRequest) XXX_Marshal

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

func (*MsgUpdateKeyRequest) XXX_Merge

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

func (*MsgUpdateKeyRequest) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*MsgUpdateKeyRequest) XXX_Size

func (m *MsgUpdateKeyRequest) XXX_Size() int

func (*MsgUpdateKeyRequest) XXX_Unmarshal

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

type MsgUpdateKeyRequestResponse

type MsgUpdateKeyRequestResponse struct {
}

func (*MsgUpdateKeyRequestResponse) Descriptor

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

func (*MsgUpdateKeyRequestResponse) Marshal

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

func (*MsgUpdateKeyRequestResponse) MarshalTo

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

func (*MsgUpdateKeyRequestResponse) MarshalToSizedBuffer

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

func (*MsgUpdateKeyRequestResponse) ProtoMessage

func (*MsgUpdateKeyRequestResponse) ProtoMessage()

func (*MsgUpdateKeyRequestResponse) Reset

func (m *MsgUpdateKeyRequestResponse) Reset()

func (*MsgUpdateKeyRequestResponse) Size

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

func (*MsgUpdateKeyRequestResponse) String

func (m *MsgUpdateKeyRequestResponse) String() string

func (*MsgUpdateKeyRequestResponse) Unmarshal

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

func (*MsgUpdateKeyRequestResponse) XXX_DiscardUnknown

func (m *MsgUpdateKeyRequestResponse) XXX_DiscardUnknown()

func (*MsgUpdateKeyRequestResponse) XXX_Marshal

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

func (*MsgUpdateKeyRequestResponse) XXX_Merge

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

func (*MsgUpdateKeyRequestResponse) XXX_Size

func (m *MsgUpdateKeyRequestResponse) XXX_Size() int

func (*MsgUpdateKeyRequestResponse) XXX_Unmarshal

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

type MsgUpdateKeyRequest_Key

type MsgUpdateKeyRequest_Key struct {
	Key *MsgNewKey `protobuf:"bytes,4,opt,name=key,proto3,oneof" json:"key,omitempty"`
}

func (*MsgUpdateKeyRequest_Key) MarshalTo

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

func (*MsgUpdateKeyRequest_Key) MarshalToSizedBuffer

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

func (*MsgUpdateKeyRequest_Key) Size

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

type MsgUpdateKeyRequest_RejectReason

type MsgUpdateKeyRequest_RejectReason struct {
	RejectReason string `protobuf:"bytes,5,opt,name=reject_reason,json=rejectReason,proto3,oneof" json:"reject_reason,omitempty"`
}

func (*MsgUpdateKeyRequest_RejectReason) MarshalTo

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

func (*MsgUpdateKeyRequest_RejectReason) MarshalToSizedBuffer

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

func (*MsgUpdateKeyRequest_RejectReason) Size

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

type MsgUpdateKeyResponse

type MsgUpdateKeyResponse struct {
}

func (*MsgUpdateKeyResponse) Descriptor

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

func (*MsgUpdateKeyResponse) Marshal

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

func (*MsgUpdateKeyResponse) MarshalTo

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

func (*MsgUpdateKeyResponse) MarshalToSizedBuffer

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

func (*MsgUpdateKeyResponse) ProtoMessage

func (*MsgUpdateKeyResponse) ProtoMessage()

func (*MsgUpdateKeyResponse) Reset

func (m *MsgUpdateKeyResponse) Reset()

func (*MsgUpdateKeyResponse) Size

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

func (*MsgUpdateKeyResponse) String

func (m *MsgUpdateKeyResponse) String() string

func (*MsgUpdateKeyResponse) Unmarshal

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

func (*MsgUpdateKeyResponse) XXX_DiscardUnknown

func (m *MsgUpdateKeyResponse) XXX_DiscardUnknown()

func (*MsgUpdateKeyResponse) XXX_Marshal

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

func (*MsgUpdateKeyResponse) XXX_Merge

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

func (*MsgUpdateKeyResponse) XXX_Size

func (m *MsgUpdateKeyResponse) XXX_Size() int

func (*MsgUpdateKeyResponse) XXX_Unmarshal

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

type MsgUpdateKeychain

type MsgUpdateKeychain struct {
	Creator     string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	KeychainId  uint64 `protobuf:"varint,2,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	IsActive    bool   `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
}

func (*MsgUpdateKeychain) Descriptor

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

func (*MsgUpdateKeychain) GetCreator

func (m *MsgUpdateKeychain) GetCreator() string

func (*MsgUpdateKeychain) GetDescription

func (m *MsgUpdateKeychain) GetDescription() string

func (*MsgUpdateKeychain) GetIsActive

func (m *MsgUpdateKeychain) GetIsActive() bool

func (*MsgUpdateKeychain) GetKeychainId

func (m *MsgUpdateKeychain) GetKeychainId() uint64

func (*MsgUpdateKeychain) Marshal

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

func (*MsgUpdateKeychain) MarshalTo

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

func (*MsgUpdateKeychain) MarshalToSizedBuffer

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

func (*MsgUpdateKeychain) ProtoMessage

func (*MsgUpdateKeychain) ProtoMessage()

func (*MsgUpdateKeychain) Reset

func (m *MsgUpdateKeychain) Reset()

func (*MsgUpdateKeychain) Size

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

func (*MsgUpdateKeychain) String

func (m *MsgUpdateKeychain) String() string

func (*MsgUpdateKeychain) Unmarshal

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

func (*MsgUpdateKeychain) XXX_DiscardUnknown

func (m *MsgUpdateKeychain) XXX_DiscardUnknown()

func (*MsgUpdateKeychain) XXX_Marshal

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

func (*MsgUpdateKeychain) XXX_Merge

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

func (*MsgUpdateKeychain) XXX_Size

func (m *MsgUpdateKeychain) XXX_Size() int

func (*MsgUpdateKeychain) XXX_Unmarshal

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

type MsgUpdateKeychainResponse

type MsgUpdateKeychainResponse struct {
}

func (*MsgUpdateKeychainResponse) Descriptor

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

func (*MsgUpdateKeychainResponse) Marshal

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

func (*MsgUpdateKeychainResponse) MarshalTo

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

func (*MsgUpdateKeychainResponse) MarshalToSizedBuffer

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

func (*MsgUpdateKeychainResponse) ProtoMessage

func (*MsgUpdateKeychainResponse) ProtoMessage()

func (*MsgUpdateKeychainResponse) Reset

func (m *MsgUpdateKeychainResponse) Reset()

func (*MsgUpdateKeychainResponse) Size

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

func (*MsgUpdateKeychainResponse) String

func (m *MsgUpdateKeychainResponse) String() string

func (*MsgUpdateKeychainResponse) Unmarshal

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

func (*MsgUpdateKeychainResponse) XXX_DiscardUnknown

func (m *MsgUpdateKeychainResponse) XXX_DiscardUnknown()

func (*MsgUpdateKeychainResponse) XXX_Marshal

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

func (*MsgUpdateKeychainResponse) XXX_Merge

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

func (*MsgUpdateKeychainResponse) XXX_Size

func (m *MsgUpdateKeychainResponse) XXX_Size() int

func (*MsgUpdateKeychainResponse) XXX_Unmarshal

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

type MsgUpdateParams

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"`
	// params defines the module parameters to update.
	//
	// 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

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) ValidateBasic

func (m *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type MsgUpdateSpace

type MsgUpdateSpace struct {
	Creator       string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	SpaceId       uint64 `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	AdminIntentId uint64 `protobuf:"varint,3,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	SignIntentId  uint64 `protobuf:"varint,4,opt,name=sign_intent_id,json=signIntentId,proto3" json:"sign_intent_id,omitempty"`
	Btl           uint64 `protobuf:"varint,5,opt,name=btl,proto3" json:"btl,omitempty"`
}

func (*MsgUpdateSpace) Descriptor

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

func (*MsgUpdateSpace) GetAdminIntentId

func (m *MsgUpdateSpace) GetAdminIntentId() uint64

func (*MsgUpdateSpace) GetBtl

func (m *MsgUpdateSpace) GetBtl() uint64

func (*MsgUpdateSpace) GetCreator

func (m *MsgUpdateSpace) GetCreator() string

func (*MsgUpdateSpace) GetSignIntentId

func (m *MsgUpdateSpace) GetSignIntentId() uint64

func (*MsgUpdateSpace) GetSpaceId

func (m *MsgUpdateSpace) GetSpaceId() uint64

func (*MsgUpdateSpace) Marshal

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

func (*MsgUpdateSpace) MarshalTo

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

func (*MsgUpdateSpace) MarshalToSizedBuffer

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

func (*MsgUpdateSpace) ProtoMessage

func (*MsgUpdateSpace) ProtoMessage()

func (*MsgUpdateSpace) Reset

func (m *MsgUpdateSpace) Reset()

func (*MsgUpdateSpace) Size

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

func (*MsgUpdateSpace) String

func (m *MsgUpdateSpace) String() string

func (*MsgUpdateSpace) Unmarshal

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

func (*MsgUpdateSpace) XXX_DiscardUnknown

func (m *MsgUpdateSpace) XXX_DiscardUnknown()

func (*MsgUpdateSpace) XXX_Marshal

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

func (*MsgUpdateSpace) XXX_Merge

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

func (*MsgUpdateSpace) XXX_Size

func (m *MsgUpdateSpace) XXX_Size() int

func (*MsgUpdateSpace) XXX_Unmarshal

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

type MsgUpdateSpaceResponse

type MsgUpdateSpaceResponse struct {
}

func (*MsgUpdateSpaceResponse) Descriptor

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

func (*MsgUpdateSpaceResponse) Marshal

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

func (*MsgUpdateSpaceResponse) MarshalTo

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

func (*MsgUpdateSpaceResponse) MarshalToSizedBuffer

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

func (*MsgUpdateSpaceResponse) ProtoMessage

func (*MsgUpdateSpaceResponse) ProtoMessage()

func (*MsgUpdateSpaceResponse) Reset

func (m *MsgUpdateSpaceResponse) Reset()

func (*MsgUpdateSpaceResponse) Size

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

func (*MsgUpdateSpaceResponse) String

func (m *MsgUpdateSpaceResponse) String() string

func (*MsgUpdateSpaceResponse) Unmarshal

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

func (*MsgUpdateSpaceResponse) XXX_DiscardUnknown

func (m *MsgUpdateSpaceResponse) XXX_DiscardUnknown()

func (*MsgUpdateSpaceResponse) XXX_Marshal

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

func (*MsgUpdateSpaceResponse) XXX_Merge

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

func (*MsgUpdateSpaceResponse) XXX_Size

func (m *MsgUpdateSpaceResponse) XXX_Size() int

func (*MsgUpdateSpaceResponse) XXX_Unmarshal

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

type OsmosisSignMethodHandler added in v0.3.0

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

func NewOsmosisSignMethodHandler added in v0.3.0

func NewOsmosisSignMethodHandler(k *Key) (*OsmosisSignMethodHandler, error)

func (*OsmosisSignMethodHandler) Handle added in v0.3.0

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

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 QueryAllKeysRequest

type QueryAllKeysRequest struct {
	Pagination      *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	DeriveAddresses []AddressType      `` /* 153-byte string literal not displayed */
}

func (*QueryAllKeysRequest) Descriptor

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

func (*QueryAllKeysRequest) GetDeriveAddresses added in v0.3.0

func (m *QueryAllKeysRequest) GetDeriveAddresses() []AddressType

func (*QueryAllKeysRequest) GetPagination

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

func (*QueryAllKeysRequest) Marshal

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

func (*QueryAllKeysRequest) MarshalTo

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

func (*QueryAllKeysRequest) MarshalToSizedBuffer

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

func (*QueryAllKeysRequest) ProtoMessage

func (*QueryAllKeysRequest) ProtoMessage()

func (*QueryAllKeysRequest) Reset

func (m *QueryAllKeysRequest) Reset()

func (*QueryAllKeysRequest) Size

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

func (*QueryAllKeysRequest) String

func (m *QueryAllKeysRequest) String() string

func (*QueryAllKeysRequest) Unmarshal

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

func (*QueryAllKeysRequest) XXX_DiscardUnknown

func (m *QueryAllKeysRequest) XXX_DiscardUnknown()

func (*QueryAllKeysRequest) XXX_Marshal

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

func (*QueryAllKeysRequest) XXX_Merge

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

func (*QueryAllKeysRequest) XXX_Size

func (m *QueryAllKeysRequest) XXX_Size() int

func (*QueryAllKeysRequest) XXX_Unmarshal

func (m *QueryAllKeysRequest) 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 list of Spaces items.
	Spaces(ctx context.Context, in *QuerySpacesRequest, opts ...grpc.CallOption) (*QuerySpacesResponse, error)
	// Queries a list of Spaces that has the specified owner.
	SpacesByOwner(ctx context.Context, in *QuerySpacesByOwnerRequest, opts ...grpc.CallOption) (*QuerySpacesResponse, error)
	// Queries a list of Keychains items.
	Keychains(ctx context.Context, in *QueryKeychainsRequest, opts ...grpc.CallOption) (*QueryKeychainsResponse, error)
	// Queries a space by its id.
	SpaceById(ctx context.Context, in *QuerySpaceByIdRequest, opts ...grpc.CallOption) (*QuerySpaceByIdResponse, error)
	// Queries a keychain by its id.
	KeychainById(ctx context.Context, in *QueryKeychainByIdRequest, opts ...grpc.CallOption) (*QueryKeychainByIdResponse, error)
	// Queries a list of KeyRequests items.
	KeyRequests(ctx context.Context, in *QueryKeyRequestsRequest, opts ...grpc.CallOption) (*QueryKeyRequestsResponse, error)
	// Queries a single KeyRequest by its id.
	KeyRequestById(ctx context.Context, in *QueryKeyRequestByIdRequest, opts ...grpc.CallOption) (*QueryKeyRequestByIdResponse, error)
	// Queries a list of Keys items.
	AllKeys(ctx context.Context, in *QueryAllKeysRequest, opts ...grpc.CallOption) (*QueryKeysResponse, error)
	// Queries a list of Keys items by their Space ID.
	KeysBySpaceId(ctx context.Context, in *QueryKeysBySpaceIdRequest, opts ...grpc.CallOption) (*QueryKeysResponse, error)
	// Queries a Key by its ID.
	KeyById(ctx context.Context, in *QueryKeyByIdRequest, opts ...grpc.CallOption) (*QueryKeyResponse, error)
	// Queries a list of SignatureRequests items.
	SignatureRequests(ctx context.Context, in *QuerySignatureRequestsRequest, opts ...grpc.CallOption) (*QuerySignatureRequestsResponse, error)
	// Queries a single SignatureRequest by its id.
	SignatureRequestById(ctx context.Context, in *QuerySignatureRequestByIdRequest, opts ...grpc.CallOption) (*QuerySignatureRequestByIdResponse, 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 QueryKeyByIdRequest

type QueryKeyByIdRequest struct {
	Id              uint64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DeriveAddresses []AddressType `` /* 153-byte string literal not displayed */
}

func (*QueryKeyByIdRequest) Descriptor

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

func (*QueryKeyByIdRequest) GetDeriveAddresses added in v0.3.0

func (m *QueryKeyByIdRequest) GetDeriveAddresses() []AddressType

func (*QueryKeyByIdRequest) GetId

func (m *QueryKeyByIdRequest) GetId() uint64

func (*QueryKeyByIdRequest) Marshal

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

func (*QueryKeyByIdRequest) MarshalTo

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

func (*QueryKeyByIdRequest) MarshalToSizedBuffer

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

func (*QueryKeyByIdRequest) ProtoMessage

func (*QueryKeyByIdRequest) ProtoMessage()

func (*QueryKeyByIdRequest) Reset

func (m *QueryKeyByIdRequest) Reset()

func (*QueryKeyByIdRequest) Size

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

func (*QueryKeyByIdRequest) String

func (m *QueryKeyByIdRequest) String() string

func (*QueryKeyByIdRequest) Unmarshal

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

func (*QueryKeyByIdRequest) XXX_DiscardUnknown

func (m *QueryKeyByIdRequest) XXX_DiscardUnknown()

func (*QueryKeyByIdRequest) XXX_Marshal

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

func (*QueryKeyByIdRequest) XXX_Merge

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

func (*QueryKeyByIdRequest) XXX_Size

func (m *QueryKeyByIdRequest) XXX_Size() int

func (*QueryKeyByIdRequest) XXX_Unmarshal

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

type QueryKeyRequestByIdRequest

type QueryKeyRequestByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryKeyRequestByIdRequest) Descriptor

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

func (*QueryKeyRequestByIdRequest) GetId

func (*QueryKeyRequestByIdRequest) Marshal

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

func (*QueryKeyRequestByIdRequest) MarshalTo

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

func (*QueryKeyRequestByIdRequest) MarshalToSizedBuffer

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

func (*QueryKeyRequestByIdRequest) ProtoMessage

func (*QueryKeyRequestByIdRequest) ProtoMessage()

func (*QueryKeyRequestByIdRequest) Reset

func (m *QueryKeyRequestByIdRequest) Reset()

func (*QueryKeyRequestByIdRequest) Size

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

func (*QueryKeyRequestByIdRequest) String

func (m *QueryKeyRequestByIdRequest) String() string

func (*QueryKeyRequestByIdRequest) Unmarshal

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

func (*QueryKeyRequestByIdRequest) XXX_DiscardUnknown

func (m *QueryKeyRequestByIdRequest) XXX_DiscardUnknown()

func (*QueryKeyRequestByIdRequest) XXX_Marshal

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

func (*QueryKeyRequestByIdRequest) XXX_Merge

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

func (*QueryKeyRequestByIdRequest) XXX_Size

func (m *QueryKeyRequestByIdRequest) XXX_Size() int

func (*QueryKeyRequestByIdRequest) XXX_Unmarshal

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

type QueryKeyRequestByIdResponse

type QueryKeyRequestByIdResponse struct {
	KeyRequest *KeyRequest `protobuf:"bytes,1,opt,name=key_request,json=keyRequest,proto3" json:"key_request,omitempty"`
}

func (*QueryKeyRequestByIdResponse) Descriptor

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

func (*QueryKeyRequestByIdResponse) GetKeyRequest

func (m *QueryKeyRequestByIdResponse) GetKeyRequest() *KeyRequest

func (*QueryKeyRequestByIdResponse) Marshal

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

func (*QueryKeyRequestByIdResponse) MarshalTo

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

func (*QueryKeyRequestByIdResponse) MarshalToSizedBuffer

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

func (*QueryKeyRequestByIdResponse) ProtoMessage

func (*QueryKeyRequestByIdResponse) ProtoMessage()

func (*QueryKeyRequestByIdResponse) Reset

func (m *QueryKeyRequestByIdResponse) Reset()

func (*QueryKeyRequestByIdResponse) Size

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

func (*QueryKeyRequestByIdResponse) String

func (m *QueryKeyRequestByIdResponse) String() string

func (*QueryKeyRequestByIdResponse) Unmarshal

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

func (*QueryKeyRequestByIdResponse) XXX_DiscardUnknown

func (m *QueryKeyRequestByIdResponse) XXX_DiscardUnknown()

func (*QueryKeyRequestByIdResponse) XXX_Marshal

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

func (*QueryKeyRequestByIdResponse) XXX_Merge

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

func (*QueryKeyRequestByIdResponse) XXX_Size

func (m *QueryKeyRequestByIdResponse) XXX_Size() int

func (*QueryKeyRequestByIdResponse) XXX_Unmarshal

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

type QueryKeyRequestsRequest

type QueryKeyRequestsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	KeychainId uint64             `protobuf:"varint,2,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Status     KeyRequestStatus   `protobuf:"varint,3,opt,name=status,proto3,enum=warden.warden.v1beta2.KeyRequestStatus" json:"status,omitempty"`
	SpaceId    uint64             `protobuf:"varint,4,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
}

func (*QueryKeyRequestsRequest) Descriptor

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

func (*QueryKeyRequestsRequest) GetKeychainId

func (m *QueryKeyRequestsRequest) GetKeychainId() uint64

func (*QueryKeyRequestsRequest) GetPagination

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

func (*QueryKeyRequestsRequest) GetSpaceId

func (m *QueryKeyRequestsRequest) GetSpaceId() uint64

func (*QueryKeyRequestsRequest) GetStatus

func (*QueryKeyRequestsRequest) Marshal

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

func (*QueryKeyRequestsRequest) MarshalTo

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

func (*QueryKeyRequestsRequest) MarshalToSizedBuffer

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

func (*QueryKeyRequestsRequest) ProtoMessage

func (*QueryKeyRequestsRequest) ProtoMessage()

func (*QueryKeyRequestsRequest) Reset

func (m *QueryKeyRequestsRequest) Reset()

func (*QueryKeyRequestsRequest) Size

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

func (*QueryKeyRequestsRequest) String

func (m *QueryKeyRequestsRequest) String() string

func (*QueryKeyRequestsRequest) Unmarshal

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

func (*QueryKeyRequestsRequest) XXX_DiscardUnknown

func (m *QueryKeyRequestsRequest) XXX_DiscardUnknown()

func (*QueryKeyRequestsRequest) XXX_Marshal

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

func (*QueryKeyRequestsRequest) XXX_Merge

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

func (*QueryKeyRequestsRequest) XXX_Size

func (m *QueryKeyRequestsRequest) XXX_Size() int

func (*QueryKeyRequestsRequest) XXX_Unmarshal

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

type QueryKeyRequestsResponse

type QueryKeyRequestsResponse struct {
	Pagination  *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	KeyRequests []*KeyRequest       `protobuf:"bytes,2,rep,name=key_requests,json=keyRequests,proto3" json:"key_requests,omitempty"`
}

func (*QueryKeyRequestsResponse) Descriptor

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

func (*QueryKeyRequestsResponse) GetKeyRequests

func (m *QueryKeyRequestsResponse) GetKeyRequests() []*KeyRequest

func (*QueryKeyRequestsResponse) GetPagination

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

func (*QueryKeyRequestsResponse) Marshal

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

func (*QueryKeyRequestsResponse) MarshalTo

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

func (*QueryKeyRequestsResponse) MarshalToSizedBuffer

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

func (*QueryKeyRequestsResponse) ProtoMessage

func (*QueryKeyRequestsResponse) ProtoMessage()

func (*QueryKeyRequestsResponse) Reset

func (m *QueryKeyRequestsResponse) Reset()

func (*QueryKeyRequestsResponse) Size

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

func (*QueryKeyRequestsResponse) String

func (m *QueryKeyRequestsResponse) String() string

func (*QueryKeyRequestsResponse) Unmarshal

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

func (*QueryKeyRequestsResponse) XXX_DiscardUnknown

func (m *QueryKeyRequestsResponse) XXX_DiscardUnknown()

func (*QueryKeyRequestsResponse) XXX_Marshal

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

func (*QueryKeyRequestsResponse) XXX_Merge

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

func (*QueryKeyRequestsResponse) XXX_Size

func (m *QueryKeyRequestsResponse) XXX_Size() int

func (*QueryKeyRequestsResponse) XXX_Unmarshal

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

type QueryKeyResponse

type QueryKeyResponse struct {
	Key       Key               `protobuf:"bytes,1,opt,name=key,proto3" json:"key"`
	Addresses []AddressResponse `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses"`
}

func (*QueryKeyResponse) Descriptor

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

func (*QueryKeyResponse) GetAddresses added in v0.3.0

func (m *QueryKeyResponse) GetAddresses() []AddressResponse

func (*QueryKeyResponse) GetKey

func (m *QueryKeyResponse) GetKey() Key

func (*QueryKeyResponse) Marshal

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

func (*QueryKeyResponse) MarshalTo

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

func (*QueryKeyResponse) MarshalToSizedBuffer

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

func (*QueryKeyResponse) ProtoMessage

func (*QueryKeyResponse) ProtoMessage()

func (*QueryKeyResponse) Reset

func (m *QueryKeyResponse) Reset()

func (*QueryKeyResponse) Size

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

func (*QueryKeyResponse) String

func (m *QueryKeyResponse) String() string

func (*QueryKeyResponse) Unmarshal

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

func (*QueryKeyResponse) XXX_DiscardUnknown

func (m *QueryKeyResponse) XXX_DiscardUnknown()

func (*QueryKeyResponse) XXX_Marshal

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

func (*QueryKeyResponse) XXX_Merge

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

func (*QueryKeyResponse) XXX_Size

func (m *QueryKeyResponse) XXX_Size() int

func (*QueryKeyResponse) XXX_Unmarshal

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

type QueryKeychainByIdRequest

type QueryKeychainByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryKeychainByIdRequest) Descriptor

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

func (*QueryKeychainByIdRequest) GetId

func (m *QueryKeychainByIdRequest) GetId() uint64

func (*QueryKeychainByIdRequest) Marshal

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

func (*QueryKeychainByIdRequest) MarshalTo

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

func (*QueryKeychainByIdRequest) MarshalToSizedBuffer

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

func (*QueryKeychainByIdRequest) ProtoMessage

func (*QueryKeychainByIdRequest) ProtoMessage()

func (*QueryKeychainByIdRequest) Reset

func (m *QueryKeychainByIdRequest) Reset()

func (*QueryKeychainByIdRequest) Size

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

func (*QueryKeychainByIdRequest) String

func (m *QueryKeychainByIdRequest) String() string

func (*QueryKeychainByIdRequest) Unmarshal

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

func (*QueryKeychainByIdRequest) XXX_DiscardUnknown

func (m *QueryKeychainByIdRequest) XXX_DiscardUnknown()

func (*QueryKeychainByIdRequest) XXX_Marshal

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

func (*QueryKeychainByIdRequest) XXX_Merge

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

func (*QueryKeychainByIdRequest) XXX_Size

func (m *QueryKeychainByIdRequest) XXX_Size() int

func (*QueryKeychainByIdRequest) XXX_Unmarshal

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

type QueryKeychainByIdResponse

type QueryKeychainByIdResponse struct {
	Keychain *Keychain `protobuf:"bytes,1,opt,name=keychain,proto3" json:"keychain,omitempty"`
}

func (*QueryKeychainByIdResponse) Descriptor

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

func (*QueryKeychainByIdResponse) GetKeychain

func (m *QueryKeychainByIdResponse) GetKeychain() *Keychain

func (*QueryKeychainByIdResponse) Marshal

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

func (*QueryKeychainByIdResponse) MarshalTo

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

func (*QueryKeychainByIdResponse) MarshalToSizedBuffer

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

func (*QueryKeychainByIdResponse) ProtoMessage

func (*QueryKeychainByIdResponse) ProtoMessage()

func (*QueryKeychainByIdResponse) Reset

func (m *QueryKeychainByIdResponse) Reset()

func (*QueryKeychainByIdResponse) Size

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

func (*QueryKeychainByIdResponse) String

func (m *QueryKeychainByIdResponse) String() string

func (*QueryKeychainByIdResponse) Unmarshal

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

func (*QueryKeychainByIdResponse) XXX_DiscardUnknown

func (m *QueryKeychainByIdResponse) XXX_DiscardUnknown()

func (*QueryKeychainByIdResponse) XXX_Marshal

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

func (*QueryKeychainByIdResponse) XXX_Merge

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

func (*QueryKeychainByIdResponse) XXX_Size

func (m *QueryKeychainByIdResponse) XXX_Size() int

func (*QueryKeychainByIdResponse) XXX_Unmarshal

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

type QueryKeychainsRequest

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

func (*QueryKeychainsRequest) Descriptor

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

func (*QueryKeychainsRequest) GetPagination

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

func (*QueryKeychainsRequest) Marshal

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

func (*QueryKeychainsRequest) MarshalTo

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

func (*QueryKeychainsRequest) MarshalToSizedBuffer

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

func (*QueryKeychainsRequest) ProtoMessage

func (*QueryKeychainsRequest) ProtoMessage()

func (*QueryKeychainsRequest) Reset

func (m *QueryKeychainsRequest) Reset()

func (*QueryKeychainsRequest) Size

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

func (*QueryKeychainsRequest) String

func (m *QueryKeychainsRequest) String() string

func (*QueryKeychainsRequest) Unmarshal

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

func (*QueryKeychainsRequest) XXX_DiscardUnknown

func (m *QueryKeychainsRequest) XXX_DiscardUnknown()

func (*QueryKeychainsRequest) XXX_Marshal

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

func (*QueryKeychainsRequest) XXX_Merge

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

func (*QueryKeychainsRequest) XXX_Size

func (m *QueryKeychainsRequest) XXX_Size() int

func (*QueryKeychainsRequest) XXX_Unmarshal

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

type QueryKeychainsResponse

type QueryKeychainsResponse struct {
	Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Keychains  []Keychain          `protobuf:"bytes,2,rep,name=keychains,proto3" json:"keychains"`
}

func (*QueryKeychainsResponse) Descriptor

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

func (*QueryKeychainsResponse) GetKeychains

func (m *QueryKeychainsResponse) GetKeychains() []Keychain

func (*QueryKeychainsResponse) GetPagination

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

func (*QueryKeychainsResponse) Marshal

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

func (*QueryKeychainsResponse) MarshalTo

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

func (*QueryKeychainsResponse) MarshalToSizedBuffer

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

func (*QueryKeychainsResponse) ProtoMessage

func (*QueryKeychainsResponse) ProtoMessage()

func (*QueryKeychainsResponse) Reset

func (m *QueryKeychainsResponse) Reset()

func (*QueryKeychainsResponse) Size

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

func (*QueryKeychainsResponse) String

func (m *QueryKeychainsResponse) String() string

func (*QueryKeychainsResponse) Unmarshal

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

func (*QueryKeychainsResponse) XXX_DiscardUnknown

func (m *QueryKeychainsResponse) XXX_DiscardUnknown()

func (*QueryKeychainsResponse) XXX_Marshal

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

func (*QueryKeychainsResponse) XXX_Merge

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

func (*QueryKeychainsResponse) XXX_Size

func (m *QueryKeychainsResponse) XXX_Size() int

func (*QueryKeychainsResponse) XXX_Unmarshal

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

type QueryKeysBySpaceIdRequest

type QueryKeysBySpaceIdRequest struct {
	Pagination      *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	SpaceId         uint64             `protobuf:"varint,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
	DeriveAddresses []AddressType      `` /* 153-byte string literal not displayed */
}

func (*QueryKeysBySpaceIdRequest) Descriptor

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

func (*QueryKeysBySpaceIdRequest) GetDeriveAddresses added in v0.3.0

func (m *QueryKeysBySpaceIdRequest) GetDeriveAddresses() []AddressType

func (*QueryKeysBySpaceIdRequest) GetPagination

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

func (*QueryKeysBySpaceIdRequest) GetSpaceId

func (m *QueryKeysBySpaceIdRequest) GetSpaceId() uint64

func (*QueryKeysBySpaceIdRequest) Marshal

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

func (*QueryKeysBySpaceIdRequest) MarshalTo

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

func (*QueryKeysBySpaceIdRequest) MarshalToSizedBuffer

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

func (*QueryKeysBySpaceIdRequest) ProtoMessage

func (*QueryKeysBySpaceIdRequest) ProtoMessage()

func (*QueryKeysBySpaceIdRequest) Reset

func (m *QueryKeysBySpaceIdRequest) Reset()

func (*QueryKeysBySpaceIdRequest) Size

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

func (*QueryKeysBySpaceIdRequest) String

func (m *QueryKeysBySpaceIdRequest) String() string

func (*QueryKeysBySpaceIdRequest) Unmarshal

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

func (*QueryKeysBySpaceIdRequest) XXX_DiscardUnknown

func (m *QueryKeysBySpaceIdRequest) XXX_DiscardUnknown()

func (*QueryKeysBySpaceIdRequest) XXX_Marshal

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

func (*QueryKeysBySpaceIdRequest) XXX_Merge

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

func (*QueryKeysBySpaceIdRequest) XXX_Size

func (m *QueryKeysBySpaceIdRequest) XXX_Size() int

func (*QueryKeysBySpaceIdRequest) XXX_Unmarshal

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

type QueryKeysResponse

type QueryKeysResponse struct {
	Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Keys       []QueryKeyResponse  `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys"`
}

func (*QueryKeysResponse) Descriptor

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

func (*QueryKeysResponse) GetKeys

func (m *QueryKeysResponse) GetKeys() []QueryKeyResponse

func (*QueryKeysResponse) GetPagination

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

func (*QueryKeysResponse) Marshal

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

func (*QueryKeysResponse) MarshalTo

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

func (*QueryKeysResponse) MarshalToSizedBuffer

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

func (*QueryKeysResponse) ProtoMessage

func (*QueryKeysResponse) ProtoMessage()

func (*QueryKeysResponse) Reset

func (m *QueryKeysResponse) Reset()

func (*QueryKeysResponse) Size

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

func (*QueryKeysResponse) String

func (m *QueryKeysResponse) String() string

func (*QueryKeysResponse) Unmarshal

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

func (*QueryKeysResponse) XXX_DiscardUnknown

func (m *QueryKeysResponse) XXX_DiscardUnknown()

func (*QueryKeysResponse) XXX_Marshal

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

func (*QueryKeysResponse) XXX_Merge

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

func (*QueryKeysResponse) XXX_Size

func (m *QueryKeysResponse) XXX_Size() int

func (*QueryKeysResponse) XXX_Unmarshal

func (m *QueryKeysResponse) 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 QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Spaces items.
	Spaces(context.Context, *QuerySpacesRequest) (*QuerySpacesResponse, error)
	// Queries a list of Spaces that has the specified owner.
	SpacesByOwner(context.Context, *QuerySpacesByOwnerRequest) (*QuerySpacesResponse, error)
	// Queries a list of Keychains items.
	Keychains(context.Context, *QueryKeychainsRequest) (*QueryKeychainsResponse, error)
	// Queries a space by its id.
	SpaceById(context.Context, *QuerySpaceByIdRequest) (*QuerySpaceByIdResponse, error)
	// Queries a keychain by its id.
	KeychainById(context.Context, *QueryKeychainByIdRequest) (*QueryKeychainByIdResponse, error)
	// Queries a list of KeyRequests items.
	KeyRequests(context.Context, *QueryKeyRequestsRequest) (*QueryKeyRequestsResponse, error)
	// Queries a single KeyRequest by its id.
	KeyRequestById(context.Context, *QueryKeyRequestByIdRequest) (*QueryKeyRequestByIdResponse, error)
	// Queries a list of Keys items.
	AllKeys(context.Context, *QueryAllKeysRequest) (*QueryKeysResponse, error)
	// Queries a list of Keys items by their Space ID.
	KeysBySpaceId(context.Context, *QueryKeysBySpaceIdRequest) (*QueryKeysResponse, error)
	// Queries a Key by its ID.
	KeyById(context.Context, *QueryKeyByIdRequest) (*QueryKeyResponse, error)
	// Queries a list of SignatureRequests items.
	SignatureRequests(context.Context, *QuerySignatureRequestsRequest) (*QuerySignatureRequestsResponse, error)
	// Queries a single SignatureRequest by its id.
	SignatureRequestById(context.Context, *QuerySignatureRequestByIdRequest) (*QuerySignatureRequestByIdResponse, error)
}

QueryServer is the server API for Query service.

type QuerySignatureRequestByIdRequest

type QuerySignatureRequestByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QuerySignatureRequestByIdRequest) Descriptor

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

func (*QuerySignatureRequestByIdRequest) GetId

func (*QuerySignatureRequestByIdRequest) Marshal

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

func (*QuerySignatureRequestByIdRequest) MarshalTo

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

func (*QuerySignatureRequestByIdRequest) MarshalToSizedBuffer

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

func (*QuerySignatureRequestByIdRequest) ProtoMessage

func (*QuerySignatureRequestByIdRequest) ProtoMessage()

func (*QuerySignatureRequestByIdRequest) Reset

func (*QuerySignatureRequestByIdRequest) Size

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

func (*QuerySignatureRequestByIdRequest) String

func (*QuerySignatureRequestByIdRequest) Unmarshal

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

func (*QuerySignatureRequestByIdRequest) XXX_DiscardUnknown

func (m *QuerySignatureRequestByIdRequest) XXX_DiscardUnknown()

func (*QuerySignatureRequestByIdRequest) XXX_Marshal

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

func (*QuerySignatureRequestByIdRequest) XXX_Merge

func (*QuerySignatureRequestByIdRequest) XXX_Size

func (m *QuerySignatureRequestByIdRequest) XXX_Size() int

func (*QuerySignatureRequestByIdRequest) XXX_Unmarshal

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

type QuerySignatureRequestByIdResponse

type QuerySignatureRequestByIdResponse struct {
	SignRequest *SignRequest `protobuf:"bytes,1,opt,name=sign_request,json=signRequest,proto3" json:"sign_request,omitempty"`
}

func (*QuerySignatureRequestByIdResponse) Descriptor

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

func (*QuerySignatureRequestByIdResponse) GetSignRequest

func (m *QuerySignatureRequestByIdResponse) GetSignRequest() *SignRequest

func (*QuerySignatureRequestByIdResponse) Marshal

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

func (*QuerySignatureRequestByIdResponse) MarshalTo

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

func (*QuerySignatureRequestByIdResponse) MarshalToSizedBuffer

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

func (*QuerySignatureRequestByIdResponse) ProtoMessage

func (*QuerySignatureRequestByIdResponse) ProtoMessage()

func (*QuerySignatureRequestByIdResponse) Reset

func (*QuerySignatureRequestByIdResponse) Size

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

func (*QuerySignatureRequestByIdResponse) String

func (*QuerySignatureRequestByIdResponse) Unmarshal

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

func (*QuerySignatureRequestByIdResponse) XXX_DiscardUnknown

func (m *QuerySignatureRequestByIdResponse) XXX_DiscardUnknown()

func (*QuerySignatureRequestByIdResponse) XXX_Marshal

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

func (*QuerySignatureRequestByIdResponse) XXX_Merge

func (*QuerySignatureRequestByIdResponse) XXX_Size

func (m *QuerySignatureRequestByIdResponse) XXX_Size() int

func (*QuerySignatureRequestByIdResponse) XXX_Unmarshal

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

type QuerySignatureRequestsRequest

type QuerySignatureRequestsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	KeychainId uint64             `protobuf:"varint,2,opt,name=keychain_id,json=keychainId,proto3" json:"keychain_id,omitempty"`
	Status     SignRequestStatus  `protobuf:"varint,3,opt,name=status,proto3,enum=warden.warden.v1beta2.SignRequestStatus" json:"status,omitempty"`
}

func (*QuerySignatureRequestsRequest) Descriptor

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

func (*QuerySignatureRequestsRequest) GetKeychainId

func (m *QuerySignatureRequestsRequest) GetKeychainId() uint64

func (*QuerySignatureRequestsRequest) GetPagination

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

func (*QuerySignatureRequestsRequest) GetStatus

func (*QuerySignatureRequestsRequest) Marshal

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

func (*QuerySignatureRequestsRequest) MarshalTo

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

func (*QuerySignatureRequestsRequest) MarshalToSizedBuffer

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

func (*QuerySignatureRequestsRequest) ProtoMessage

func (*QuerySignatureRequestsRequest) ProtoMessage()

func (*QuerySignatureRequestsRequest) Reset

func (m *QuerySignatureRequestsRequest) Reset()

func (*QuerySignatureRequestsRequest) Size

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

func (*QuerySignatureRequestsRequest) String

func (*QuerySignatureRequestsRequest) Unmarshal

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

func (*QuerySignatureRequestsRequest) XXX_DiscardUnknown

func (m *QuerySignatureRequestsRequest) XXX_DiscardUnknown()

func (*QuerySignatureRequestsRequest) XXX_Marshal

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

func (*QuerySignatureRequestsRequest) XXX_Merge

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

func (*QuerySignatureRequestsRequest) XXX_Size

func (m *QuerySignatureRequestsRequest) XXX_Size() int

func (*QuerySignatureRequestsRequest) XXX_Unmarshal

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

type QuerySignatureRequestsResponse

type QuerySignatureRequestsResponse struct {
	Pagination   *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	SignRequests []*SignRequest      `protobuf:"bytes,2,rep,name=sign_requests,json=signRequests,proto3" json:"sign_requests,omitempty"`
}

func (*QuerySignatureRequestsResponse) Descriptor

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

func (*QuerySignatureRequestsResponse) GetPagination

func (*QuerySignatureRequestsResponse) GetSignRequests

func (m *QuerySignatureRequestsResponse) GetSignRequests() []*SignRequest

func (*QuerySignatureRequestsResponse) Marshal

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

func (*QuerySignatureRequestsResponse) MarshalTo

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

func (*QuerySignatureRequestsResponse) MarshalToSizedBuffer

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

func (*QuerySignatureRequestsResponse) ProtoMessage

func (*QuerySignatureRequestsResponse) ProtoMessage()

func (*QuerySignatureRequestsResponse) Reset

func (m *QuerySignatureRequestsResponse) Reset()

func (*QuerySignatureRequestsResponse) Size

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

func (*QuerySignatureRequestsResponse) String

func (*QuerySignatureRequestsResponse) Unmarshal

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

func (*QuerySignatureRequestsResponse) XXX_DiscardUnknown

func (m *QuerySignatureRequestsResponse) XXX_DiscardUnknown()

func (*QuerySignatureRequestsResponse) XXX_Marshal

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

func (*QuerySignatureRequestsResponse) XXX_Merge

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

func (*QuerySignatureRequestsResponse) XXX_Size

func (m *QuerySignatureRequestsResponse) XXX_Size() int

func (*QuerySignatureRequestsResponse) XXX_Unmarshal

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

type QuerySpaceByIdRequest

type QuerySpaceByIdRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QuerySpaceByIdRequest) Descriptor

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

func (*QuerySpaceByIdRequest) GetId

func (m *QuerySpaceByIdRequest) GetId() uint64

func (*QuerySpaceByIdRequest) Marshal

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

func (*QuerySpaceByIdRequest) MarshalTo

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

func (*QuerySpaceByIdRequest) MarshalToSizedBuffer

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

func (*QuerySpaceByIdRequest) ProtoMessage

func (*QuerySpaceByIdRequest) ProtoMessage()

func (*QuerySpaceByIdRequest) Reset

func (m *QuerySpaceByIdRequest) Reset()

func (*QuerySpaceByIdRequest) Size

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

func (*QuerySpaceByIdRequest) String

func (m *QuerySpaceByIdRequest) String() string

func (*QuerySpaceByIdRequest) Unmarshal

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

func (*QuerySpaceByIdRequest) XXX_DiscardUnknown

func (m *QuerySpaceByIdRequest) XXX_DiscardUnknown()

func (*QuerySpaceByIdRequest) XXX_Marshal

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

func (*QuerySpaceByIdRequest) XXX_Merge

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

func (*QuerySpaceByIdRequest) XXX_Size

func (m *QuerySpaceByIdRequest) XXX_Size() int

func (*QuerySpaceByIdRequest) XXX_Unmarshal

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

type QuerySpaceByIdResponse

type QuerySpaceByIdResponse struct {
	Space *Space `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
}

func (*QuerySpaceByIdResponse) Descriptor

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

func (*QuerySpaceByIdResponse) GetSpace

func (m *QuerySpaceByIdResponse) GetSpace() *Space

func (*QuerySpaceByIdResponse) Marshal

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

func (*QuerySpaceByIdResponse) MarshalTo

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

func (*QuerySpaceByIdResponse) MarshalToSizedBuffer

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

func (*QuerySpaceByIdResponse) ProtoMessage

func (*QuerySpaceByIdResponse) ProtoMessage()

func (*QuerySpaceByIdResponse) Reset

func (m *QuerySpaceByIdResponse) Reset()

func (*QuerySpaceByIdResponse) Size

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

func (*QuerySpaceByIdResponse) String

func (m *QuerySpaceByIdResponse) String() string

func (*QuerySpaceByIdResponse) Unmarshal

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

func (*QuerySpaceByIdResponse) XXX_DiscardUnknown

func (m *QuerySpaceByIdResponse) XXX_DiscardUnknown()

func (*QuerySpaceByIdResponse) XXX_Marshal

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

func (*QuerySpaceByIdResponse) XXX_Merge

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

func (*QuerySpaceByIdResponse) XXX_Size

func (m *QuerySpaceByIdResponse) XXX_Size() int

func (*QuerySpaceByIdResponse) XXX_Unmarshal

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

type QuerySpacesByOwnerRequest

type QuerySpacesByOwnerRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Owner      string             `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
}

func (*QuerySpacesByOwnerRequest) Descriptor

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

func (*QuerySpacesByOwnerRequest) GetOwner

func (m *QuerySpacesByOwnerRequest) GetOwner() string

func (*QuerySpacesByOwnerRequest) GetPagination

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

func (*QuerySpacesByOwnerRequest) Marshal

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

func (*QuerySpacesByOwnerRequest) MarshalTo

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

func (*QuerySpacesByOwnerRequest) MarshalToSizedBuffer

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

func (*QuerySpacesByOwnerRequest) ProtoMessage

func (*QuerySpacesByOwnerRequest) ProtoMessage()

func (*QuerySpacesByOwnerRequest) Reset

func (m *QuerySpacesByOwnerRequest) Reset()

func (*QuerySpacesByOwnerRequest) Size

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

func (*QuerySpacesByOwnerRequest) String

func (m *QuerySpacesByOwnerRequest) String() string

func (*QuerySpacesByOwnerRequest) Unmarshal

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

func (*QuerySpacesByOwnerRequest) XXX_DiscardUnknown

func (m *QuerySpacesByOwnerRequest) XXX_DiscardUnknown()

func (*QuerySpacesByOwnerRequest) XXX_Marshal

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

func (*QuerySpacesByOwnerRequest) XXX_Merge

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

func (*QuerySpacesByOwnerRequest) XXX_Size

func (m *QuerySpacesByOwnerRequest) XXX_Size() int

func (*QuerySpacesByOwnerRequest) XXX_Unmarshal

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

type QuerySpacesRequest

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

func (*QuerySpacesRequest) Descriptor

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

func (*QuerySpacesRequest) GetPagination

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

func (*QuerySpacesRequest) Marshal

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

func (*QuerySpacesRequest) MarshalTo

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

func (*QuerySpacesRequest) MarshalToSizedBuffer

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

func (*QuerySpacesRequest) ProtoMessage

func (*QuerySpacesRequest) ProtoMessage()

func (*QuerySpacesRequest) Reset

func (m *QuerySpacesRequest) Reset()

func (*QuerySpacesRequest) Size

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

func (*QuerySpacesRequest) String

func (m *QuerySpacesRequest) String() string

func (*QuerySpacesRequest) Unmarshal

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

func (*QuerySpacesRequest) XXX_DiscardUnknown

func (m *QuerySpacesRequest) XXX_DiscardUnknown()

func (*QuerySpacesRequest) XXX_Marshal

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

func (*QuerySpacesRequest) XXX_Merge

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

func (*QuerySpacesRequest) XXX_Size

func (m *QuerySpacesRequest) XXX_Size() int

func (*QuerySpacesRequest) XXX_Unmarshal

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

type QuerySpacesResponse

type QuerySpacesResponse struct {
	Pagination *query.PageResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Spaces     []Space             `protobuf:"bytes,2,rep,name=spaces,proto3" json:"spaces"`
}

func (*QuerySpacesResponse) Descriptor

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

func (*QuerySpacesResponse) GetPagination

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

func (*QuerySpacesResponse) GetSpaces

func (m *QuerySpacesResponse) GetSpaces() []Space

func (*QuerySpacesResponse) Marshal

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

func (*QuerySpacesResponse) MarshalTo

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

func (*QuerySpacesResponse) MarshalToSizedBuffer

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

func (*QuerySpacesResponse) ProtoMessage

func (*QuerySpacesResponse) ProtoMessage()

func (*QuerySpacesResponse) Reset

func (m *QuerySpacesResponse) Reset()

func (*QuerySpacesResponse) Size

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

func (*QuerySpacesResponse) String

func (m *QuerySpacesResponse) String() string

func (*QuerySpacesResponse) Unmarshal

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

func (*QuerySpacesResponse) XXX_DiscardUnknown

func (m *QuerySpacesResponse) XXX_DiscardUnknown()

func (*QuerySpacesResponse) XXX_Marshal

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

func (*QuerySpacesResponse) XXX_Merge

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

func (*QuerySpacesResponse) XXX_Size

func (m *QuerySpacesResponse) XXX_Size() int

func (*QuerySpacesResponse) XXX_Unmarshal

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

type SignMethod added in v0.3.0

type SignMethod int32

SignMethod specifies what method of the protocol should be used for parsing the data to be signed.

const (
	// Sign method black box means that the input will be used as-is.
	SignMethod_SIGN_METHOD_BLACK_BOX SignMethod = 0
	// Sign method ETH means that the input will be parsed as an Ethereum
	// transaction.
	SignMethod_SIGN_METHOD_ETH SignMethod = 1
	// Sign method Osmosis means that the input will be parsed as an Osmosis
	// transaction.
	SignMethod_SIGN_METHOD_OSMOSIS SignMethod = 2
)

func (SignMethod) EnumDescriptor added in v0.3.0

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

func (SignMethod) String added in v0.3.0

func (x SignMethod) String() string

type SignMethodHandler added in v0.3.0

type SignMethodHandler interface {
	Handle(tx []byte, m Metadata) (Transfer, error)
}

DataForSigninger takes a transaction and metadata and returns the data that should be signed by the key.

func NewSignMethodHandler added in v0.3.0

func NewSignMethodHandler(k *Key, sm SignMethod) (SignMethodHandler, error)

type SignRequest

type SignRequest struct {
	Id             uint64            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator        string            `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	KeyId          uint64            `protobuf:"varint,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	DataForSigning []byte            `protobuf:"bytes,4,opt,name=data_for_signing,json=dataForSigning,proto3" json:"data_for_signing,omitempty"`
	Status         SignRequestStatus `protobuf:"varint,5,opt,name=status,proto3,enum=warden.warden.v1beta2.SignRequestStatus" json:"status,omitempty"`
	// Holds the result of the request. If status is pending no result is
	// available yet. If status is approved, the response will contain the signed
	// payload id. If status is rejected, the result will contain the reason for
	// the rejection.
	//
	// Types that are valid to be assigned to Result:
	//
	//	*SignRequest_SignedData
	//	*SignRequest_RejectReason
	Result isSignRequest_Result `protobuf_oneof:"result"`
}

func (*SignRequest) Descriptor

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

func (*SignRequest) GetCreator

func (m *SignRequest) GetCreator() string

func (*SignRequest) GetDataForSigning

func (m *SignRequest) GetDataForSigning() []byte

func (*SignRequest) GetId

func (m *SignRequest) GetId() uint64

func (*SignRequest) GetKeyId

func (m *SignRequest) GetKeyId() uint64

func (*SignRequest) GetRejectReason

func (m *SignRequest) GetRejectReason() string

func (*SignRequest) GetResult

func (m *SignRequest) GetResult() isSignRequest_Result

func (*SignRequest) GetSignedData

func (m *SignRequest) GetSignedData() []byte

func (*SignRequest) GetStatus

func (m *SignRequest) GetStatus() SignRequestStatus

func (*SignRequest) Marshal

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

func (*SignRequest) MarshalTo

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

func (*SignRequest) MarshalToSizedBuffer

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

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) Reset

func (m *SignRequest) Reset()

func (*SignRequest) Size

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

func (*SignRequest) String

func (m *SignRequest) String() string

func (*SignRequest) Unmarshal

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

func (*SignRequest) XXX_DiscardUnknown

func (m *SignRequest) XXX_DiscardUnknown()

func (*SignRequest) XXX_Marshal

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

func (*SignRequest) XXX_Merge

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

func (*SignRequest) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*SignRequest) XXX_Size

func (m *SignRequest) XXX_Size() int

func (*SignRequest) XXX_Unmarshal

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

type SignRequestStatus

type SignRequestStatus int32

SignRequestStatus indicates the status of a signature request. A request starts as "pending", waiting to be picked up. Then it can move to either "approved" or "rejected", depending on the decision of the keychain.

const (
	// The request is missing the status field.
	SignRequestStatus_SIGN_REQUEST_STATUS_UNSPECIFIED SignRequestStatus = 0
	// The request is waiting to be fulfilled. This is the initial state of a
	// request.
	SignRequestStatus_SIGN_REQUEST_STATUS_PENDING SignRequestStatus = 1
	// The request was fulfilled. This is a final state for a request.
	SignRequestStatus_SIGN_REQUEST_STATUS_FULFILLED SignRequestStatus = 2
	// The request was rejected. This is a final state for a request.
	SignRequestStatus_SIGN_REQUEST_STATUS_REJECTED SignRequestStatus = 3
)

func (SignRequestStatus) EnumDescriptor

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

func (SignRequestStatus) String

func (x SignRequestStatus) String() string

type SignRequest_RejectReason

type SignRequest_RejectReason struct {
	RejectReason string `protobuf:"bytes,7,opt,name=reject_reason,json=rejectReason,proto3,oneof" json:"reject_reason,omitempty"`
}

func (*SignRequest_RejectReason) MarshalTo

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

func (*SignRequest_RejectReason) MarshalToSizedBuffer

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

func (*SignRequest_RejectReason) Size

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

type SignRequest_SignedData

type SignRequest_SignedData struct {
	SignedData []byte `protobuf:"bytes,6,opt,name=signed_data,json=signedData,proto3,oneof" json:"signed_data,omitempty"`
}

func (*SignRequest_SignedData) MarshalTo

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

func (*SignRequest_SignedData) MarshalToSizedBuffer

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

func (*SignRequest_SignedData) Size

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

type Space

type Space struct {
	Id      uint64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Creator string   `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Owners  []string `protobuf:"bytes,3,rep,name=owners,proto3" json:"owners,omitempty"`
	// Optional ID of the intent to be applied to every *admin* operation.
	// If not specified, the default intent is used.
	//
	// Admin operations are:
	// - warden.warden.Msg.AddSpaceOwner
	// - warden.warden.Msg.RemoveSpaceOwner
	//
	// The default intent is to allow any operation when at least one of its
	// owner approves it.
	AdminIntentId uint64 `protobuf:"varint,5,opt,name=admin_intent_id,json=adminIntentId,proto3" json:"admin_intent_id,omitempty"`
	// Optional ID of the intent to be applied to every *sign* operation.
	// If not specified, the default intent is used.
	//
	// Sign operations are:
	// - warden.warden.Msg.NewKeyRequest
	// - warden.warden.Msg.NewSignTransactionRequest
	// - warden.warden.Msg.NewSignatureRequest
	// - warden.warden.Msg.NewWalletRequest
	//
	// The default intent is to allow any operation when at least one of its
	// owner approves it.
	SignIntentId uint64 `protobuf:"varint,6,opt,name=sign_intent_id,json=signIntentId,proto3" json:"sign_intent_id,omitempty"`
}

Space is a collection of users (called owners) that manages a set of keys.

func (*Space) AddOwner

func (w *Space) AddOwner(address string) error

func (*Space) AnyOwnerIntent

func (w *Space) AnyOwnerIntent() intenttypes.Intent

AnyOwnerIntent returns a intent that is satisfied when at least one of the owners of the space approves.

func (*Space) Descriptor

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

func (*Space) GetAdminIntentId

func (m *Space) GetAdminIntentId() uint64

func (*Space) GetCreator

func (m *Space) GetCreator() string

func (*Space) GetId

func (m *Space) GetId() uint64

func (*Space) GetOwners

func (m *Space) GetOwners() []string

func (*Space) GetSignIntentId

func (m *Space) GetSignIntentId() uint64

func (*Space) IntentAddOwner

func (w *Space) IntentAddOwner() intenttypes.Intent

func (*Space) IntentAppendChild

func (w *Space) IntentAppendChild() intenttypes.Intent

func (*Space) IntentNewKeyRequest

func (w *Space) IntentNewKeyRequest() intenttypes.Intent

func (*Space) IntentNewSignTransactionRequest

func (w *Space) IntentNewSignTransactionRequest() intenttypes.Intent

func (*Space) IntentNewSignatureRequest

func (w *Space) IntentNewSignatureRequest() intenttypes.Intent

func (*Space) IntentRemoveOwner

func (w *Space) IntentRemoveOwner() intenttypes.Intent

func (*Space) IntentUpdateKey

func (w *Space) IntentUpdateKey() intenttypes.Intent

func (*Space) IntentUpdateSpace

func (w *Space) IntentUpdateSpace() intenttypes.Intent

func (*Space) IsOwner

func (w *Space) IsOwner(address string) bool

func (*Space) Marshal

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

func (*Space) MarshalTo

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

func (*Space) MarshalToSizedBuffer

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

func (*Space) ProtoMessage

func (*Space) ProtoMessage()

func (*Space) RemoveOwner

func (w *Space) RemoveOwner(address string)

func (*Space) Reset

func (m *Space) Reset()

func (*Space) Size

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

func (*Space) String

func (m *Space) String() string

func (*Space) Unmarshal

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

func (*Space) XXX_DiscardUnknown

func (m *Space) XXX_DiscardUnknown()

func (*Space) XXX_Marshal

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

func (*Space) XXX_Merge

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

func (*Space) XXX_Size

func (m *Space) XXX_Size() int

func (*Space) XXX_Unmarshal

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

type Transfer

type Transfer struct {
	// To uniquely identifies the recipient of the transfer.
	To []byte

	// Amount is the amount being transferred.
	Amount *big.Int

	// CoinIdentifier uniquely identifies the coin being transferred.
	CoinIdentifier []byte

	// DataForSigning is the data that will be signed by the key.
	DataForSigning []byte
}

Transfer represents a generic transfer of tokens on a blockchain.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddKeychainParty

func (*UnimplementedMsgServer) AddSpaceOwner

func (*UnimplementedMsgServer) FulfilSignatureRequest

func (*UnimplementedMsgServer) NewKeyRequest

func (*UnimplementedMsgServer) NewKeychain

func (*UnimplementedMsgServer) NewSignatureRequest

func (*UnimplementedMsgServer) NewSpace

func (*UnimplementedMsgServer) RemoveSpaceOwner

func (*UnimplementedMsgServer) UpdateKey

func (*UnimplementedMsgServer) UpdateKeyRequest

func (*UnimplementedMsgServer) UpdateKeychain

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) UpdateSpace

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AllKeys

func (*UnimplementedQueryServer) KeyById

func (*UnimplementedQueryServer) KeyRequestById

func (*UnimplementedQueryServer) KeyRequests

func (*UnimplementedQueryServer) KeychainById

func (*UnimplementedQueryServer) Keychains

func (*UnimplementedQueryServer) KeysBySpaceId

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) SignatureRequests

func (*UnimplementedQueryServer) SpaceById

func (*UnimplementedQueryServer) Spaces

func (*UnimplementedQueryServer) SpacesByOwner

Jump to

Keyboard shortcuts

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