hdwallet

package
v0.0.24-wip-1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_hdwallet_api_proto protoreflect.FileDescriptor
View Source
var HdWalletApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hdwallet_api.HdWalletApi",
	HandlerType: (*HdWalletApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenerateMnemonic",
			Handler:    _HdWalletApi_GenerateMnemonic_Handler,
		},
		{
			MethodName: "EncryptMnemonic",
			Handler:    _HdWalletApi_EncryptMnemonic_Handler,
		},
		{
			MethodName: "ValidateMnemonic",
			Handler:    _HdWalletApi_ValidateMnemonic_Handler,
		},
		{
			MethodName: "LoadMnemonic",
			Handler:    _HdWalletApi_LoadMnemonic_Handler,
		},
		{
			MethodName: "UnLoadMnemonic",
			Handler:    _HdWalletApi_UnLoadMnemonic_Handler,
		},
		{
			MethodName: "UnLoadMultipleMnemonics",
			Handler:    _HdWalletApi_UnLoadMultipleMnemonics_Handler,
		},
		{
			MethodName: "GetAccount",
			Handler:    _HdWalletApi_GetAccount_Handler,
		},
		{
			MethodName: "GetMultipleAccounts",
			Handler:    _HdWalletApi_GetMultipleAccounts_Handler,
		},
		{
			MethodName: "LoadAccount",
			Handler:    _HdWalletApi_LoadAccount_Handler,
		},
		{
			MethodName: "SignData",
			Handler:    _HdWalletApi_SignData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "hdwallet_api.proto",
}

HdWalletApi_ServiceDesc is the grpc.ServiceDesc for HdWalletApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHdWalletApiServer

func RegisterHdWalletApiServer(s grpc.ServiceRegistrar, srv HdWalletApiServer)

Types

type Client

type Client struct {
	HdWalletApiClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg hdWalletClientConfig) *Client

nolint:revive // fixme

func (*Client) Dial

func (s *Client) Dial(ctx context.Context) error

func (*Client) Init

func (s *Client) Init(ctx context.Context) error

Init bc-wallet-tron-hdwallet GRPC-client service nolint:revive // fixme (autofix)

type EncryptMnemonicRequest

type EncryptMnemonicRequest struct {
	MnemonicIdentity *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	MnemonicData     []byte                         `protobuf:"bytes,2,opt,name=MnemonicData,proto3" json:"MnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*EncryptMnemonicRequest) Descriptor deprecated

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

Deprecated: Use EncryptMnemonicRequest.ProtoReflect.Descriptor instead.

func (*EncryptMnemonicRequest) GetMnemonicData

func (x *EncryptMnemonicRequest) GetMnemonicData() []byte

func (*EncryptMnemonicRequest) GetMnemonicIdentity

func (x *EncryptMnemonicRequest) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*EncryptMnemonicRequest) ProtoMessage

func (*EncryptMnemonicRequest) ProtoMessage()

func (*EncryptMnemonicRequest) ProtoReflect

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

func (*EncryptMnemonicRequest) Reset

func (x *EncryptMnemonicRequest) Reset()

func (*EncryptMnemonicRequest) String

func (x *EncryptMnemonicRequest) String() string

type EncryptMnemonicResponse

type EncryptMnemonicResponse struct {
	MnemonicIdentity      *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	EncryptedMnemonicData []byte                         `protobuf:"bytes,2,opt,name=EncryptedMnemonicData,proto3" json:"EncryptedMnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*EncryptMnemonicResponse) Descriptor deprecated

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

Deprecated: Use EncryptMnemonicResponse.ProtoReflect.Descriptor instead.

func (*EncryptMnemonicResponse) GetEncryptedMnemonicData

func (x *EncryptMnemonicResponse) GetEncryptedMnemonicData() []byte

func (*EncryptMnemonicResponse) GetMnemonicIdentity

func (x *EncryptMnemonicResponse) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*EncryptMnemonicResponse) ProtoMessage

func (*EncryptMnemonicResponse) ProtoMessage()

func (*EncryptMnemonicResponse) ProtoReflect

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

func (*EncryptMnemonicResponse) Reset

func (x *EncryptMnemonicResponse) Reset()

func (*EncryptMnemonicResponse) String

func (x *EncryptMnemonicResponse) String() string

type GenerateMnemonicRequest

