_go

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCode_name = map[int32]string{
		0:   "Undefined",
		1:   "TODO",
		2:   "ErrNotImplemented",
		3:   "ErrInternal",
		100: "ErrInvalidInput",
		101: "ErrBridgeInterrupted",
		102: "ErrMissingInput",
		103: "ErrSerialization",
		104: "ErrDeserialization",
		105: "ErrInitService",
		106: "ErrSetRemote",
		150: "ErrCryptoKeyTypeUnknown",
		151: "ErrCryptoKeyNotFound",
		152: "ErrNoActiveAccount",
		153: "ErrRunGRPCServer",
		154: "ErrDecryptionFailed",
		200: "ErrTxDecode",
		201: "ErrInvalidSequence",
		202: "ErrUnauthorized",
		203: "ErrInsufficientFunds",
		204: "ErrUnknownRequest",
		205: "ErrInvalidAddress",
		206: "ErrUnknownAddress",
		207: "ErrInvalidPubKey",
		208: "ErrInsufficientCoins",
		209: "ErrInvalidCoins",
		210: "ErrInvalidGasWanted",
		211: "ErrOutOfGas",
		212: "ErrMemoTooLarge",
		213: "ErrInsufficientFee",
		214: "ErrTooManySignatures",
		215: "ErrNoSignatures",
		216: "ErrGasOverflow",
	}
	ErrCode_value = map[string]int32{
		"Undefined":               0,
		"TODO":                    1,
		"ErrNotImplemented":       2,
		"ErrInternal":             3,
		"ErrInvalidInput":         100,
		"ErrBridgeInterrupted":    101,
		"ErrMissingInput":         102,
		"ErrSerialization":        103,
		"ErrDeserialization":      104,
		"ErrInitService":          105,
		"ErrSetRemote":            106,
		"ErrCryptoKeyTypeUnknown": 150,
		"ErrCryptoKeyNotFound":    151,
		"ErrNoActiveAccount":      152,
		"ErrRunGRPCServer":        153,
		"ErrDecryptionFailed":     154,
		"ErrTxDecode":             200,
		"ErrInvalidSequence":      201,
		"ErrUnauthorized":         202,
		"ErrInsufficientFunds":    203,
		"ErrUnknownRequest":       204,
		"ErrInvalidAddress":       205,
		"ErrUnknownAddress":       206,
		"ErrInvalidPubKey":        207,
		"ErrInsufficientCoins":    208,
		"ErrInvalidCoins":         209,
		"ErrInvalidGasWanted":     210,
		"ErrOutOfGas":             211,
		"ErrMemoTooLarge":         212,
		"ErrInsufficientFee":      213,
		"ErrTooManySignatures":    214,
		"ErrNoSignatures":         215,
		"ErrGasOverflow":          216,
	}
)

Enum value maps for ErrCode.

View Source
var File_gnonativetypes_proto protoreflect.FileDescriptor

Functions

func Has

func Has(err error, code WithCode) bool

Has returns true if one of the error is or contains (wraps) an expected errcode

func Is

func Is(err error, code WithCode) bool

Is returns true if the top-level error (not the FirstCode) is actually an ErrCode of the same value

Types

type AddressFromBech32Request

