dal_wallet_go

package
v0.0.0-...-48d27f4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BusinessMiddleWireServices_BusinessRegister_FullMethodName            = "/syncs.BusinessMiddleWireServices/businessRegister"
	BusinessMiddleWireServices_ExportAddressesByPublicKeys_FullMethodName = "/syncs.BusinessMiddleWireServices/exportAddressesByPublicKeys"
	BusinessMiddleWireServices_BuildUnSignTransaction_FullMethodName      = "/syncs.BusinessMiddleWireServices/buildUnSignTransaction"
	BusinessMiddleWireServices_BuildSignedTransaction_FullMethodName      = "/syncs.BusinessMiddleWireServices/buildSignedTransaction"
	BusinessMiddleWireServices_SubmitWithdraw_FullMethodName              = "/syncs.BusinessMiddleWireServices/submitWithdraw"
)

Variables

View Source
var (
	ReturnCode_name = map[int32]string{
		0: "ERROR",
		1: "SUCCESS",
	}
	ReturnCode_value = map[string]int32{
		"ERROR":   0,
		"SUCCESS": 1,
	}
)

Enum value maps for ReturnCode.

View Source
var BusinessMiddleWireServices_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "syncs.BusinessMiddleWireServices",
	HandlerType: (*BusinessMiddleWireServicesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "businessRegister",
			Handler:    _BusinessMiddleWireServices_BusinessRegister_Handler,
		},
		{
			MethodName: "exportAddressesByPublicKeys",
			Handler:    _BusinessMiddleWireServices_ExportAddressesByPublicKeys_Handler,
		},
		{
			MethodName: "buildUnSignTransaction",
			Handler:    _BusinessMiddleWireServices_BuildUnSignTransaction_Handler,
		},
		{
			MethodName: "buildSignedTransaction",
			Handler:    _BusinessMiddleWireServices_BuildSignedTransaction_Handler,
		},
		{
			MethodName: "submitWithdraw",
			Handler:    _BusinessMiddleWireServices_SubmitWithdraw_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "protobuf/dapplink-wallet.proto",
}

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

View Source
var File_protobuf_dapplink_wallet_proto protoreflect.FileDescriptor

Functions

func RegisterBusinessMiddleWireServicesServer

func RegisterBusinessMiddleWireServicesServer(s grpc.ServiceRegistrar, srv BusinessMiddleWireServicesServer)

Types

type Address