type GenerateMnemonicRequest struct {
	MnemonicIdentity *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateMnemonicRequest) Descriptor deprecated

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

Deprecated: Use GenerateMnemonicRequest.ProtoReflect.Descriptor instead.

func (*GenerateMnemonicRequest) GetMnemonicIdentity

func (x *GenerateMnemonicRequest) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*GenerateMnemonicRequest) ProtoMessage

func (*GenerateMnemonicRequest) ProtoMessage()

func (*GenerateMnemonicRequest) ProtoReflect

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

func (*GenerateMnemonicRequest) Reset

func (x *GenerateMnemonicRequest) Reset()

func (*GenerateMnemonicRequest) String

func (x *GenerateMnemonicRequest) String() string

type GenerateMnemonicResponse

type GenerateMnemonicResponse struct {
	MnemonicIdentity      *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	EncryptedMnemonicData []byte                         `protobuf:"bytes,2,opt,name=EncryptedMnemonicData,proto3" json:"EncryptedMnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateMnemonicResponse) Descriptor deprecated

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

Deprecated: Use GenerateMnemonicResponse.ProtoReflect.Descriptor instead.

func (*GenerateMnemonicResponse) GetEncryptedMnemonicData

func (x *GenerateMnemonicResponse) GetEncryptedMnemonicData() []byte

func (*GenerateMnemonicResponse) GetMnemonicIdentity

func (x *GenerateMnemonicResponse) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*GenerateMnemonicResponse) ProtoMessage

func (*GenerateMnemonicResponse) ProtoMessage()

func (*GenerateMnemonicResponse) ProtoReflect

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

func (*GenerateMnemonicResponse) Reset

func (x *GenerateMnemonicResponse) Reset()

func (*GenerateMnemonicResponse) String

func (x *GenerateMnemonicResponse) String() string

type GetAccountRequest added in v0.0.25

type GetAccountRequest struct {
	MnemonicWalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicWalletIdentifier,proto3" json:"MnemonicWalletIdentifier,omitempty"`
	AccountIdentifier        *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountRequest) Descriptor deprecated added in v0.0.25

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

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetAccountIdentifier added in v0.0.25

func (x *GetAccountRequest) GetAccountIdentifier() *common.AccountIdentity

func (*GetAccountRequest) GetMnemonicWalletIdentifier

func (x *GetAccountRequest) GetMnemonicWalletIdentifier() *common.MnemonicWalletIdentity

func (*GetAccountRequest) ProtoMessage added in v0.0.25

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect added in v0.0.25

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

func (*GetAccountRequest) Reset added in v0.0.25

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String added in v0.0.25

func (x *GetAccountRequest) String() string

type GetAccountResponse added in v0.0.25

type GetAccountResponse struct {
	MnemonicWalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicWalletIdentifier,proto3" json:"MnemonicWalletIdentifier,omitempty"`
	AccountIdentifier        *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountResponse) Descriptor deprecated added in v0.0.25

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

Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.

func (*GetAccountResponse) GetAccountIdentifier added in v0.0.25

func (x *GetAccountResponse) GetAccountIdentifier() *common.AccountIdentity

func (*GetAccountResponse) GetMnemonicWalletIdentifier

func (x *GetAccountResponse) GetMnemonicWalletIdentifier() *common.MnemonicWalletIdentity

func (*GetAccountResponse) ProtoMessage added in v0.0.25

func (*GetAccountResponse) ProtoMessage()

func (*GetAccountResponse) ProtoReflect added in v0.0.25

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

func (*GetAccountResponse) Reset added in v0.0.25

func (x *GetAccountResponse) Reset()

func (*GetAccountResponse) String added in v0.0.25

func (x *GetAccountResponse) String() string

type GetMultipleAccountRequest added in v0.0.25