type AddressFromBech32Request struct {
	Bech32Address string `protobuf:"bytes,1,opt,name=bech32_address,json=bech32Address,proto3" json:"bech32_address,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressFromBech32Request) Descriptor deprecated

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

Deprecated: Use AddressFromBech32Request.ProtoReflect.Descriptor instead.

func (*AddressFromBech32Request) GetBech32Address

func (x *AddressFromBech32Request) GetBech32Address() string

func (*AddressFromBech32Request) ProtoMessage

func (*AddressFromBech32Request) ProtoMessage()

func (*AddressFromBech32Request) ProtoReflect

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

func (*AddressFromBech32Request) Reset

func (x *AddressFromBech32Request) Reset()

func (*AddressFromBech32Request) String

func (x *AddressFromBech32Request) String() string

type AddressFromBech32Response

type AddressFromBech32Response struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressFromBech32Response) Descriptor deprecated

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

Deprecated: Use AddressFromBech32Response.ProtoReflect.Descriptor instead.

func (*AddressFromBech32Response) GetAddress

func (x *AddressFromBech32Response) GetAddress() []byte

func (*AddressFromBech32Response) ProtoMessage

func (*AddressFromBech32Response) ProtoMessage()

func (*AddressFromBech32Response) ProtoReflect

func (*AddressFromBech32Response) Reset

func (x *AddressFromBech32Response) Reset()

func (*AddressFromBech32Response) String

func (x *AddressFromBech32Response) String() string

type AddressToBech32Request

type AddressToBech32Request struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressToBech32Request) Descriptor deprecated

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

Deprecated: Use AddressToBech32Request.ProtoReflect.Descriptor instead.

func (*AddressToBech32Request) GetAddress

func (x *AddressToBech32Request) GetAddress() []byte

func (*AddressToBech32Request) ProtoMessage

func (*AddressToBech32Request) ProtoMessage()

func (*AddressToBech32Request) ProtoReflect

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

func (*AddressToBech32Request) Reset

func (x *AddressToBech32Request) Reset()

func (*AddressToBech32Request) String

func (x *AddressToBech32Request) String() string

type AddressToBech32Response

type AddressToBech32Response struct {
	Bech32Address string `protobuf:"bytes,1,opt,name=bech32_address,json=bech32Address,proto3" json:"bech32_address,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressToBech32Response) Descriptor deprecated

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

Deprecated: Use AddressToBech32Response.ProtoReflect.Descriptor instead.

func (*AddressToBech32Response) GetBech32Address

func (x *AddressToBech32Response) GetBech32Address() string

func (*AddressToBech32Response) ProtoMessage

func (*AddressToBech32Response) ProtoMessage()

func (*AddressToBech32Response) ProtoReflect

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

func (*AddressToBech32Response) Reset

func (x *AddressToBech32Response) Reset()

func (*AddressToBech32Response) String

func (x *AddressToBech32Response) String() string

type BaseAccount

type BaseAccount struct {
	Address       []byte  `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Coins         []*Coin `protobuf:"bytes,2,rep,name=coins,proto3" json:"coins,omitempty"`
	PubKey        []byte  `protobuf:"bytes,3,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	AccountNumber uint64  `protobuf:"varint,4,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	Sequence      uint64  `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseAccount) Descriptor deprecated

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

Deprecated: Use BaseAccount.ProtoReflect.Descriptor instead.

func (*BaseAccount) GetAccountNumber

func (x *BaseAccount) GetAccountNumber() uint64

func (*BaseAccount) GetAddress

func (x *BaseAccount) GetAddress() []byte

func (*BaseAccount) GetCoins

func (x *BaseAccount) GetCoins() []*Coin

func (*BaseAccount) GetPubKey

func (x *BaseAccount) GetPubKey() []byte

func (*BaseAccount) GetSequence

func (x *BaseAccount) GetSequence() uint64

func (*BaseAccount) ProtoMessage

func (*BaseAccount) ProtoMessage()

func (*BaseAccount) ProtoReflect

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

func (*BaseAccount) Reset

func (x *BaseAccount) Reset()

func (*BaseAccount) String

func (x *BaseAccount) String() string

type CallRequest

type CallRequest struct {
	GasFee    string `protobuf:"bytes,1,opt,name=gas_fee,json=gasFee,proto3" json:"gas_fee,omitempty"`
	GasWanted int64  `protobuf:"zigzag64,2,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
	Memo      string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"`
	// list of calls to make in one transaction
	Msgs []*MsgCall `protobuf:"bytes,4,rep,name=msgs,json=Msgs,proto3" json:"msgs,omitempty"`
	// contains filtered or unexported fields
}

func (*CallRequest) Descriptor deprecated

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

Deprecated: Use CallRequest.ProtoReflect.Descriptor instead.

func (*CallRequest) GetGasFee

func (x *CallRequest) GetGasFee() string

func (*CallRequest) GetGasWanted

func (x *CallRequest) GetGasWanted() int64

func (*CallRequest) GetMemo

func (x *CallRequest) GetMemo() string

func (*CallRequest) GetMsgs

func (x *CallRequest) GetMsgs() []*MsgCall

func (*CallRequest) ProtoMessage

func (*CallRequest) ProtoMessage()

func (*CallRequest) ProtoReflect

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

func (*CallRequest) Reset

func (x *CallRequest) Reset()

func (*CallRequest) String

func (x *CallRequest) String() string

type CallResponse

type CallResponse struct {
	Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CallResponse) Descriptor deprecated

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

Deprecated: Use CallResponse.ProtoReflect.Descriptor instead.

func (*CallResponse) GetResult

func (x *CallResponse) GetResult() []byte

func (*CallResponse) ProtoMessage

func (*CallResponse) ProtoMessage()

func (*CallResponse) ProtoReflect

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

func (*CallResponse) Reset

func (x *CallResponse) Reset()

func (*CallResponse) String

func (x *CallResponse) String() string

type Coin

type Coin struct {
	Denom  string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount int64  `protobuf:"zigzag64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

Coin holds some amount of one currency. A negative amount is invalid.

func (*Coin) Descriptor deprecated

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

Deprecated: Use Coin.ProtoReflect.Descriptor instead.

func (*Coin) GetAmount

func (x *Coin) GetAmount() int64

func (*Coin) GetDenom

func (x *Coin) GetDenom() string

func (*Coin) ProtoMessage

func (*Coin) ProtoMessage()

func (*Coin) ProtoReflect

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

func (*Coin) Reset

func (x *Coin) Reset()

func (*Coin) String

func (x *Coin) String() string

type CreateAccountRequest

type CreateAccountRequest struct {
	NameOrBech32 string `protobuf:"bytes,1,opt,name=name_or_bech32,json=nameOrBech32,proto3" json:"name_or_bech32,omitempty"`
	Mnemonic     string `protobuf:"bytes,2,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"`
	Bip39Passwd  string `protobuf:"bytes,3,opt,name=bip39_passwd,json=bip39Passwd,proto3" json:"bip39_passwd,omitempty"`
	Password     string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Account      uint32 `protobuf:"varint,5,opt,name=account,proto3" json:"account,omitempty"`
	Index        uint32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetAccount

func (x *CreateAccountRequest) GetAccount() uint32

func (*CreateAccountRequest) GetBip39Passwd

func (x *CreateAccountRequest) GetBip39Passwd() string

func (*CreateAccountRequest) GetIndex

func (x *CreateAccountRequest) GetIndex() uint32

func (*CreateAccountRequest) GetMnemonic

func (x *CreateAccountRequest) GetMnemonic() string

func (*CreateAccountRequest) GetNameOrBech32

func (x *CreateAccountRequest) GetNameOrBech32() string

func (*CreateAccountRequest) GetPassword

func (x *CreateAccountRequest) GetPassword() string

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

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

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

type CreateAccountResponse

type CreateAccountResponse struct {
	Key *KeyInfo `protobuf:"bytes,1,opt,name=key,json=key_info,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountResponse) Descriptor deprecated

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

Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountResponse) GetKey

func (x *CreateAccountResponse) GetKey() *KeyInfo

func (*CreateAccountResponse) ProtoMessage

func (*CreateAccountResponse) ProtoMessage()

func (*CreateAccountResponse) ProtoReflect

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

func (*CreateAccountResponse) Reset

func (x *CreateAccountResponse) Reset()

func (*CreateAccountResponse) String

func (x *CreateAccountResponse) String() string

type DeleteAccountRequest

type DeleteAccountRequest struct {
	NameOrBech32 string `protobuf:"bytes,1,opt,name=name_or_bech32,json=nameOrBech32,proto3" json:"name_or_bech32,omitempty"`
	Password     string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	SkipPassword bool   `protobuf:"varint,3,opt,name=skip_password,json=skipPassword,proto3" json:"skip_password,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAccountRequest) Descriptor deprecated

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetNameOrBech32

func (x *DeleteAccountRequest) GetNameOrBech32() string

func (*DeleteAccountRequest) GetPassword

func (x *DeleteAccountRequest) GetPassword() string

func (*DeleteAccountRequest) GetSkipPassword

func (x *DeleteAccountRequest) GetSkipPassword() bool

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect

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

func (*DeleteAccountRequest) Reset

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String

func (x *DeleteAccountRequest) String() string

type DeleteAccountResponse

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

func (*DeleteAccountResponse) Descriptor deprecated

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

Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.

func (*DeleteAccountResponse) ProtoMessage

func (*DeleteAccountResponse) ProtoMessage()

func (*DeleteAccountResponse) ProtoReflect

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

func (*DeleteAccountResponse) Reset

func (x *DeleteAccountResponse) Reset()

func (*DeleteAccountResponse) String

func (x *DeleteAccountResponse) String() string

type ErrCode

type ErrCode int32

The ErrCode enum defines errors for gRPC API functions. These are converted from the Go error types returned by gnoclient.

const (
	// Undefined is the default value. It should never be set manually
	ErrCode_Undefined ErrCode = 0
	// TODO indicates that you plan to create an error later
	ErrCode_TODO ErrCode = 1
	// ErrNotImplemented indicates that a method is not implemented yet
	ErrCode_ErrNotImplemented ErrCode = 2
	// ErrInternal indicates an unknown error (without Code), i.e. in gRPC
	ErrCode_ErrInternal             ErrCode = 3
	ErrCode_ErrInvalidInput         ErrCode = 100
	ErrCode_ErrBridgeInterrupted    ErrCode = 101
	ErrCode_ErrMissingInput         ErrCode = 102
	ErrCode_ErrSerialization        ErrCode = 103
	ErrCode_ErrDeserialization      ErrCode = 104
	ErrCode_ErrInitService          ErrCode = 105
	ErrCode_ErrSetRemote            ErrCode = 106
	ErrCode_ErrCryptoKeyTypeUnknown ErrCode = 150
	// ErrCryptoKeyNotFound indicates that the doesn't exist in the keybase
	ErrCode_ErrCryptoKeyNotFound ErrCode = 151
	// ErrNoActiveAccount indicates that no active account has been set with SelectAccount
	ErrCode_ErrNoActiveAccount ErrCode = 152
	ErrCode_ErrRunGRPCServer   ErrCode = 153
	// ErrDecryptionFailed indicates a decryption failure including a wrong password
	ErrCode_ErrDecryptionFailed ErrCode = 154
	ErrCode_ErrTxDecode         ErrCode = 200
	ErrCode_ErrInvalidSequence  ErrCode = 201
	ErrCode_ErrUnauthorized     ErrCode = 202
	// ErrInsufficientFunds indicates that there are insufficient funds to pay for fees
	ErrCode_ErrInsufficientFunds ErrCode = 203
	// ErrUnknownRequest indicates that the path of a realm function call is unrecognized
	ErrCode_ErrUnknownRequest ErrCode = 204
	// ErrInvalidAddress indicates that an account address is blank or the bech32 can't be decoded
	ErrCode_ErrInvalidAddress ErrCode = 205
	// ErrUnknownAddress indicates that the address is unknown on the blockchain
	ErrCode_ErrUnknownAddress ErrCode = 206
	// ErrInvalidPubKey indicates that the public key was not found or has an invalid algorithm or format
	ErrCode_ErrInvalidPubKey ErrCode = 207
	// ErrInsufficientCoins indicates that the transaction has insufficient account funds to send
	ErrCode_ErrInsufficientCoins ErrCode = 208
	// ErrInvalidCoins indicates that the transaction Coins are not sorted, or don't have a
	// positive amount, or the coin Denom contains upper case characters
	ErrCode_ErrInvalidCoins ErrCode = 209
	// ErrInvalidGasWanted indicates that the transaction gas wanted is too large or otherwise invalid
	ErrCode_ErrInvalidGasWanted ErrCode = 210
	// ErrOutOfGas indicates that the transaction doesn't have enough gas
	ErrCode_ErrOutOfGas ErrCode = 211
	// ErrMemoTooLarge indicates that the transaction memo is too large
	ErrCode_ErrMemoTooLarge ErrCode = 212
	// ErrInsufficientFee indicates that the gas fee is insufficient
	ErrCode_ErrInsufficientFee ErrCode = 213
	// ErrTooManySignatures indicates that the transaction has too many signatures
	ErrCode_ErrTooManySignatures ErrCode = 214
	// ErrNoSignatures indicates that the transaction has no signatures
	ErrCode_ErrNoSignatures ErrCode = 215
	// ErrGasOverflow that an action results in a gas consumption unsigned integer overflow
	ErrCode_ErrGasOverflow ErrCode = 216
)

func Code

func Code(err error) ErrCode

Code returns the code of the actual error without trying to unwrap it, or -1.

func Codes

func Codes(err error) []ErrCode

Codes returns a list of wrapped codes

func FirstCode

func FirstCode(err error) ErrCode

FirstCode walks the passed error and returns the code of the first ErrCode met, or -1.

func LastCode

func LastCode(err error) ErrCode

LastCode walks the passed error and returns the code of the latest ErrCode, or -1.

func (ErrCode) Code

func (e ErrCode) Code() ErrCode

func (ErrCode) Descriptor

func (ErrCode) Descriptor() protoreflect.EnumDescriptor

func (ErrCode) Enum

func (x ErrCode) Enum() *ErrCode

func (ErrCode) EnumDescriptor deprecated

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

Deprecated: Use ErrCode.Descriptor instead.

func (ErrCode) Error

func (e ErrCode) Error() string

func (ErrCode) Grpc

func (e ErrCode) Grpc() error

craft an connectRPC error with the rpc code error in the error details

func (ErrCode) Number

func (x ErrCode) Number() protoreflect.EnumNumber

func (ErrCode) String

func (x ErrCode) String() string

func (ErrCode) Type

func (ErrCode) Type() protoreflect.EnumType

func (ErrCode) Wrap

func (e ErrCode) Wrap(inner error) WithCode

type ErrDetails

type ErrDetails struct {
	Codes []ErrCode `protobuf:"varint,1,rep,packed,name=codes,proto3,enum=land.gno.gnonative.v1.ErrCode" json:"codes,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrDetails) Descriptor deprecated

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

Deprecated: Use ErrDetails.ProtoReflect.Descriptor instead.

func (*ErrDetails) GetCodes

func (x *ErrDetails) GetCodes() []ErrCode

func (*ErrDetails) ProtoMessage

func (*ErrDetails) ProtoMessage()

func (*ErrDetails) ProtoReflect

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

func (*ErrDetails) Reset

func (x *ErrDetails) Reset()

func (*ErrDetails) String

func (x *ErrDetails) String() string

type GenerateRecoveryPhraseRequest

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

func (*GenerateRecoveryPhraseRequest) Descriptor deprecated

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

Deprecated: Use GenerateRecoveryPhraseRequest.ProtoReflect.Descriptor instead.

func (*GenerateRecoveryPhraseRequest) ProtoMessage

func (*GenerateRecoveryPhraseRequest) ProtoMessage()

func (*GenerateRecoveryPhraseRequest) ProtoReflect

func (*GenerateRecoveryPhraseRequest) Reset

func (x *GenerateRecoveryPhraseRequest) Reset()

func (*GenerateRecoveryPhraseRequest) String

type GenerateRecoveryPhraseResponse

type GenerateRecoveryPhraseResponse struct {
	Phrase string `protobuf:"bytes,1,opt,name=phrase,proto3" json:"phrase,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateRecoveryPhraseResponse) Descriptor deprecated

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

Deprecated: Use GenerateRecoveryPhraseResponse.ProtoReflect.Descriptor instead.

func (*GenerateRecoveryPhraseResponse) GetPhrase

func (x *GenerateRecoveryPhraseResponse) GetPhrase() string

func (*GenerateRecoveryPhraseResponse) ProtoMessage

func (*GenerateRecoveryPhraseResponse) ProtoMessage()

func (*GenerateRecoveryPhraseResponse) ProtoReflect

func (*GenerateRecoveryPhraseResponse) Reset

func (x *GenerateRecoveryPhraseResponse) Reset()

func (*GenerateRecoveryPhraseResponse) String

type GetActiveAccountRequest

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

func (*GetActiveAccountRequest) Descriptor deprecated

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

Deprecated: Use GetActiveAccountRequest.ProtoReflect.Descriptor instead.

func (*GetActiveAccountRequest) ProtoMessage

func (*GetActiveAccountRequest) ProtoMessage()

func (*GetActiveAccountRequest) ProtoReflect

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

func (*GetActiveAccountRequest) Reset

func (x *GetActiveAccountRequest) Reset()

func (*GetActiveAccountRequest) String

func (x *GetActiveAccountRequest) String() string

type GetActiveAccountResponse

type GetActiveAccountResponse struct {
	Key *KeyInfo `protobuf:"bytes,1,opt,name=key,json=key_info,proto3" json:"key,omitempty"`
	// True if the password has been set. If false, then call SetPassword.
	HasPassword bool `protobuf:"varint,2,opt,name=has_password,json=hasPassword,proto3" json:"has_password,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActiveAccountResponse) Descriptor deprecated

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

Deprecated: Use GetActiveAccountResponse.ProtoReflect.Descriptor instead.

func (*GetActiveAccountResponse) GetHasPassword

func (x *GetActiveAccountResponse) GetHasPassword() bool

func (*GetActiveAccountResponse) GetKey

func (x *GetActiveAccountResponse) GetKey() *KeyInfo

func (*GetActiveAccountResponse) ProtoMessage

func (*GetActiveAccountResponse) ProtoMessage()

func (*GetActiveAccountResponse) ProtoReflect

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

func (*GetActiveAccountResponse) Reset

func (x *GetActiveAccountResponse) Reset()

func (*GetActiveAccountResponse) String

func (x *GetActiveAccountResponse) String() string

type GetChainIDRequest

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

func (*GetChainIDRequest) Descriptor deprecated

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

Deprecated: Use GetChainIDRequest.ProtoReflect.Descriptor instead.

func (*GetChainIDRequest) ProtoMessage

func (*GetChainIDRequest) ProtoMessage()

func (*GetChainIDRequest) ProtoReflect

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

func (*GetChainIDRequest) Reset

func (x *GetChainIDRequest) Reset()

func (*GetChainIDRequest) String

func (x *GetChainIDRequest) String() string

type GetChainIDResponse

type GetChainIDResponse struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChainIDResponse) Descriptor deprecated

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

Deprecated: Use GetChainIDResponse.ProtoReflect.Descriptor instead.

func (*GetChainIDResponse) GetChainId

func (x *GetChainIDResponse) GetChainId() string

func (*GetChainIDResponse) ProtoMessage

func (*GetChainIDResponse) ProtoMessage()

func (*GetChainIDResponse) ProtoReflect

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

func (*GetChainIDResponse) Reset

func (x *GetChainIDResponse) Reset()

func (*GetChainIDResponse) String

func (x *GetChainIDResponse) String() string

type GetKeyInfoByAddressRequest

type GetKeyInfoByAddressRequest struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyInfoByAddressRequest) Descriptor deprecated

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

Deprecated: Use GetKeyInfoByAddressRequest.ProtoReflect.Descriptor instead.

func (*GetKeyInfoByAddressRequest) GetAddress

func (x *GetKeyInfoByAddressRequest) GetAddress() []byte

func (*GetKeyInfoByAddressRequest) ProtoMessage

func (*GetKeyInfoByAddressRequest) ProtoMessage()

func (*GetKeyInfoByAddressRequest) ProtoReflect

func (*GetKeyInfoByAddressRequest) Reset

func (x *GetKeyInfoByAddressRequest) Reset()

func (*GetKeyInfoByAddressRequest) String

func (x *GetKeyInfoByAddressRequest) String() string

type GetKeyInfoByAddressResponse

type GetKeyInfoByAddressResponse struct {
	Key *KeyInfo `protobuf:"bytes,1,opt,name=key,json=key_info,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyInfoByAddressResponse) Descriptor deprecated

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

Deprecated: Use GetKeyInfoByAddressResponse.ProtoReflect.Descriptor instead.

func (*GetKeyInfoByAddressResponse) GetKey

func (x *GetKeyInfoByAddressResponse) GetKey() *KeyInfo

func (*GetKeyInfoByAddressResponse) ProtoMessage

func (*GetKeyInfoByAddressResponse) ProtoMessage()

func (*GetKeyInfoByAddressResponse) ProtoReflect

func (*GetKeyInfoByAddressResponse) Reset

func (x *GetKeyInfoByAddressResponse) Reset()

func (*GetKeyInfoByAddressResponse) String

func (x *GetKeyInfoByAddressResponse) String() string

type GetKeyInfoByNameOrAddressRequest

type GetKeyInfoByNameOrAddressRequest struct {
	NameOrBech32 string `protobuf:"bytes,1,opt,name=name_or_bech32,json=nameOrBech32,proto3" json:"name_or_bech32,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyInfoByNameOrAddressRequest) Descriptor deprecated

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

Deprecated: Use GetKeyInfoByNameOrAddressRequest.ProtoReflect.Descriptor instead.

func (*GetKeyInfoByNameOrAddressRequest) GetNameOrBech32

func (x *GetKeyInfoByNameOrAddressRequest) GetNameOrBech32() string

func (*GetKeyInfoByNameOrAddressRequest) ProtoMessage

func (*GetKeyInfoByNameOrAddressRequest) ProtoMessage()

func (*GetKeyInfoByNameOrAddressRequest) ProtoReflect

func (*GetKeyInfoByNameOrAddressRequest) Reset

func (*GetKeyInfoByNameOrAddressRequest) String

type GetKeyInfoByNameOrAddressResponse

type GetKeyInfoByNameOrAddressResponse struct {
	Key *KeyInfo `protobuf:"bytes,1,opt,name=key,json=key_info,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyInfoByNameOrAddressResponse) Descriptor deprecated

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

Deprecated: Use GetKeyInfoByNameOrAddressResponse.ProtoReflect.Descriptor instead.

func (*GetKeyInfoByNameOrAddressResponse) GetKey

func (*GetKeyInfoByNameOrAddressResponse) ProtoMessage

func (*GetKeyInfoByNameOrAddressResponse) ProtoMessage()

func (*GetKeyInfoByNameOrAddressResponse) ProtoReflect

func (*GetKeyInfoByNameOrAddressResponse) Reset

func (*GetKeyInfoByNameOrAddressResponse) String

type GetKeyInfoByNameRequest

type GetKeyInfoByNameRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyInfoByNameRequest) Descriptor deprecated

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

Deprecated: Use GetKeyInfoByNameRequest.ProtoReflect.Descriptor instead.

func (*GetKeyInfoByNameRequest) GetName

func (x *GetKeyInfoByNameRequest) GetName() string

func (*GetKeyInfoByNameRequest) ProtoMessage

func (*GetKeyInfoByNameRequest) ProtoMessage()

func (*GetKeyInfoByNameRequest) ProtoReflect

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

func (*GetKeyInfoByNameRequest) Reset

func (x *GetKeyInfoByNameRequest) Reset()

func (*GetKeyInfoByNameRequest) String

func (x *GetKeyInfoByNameRequest) String() string

type GetKeyInfoByNameResponse

type GetKeyInfoByNameResponse struct {
	Key *KeyInfo `protobuf:"bytes,1,opt,name=key,json=key_info,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyInfoByNameResponse) Descriptor deprecated

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

Deprecated: Use GetKeyInfoByNameResponse.ProtoReflect.Descriptor instead.

func (*GetKeyInfoByNameResponse) GetKey

func (x *GetKeyInfoByNameResponse) GetKey() *KeyInfo

func (*GetKeyInfoByNameResponse) ProtoMessage

func (*GetKeyInfoByNameResponse) ProtoMessage()

func (*GetKeyInfoByNameResponse) ProtoReflect

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

func (*GetKeyInfoByNameResponse) Reset

func (x *GetKeyInfoByNameResponse) Reset()

func (*GetKeyInfoByNameResponse) String

func (x *GetKeyInfoByNameResponse) String() string

type GetRemoteRequest

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

func (*GetRemoteRequest) Descriptor deprecated

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

Deprecated: Use GetRemoteRequest.ProtoReflect.Descriptor instead.

func (*GetRemoteRequest) ProtoMessage

func (*GetRemoteRequest) ProtoMessage()

func (*GetRemoteRequest) ProtoReflect

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

func (*GetRemoteRequest) Reset

func (x *GetRemoteRequest) Reset()

func (*GetRemoteRequest) String

func (x *GetRemoteRequest) String() string

type GetRemoteResponse

type GetRemoteResponse struct {
	Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRemoteResponse) Descriptor deprecated

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

Deprecated: Use GetRemoteResponse.ProtoReflect.Descriptor instead.

func (*GetRemoteResponse) GetRemote

func (x *GetRemoteResponse) GetRemote() string

func (*GetRemoteResponse) ProtoMessage

func (*GetRemoteResponse) ProtoMessage()

func (*GetRemoteResponse) ProtoReflect

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

func (*GetRemoteResponse) Reset

func (x *GetRemoteResponse) Reset()

func (*GetRemoteResponse) String

func (x *GetRemoteResponse) String() string

type HasKeyByAddressRequest

type HasKeyByAddressRequest struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*HasKeyByAddressRequest) Descriptor deprecated

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

Deprecated: Use HasKeyByAddressRequest.ProtoReflect.Descriptor instead.

func (*HasKeyByAddressRequest) GetAddress

func (x *HasKeyByAddressRequest) GetAddress() []byte

func (*HasKeyByAddressRequest) ProtoMessage

func (*HasKeyByAddressRequest) ProtoMessage()

func (*HasKeyByAddressRequest) ProtoReflect

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

func (*HasKeyByAddressRequest) Reset

func (x *HasKeyByAddressRequest) Reset()

func (*HasKeyByAddressRequest) String

func (x *HasKeyByAddressRequest) String() string

type HasKeyByAddressResponse

type HasKeyByAddressResponse struct {
	Has bool `protobuf:"varint,1,opt,name=has,proto3" json:"has,omitempty"`
	// contains filtered or unexported fields
}

func (*HasKeyByAddressResponse) Descriptor deprecated

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

Deprecated: Use HasKeyByAddressResponse.ProtoReflect.Descriptor instead.

func (*HasKeyByAddressResponse) GetHas

func (x *HasKeyByAddressResponse) GetHas() bool

func (*HasKeyByAddressResponse) ProtoMessage

func (*HasKeyByAddressResponse) ProtoMessage()

func (*HasKeyByAddressResponse) ProtoReflect

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

func (*HasKeyByAddressResponse) Reset

func (x *HasKeyByAddressResponse) Reset()

func (*HasKeyByAddressResponse) String

func (x *HasKeyByAddressResponse) String() string

type HasKeyByNameOrAddressRequest

type HasKeyByNameOrAddressRequest struct {
	NameOrBech32 string `protobuf:"bytes,1,opt,name=name_or_bech32,json=nameOrBech32,proto3" json:"name_or_bech32,omitempty"`
	// contains filtered or unexported fields
}

func (*HasKeyByNameOrAddressRequest) Descriptor deprecated

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

Deprecated: Use HasKeyByNameOrAddressRequest.ProtoReflect.Descriptor instead.

func (*HasKeyByNameOrAddressRequest) GetNameOrBech32

func (x *HasKeyByNameOrAddressRequest) GetNameOrBech32() string

func (*HasKeyByNameOrAddressRequest) ProtoMessage

func (*HasKeyByNameOrAddressRequest) ProtoMessage()

func (*HasKeyByNameOrAddressRequest) ProtoReflect

func (*HasKeyByNameOrAddressRequest) Reset

func (x *HasKeyByNameOrAddressRequest) Reset()

func (*HasKeyByNameOrAddressRequest) String

type HasKeyByNameOrAddressResponse

type HasKeyByNameOrAddressResponse struct {
	Has bool `protobuf:"varint,1,opt,name=has,proto3" json:"has,omitempty"`
	// contains filtered or unexported fields
}

func (*HasKeyByNameOrAddressResponse) Descriptor deprecated

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

Deprecated: Use HasKeyByNameOrAddressResponse.ProtoReflect.Descriptor instead.

func (*HasKeyByNameOrAddressResponse) GetHas

func (x *HasKeyByNameOrAddressResponse) GetHas() bool

func (*HasKeyByNameOrAddressResponse) ProtoMessage

func (*HasKeyByNameOrAddressResponse) ProtoMessage()

func (*HasKeyByNameOrAddressResponse) ProtoReflect

func (*HasKeyByNameOrAddressResponse) Reset

func (x *HasKeyByNameOrAddressResponse) Reset()

func (*HasKeyByNameOrAddressResponse) String

type HasKeyByNameRequest

type HasKeyByNameRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*HasKeyByNameRequest) Descriptor deprecated

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

Deprecated: Use HasKeyByNameRequest.ProtoReflect.Descriptor instead.

func (*HasKeyByNameRequest) GetName

func (x *HasKeyByNameRequest) GetName() string

func (*HasKeyByNameRequest) ProtoMessage

func (*HasKeyByNameRequest) ProtoMessage()

func (*HasKeyByNameRequest) ProtoReflect

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

func (*HasKeyByNameRequest) Reset

func (x *HasKeyByNameRequest) Reset()

func (*HasKeyByNameRequest) String

func (x *HasKeyByNameRequest) String() string

type HasKeyByNameResponse

type HasKeyByNameResponse struct {
	Has bool `protobuf:"varint,1,opt,name=has,proto3" json:"has,omitempty"`
	// contains filtered or unexported fields
}

func (*HasKeyByNameResponse) Descriptor deprecated

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

Deprecated: Use HasKeyByNameResponse.ProtoReflect.Descriptor instead.

func (*HasKeyByNameResponse) GetHas

func (x *HasKeyByNameResponse) GetHas() bool

func (*HasKeyByNameResponse) ProtoMessage

func (*HasKeyByNameResponse) ProtoMessage()

func (*HasKeyByNameResponse) ProtoReflect

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

func (*HasKeyByNameResponse) Reset

func (x *HasKeyByNameResponse) Reset()

func (*HasKeyByNameResponse) String

func (x *HasKeyByNameResponse) String() string

type HelloRequest

type HelloRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,json=Name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*HelloRequest) Descriptor deprecated

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

Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.