type Address struct {
	Type    uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddress

func (x *Address) GetAddress() string

func (*Address) GetType

func (x *Address) GetType() uint32

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type BusinessMiddleWireServicesClient

type BusinessMiddleWireServicesClient interface {
	BusinessRegister(ctx context.Context, in *BusinessRegisterRequest, opts ...grpc.CallOption) (*BusinessRegisterResponse, error)
	ExportAddressesByPublicKeys(ctx context.Context, in *ExportAddressesRequest, opts ...grpc.CallOption) (*ExportAddressesResponse, error)
	BuildUnSignTransaction(ctx context.Context, in *UnSignWithdrawTransactionRequest, opts ...grpc.CallOption) (*UnSignWithdrawTransactionResponse, error)
	BuildSignedTransaction(ctx context.Context, in *SignedWithdrawTransactionRequest, opts ...grpc.CallOption) (*SignedWithdrawTransactionResponse, error)
	// --提交提现交易--
	SubmitWithdraw(ctx context.Context, in *SubmitWithdrawRequest, opts ...grpc.CallOption) (*SubmitWithdrawResponse, error)
}

BusinessMiddleWireServicesClient is the client API for BusinessMiddleWireServices 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 BusinessMiddleWireServicesServer

type BusinessMiddleWireServicesServer interface {
	BusinessRegister(context.Context, *BusinessRegisterRequest) (*BusinessRegisterResponse, error)
	ExportAddressesByPublicKeys(context.Context, *ExportAddressesRequest) (*ExportAddressesResponse, error)
	BuildUnSignTransaction(context.Context, *UnSignWithdrawTransactionRequest) (*UnSignWithdrawTransactionResponse, error)
	BuildSignedTransaction(context.Context, *SignedWithdrawTransactionRequest) (*SignedWithdrawTransactionResponse, error)
	// --提交提现交易--
	SubmitWithdraw(context.Context, *SubmitWithdrawRequest) (*SubmitWithdrawResponse, error)
}

BusinessMiddleWireServicesServer is the server API for BusinessMiddleWireServices service. All implementations should embed UnimplementedBusinessMiddleWireServicesServer for forward compatibility

type BusinessRegisterRequest

type BusinessRegisterRequest struct {
	ConsumerToken string `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	RequestId     string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	NotifyUrl     string `protobuf:"bytes,3,opt,name=notify_url,json=notifyUrl,proto3" json:"notify_url,omitempty"`
	// contains filtered or unexported fields
}

func (*BusinessRegisterRequest) Descriptor deprecated

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

Deprecated: Use BusinessRegisterRequest.ProtoReflect.Descriptor instead.

func (*BusinessRegisterRequest) GetConsumerToken

func (x *BusinessRegisterRequest) GetConsumerToken() string

func (*BusinessRegisterRequest) GetNotifyUrl

func (x *BusinessRegisterRequest) GetNotifyUrl() string

func (*BusinessRegisterRequest) GetRequestId

func (x *BusinessRegisterRequest) GetRequestId() string

func (*BusinessRegisterRequest) ProtoMessage

func (*BusinessRegisterRequest) ProtoMessage()

func (*BusinessRegisterRequest) ProtoReflect

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

func (*BusinessRegisterRequest) Reset

func (x *BusinessRegisterRequest) Reset()

func (*BusinessRegisterRequest) String

func (x *BusinessRegisterRequest) String() string

type BusinessRegisterResponse

type BusinessRegisterResponse struct {
	Code ReturnCode `protobuf:"varint,1,opt,name=Code,proto3,enum=syncs.ReturnCode" json:"Code,omitempty"`
	Msg  string     `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
	// contains filtered or unexported fields
}

func (*BusinessRegisterResponse) Descriptor deprecated

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

Deprecated: Use BusinessRegisterResponse.ProtoReflect.Descriptor instead.

func (*BusinessRegisterResponse) GetCode

func (x *BusinessRegisterResponse) GetCode() ReturnCode

func (*BusinessRegisterResponse) GetMsg

func (x *BusinessRegisterResponse) GetMsg() string

func (*BusinessRegisterResponse) ProtoMessage

func (*BusinessRegisterResponse) ProtoMessage()

func (*BusinessRegisterResponse) ProtoReflect

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

func (*BusinessRegisterResponse) Reset

func (x *BusinessRegisterResponse) Reset()

func (*BusinessRegisterResponse) String

func (x *BusinessRegisterResponse) String() string

type ExportAddressesRequest

type ExportAddressesRequest struct {
	ConsumerToken string       `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	RequestId     string       `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	PublicKeys    []*PublicKey `protobuf:"bytes,3,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportAddressesRequest) Descriptor deprecated

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

Deprecated: Use ExportAddressesRequest.ProtoReflect.Descriptor instead.

func (*ExportAddressesRequest) GetConsumerToken

func (x *ExportAddressesRequest) GetConsumerToken() string

func (*ExportAddressesRequest) GetPublicKeys

func (x *ExportAddressesRequest) GetPublicKeys() []*PublicKey

func (*ExportAddressesRequest) GetRequestId

func (x *ExportAddressesRequest) GetRequestId() string

func (*ExportAddressesRequest) ProtoMessage

func (*ExportAddressesRequest) ProtoMessage()

func (*ExportAddressesRequest) ProtoReflect

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

func (*ExportAddressesRequest) Reset

func (x *ExportAddressesRequest) Reset()

func (*ExportAddressesRequest) String

func (x *ExportAddressesRequest) String() string

type ExportAddressesResponse

type ExportAddressesResponse struct {
	Code      ReturnCode `protobuf:"varint,1,opt,name=Code,proto3,enum=syncs.ReturnCode" json:"Code,omitempty"`
	Msg       string     `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Addresses []*Address `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportAddressesResponse) Descriptor deprecated

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

Deprecated: Use ExportAddressesResponse.ProtoReflect.Descriptor instead.

func (*ExportAddressesResponse) GetAddresses

func (x *ExportAddressesResponse) GetAddresses() []*Address

func (*ExportAddressesResponse) GetCode

func (x *ExportAddressesResponse) GetCode() ReturnCode

func (*ExportAddressesResponse) GetMsg

func (x *ExportAddressesResponse) GetMsg() string

func (*ExportAddressesResponse) ProtoMessage

func (*ExportAddressesResponse) ProtoMessage()

func (*ExportAddressesResponse) ProtoReflect

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

func (*ExportAddressesResponse) Reset

func (x *ExportAddressesResponse) Reset()

func (*ExportAddressesResponse) String

func (x *ExportAddressesResponse) String() string

type PublicKey

type PublicKey struct {
	Type      uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Format    string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
	PublicKey string `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*PublicKey) Descriptor deprecated

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

Deprecated: Use PublicKey.ProtoReflect.Descriptor instead.

func (*PublicKey) GetFormat

func (x *PublicKey) GetFormat() string

func (*PublicKey) GetPublicKey

func (x *PublicKey) GetPublicKey() string

func (*PublicKey) GetType

func (x *PublicKey) GetType() uint32

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) ProtoReflect

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