type GetMultipleAccountRequest struct {
	MnemonicWalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicWalletIdentifier,proto3" json:"MnemonicWalletIdentifier,omitempty"`
	Parameters               *anypb.Any                     `protobuf:"bytes,2,opt,name=Parameters,proto3" json:"Parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMultipleAccountRequest) Descriptor deprecated added in v0.0.25

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

Deprecated: Use GetMultipleAccountRequest.ProtoReflect.Descriptor instead.

func (*GetMultipleAccountRequest) GetMnemonicWalletIdentifier

func (x *GetMultipleAccountRequest) GetMnemonicWalletIdentifier() *common.MnemonicWalletIdentity

func (*GetMultipleAccountRequest) GetParameters added in v0.0.25

func (x *GetMultipleAccountRequest) GetParameters() *anypb.Any

func (*GetMultipleAccountRequest) ProtoMessage added in v0.0.25

func (*GetMultipleAccountRequest) ProtoMessage()

func (*GetMultipleAccountRequest) ProtoReflect added in v0.0.25

func (*GetMultipleAccountRequest) Reset added in v0.0.25

func (x *GetMultipleAccountRequest) Reset()

func (*GetMultipleAccountRequest) String added in v0.0.25

func (x *GetMultipleAccountRequest) String() string

type GetMultipleAccountResponse added in v0.0.25

type GetMultipleAccountResponse struct {
	MnemonicWalletIdentifier *common.MnemonicWalletIdentity      `protobuf:"bytes,1,opt,name=MnemonicWalletIdentifier,proto3" json:"MnemonicWalletIdentifier,omitempty"`
	AddressIdentitiesCount   uint64                              `protobuf:"varint,3,opt,name=AddressIdentitiesCount,proto3" json:"AddressIdentitiesCount,omitempty"`
	AddressIdentities        []*common.DerivationAddressIdentity `protobuf:"bytes,4,rep,name=AddressIdentities,proto3" json:"AddressIdentities,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMultipleAccountResponse) Descriptor deprecated added in v0.0.25

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

Deprecated: Use GetMultipleAccountResponse.ProtoReflect.Descriptor instead.

func (*GetMultipleAccountResponse) GetAddressIdentities

func (x *GetMultipleAccountResponse) GetAddressIdentities() []*common.DerivationAddressIdentity

func (*GetMultipleAccountResponse) GetAddressIdentitiesCount

func (x *GetMultipleAccountResponse) GetAddressIdentitiesCount() uint64

func (*GetMultipleAccountResponse) GetMnemonicWalletIdentifier

func (x *GetMultipleAccountResponse) GetMnemonicWalletIdentifier() *common.MnemonicWalletIdentity

func (*GetMultipleAccountResponse) ProtoMessage added in v0.0.25

func (*GetMultipleAccountResponse) ProtoMessage()

func (*GetMultipleAccountResponse) ProtoReflect added in v0.0.25

func (*GetMultipleAccountResponse) Reset added in v0.0.25

func (x *GetMultipleAccountResponse) Reset()

func (*GetMultipleAccountResponse) String added in v0.0.25

func (x *GetMultipleAccountResponse) String() string

type HdWalletApiClient

HdWalletApiClient is the client API for HdWalletApi service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type HdWalletApiServer

HdWalletApiServer is the server API for HdWalletApi service. All implementations must embed UnimplementedHdWalletApiServer for forward compatibility

type HdWalletClientConfig

type HdWalletClientConfig struct {
	ConnectionPath string `envconfig:"HDWALLET_UNIX_SOCKET_PATH" default:"unix:/tmp/hdwallet.sock"`
}

func (*HdWalletClientConfig) GetConnectionPath

func (c *HdWalletClientConfig) GetConnectionPath() string

func (*HdWalletClientConfig) Prepare

func (c *HdWalletClientConfig) Prepare() error

func (*HdWalletClientConfig) PrepareWith

func (c *HdWalletClientConfig) PrepareWith(cfgSrvList ...interface{}) error

type LoadAccountRequest added in v0.0.25

type LoadAccountRequest struct {
	MnemonicWalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicWalletIdentifier,proto3" json:"MnemonicWalletIdentifier,omitempty"`
	AccountIdentifier        *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadAccountRequest) Descriptor deprecated added in v0.0.25

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

Deprecated: Use LoadAccountRequest.ProtoReflect.Descriptor instead.

func (*LoadAccountRequest) GetAccountIdentifier added in v0.0.25

func (x *LoadAccountRequest) GetAccountIdentifier() *common.AccountIdentity

func (*LoadAccountRequest) GetMnemonicWalletIdentifier

func (x *LoadAccountRequest) GetMnemonicWalletIdentifier() *common.MnemonicWalletIdentity

func (*LoadAccountRequest) ProtoMessage added in v0.0.25

func (*LoadAccountRequest) ProtoMessage()

func (*LoadAccountRequest) ProtoReflect added in v0.0.25

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

func (*LoadAccountRequest) Reset added in v0.0.25

func (x *LoadAccountRequest) Reset()

func (*LoadAccountRequest) String added in v0.0.25

func (x *LoadAccountRequest) String() string

type LoadAccountsResponse added in v0.0.25

type LoadAccountsResponse struct {
	MnemonicWalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicWalletIdentifier,proto3" json:"MnemonicWalletIdentifier,omitempty"`
	AccountIdentifier        *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadAccountsResponse) Descriptor deprecated added in v0.0.25

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

Deprecated: Use LoadAccountsResponse.ProtoReflect.Descriptor instead.

func (*LoadAccountsResponse) GetAccountIdentifier added in v0.0.25

func (x *LoadAccountsResponse) GetAccountIdentifier() *common.AccountIdentity

func (*LoadAccountsResponse) GetMnemonicWalletIdentifier

func (x *LoadAccountsResponse) GetMnemonicWalletIdentifier() *common.MnemonicWalletIdentity

func (*LoadAccountsResponse) ProtoMessage added in v0.0.25

func (*LoadAccountsResponse) ProtoMessage()

func (*LoadAccountsResponse) ProtoReflect added in v0.0.25

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

func (*LoadAccountsResponse) Reset added in v0.0.25

func (x *LoadAccountsResponse) Reset()

func (*LoadAccountsResponse) String added in v0.0.25

func (x *LoadAccountsResponse) String() string

type LoadMnemonicRequest

type LoadMnemonicRequest struct {
	MnemonicIdentity      *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	TimeToLive            uint64                         `protobuf:"varint,2,opt,name=TimeToLive,proto3" json:"TimeToLive,omitempty"`
	EncryptedMnemonicData []byte                         `protobuf:"bytes,3,opt,name=EncryptedMnemonicData,proto3" json:"EncryptedMnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadMnemonicRequest) Descriptor deprecated

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

Deprecated: Use LoadMnemonicRequest.ProtoReflect.Descriptor instead.

func (*LoadMnemonicRequest) GetEncryptedMnemonicData

func (x *LoadMnemonicRequest) GetEncryptedMnemonicData() []byte

func (*LoadMnemonicRequest) GetMnemonicIdentity

func (x *LoadMnemonicRequest) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*LoadMnemonicRequest) GetTimeToLive

func (x *LoadMnemonicRequest) GetTimeToLive() uint64

func (*LoadMnemonicRequest) ProtoMessage

func (*LoadMnemonicRequest) ProtoMessage()

func (*LoadMnemonicRequest) ProtoReflect

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

func (*LoadMnemonicRequest) Reset

func (x *LoadMnemonicRequest) Reset()

func (*LoadMnemonicRequest) String

func (x *LoadMnemonicRequest) String() string

type LoadMnemonicResponse

type LoadMnemonicResponse struct {
	MnemonicIdentity *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadMnemonicResponse) Descriptor deprecated

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

Deprecated: Use LoadMnemonicResponse.ProtoReflect.Descriptor instead.

func (*LoadMnemonicResponse) GetMnemonicIdentity

func (x *LoadMnemonicResponse) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*LoadMnemonicResponse) ProtoMessage

func (*LoadMnemonicResponse) ProtoMessage()

func (*LoadMnemonicResponse) ProtoReflect

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

func (*LoadMnemonicResponse) Reset

func (x *LoadMnemonicResponse) Reset()

func (*LoadMnemonicResponse) String

func (x *LoadMnemonicResponse) String() string

type SignDataRequest

type SignDataRequest struct {
	MnemonicWalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicWalletIdentifier,proto3" json:"MnemonicWalletIdentifier,omitempty"`
	AccountIdentifier        *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	DataForSign              []byte                         `protobuf:"bytes,3,opt,name=DataForSign,proto3" json:"DataForSign,omitempty"`
	// contains filtered or unexported fields
}

func (*SignDataRequest) Descriptor deprecated

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

Deprecated: Use SignDataRequest.ProtoReflect.Descriptor instead.

func (*SignDataRequest) GetAccountIdentifier added in v0.0.25

func (x *SignDataRequest) GetAccountIdentifier() *common.AccountIdentity

func (*SignDataRequest) GetDataForSign

func (x *SignDataRequest) GetDataForSign() []byte

func (*SignDataRequest) GetMnemonicWalletIdentifier

func (x *SignDataRequest) GetMnemonicWalletIdentifier() *common.MnemonicWalletIdentity

func (*SignDataRequest) ProtoMessage

func (*SignDataRequest) ProtoMessage()

func (*SignDataRequest) ProtoReflect

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

func (*SignDataRequest) Reset

func (x *SignDataRequest) Reset()

func (*SignDataRequest) String

func (x *SignDataRequest) String() string

type SignDataResponse

type SignDataResponse struct {
	MnemonicWalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicWalletIdentifier,proto3" json:"MnemonicWalletIdentifier,omitempty"`
	AccountIdentifier        *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	SignedData               []byte                         `protobuf:"bytes,3,opt,name=SignedData,proto3" json:"SignedData,omitempty"`
	// contains filtered or unexported fields
}

func (*SignDataResponse) Descriptor deprecated

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

Deprecated: Use SignDataResponse.ProtoReflect.Descriptor instead.

func (*SignDataResponse) GetAccountIdentifier added in v0.0.25

func (x *SignDataResponse) GetAccountIdentifier() *common.AccountIdentity

func (*SignDataResponse) GetMnemonicWalletIdentifier

func (x *SignDataResponse) GetMnemonicWalletIdentifier() *common.MnemonicWalletIdentity

func (*SignDataResponse) GetSignedData

func (x *SignDataResponse) GetSignedData() []byte

func (*SignDataResponse) ProtoMessage

func (*SignDataResponse) ProtoMessage()

func (*SignDataResponse) ProtoReflect

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

func (*SignDataResponse) Reset

func (x *SignDataResponse) Reset()

func (*SignDataResponse) String

func (x *SignDataResponse) String() string

type UnLoadMnemonicRequest

type UnLoadMnemonicRequest struct {
	MnemonicIdentity *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	// contains filtered or unexported fields
}

func (*UnLoadMnemonicRequest) Descriptor deprecated

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

Deprecated: Use UnLoadMnemonicRequest.ProtoReflect.Descriptor instead.

func (*UnLoadMnemonicRequest) GetMnemonicIdentity

func (x *UnLoadMnemonicRequest) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*UnLoadMnemonicRequest) ProtoMessage