func (*HelloRequest) GetName

func (x *HelloRequest) GetName() string

func (*HelloRequest) ProtoMessage

func (*HelloRequest) ProtoMessage()

func (*HelloRequest) ProtoReflect

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

func (*HelloRequest) Reset

func (x *HelloRequest) Reset()

func (*HelloRequest) String

func (x *HelloRequest) String() string

type HelloResponse

type HelloResponse struct {
	Greeting string `protobuf:"bytes,1,opt,name=greeting,json=Greeting,proto3" json:"greeting,omitempty"`
	// contains filtered or unexported fields
}

func (*HelloResponse) Descriptor deprecated

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

Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead.

func (*HelloResponse) GetGreeting

func (x *HelloResponse) GetGreeting() string

func (*HelloResponse) ProtoMessage

func (*HelloResponse) ProtoMessage()

func (*HelloResponse) ProtoReflect

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

func (*HelloResponse) Reset

func (x *HelloResponse) Reset()

func (*HelloResponse) String

func (x *HelloResponse) String() string

type HelloStreamRequest

type HelloStreamRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,json=Name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*HelloStreamRequest) Descriptor deprecated

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

Deprecated: Use HelloStreamRequest.ProtoReflect.Descriptor instead.

func (*HelloStreamRequest) GetName