func (*PublicKey) Reset

func (x *PublicKey) Reset()

func (*PublicKey) String

func (x *PublicKey) String() string

type ReturnCode

type ReturnCode int32
const (
	ReturnCode_ERROR   ReturnCode = 0
	ReturnCode_SUCCESS ReturnCode = 1
)

func (ReturnCode) Descriptor

func (ReturnCode) Descriptor() protoreflect.EnumDescriptor

func (ReturnCode) Enum

func (x ReturnCode) Enum() *ReturnCode

func (ReturnCode) EnumDescriptor deprecated

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

Deprecated: Use ReturnCode.Descriptor instead.

func (ReturnCode) Number

func (x ReturnCode) Number() protoreflect.EnumNumber

func (ReturnCode) String

func (x ReturnCode) String() string

func (ReturnCode) Type

type ReturnSignedTransactions

type ReturnSignedTransactions struct {
	TransactionUuid string `protobuf:"bytes,1,opt,name=transaction_uuid,json=transactionUuid,proto3" json:"transaction_uuid,omitempty"`
	SignedTx        string `protobuf:"bytes,2,opt,name=signed_tx,json=signedTx,proto3" json:"signed_tx,omitempty"`
	TxId            string `protobuf:"bytes,3,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReturnSignedTransactions) Descriptor deprecated

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

Deprecated: Use ReturnSignedTransactions.ProtoReflect.Descriptor instead.

func (*ReturnSignedTransactions) GetSignedTx

func (x *ReturnSignedTransactions) GetSignedTx() string

func (*ReturnSignedTransactions) GetTransactionUuid

func (x *ReturnSignedTransactions) GetTransactionUuid() string

func (*ReturnSignedTransactions) GetTxId

func (x *ReturnSignedTransactions) GetTxId() string

func (*ReturnSignedTransactions) ProtoMessage

func (*ReturnSignedTransactions) ProtoMessage()

func (*ReturnSignedTransactions) ProtoReflect

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

func (*ReturnSignedTransactions) Reset

func (x *ReturnSignedTransactions) Reset()

func (*ReturnSignedTransactions) String

func (x *ReturnSignedTransactions) String() string

type ReturnTransactionHashes

type ReturnTransactionHashes struct {
	TransactionUuid string `protobuf:"bytes,1,opt,name=transaction_uuid,json=transactionUuid,proto3" json:"transaction_uuid,omitempty"`
	UnSignTx        string `protobuf:"bytes,2,opt,name=un_sign_tx,json=unSignTx,proto3" json:"un_sign_tx,omitempty"`
	TxData          string `protobuf:"bytes,3,opt,name=tx_data,json=txData,proto3" json:"tx_data,omitempty"`
	// contains filtered or unexported fields
}

func (*ReturnTransactionHashes) Descriptor deprecated

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

Deprecated: Use ReturnTransactionHashes.ProtoReflect.Descriptor instead.

func (*ReturnTransactionHashes) GetTransactionUuid

func (x *ReturnTransactionHashes) GetTransactionUuid() string

func (*ReturnTransactionHashes) GetTxData

func (x *ReturnTransactionHashes) GetTxData() string

func (*ReturnTransactionHashes) GetUnSignTx

func (x *ReturnTransactionHashes) GetUnSignTx() string

func (*ReturnTransactionHashes) ProtoMessage

func (*ReturnTransactionHashes) ProtoMessage()

func (*ReturnTransactionHashes) ProtoReflect

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

func (*ReturnTransactionHashes) Reset

func (x *ReturnTransactionHashes) Reset()

func (*ReturnTransactionHashes) String

func (x *ReturnTransactionHashes) String() string

type SignedTransactions

type SignedTransactions struct {
	TransactionUuid string `protobuf:"bytes,1,opt,name=transaction_uuid,json=transactionUuid,proto3" json:"transaction_uuid,omitempty"`
	Signature       string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	TxData          string `protobuf:"bytes,3,opt,name=tx_data,json=txData,proto3" json:"tx_data,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedTransactions) Descriptor deprecated

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

Deprecated: Use SignedTransactions.ProtoReflect.Descriptor instead.

func (*SignedTransactions) GetSignature

func (x *SignedTransactions) GetSignature() string

func (*SignedTransactions) GetTransactionUuid

func (x *SignedTransactions) GetTransactionUuid() string

func (*SignedTransactions) GetTxData

func (x *SignedTransactions) GetTxData() string

func (*SignedTransactions) ProtoMessage

func (*SignedTransactions) ProtoMessage()

func (*SignedTransactions) ProtoReflect

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

func (*SignedTransactions) Reset

func (x *SignedTransactions) Reset()

func (*SignedTransactions) String

func (x *SignedTransactions) String() string

type SignedWithdrawTransactionRequest

type SignedWithdrawTransactionRequest struct {
	ConsumerToken string                `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	RequestId     string                `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	SignTxn       []*SignedTransactions `protobuf:"bytes,3,rep,name=sign_txn,json=signTxn,proto3" json:"sign_txn,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedWithdrawTransactionRequest) Descriptor deprecated

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

Deprecated: Use SignedWithdrawTransactionRequest.ProtoReflect.Descriptor instead.

func (*SignedWithdrawTransactionRequest) GetConsumerToken

func (x *SignedWithdrawTransactionRequest) GetConsumerToken() string

func (*SignedWithdrawTransactionRequest) GetRequestId

func (x *SignedWithdrawTransactionRequest) GetRequestId() string

func (*SignedWithdrawTransactionRequest) GetSignTxn

func (*SignedWithdrawTransactionRequest) ProtoMessage

func (*SignedWithdrawTransactionRequest) ProtoMessage()

func (*SignedWithdrawTransactionRequest) ProtoReflect

func (*SignedWithdrawTransactionRequest) Reset

func (*SignedWithdrawTransactionRequest) String

type SignedWithdrawTransactionResponse

type SignedWithdrawTransactionResponse struct {
	Code          ReturnCode                  `protobuf:"varint,1,opt,name=code,proto3,enum=syncs.ReturnCode" json:"code,omitempty"`
	Msg           string                      `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	ReturnSignTxn []*ReturnSignedTransactions `protobuf:"bytes,3,rep,name=return_sign_txn,json=returnSignTxn,proto3" json:"return_sign_txn,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedWithdrawTransactionResponse) Descriptor deprecated

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

Deprecated: Use SignedWithdrawTransactionResponse.ProtoReflect.Descriptor instead.

func (*SignedWithdrawTransactionResponse) GetCode

func (*SignedWithdrawTransactionResponse) GetMsg

func (*SignedWithdrawTransactionResponse) GetReturnSignTxn

func (*SignedWithdrawTransactionResponse) ProtoMessage

func (*SignedWithdrawTransactionResponse) ProtoMessage()

func (*SignedWithdrawTransactionResponse) ProtoReflect

func (*SignedWithdrawTransactionResponse) Reset

func (*SignedWithdrawTransactionResponse) String

type SubmitWithdrawRequest

type SubmitWithdrawRequest struct {
	ConsumerToken string      `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	RequestId     string      `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	WithdrawList  []*Withdraw `protobuf:"bytes,3,rep,name=withdraw_list,json=withdrawList,proto3" json:"withdraw_list,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitWithdrawRequest) Descriptor deprecated

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

Deprecated: Use SubmitWithdrawRequest.ProtoReflect.Descriptor instead.

func (*SubmitWithdrawRequest) GetConsumerToken

func (x *SubmitWithdrawRequest) GetConsumerToken() string

func (*SubmitWithdrawRequest) GetRequestId

func (x *SubmitWithdrawRequest) GetRequestId() string

func (*SubmitWithdrawRequest) GetWithdrawList

func (x *SubmitWithdrawRequest) GetWithdrawList() []*Withdraw

func (*SubmitWithdrawRequest) ProtoMessage

func (*SubmitWithdrawRequest) ProtoMessage()

func (*SubmitWithdrawRequest) ProtoReflect

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

func (*SubmitWithdrawRequest) Reset

func (x *SubmitWithdrawRequest) Reset()

func (*SubmitWithdrawRequest) String

func (x *SubmitWithdrawRequest) String() string

type SubmitWithdrawResponse

type SubmitWithdrawResponse struct {
	Code ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=syncs.ReturnCode" json:"code,omitempty"`
	Msg  string     `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitWithdrawResponse) Descriptor deprecated

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

Deprecated: Use SubmitWithdrawResponse.ProtoReflect.Descriptor instead.

func (*SubmitWithdrawResponse) GetCode

func (x *SubmitWithdrawResponse) GetCode() ReturnCode

func (*SubmitWithdrawResponse) GetMsg

func (x *SubmitWithdrawResponse) GetMsg() string

func (*SubmitWithdrawResponse) ProtoMessage

func (*SubmitWithdrawResponse) ProtoMessage()

func (*SubmitWithdrawResponse) ProtoReflect

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

func (*SubmitWithdrawResponse) Reset

func (x *SubmitWithdrawResponse) Reset()

func (*SubmitWithdrawResponse) String

func (x *SubmitWithdrawResponse) String() string

type Token

type Token struct {
	Decimals      uint32 `protobuf:"varint,1,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Address       string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	TokenName     string `protobuf:"bytes,3,opt,name=token_name,json=tokenName,proto3" json:"token_name,omitempty"`
	CollectAmount string `protobuf:"bytes,4,opt,name=collect_amount,json=collectAmount,proto3" json:"collect_amount,omitempty"`
	ColdAmount    string `protobuf:"bytes,5,opt,name=cold_amount,json=coldAmount,proto3" json:"cold_amount,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetAddress

func (x *Token) GetAddress() string

func (*Token) GetColdAmount

func (x *Token) GetColdAmount() string

func (*Token) GetCollectAmount

func (x *Token) GetCollectAmount() string

func (*Token) GetDecimals

func (x *Token) GetDecimals() uint32

func (*Token) GetTokenName

func (x *Token) GetTokenName() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

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

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type Transactions

type Transactions struct {
	TransactionUuid string `protobuf:"bytes,1,opt,name=transaction_uuid,json=transactionUuid,proto3" json:"transaction_uuid,omitempty"`
	From            string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To              string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Value           string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	TxType          string `protobuf:"bytes,5,opt,name=tx_type,json=txType,proto3" json:"tx_type,omitempty"`
	// contains filtered or unexported fields
}

func (*Transactions) Descriptor deprecated

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

Deprecated: Use Transactions.ProtoReflect.Descriptor instead.

func (*Transactions) GetFrom

func (x *Transactions) GetFrom() string

func (*Transactions) GetTo

func (x *Transactions) GetTo() string

func (*Transactions) GetTransactionUuid

func (x *Transactions) GetTransactionUuid() string

func (*Transactions) GetTxType

func (x *Transactions) GetTxType() string

func (*Transactions) GetValue

func (x *Transactions) GetValue() string

func (*Transactions) ProtoMessage

func (*Transactions) ProtoMessage()

func (*Transactions) ProtoReflect

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

func (*Transactions) Reset

func (x *Transactions) Reset()

func (*Transactions) String

func (x *Transactions) String() string

type UnSignWithdrawTransactionRequest

type UnSignWithdrawTransactionRequest struct {
	ConsumerToken string          `protobuf:"bytes,1,opt,name=consumer_token,json=consumerToken,proto3" json:"consumer_token,omitempty"`
	RequestId     string          `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Txn           []*Transactions `protobuf:"bytes,3,rep,name=txn,proto3" json:"txn,omitempty"`
	// contains filtered or unexported fields
}

func (*UnSignWithdrawTransactionRequest) Descriptor deprecated

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

Deprecated: Use UnSignWithdrawTransactionRequest.ProtoReflect.Descriptor instead.

func (*UnSignWithdrawTransactionRequest) GetConsumerToken

func (x *UnSignWithdrawTransactionRequest) GetConsumerToken() string

func (*UnSignWithdrawTransactionRequest) GetRequestId

func (x *UnSignWithdrawTransactionRequest) GetRequestId() string

func (*UnSignWithdrawTransactionRequest) GetTxn

func (*UnSignWithdrawTransactionRequest) ProtoMessage

func (*UnSignWithdrawTransactionRequest) ProtoMessage()

func (*UnSignWithdrawTransactionRequest) ProtoReflect

func (*UnSignWithdrawTransactionRequest) Reset

func (*UnSignWithdrawTransactionRequest) String

type UnSignWithdrawTransactionResponse

type UnSignWithdrawTransactionResponse struct {
	Code           ReturnCode                 `protobuf:"varint,1,opt,name=code,proto3,enum=syncs.ReturnCode" json:"code,omitempty"`
	Msg            string                     `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	ReturnTxHashes []*ReturnTransactionHashes `protobuf:"bytes,3,rep,name=return_tx_hashes,json=returnTxHashes,proto3" json:"return_tx_hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*UnSignWithdrawTransactionResponse) Descriptor deprecated

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

Deprecated: Use UnSignWithdrawTransactionResponse.ProtoReflect.Descriptor instead.

func (*UnSignWithdrawTransactionResponse) GetCode

func (*UnSignWithdrawTransactionResponse) GetMsg

func (*UnSignWithdrawTransactionResponse) GetReturnTxHashes

func (*UnSignWithdrawTransactionResponse) ProtoMessage

func (*UnSignWithdrawTransactionResponse) ProtoMessage()

func (*UnSignWithdrawTransactionResponse) ProtoReflect

func (*UnSignWithdrawTransactionResponse) Reset

func (*UnSignWithdrawTransactionResponse) String

type UnimplementedBusinessMiddleWireServicesServer

type UnimplementedBusinessMiddleWireServicesServer struct {
}

UnimplementedBusinessMiddleWireServicesServer should be embedded to have forward compatible implementations.

func (UnimplementedBusinessMiddleWireServicesServer) BusinessRegister

func (UnimplementedBusinessMiddleWireServicesServer) ExportAddressesByPublicKeys

func (UnimplementedBusinessMiddleWireServicesServer) SubmitWithdraw

type UnsafeBusinessMiddleWireServicesServer

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

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

type Withdraw

type Withdraw struct {
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Value   string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Fee     string `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"`
	// contains filtered or unexported fields
}

func (*Withdraw) Descriptor deprecated

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

Deprecated: Use Withdraw.ProtoReflect.Descriptor instead.

func (*Withdraw) GetAddress

func (x *Withdraw) GetAddress() string

func (*Withdraw) GetChainId

func (x *Withdraw) GetChainId() string

func (*Withdraw) GetFee

func (x *Withdraw) GetFee() string

func (*Withdraw) GetValue

func (x *Withdraw) GetValue() string

func (*Withdraw) ProtoMessage

func (*Withdraw) ProtoMessage()

func (*Withdraw) ProtoReflect

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

func (*Withdraw) Reset

func (x *Withdraw) Reset()

func (*Withdraw) String

func (x *Withdraw) String() string

Jump to

Keyboard shortcuts

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