func (*UnLoadMnemonicRequest) ProtoMessage()

func (*UnLoadMnemonicRequest) ProtoReflect

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

func (*UnLoadMnemonicRequest) Reset

func (x *UnLoadMnemonicRequest) Reset()

func (*UnLoadMnemonicRequest) String

func (x *UnLoadMnemonicRequest) String() string

type UnLoadMnemonicResponse

type UnLoadMnemonicResponse struct {
	MnemonicIdentity *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	// contains filtered or unexported fields
}

func (*UnLoadMnemonicResponse) Descriptor deprecated

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

Deprecated: Use UnLoadMnemonicResponse.ProtoReflect.Descriptor instead.

func (*UnLoadMnemonicResponse) GetMnemonicIdentity

func (x *UnLoadMnemonicResponse) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*UnLoadMnemonicResponse) ProtoMessage

func (*UnLoadMnemonicResponse) ProtoMessage()

func (*UnLoadMnemonicResponse) ProtoReflect

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

func (*UnLoadMnemonicResponse) Reset

func (x *UnLoadMnemonicResponse) Reset()

func (*UnLoadMnemonicResponse) String

func (x *UnLoadMnemonicResponse) String() string

type UnLoadMultipleMnemonicsRequest

type UnLoadMultipleMnemonicsRequest struct {
	MnemonicIdentity []*common.MnemonicWalletIdentity `protobuf:"bytes,1,rep,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	// contains filtered or unexported fields
}

func (*UnLoadMultipleMnemonicsRequest) Descriptor deprecated

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

Deprecated: Use UnLoadMultipleMnemonicsRequest.ProtoReflect.Descriptor instead.

func (*UnLoadMultipleMnemonicsRequest) GetMnemonicIdentity

func (x *UnLoadMultipleMnemonicsRequest) GetMnemonicIdentity() []*common.MnemonicWalletIdentity

func (*UnLoadMultipleMnemonicsRequest) ProtoMessage

func (*UnLoadMultipleMnemonicsRequest) ProtoMessage()

func (*UnLoadMultipleMnemonicsRequest) ProtoReflect

func (*UnLoadMultipleMnemonicsRequest) Reset

func (x *UnLoadMultipleMnemonicsRequest) Reset()

func (*UnLoadMultipleMnemonicsRequest) String

type UnLoadMultipleMnemonicsResponse

type UnLoadMultipleMnemonicsResponse struct {
	MnemonicIdentity []*common.MnemonicWalletIdentity `protobuf:"bytes,1,rep,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	// contains filtered or unexported fields
}