func (x *HelloStreamRequest) GetName() string

func (*HelloStreamRequest) ProtoMessage

func (*HelloStreamRequest) ProtoMessage()

func (*HelloStreamRequest) ProtoReflect

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

func (*HelloStreamRequest) Reset

func (x *HelloStreamRequest) Reset()

func (*HelloStreamRequest) String

func (x *HelloStreamRequest) String() string

type HelloStreamResponse

type HelloStreamResponse struct {
	Greeting string `protobuf:"bytes,1,opt,name=greeting,json=Greeting,proto3" json:"greeting,omitempty"`
	// contains filtered or unexported fields
}

func (*HelloStreamResponse) Descriptor deprecated

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

Deprecated: Use HelloStreamResponse.ProtoReflect.Descriptor instead.

func (*HelloStreamResponse) GetGreeting

func (x *HelloStreamResponse) GetGreeting() string

func (*HelloStreamResponse) ProtoMessage

func (*HelloStreamResponse) ProtoMessage()

func (*HelloStreamResponse) ProtoReflect

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

func (*HelloStreamResponse) Reset

func (x *HelloStreamResponse) Reset()

func (*HelloStreamResponse) String

func (x *HelloStreamResponse) String() string

type KeyInfo

type KeyInfo struct {

	// 0: local, 1: ledger, 2: offline, 3: multi
	Type    uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	PubKey  []byte `protobuf:"bytes,3,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	Address []byte `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyInfo) Descriptor deprecated

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

Deprecated: Use KeyInfo.ProtoReflect.Descriptor instead.

func (*KeyInfo) GetAddress

func (x *KeyInfo) GetAddress() []byte

func (*KeyInfo) GetName

func (x *KeyInfo) GetName() string

func (*KeyInfo) GetPubKey

func (x *KeyInfo) GetPubKey() []byte

func (*KeyInfo) GetType

func (x *KeyInfo) GetType() uint32

func (*KeyInfo) ProtoMessage

func (*KeyInfo) ProtoMessage()

func (*KeyInfo) ProtoReflect

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

func (*KeyInfo) Reset

func (x *KeyInfo) Reset()

func (*KeyInfo) String

func (x *KeyInfo) String() string

type ListKeyInfoRequest

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

func (*ListKeyInfoRequest) Descriptor deprecated

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

Deprecated: Use ListKeyInfoRequest.ProtoReflect.Descriptor instead.

func (*ListKeyInfoRequest) ProtoMessage

func (*ListKeyInfoRequest) ProtoMessage()

func (*ListKeyInfoRequest) ProtoReflect

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

func (*ListKeyInfoRequest) Reset

func (x *ListKeyInfoRequest) Reset()

func (*ListKeyInfoRequest) String

func (x *ListKeyInfoRequest) String() string