func (*UnLoadMultipleMnemonicsResponse) Descriptor deprecated

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

Deprecated: Use UnLoadMultipleMnemonicsResponse.ProtoReflect.Descriptor instead.

func (*UnLoadMultipleMnemonicsResponse) GetMnemonicIdentity

func (*UnLoadMultipleMnemonicsResponse) ProtoMessage

func (*UnLoadMultipleMnemonicsResponse) ProtoMessage()

func (*UnLoadMultipleMnemonicsResponse) ProtoReflect

func (*UnLoadMultipleMnemonicsResponse) Reset

func (*UnLoadMultipleMnemonicsResponse) String

type UnimplementedHdWalletApiServer

type UnimplementedHdWalletApiServer struct {
}

UnimplementedHdWalletApiServer must be embedded to have forward compatible implementations.

func (UnimplementedHdWalletApiServer) EncryptMnemonic

func (UnimplementedHdWalletApiServer) GenerateMnemonic

func (UnimplementedHdWalletApiServer) GetAccount added in v0.0.25

func (UnimplementedHdWalletApiServer) GetMultipleAccounts added in v0.0.25

func (UnimplementedHdWalletApiServer) LoadAccount added in v0.0.25

func (UnimplementedHdWalletApiServer) LoadMnemonic

func (UnimplementedHdWalletApiServer) SignData