type ListKeyInfoResponse

type ListKeyInfoResponse struct {
	Keys []*KeyInfo `protobuf:"bytes,1,rep,name=keys,json=key_info,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeyInfoResponse) Descriptor deprecated

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

Deprecated: Use ListKeyInfoResponse.ProtoReflect.Descriptor instead.

func (*ListKeyInfoResponse) GetKeys

func (x *ListKeyInfoResponse) GetKeys() []*KeyInfo

func (*ListKeyInfoResponse) ProtoMessage

func (*ListKeyInfoResponse) ProtoMessage()

func (*ListKeyInfoResponse) ProtoReflect

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

func (*ListKeyInfoResponse) Reset

func (x *ListKeyInfoResponse) Reset()

func (*ListKeyInfoResponse) String

func (x *ListKeyInfoResponse) String() string

type MsgCall

type MsgCall struct {

	// Example: "gno.land/r/demo/boards"
	PackagePath string `protobuf:"bytes,1,opt,name=package_path,json=packagePath,proto3" json:"package_path,omitempty"`
	// Example: "CreateReply"
	Fnc string `protobuf:"bytes,2,opt,name=fnc,proto3" json:"fnc,omitempty"`
	// list of arguments specific to the function
	// Example: ["1", "1", "2", "my reply"]
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	Send string   `protobuf:"bytes,4,opt,name=send,proto3" json:"send,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCall) Descriptor deprecated

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

Deprecated: Use MsgCall.ProtoReflect.Descriptor instead.

func (*MsgCall) GetArgs

func (x *MsgCall) GetArgs() []string

func (*MsgCall) GetFnc

func (x *MsgCall) GetFnc() string

func (*MsgCall) GetPackagePath

func (x *MsgCall) GetPackagePath() string

func (*MsgCall) GetSend

func (x *MsgCall) GetSend() string

func (*MsgCall) ProtoMessage

func (*MsgCall) ProtoMessage()

func (*MsgCall) ProtoReflect

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

func (*MsgCall) Reset

func (x *MsgCall) Reset()

func (*MsgCall) String

func (x *MsgCall) String() string

type MsgRun

type MsgRun struct {

	// The code for the script package. Must have main().
	// Example: "package main\nfunc main() {\n  println(\"Hello\")\n}"
	Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// Optional. Example: "1000ugnot"
	Send string `protobuf:"bytes,2,opt,name=send,proto3" json:"send,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgRun) Descriptor deprecated

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

Deprecated: Use MsgRun.ProtoReflect.Descriptor instead.

func (*MsgRun) GetPackage

func (x *MsgRun) GetPackage() string

func (*MsgRun) GetSend

func (x *MsgRun) GetSend() string

func (*MsgRun) ProtoMessage

func (*MsgRun) ProtoMessage()

func (*MsgRun) ProtoReflect

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

func (*MsgRun) Reset

func (x *MsgRun) Reset()

func (*MsgRun) String

func (x *MsgRun) String() string

type MsgSend

type MsgSend struct {

	// Example: The response of calling AddressFromBech32 with
	// "g1juz2yxmdsa6audkp6ep9vfv80c8p5u76e03vvh"
	ToAddress []byte `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	// Example: "1000ugnot"
	Send string `protobuf:"bytes,2,opt,name=send,proto3" json:"send,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgSend) Descriptor deprecated

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

Deprecated: Use MsgSend.ProtoReflect.Descriptor instead.

func (*MsgSend) GetSend

func (x *MsgSend) GetSend() string

func (*MsgSend) GetToAddress

func (x *MsgSend) GetToAddress() []byte

func (*MsgSend) ProtoMessage

func (*MsgSend) ProtoMessage()

func (*MsgSend) ProtoReflect

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

func (*MsgSend) Reset

func (x *MsgSend) Reset()

func (*MsgSend) String

func (x *MsgSend) String() string

type QEvalRequest

type QEvalRequest struct {

	// Example: "gno.land/r/demo/boards"
	PackagePath string `protobuf:"bytes,1,opt,name=package_path,json=packagePath,proto3" json:"package_path,omitempty"`
	// Example: "GetBoardIDFromName(\"testboard\")"
	Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*QEvalRequest) Descriptor deprecated

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

Deprecated: Use QEvalRequest.ProtoReflect.Descriptor instead.

func (*QEvalRequest) GetExpression

func (x *QEvalRequest) GetExpression() string

func (*QEvalRequest) GetPackagePath

func (x *QEvalRequest) GetPackagePath() string

func (*QEvalRequest) ProtoMessage

func (*QEvalRequest) ProtoMessage()

func (*QEvalRequest) ProtoReflect

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

func (*QEvalRequest) Reset

func (x *QEvalRequest) Reset()

func (*QEvalRequest) String

func (x *QEvalRequest) String() string

type QEvalResponse

type QEvalResponse struct {

	// A typed expression like "(1 gno.land/r/demo/boards.BoardID)\n(true bool)"
	Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*QEvalResponse) Descriptor deprecated

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

Deprecated: Use QEvalResponse.ProtoReflect.Descriptor instead.

func (*QEvalResponse) GetResult

func (x *QEvalResponse) GetResult() string

func (*QEvalResponse) ProtoMessage

func (*QEvalResponse) ProtoMessage()

func (*QEvalResponse) ProtoReflect

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

func (*QEvalResponse) Reset

func (x *QEvalResponse) Reset()

func (*QEvalResponse) String

func (x *QEvalResponse) String() string

type QueryAccountRequest

type QueryAccountRequest struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAccountRequest) Descriptor deprecated

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

Deprecated: Use QueryAccountRequest.ProtoReflect.Descriptor instead.

func (*QueryAccountRequest) GetAddress

func (x *QueryAccountRequest) GetAddress() []byte

func (*QueryAccountRequest) ProtoMessage

func (*QueryAccountRequest) ProtoMessage()

func (*QueryAccountRequest) ProtoReflect

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

func (*QueryAccountRequest) Reset

func (x *QueryAccountRequest) Reset()

func (*QueryAccountRequest) String

func (x *QueryAccountRequest) String() string

type QueryAccountResponse

type QueryAccountResponse struct {
	AccountInfo *BaseAccount `protobuf:"bytes,1,opt,name=account_info,json=accountInfo,proto3" json:"account_info,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAccountResponse) Descriptor deprecated

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

Deprecated: Use QueryAccountResponse.ProtoReflect.Descriptor instead.

func (*QueryAccountResponse) GetAccountInfo

func (x *QueryAccountResponse) GetAccountInfo() *BaseAccount

func (*QueryAccountResponse) ProtoMessage

func (*QueryAccountResponse) ProtoMessage()

func (*QueryAccountResponse) ProtoReflect

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

func (*QueryAccountResponse) Reset

func (x *QueryAccountResponse) Reset()

func (*QueryAccountResponse) String

func (x *QueryAccountResponse) String() string

type QueryRequest

type QueryRequest struct {

	// Example: "vm/qrender"
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Example: "gno.land/r/demo/boards\ntestboard"
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRequest) Descriptor deprecated

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

Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.

func (*QueryRequest) GetData

func (x *QueryRequest) GetData() []byte

func (*QueryRequest) GetPath

func (x *QueryRequest) GetPath() string

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) ProtoReflect

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

func (*QueryRequest) Reset

func (x *QueryRequest) Reset()

func (*QueryRequest) String

func (x *QueryRequest) String() string

type QueryResponse

type QueryResponse struct {
	Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryResponse) Descriptor deprecated

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

Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.

func (*QueryResponse) GetResult

func (x *QueryResponse) GetResult() []byte

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) ProtoReflect

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