func (UnimplementedHdWalletApiServer) UnLoadMnemonic

func (UnimplementedHdWalletApiServer) ValidateMnemonic

type UnsafeHdWalletApiServer

type UnsafeHdWalletApiServer interface {
	// contains filtered or unexported methods
}

UnsafeHdWalletApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HdWalletApiServer will result in compilation errors.

type ValidateMnemonicRequest

type ValidateMnemonicRequest struct {
	MnemonicIdentity *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	MnemonicData     []byte                         `protobuf:"bytes,2,opt,name=MnemonicData,proto3" json:"MnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateMnemonicRequest) Descriptor deprecated

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

Deprecated: Use ValidateMnemonicRequest.ProtoReflect.Descriptor instead.

func (*ValidateMnemonicRequest) GetMnemonicData

func (x *ValidateMnemonicRequest) GetMnemonicData() []byte

func (*ValidateMnemonicRequest) GetMnemonicIdentity

func (x *ValidateMnemonicRequest) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*ValidateMnemonicRequest) ProtoMessage

func (*ValidateMnemonicRequest) ProtoMessage()

func (*ValidateMnemonicRequest) ProtoReflect

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

func (*ValidateMnemonicRequest) Reset

func (x *ValidateMnemonicRequest) Reset()

func (*ValidateMnemonicRequest) String

func (x *ValidateMnemonicRequest) String() string

type ValidateMnemonicResponse

type ValidateMnemonicResponse struct {
	MnemonicIdentity *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=MnemonicIdentity,proto3" json:"MnemonicIdentity,omitempty"`
	IsValid          bool                           `protobuf:"varint,2,opt,name=IsValid,proto3" json:"IsValid,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateMnemonicResponse) Descriptor deprecated

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

Deprecated: Use ValidateMnemonicResponse.ProtoReflect.Descriptor instead.

func (*ValidateMnemonicResponse) GetIsValid

func (x *ValidateMnemonicResponse) GetIsValid() bool

func (*ValidateMnemonicResponse) GetMnemonicIdentity

func (x *ValidateMnemonicResponse) GetMnemonicIdentity() *common.MnemonicWalletIdentity

func (*ValidateMnemonicResponse) ProtoMessage

func (*ValidateMnemonicResponse) ProtoMessage()

func (*ValidateMnemonicResponse) ProtoReflect

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

func (*ValidateMnemonicResponse) Reset

func (x *ValidateMnemonicResponse) Reset()

func (*ValidateMnemonicResponse) String

func (x *ValidateMnemonicResponse) String() string

Jump to

Keyboard shortcuts

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