func (*QueryResponse) Reset

func (x *QueryResponse) Reset()

func (*QueryResponse) String

func (x *QueryResponse) String() string

type RenderRequest

type RenderRequest struct {

	// Example: "gno.land/r/demo/boards"
	PackagePath string `protobuf:"bytes,1,opt,name=package_path,json=packagePath,proto3" json:"package_path,omitempty"`
	// Example: "testboard/1"
	Args string `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*RenderRequest) Descriptor deprecated

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

Deprecated: Use RenderRequest.ProtoReflect.Descriptor instead.

func (*RenderRequest) GetArgs

func (x *RenderRequest) GetArgs() string

func (*RenderRequest) GetPackagePath

func (x *RenderRequest) GetPackagePath() string

func (*RenderRequest) ProtoMessage

func (*RenderRequest) ProtoMessage()

func (*RenderRequest) ProtoReflect

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

func (*RenderRequest) Reset

func (x *RenderRequest) Reset()

func (*RenderRequest) String

func (x *RenderRequest) String() string

type RenderResponse

type RenderResponse struct {

	// The Render function result (typically markdown)
	Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*RenderResponse) Descriptor deprecated

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

Deprecated: Use RenderResponse.ProtoReflect.Descriptor instead.

func (*RenderResponse) GetResult

func (x *RenderResponse) GetResult() string

func (*RenderResponse) ProtoMessage

func (*RenderResponse) ProtoMessage()

func (*RenderResponse) ProtoReflect

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

func (*RenderResponse) Reset

func (x *RenderResponse) Reset()

func (*RenderResponse) String

func (x *RenderResponse) String() string

type RunRequest

type RunRequest struct {
	GasFee    string `protobuf:"bytes,1,opt,name=gas_fee,json=gasFee,proto3" json:"gas_fee,omitempty"`
	GasWanted int64  `protobuf:"zigzag64,2,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
	// Memo is optional
	Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"`
	// list of run operations to make in one transaction
	Msgs []*MsgRun `protobuf:"bytes,4,rep,name=msgs,json=Msgs,proto3" json:"msgs,omitempty"`
	// contains filtered or unexported fields
}

func (*RunRequest) Descriptor deprecated

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

Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.

func (*RunRequest) GetGasFee

func (x *RunRequest) GetGasFee() string

func (*RunRequest) GetGasWanted

func (x *RunRequest) GetGasWanted() int64

func (*RunRequest) GetMemo

func (x *RunRequest) GetMemo() string

func (*RunRequest) GetMsgs

func (x *RunRequest) GetMsgs() []*MsgRun

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) ProtoReflect

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

func (*RunRequest) Reset

func (x *RunRequest) Reset()

func (*RunRequest) String

func (x *RunRequest) String() string

type RunResponse

type RunResponse struct {

	// The "console" output from the run
	Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*RunResponse) Descriptor deprecated

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

Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.

func (*RunResponse) GetResult

func (x *RunResponse) GetResult() string

func (*RunResponse) ProtoMessage

func (*RunResponse) ProtoMessage()

func (*RunResponse) ProtoReflect

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

func (*RunResponse) Reset

func (x *RunResponse) Reset()

func (*RunResponse) String

func (x *RunResponse) String() string

type SelectAccountRequest

type SelectAccountRequest struct {
	NameOrBech32 string `protobuf:"bytes,1,opt,name=name_or_bech32,json=nameOrBech32,proto3" json:"name_or_bech32,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectAccountRequest) Descriptor deprecated

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

Deprecated: Use SelectAccountRequest.ProtoReflect.Descriptor instead.

func (*SelectAccountRequest) GetNameOrBech32

func (x *SelectAccountRequest) GetNameOrBech32() string

func (*SelectAccountRequest) ProtoMessage

func (*SelectAccountRequest) ProtoMessage()

func (*SelectAccountRequest) ProtoReflect

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

func (*SelectAccountRequest) Reset

func (x *SelectAccountRequest) Reset()

func (*SelectAccountRequest) String

func (x *SelectAccountRequest) String() string

type SelectAccountResponse

type SelectAccountResponse struct {
	Key *KeyInfo `protobuf:"bytes,1,opt,name=key,json=key_info,proto3" json:"key,omitempty"`
	// True if the password has been set. If false, then call SetPassword.
	HasPassword bool `protobuf:"varint,2,opt,name=has_password,json=hasPassword,proto3" json:"has_password,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectAccountResponse) Descriptor deprecated

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

Deprecated: Use SelectAccountResponse.ProtoReflect.Descriptor instead.

func (*SelectAccountResponse) GetHasPassword

func (x *SelectAccountResponse) GetHasPassword() bool

func (*SelectAccountResponse) GetKey

func (x *SelectAccountResponse) GetKey() *KeyInfo

func (*SelectAccountResponse) ProtoMessage

func (*SelectAccountResponse) ProtoMessage()

func (*SelectAccountResponse) ProtoReflect

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

func (*SelectAccountResponse) Reset

func (x *SelectAccountResponse) Reset()

func (*SelectAccountResponse) String

func (x *SelectAccountResponse) String() string

type SendRequest

type SendRequest struct {
	GasFee    string `protobuf:"bytes,1,opt,name=gas_fee,json=gasFee,proto3" json:"gas_fee,omitempty"`
	GasWanted int64  `protobuf:"zigzag64,2,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
	// Memo is optional
	Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"`
	// list of send operations to make in one transaction
	Msgs []*MsgSend `protobuf:"bytes,4,rep,name=msgs,json=Msgs,proto3" json:"msgs,omitempty"`
	// contains filtered or unexported fields
}

func (*SendRequest) Descriptor deprecated

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

Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.

func (*SendRequest) GetGasFee

func (x *SendRequest) GetGasFee() string

func (*SendRequest) GetGasWanted

func (x *SendRequest) GetGasWanted() int64

func (*SendRequest) GetMemo

func (x *SendRequest) GetMemo() string

func (*SendRequest) GetMsgs

func (x *SendRequest) GetMsgs() []*MsgSend

func (*SendRequest) ProtoMessage

func (*SendRequest) ProtoMessage()

func (*SendRequest) ProtoReflect

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

func (*SendRequest) Reset

func (x *SendRequest) Reset()

func (*SendRequest) String

func (x *SendRequest) String() string

type SendResponse

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

func (*SendResponse) Descriptor deprecated

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

Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.

func (*SendResponse) ProtoMessage

func (*SendResponse) ProtoMessage()

func (*SendResponse) ProtoReflect

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

func (*SendResponse) Reset

func (x *SendResponse) Reset()

func (*SendResponse) String

func (x *SendResponse) String() string

type SetChainIDRequest

type SetChainIDRequest struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetChainIDRequest) Descriptor deprecated

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

Deprecated: Use SetChainIDRequest.ProtoReflect.Descriptor instead.

func (*SetChainIDRequest) GetChainId

func (x *SetChainIDRequest) GetChainId() string

func (*SetChainIDRequest) ProtoMessage

func (*SetChainIDRequest) ProtoMessage()

func (*SetChainIDRequest) ProtoReflect

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

func (*SetChainIDRequest) Reset

func (x *SetChainIDRequest) Reset()

func (*SetChainIDRequest) String

func (x *SetChainIDRequest) String() string

type SetChainIDResponse

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

func (*SetChainIDResponse) Descriptor deprecated

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

Deprecated: Use SetChainIDResponse.ProtoReflect.Descriptor instead.

func (*SetChainIDResponse) ProtoMessage

func (*SetChainIDResponse) ProtoMessage()

func (*SetChainIDResponse) ProtoReflect

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

func (*SetChainIDResponse) Reset

func (x *SetChainIDResponse) Reset()

func (*SetChainIDResponse) String

func (x *SetChainIDResponse) String() string

type SetPasswordRequest

type SetPasswordRequest struct {
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPasswordRequest) Descriptor deprecated

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

Deprecated: Use SetPasswordRequest.ProtoReflect.Descriptor instead.

func (*SetPasswordRequest) GetPassword

func (x *SetPasswordRequest) GetPassword() string

func (*SetPasswordRequest) ProtoMessage

func (*SetPasswordRequest) ProtoMessage()

func (*SetPasswordRequest) ProtoReflect

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

func (*SetPasswordRequest) Reset

func (x *SetPasswordRequest) Reset()

func (*SetPasswordRequest) String

func (x *SetPasswordRequest) String() string

type SetPasswordResponse

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

func (*SetPasswordResponse) Descriptor deprecated

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

Deprecated: Use SetPasswordResponse.ProtoReflect.Descriptor instead.

func (*SetPasswordResponse) ProtoMessage

func (*SetPasswordResponse) ProtoMessage()

func (*SetPasswordResponse) ProtoReflect

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

func (*SetPasswordResponse) Reset

func (x *SetPasswordResponse) Reset()

func (*SetPasswordResponse) String

func (x *SetPasswordResponse) String() string

type SetRemoteRequest

type SetRemoteRequest struct {
	Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"`
	// contains filtered or unexported fields
}

messages

func (*SetRemoteRequest) Descriptor deprecated

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

Deprecated: Use SetRemoteRequest.ProtoReflect.Descriptor instead.

func (*SetRemoteRequest) GetRemote

func (x *SetRemoteRequest) GetRemote() string

func (*SetRemoteRequest) ProtoMessage

func (*SetRemoteRequest) ProtoMessage()

func (*SetRemoteRequest) ProtoReflect

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

func (*SetRemoteRequest) Reset

func (x *SetRemoteRequest) Reset()

func (*SetRemoteRequest) String

func (x *SetRemoteRequest) String() string

type SetRemoteResponse

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

func (*SetRemoteResponse) Descriptor deprecated

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

Deprecated: Use SetRemoteResponse.ProtoReflect.Descriptor instead.

func (*SetRemoteResponse) ProtoMessage

func (*SetRemoteResponse) ProtoMessage()

func (*SetRemoteResponse) ProtoReflect

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

func (*SetRemoteResponse) Reset

func (x *SetRemoteResponse) Reset()

func (*SetRemoteResponse) String

func (x *SetRemoteResponse) String() string

type WithCode

type WithCode interface {
	error
	Code() ErrCode
	Grpc() error
}

WithCode defines an error that can be used by helpers of this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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