proto

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 17 Imported by: 0

README

How to generate files


# grpc apis
protoc -I. -I$GOPATH/src -I$GOPATH/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.14.7/third_party/googleapis --go_out=plugins=grpc:. types.proto

# grpc-gateway apis 
protoc -I. -I$GOPATH/src -I$I$GOPATH/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.14.7/third_party/googleapis --grpc-gateway_out=logtostderr=true:. types.proto

# swagger apis
protoc -I. -I$GOPATH/src -I$GOPATH/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.14.7/third_party/googleapis --swagger_out=logtostderr=true:. types.proto

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	SignType_name = map[int32]string{
		0: "ETH",
		1: "NEO",
		2: "BSC",
		3: "QLC",
	}
	SignType_value = map[string]int32{
		"ETH": 0,
		"NEO": 1,
		"BSC": 2,
		"QLC": 3,
	}
)

Enum value maps for SignType.

View Source
var File_signer_proto protoreflect.FileDescriptor
View Source
var File_types_proto protoreflect.FileDescriptor

Functions

func RegisterDebugAPIHandler

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

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

func RegisterDebugAPIHandlerClient

func RegisterDebugAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DebugAPIClient) error

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

func RegisterDebugAPIHandlerFromEndpoint

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

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

func RegisterDebugAPIHandlerServer

func RegisterDebugAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DebugAPIServer) error

RegisterDebugAPIHandlerServer registers the http handlers for service DebugAPI to "mux". UnaryRPC :call DebugAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterDebugAPIServer

func RegisterDebugAPIServer(s *grpc.Server, srv DebugAPIServer)

func RegisterDepositAPIHandler

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

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

func RegisterDepositAPIHandlerClient

func RegisterDepositAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DepositAPIClient) error

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

func RegisterDepositAPIHandlerFromEndpoint

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

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

func RegisterDepositAPIHandlerServer

func RegisterDepositAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DepositAPIServer) error

RegisterDepositAPIHandlerServer registers the http handlers for service DepositAPI to "mux". UnaryRPC :call DepositAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterDepositAPIServer

func RegisterDepositAPIServer(s *grpc.Server, srv DepositAPIServer)

func RegisterInfoAPIHandler

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

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

func RegisterInfoAPIHandlerClient

func RegisterInfoAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InfoAPIClient) error

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

func RegisterInfoAPIHandlerFromEndpoint

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

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

func RegisterInfoAPIHandlerServer

func RegisterInfoAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InfoAPIServer) error

RegisterInfoAPIHandlerServer registers the http handlers for service InfoAPI to "mux". UnaryRPC :call InfoAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterInfoAPIServer

func RegisterInfoAPIServer(s *grpc.Server, srv InfoAPIServer)

func RegisterQGasSwapAPIHandler added in v1.0.1

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

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

func RegisterQGasSwapAPIHandlerClient added in v1.0.1

func RegisterQGasSwapAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QGasSwapAPIClient) error

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

func RegisterQGasSwapAPIHandlerFromEndpoint added in v1.0.1

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

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

func RegisterQGasSwapAPIHandlerServer added in v1.0.1

func RegisterQGasSwapAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QGasSwapAPIServer) error

RegisterQGasSwapAPIHandlerServer registers the http handlers for service QGasSwapAPI to "mux". UnaryRPC :call QGasSwapAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterQGasSwapAPIServer added in v1.0.1

func RegisterQGasSwapAPIServer(s *grpc.Server, srv QGasSwapAPIServer)

func RegisterSignServiceServer

func RegisterSignServiceServer(s *grpc.Server, srv SignServiceServer)

func RegisterTokenServiceServer

func RegisterTokenServiceServer(s *grpc.Server, srv TokenServiceServer)

func RegisterWithdrawAPIHandler

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

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

func RegisterWithdrawAPIHandlerClient

func RegisterWithdrawAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WithdrawAPIClient) error

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

func RegisterWithdrawAPIHandlerFromEndpoint

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

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

func RegisterWithdrawAPIHandlerServer

func RegisterWithdrawAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WithdrawAPIServer) error

RegisterWithdrawAPIHandlerServer registers the http handlers for service WithdrawAPI to "mux". UnaryRPC :call WithdrawAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterWithdrawAPIServer

func RegisterWithdrawAPIServer(s *grpc.Server, srv WithdrawAPIServer)

Types

type AddrAndOffset added in v1.0.1

type AddrAndOffset struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Page     int32  `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*AddrAndOffset) Descriptor deprecated added in v1.0.1

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

Deprecated: Use AddrAndOffset.ProtoReflect.Descriptor instead.

func (*AddrAndOffset) GetAddress added in v1.0.1

func (x *AddrAndOffset) GetAddress() string

func (*AddrAndOffset) GetPage added in v1.0.1

func (x *AddrAndOffset) GetPage() int32

func (*AddrAndOffset) GetPageSize added in v1.0.1

func (x *AddrAndOffset) GetPageSize() int32

func (*AddrAndOffset) ProtoMessage added in v1.0.1

func (*AddrAndOffset) ProtoMessage()

func (*AddrAndOffset) ProtoReflect added in v1.0.1

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

func (*AddrAndOffset) Reset added in v1.0.1

func (x *AddrAndOffset) Reset()

func (*AddrAndOffset) String added in v1.0.1

func (x *AddrAndOffset) String() string

type Address added in v1.0.1

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

func (*Address) Descriptor deprecated added in v1.0.1

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddress added in v1.0.1

func (x *Address) GetAddress() string

func (*Address) ProtoMessage added in v1.0.1

func (*Address) ProtoMessage()

func (*Address) ProtoReflect added in v1.0.1

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

func (*Address) Reset added in v1.0.1

func (x *Address) Reset()

func (*Address) String added in v1.0.1

func (x *Address) String() string

type AddressRequest

type AddressRequest struct {
	Type SignType `protobuf:"varint,1,opt,name=Type,proto3,enum=proto.SignType" json:"Type,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressRequest) Descriptor deprecated

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

Deprecated: Use AddressRequest.ProtoReflect.Descriptor instead.

func (*AddressRequest) GetType

func (x *AddressRequest) GetType() SignType

func (*AddressRequest) ProtoMessage

func (*AddressRequest) ProtoMessage()

func (*AddressRequest) ProtoReflect

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

func (*AddressRequest) Reset

func (x *AddressRequest) Reset()

func (*AddressRequest) String

func (x *AddressRequest) String() string

type AddressResponse

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

func (*AddressResponse) Descriptor deprecated

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

Deprecated: Use AddressResponse.ProtoReflect.Descriptor instead.

func (*AddressResponse) GetAddress

func (x *AddressResponse) GetAddress() []string

func (*AddressResponse) ProtoMessage

func (*AddressResponse) ProtoMessage()

func (*AddressResponse) ProtoReflect

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

func (*AddressResponse) Reset

func (x *AddressResponse) Reset()

func (*AddressResponse) String

func (x *AddressResponse) String() string

type AmountByAddressResponse added in v1.0.1

type AmountByAddressResponse struct {
	Address        string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Erc20Amount    int64  `protobuf:"varint,2,opt,name=erc20Amount,proto3" json:"erc20Amount,omitempty"`
	PledgeCount    int64  `protobuf:"varint,3,opt,name=pledgeCount,proto3" json:"pledgeCount,omitempty"`
	PledgeAmount   int64  `protobuf:"varint,4,opt,name=pledgeAmount,proto3" json:"pledgeAmount,omitempty"`
	WithdrawCount  int64  `protobuf:"varint,5,opt,name=withdrawCount,proto3" json:"withdrawCount,omitempty"`
	WithdrawAmount int64  `protobuf:"varint,6,opt,name=withdrawAmount,proto3" json:"withdrawAmount,omitempty"`
	// contains filtered or unexported fields
}

func (*AmountByAddressResponse) Descriptor deprecated added in v1.0.1

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

Deprecated: Use AmountByAddressResponse.ProtoReflect.Descriptor instead.

func (*AmountByAddressResponse) GetAddress added in v1.0.1

func (x *AmountByAddressResponse) GetAddress() string

func (*AmountByAddressResponse) GetErc20Amount added in v1.0.1

func (x *AmountByAddressResponse) GetErc20Amount() int64

func (*AmountByAddressResponse) GetPledgeAmount added in v1.0.1

func (x *AmountByAddressResponse) GetPledgeAmount() int64

func (*AmountByAddressResponse) GetPledgeCount added in v1.0.1

func (x *AmountByAddressResponse) GetPledgeCount() int64

func (*AmountByAddressResponse) GetWithdrawAmount added in v1.0.1

func (x *AmountByAddressResponse) GetWithdrawAmount() int64

func (*AmountByAddressResponse) GetWithdrawCount added in v1.0.1

func (x *AmountByAddressResponse) GetWithdrawCount() int64

func (*AmountByAddressResponse) ProtoMessage added in v1.0.1

func (*AmountByAddressResponse) ProtoMessage()

func (*AmountByAddressResponse) ProtoReflect added in v1.0.1

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

func (*AmountByAddressResponse) Reset added in v1.0.1

func (x *AmountByAddressResponse) Reset()

func (*AmountByAddressResponse) String added in v1.0.1

func (x *AmountByAddressResponse) String() string

type Boolean

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

func (*Boolean) Descriptor deprecated

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

Deprecated: Use Boolean.ProtoReflect.Descriptor instead.

func (*Boolean) GetValue

func (x *Boolean) GetValue() bool

func (*Boolean) ProtoMessage

func (*Boolean) ProtoMessage()

func (*Boolean) ProtoReflect

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

func (*Boolean) Reset

func (x *Boolean) Reset()

func (*Boolean) String

func (x *Boolean) String() string

type ChainTransactionSentRequest added in v1.0.1

type ChainTransactionSentRequest struct {
	ChainTxHash string `protobuf:"bytes,1,opt,name=chainTxHash,proto3" json:"chainTxHash,omitempty"`
	NeoTxHash   string `protobuf:"bytes,2,opt,name=neoTxHash,proto3" json:"neoTxHash,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainTransactionSentRequest) Descriptor deprecated added in v1.0.1

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

Deprecated: Use ChainTransactionSentRequest.ProtoReflect.Descriptor instead.

func (*ChainTransactionSentRequest) GetChainTxHash added in v1.0.1

func (x *ChainTransactionSentRequest) GetChainTxHash() string

func (*ChainTransactionSentRequest) GetNeoTxHash added in v1.0.1

func (x *ChainTransactionSentRequest) GetNeoTxHash() string

func (*ChainTransactionSentRequest) ProtoMessage added in v1.0.1

func (*ChainTransactionSentRequest) ProtoMessage()

func (*ChainTransactionSentRequest) ProtoReflect added in v1.0.1

func (*ChainTransactionSentRequest) Reset added in v1.0.1

func (x *ChainTransactionSentRequest) Reset()

func (*ChainTransactionSentRequest) String added in v1.0.1

func (x *ChainTransactionSentRequest) String() string

type ChainTxRequest added in v1.0.1

type ChainTxRequest struct {
	Hash      string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	ChainType string `protobuf:"bytes,2,opt,name=chainType,proto3" json:"chainType,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainTxRequest) Descriptor deprecated added in v1.0.1

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

Deprecated: Use ChainTxRequest.ProtoReflect.Descriptor instead.

func (*ChainTxRequest) GetChainType added in v1.0.1

func (x *ChainTxRequest) GetChainType() string

func (*ChainTxRequest) GetHash added in v1.0.1

func (x *ChainTxRequest) GetHash() string

func (*ChainTxRequest) ProtoMessage added in v1.0.1

func (*ChainTxRequest) ProtoMessage()

func (*ChainTxRequest) ProtoReflect added in v1.0.1

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

func (*ChainTxRequest) Reset added in v1.0.1

func (x *ChainTxRequest) Reset()

func (*ChainTxRequest) String added in v1.0.1

func (x *ChainTxRequest) String() string

type ConfigResponse added in v1.0.1

type ConfigResponse struct {
	NeoUrl          string `protobuf:"bytes,1,opt,name=neoUrl,proto3" json:"neoUrl,omitempty"`
	NeoContract     string `protobuf:"bytes,2,opt,name=neoContract,proto3" json:"neoContract,omitempty"`
	NeoOwner        string `protobuf:"bytes,3,opt,name=neoOwner,proto3" json:"neoOwner,omitempty"`
	QlcUrl          string `protobuf:"bytes,4,opt,name=qlcUrl,proto3" json:"qlcUrl,omitempty"`
	QlcOwner        string `protobuf:"bytes,5,opt,name=qlcOwner,proto3" json:"qlcOwner,omitempty"`
	EthUrl          string `protobuf:"bytes,6,opt,name=ethUrl,proto3" json:"ethUrl,omitempty"`
	EthNep5Contract string `protobuf:"bytes,7,opt,name=ethNep5Contract,proto3" json:"ethNep5Contract,omitempty"`
	EthNep5Owner    string `protobuf:"bytes,8,opt,name=ethNep5Owner,proto3" json:"ethNep5Owner,omitempty"`
	EthQGasContract string `protobuf:"bytes,9,opt,name=ethQGasContract,proto3" json:"ethQGasContract,omitempty"`
	EthQGasOwner    string `protobuf:"bytes,10,opt,name=ethQGasOwner,proto3" json:"ethQGasOwner,omitempty"`
	BscUrl          string `protobuf:"bytes,11,opt,name=bscUrl,proto3" json:"bscUrl,omitempty"`
	BscNep5Contract string `protobuf:"bytes,12,opt,name=bscNep5Contract,proto3" json:"bscNep5Contract,omitempty"`
	BscNep5Owner    string `protobuf:"bytes,13,opt,name=bscNep5Owner,proto3" json:"bscNep5Owner,omitempty"`
	BscQGasContract string `protobuf:"bytes,14,opt,name=bscQGasContract,proto3" json:"bscQGasContract,omitempty"`
	BscQGasOwner    string `protobuf:"bytes,15,opt,name=bscQGasOwner,proto3" json:"bscQGasOwner,omitempty"`
	TotalSupply     int64  `protobuf:"varint,17,opt,name=totalSupply,proto3" json:"totalSupply,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigResponse) Descriptor deprecated added in v1.0.1

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

Deprecated: Use ConfigResponse.ProtoReflect.Descriptor instead.

func (*ConfigResponse) GetBscNep5Contract added in v1.0.1

func (x *ConfigResponse) GetBscNep5Contract() string

func (*ConfigResponse) GetBscNep5Owner added in v1.0.1

func (x *ConfigResponse) GetBscNep5Owner() string

func (*ConfigResponse) GetBscQGasContract added in v1.0.1

func (x *ConfigResponse) GetBscQGasContract() string

func (*ConfigResponse) GetBscQGasOwner added in v1.0.1

func (x *ConfigResponse) GetBscQGasOwner() string

func (*ConfigResponse) GetBscUrl added in v1.0.1

func (x *ConfigResponse) GetBscUrl() string

func (*ConfigResponse) GetEthNep5Contract added in v1.0.1

func (x *ConfigResponse) GetEthNep5Contract() string

func (*ConfigResponse) GetEthNep5Owner added in v1.0.1

func (x *ConfigResponse) GetEthNep5Owner() string

func (*ConfigResponse) GetEthQGasContract added in v1.0.1

func (x *ConfigResponse) GetEthQGasContract() string

func (*ConfigResponse) GetEthQGasOwner added in v1.0.1

func (x *ConfigResponse) GetEthQGasOwner() string

func (*ConfigResponse) GetEthUrl added in v1.0.1

func (x *ConfigResponse) GetEthUrl() string

func (*ConfigResponse) GetNeoContract added in v1.0.1

func (x *ConfigResponse) GetNeoContract() string

func (*ConfigResponse) GetNeoOwner added in v1.0.1

func (x *ConfigResponse) GetNeoOwner() string

func (*ConfigResponse) GetNeoUrl added in v1.0.1

func (x *ConfigResponse) GetNeoUrl() string

func (*ConfigResponse) GetQlcOwner added in v1.0.1

func (x *ConfigResponse) GetQlcOwner() string

func (*ConfigResponse) GetQlcUrl added in v1.0.1

func (x *ConfigResponse) GetQlcUrl() string

func (*ConfigResponse) GetTotalSupply added in v1.0.1

func (x *ConfigResponse) GetTotalSupply() int64

func (*ConfigResponse) ProtoMessage added in v1.0.1

func (*ConfigResponse) ProtoMessage()

func (*ConfigResponse) ProtoReflect added in v1.0.1

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

func (*ConfigResponse) Reset added in v1.0.1

func (x *ConfigResponse) Reset()

func (*ConfigResponse) String added in v1.0.1

func (x *ConfigResponse) String() string

type DebugAPIClient

type DebugAPIClient interface {
	SignData(ctx context.Context, in *String, opts ...grpc.CallOption) (*SignDataResponse, error)
}

DebugAPIClient is the client API for DebugAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDebugAPIClient

func NewDebugAPIClient(cc grpc.ClientConnInterface) DebugAPIClient

type DebugAPIServer

type DebugAPIServer interface {
	SignData(context.Context, *String) (*SignDataResponse, error)
}

DebugAPIServer is the server API for DebugAPI service.

type DepositAPIClient

type DepositAPIClient interface {
	PackNeoTransaction(ctx context.Context, in *PackNeoTxRequest, opts ...grpc.CallOption) (*PackNeoTxResponse, error)
	SendNeoTransaction(ctx context.Context, in *SendNeoTxnRequest, opts ...grpc.CallOption) (*Boolean, error)
	NeoTransactionConfirmed(ctx context.Context, in *NeoTxConfirmedResponse, opts ...grpc.CallOption) (*Boolean, error)
	GetChainOwnerSign(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*String, error)
	ChainTransactionConfirmed(ctx context.Context, in *ChainTxRequest, opts ...grpc.CallOption) (*Boolean, error)
	ChainTransactionSent(ctx context.Context, in *ChainTransactionSentRequest, opts ...grpc.CallOption) (*Boolean, error)
	ChainTransactionID(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*Hash, error)
	Refund(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*Boolean, error)
}

DepositAPIClient is the client API for DepositAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDepositAPIClient

func NewDepositAPIClient(cc grpc.ClientConnInterface) DepositAPIClient

type DepositAPIServer

type DepositAPIServer interface {
	PackNeoTransaction(context.Context, *PackNeoTxRequest) (*PackNeoTxResponse, error)
	SendNeoTransaction(context.Context, *SendNeoTxnRequest) (*Boolean, error)
	NeoTransactionConfirmed(context.Context, *NeoTxConfirmedResponse) (*Boolean, error)
	GetChainOwnerSign(context.Context, *Hash) (*String, error)
	ChainTransactionConfirmed(context.Context, *ChainTxRequest) (*Boolean, error)
	ChainTransactionSent(context.Context, *ChainTransactionSentRequest) (*Boolean, error)
	ChainTransactionID(context.Context, *Hash) (*Hash, error)
	Refund(context.Context, *Hash) (*Boolean, error)
}

DepositAPIServer is the server API for DepositAPI service.

type EthTxSentRequest added in v1.0.1

type EthTxSentRequest struct {
	ChainTxHash string `protobuf:"bytes,1,opt,name=chainTxHash,proto3" json:"chainTxHash,omitempty"`
	QlcTxHash   string `protobuf:"bytes,2,opt,name=qlcTxHash,proto3" json:"qlcTxHash,omitempty"`
	// contains filtered or unexported fields
}

func (*EthTxSentRequest) Descriptor deprecated added in v1.0.1

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

Deprecated: Use EthTxSentRequest.ProtoReflect.Descriptor instead.

func (*EthTxSentRequest) GetChainTxHash added in v1.0.1

func (x *EthTxSentRequest) GetChainTxHash() string

func (*EthTxSentRequest) GetQlcTxHash added in v1.0.1

func (x *EthTxSentRequest) GetQlcTxHash() string

func (*EthTxSentRequest) ProtoMessage added in v1.0.1

func (*EthTxSentRequest) ProtoMessage()

func (*EthTxSentRequest) ProtoReflect added in v1.0.1

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

func (*EthTxSentRequest) Reset added in v1.0.1

func (x *EthTxSentRequest) Reset()

func (*EthTxSentRequest) String added in v1.0.1

func (x *EthTxSentRequest) String() string

type Hash added in v1.0.1

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

func (*Hash) Descriptor deprecated added in v1.0.1

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

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetHash added in v1.0.1

func (x *Hash) GetHash() string

func (*Hash) ProtoMessage added in v1.0.1

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect added in v1.0.1

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

func (*Hash) Reset added in v1.0.1

func (x *Hash) Reset()

func (*Hash) String added in v1.0.1

func (x *Hash) String() string

type InfoAPIClient

type InfoAPIClient interface {
	Ping(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*PingResponse, error)
	Config(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ConfigResponse, error)
	CheckEthTransaction(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*Boolean, error)
	CheckNeoTransaction(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*Boolean, error)
	SwapInfoList(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*SwapInfos, error)
	SwapInfosByAddress(ctx context.Context, in *AddrAndOffset, opts ...grpc.CallOption) (*SwapInfos, error)
	SwapInfoByTxHash(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*SwapInfo, error)
	SwapInfosByState(ctx context.Context, in *StateAndOffset, opts ...grpc.CallOption) (*SwapInfos, error)
	SwapCountByState(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Map, error)
	SwapAmountByState(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Map, error)
	SwapAmountByAddress(ctx context.Context, in *Address, opts ...grpc.CallOption) (*AmountByAddressResponse, error)
	SwapUnconfirmeds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SwapPendings, error)
}

InfoAPIClient is the client API for InfoAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewInfoAPIClient

func NewInfoAPIClient(cc grpc.ClientConnInterface) InfoAPIClient

type InfoAPIServer

type InfoAPIServer interface {
	Ping(context.Context, *empty.Empty) (*PingResponse, error)
	Config(context.Context, *empty.Empty) (*ConfigResponse, error)
	CheckEthTransaction(context.Context, *Hash) (*Boolean, error)
	CheckNeoTransaction(context.Context, *Hash) (*Boolean, error)
	SwapInfoList(context.Context, *Offset) (*SwapInfos, error)
	SwapInfosByAddress(context.Context, *AddrAndOffset) (*SwapInfos, error)
	SwapInfoByTxHash(context.Context, *Hash) (*SwapInfo, error)
	SwapInfosByState(context.Context, *StateAndOffset) (*SwapInfos, error)
	SwapCountByState(context.Context, *empty.Empty) (*Map, error)
	SwapAmountByState(context.Context, *empty.Empty) (*Map, error)
	SwapAmountByAddress(context.Context, *Address) (*AmountByAddressResponse, error)
	SwapUnconfirmeds(context.Context, *empty.Empty) (*SwapPendings, error)
}

InfoAPIServer is the server API for InfoAPI service.

type Map added in v1.0.1

type Map struct {
	Count map[string]int64 `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Map) Descriptor deprecated added in v1.0.1

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

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) GetCount added in v1.0.1

func (x *Map) GetCount() map[string]int64

func (*Map) ProtoMessage added in v1.0.1

func (*Map) ProtoMessage()

func (*Map) ProtoReflect added in v1.0.1

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

func (*Map) Reset added in v1.0.1

func (x *Map) Reset()

func (*Map) String added in v1.0.1

func (x *Map) String() string

type NeoTxConfirmedResponse added in v1.0.1

type NeoTxConfirmedResponse struct {
	Hash      string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	ChainType string `protobuf:"bytes,2,opt,name=chainType,proto3" json:"chainType,omitempty"`
	// contains filtered or unexported fields
}

func (*NeoTxConfirmedResponse) Descriptor deprecated added in v1.0.1

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

Deprecated: Use NeoTxConfirmedResponse.ProtoReflect.Descriptor instead.

func (*NeoTxConfirmedResponse) GetChainType added in v1.0.1

func (x *NeoTxConfirmedResponse) GetChainType() string

func (*NeoTxConfirmedResponse) GetHash added in v1.0.1

func (x *NeoTxConfirmedResponse) GetHash() string

func (*NeoTxConfirmedResponse) ProtoMessage added in v1.0.1

func (*NeoTxConfirmedResponse) ProtoMessage()

func (*NeoTxConfirmedResponse) ProtoReflect added in v1.0.1

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

func (*NeoTxConfirmedResponse) Reset added in v1.0.1

func (x *NeoTxConfirmedResponse) Reset()

func (*NeoTxConfirmedResponse) String added in v1.0.1

func (x *NeoTxConfirmedResponse) String() string

type Offset

type Offset struct {
	Page     int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*Offset) Descriptor deprecated

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

Deprecated: Use Offset.ProtoReflect.Descriptor instead.

func (*Offset) GetPage added in v1.0.1

func (x *Offset) GetPage() int32

func (*Offset) GetPageSize added in v1.0.1

func (x *Offset) GetPageSize() int32

func (*Offset) ProtoMessage

func (*Offset) ProtoMessage()

func (*Offset) ProtoReflect

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

func (*Offset) Reset

func (x *Offset) Reset()

func (*Offset) String

func (x *Offset) String() string

type PackNeoTxRequest added in v1.0.1

type PackNeoTxRequest struct {
	Amount               int64  `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Nep5SenderAddr       string `protobuf:"bytes,2,opt,name=nep5SenderAddr,proto3" json:"nep5SenderAddr,omitempty"`
	TokenMintedToAddress string `protobuf:"bytes,3,opt,name=tokenMintedToAddress,proto3" json:"tokenMintedToAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*PackNeoTxRequest) Descriptor deprecated added in v1.0.1

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

Deprecated: Use PackNeoTxRequest.ProtoReflect.Descriptor instead.

func (*PackNeoTxRequest) GetAmount added in v1.0.1

func (x *PackNeoTxRequest) GetAmount() int64

func (*PackNeoTxRequest) GetNep5SenderAddr added in v1.0.1

func (x *PackNeoTxRequest) GetNep5SenderAddr() string

func (*PackNeoTxRequest) GetTokenMintedToAddress added in v1.0.1

func (x *PackNeoTxRequest) GetTokenMintedToAddress() string

func (*PackNeoTxRequest) ProtoMessage added in v1.0.1

func (*PackNeoTxRequest) ProtoMessage()

func (*PackNeoTxRequest) ProtoReflect added in v1.0.1

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

func (*PackNeoTxRequest) Reset added in v1.0.1

func (x *PackNeoTxRequest) Reset()

func (*PackNeoTxRequest) String added in v1.0.1

func (x *PackNeoTxRequest) String() string

type PackNeoTxResponse added in v1.0.1

type PackNeoTxResponse struct {
	TxHash       string `protobuf:"bytes,1,opt,name=txHash,proto3" json:"txHash,omitempty"`
	UnsignedData string `protobuf:"bytes,2,opt,name=unsignedData,proto3" json:"unsignedData,omitempty"`
	// contains filtered or unexported fields
}

func (*PackNeoTxResponse) Descriptor deprecated added in v1.0.1

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

Deprecated: Use PackNeoTxResponse.ProtoReflect.Descriptor instead.

func (*PackNeoTxResponse) GetTxHash added in v1.0.1

func (x *PackNeoTxResponse) GetTxHash() string

func (*PackNeoTxResponse) GetUnsignedData added in v1.0.1

func (x *PackNeoTxResponse) GetUnsignedData() string

func (*PackNeoTxResponse) ProtoMessage added in v1.0.1

func (*PackNeoTxResponse) ProtoMessage()

func (*PackNeoTxResponse) ProtoReflect added in v1.0.1

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

func (*PackNeoTxResponse) Reset added in v1.0.1

func (x *PackNeoTxResponse) Reset()

func (*PackNeoTxResponse) String added in v1.0.1

func (x *PackNeoTxResponse) String() string

type PingResponse

type PingResponse struct {
	NeoContract string `protobuf:"bytes,1,opt,name=neoContract,proto3" json:"neoContract,omitempty"`
	NeoOwner    string `protobuf:"bytes,2,opt,name=neoOwner,proto3" json:"neoOwner,omitempty"`
	NeoUrl      string `protobuf:"bytes,3,opt,name=neoUrl,proto3" json:"neoUrl,omitempty"`
	EthContract string `protobuf:"bytes,4,opt,name=ethContract,proto3" json:"ethContract,omitempty"`
	EthOwner    string `protobuf:"bytes,5,opt,name=ethOwner,proto3" json:"ethOwner,omitempty"`
	EthUrl      string `protobuf:"bytes,6,opt,name=ethUrl,proto3" json:"ethUrl,omitempty"`
	QlcOwner    string `protobuf:"bytes,7,opt,name=qlcOwner,proto3" json:"qlcOwner,omitempty"`
	TotalSupply int64  `protobuf:"varint,8,opt,name=totalSupply,proto3" json:"totalSupply,omitempty"`
	// contains filtered or unexported fields
}

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) GetEthContract

func (x *PingResponse) GetEthContract() string

func (*PingResponse) GetEthOwner added in v1.0.1

func (x *PingResponse) GetEthOwner() string

func (*PingResponse) GetEthUrl added in v1.0.1

func (x *PingResponse) GetEthUrl() string

func (*PingResponse) GetNeoContract

func (x *PingResponse) GetNeoContract() string

func (*PingResponse) GetNeoOwner added in v1.0.1

func (x *PingResponse) GetNeoOwner() string

func (*PingResponse) GetNeoUrl added in v1.0.1

func (x *PingResponse) GetNeoUrl() string

func (*PingResponse) GetQlcOwner added in v1.0.1

func (x *PingResponse) GetQlcOwner() string

func (*PingResponse) GetTotalSupply added in v1.0.1

func (x *PingResponse) GetTotalSupply() int64

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type QGasPledgeRequest added in v1.0.1

type QGasPledgeRequest struct {
	FromAddress          string `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"`
	Amount               int64  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	TokenMintedToAddress string `protobuf:"bytes,3,opt,name=tokenMintedToAddress,proto3" json:"tokenMintedToAddress,omitempty"`
	ChainType            string `protobuf:"bytes,4,opt,name=chainType,proto3" json:"chainType,omitempty"`
	// contains filtered or unexported fields
}

func (*QGasPledgeRequest) Descriptor deprecated added in v1.0.1

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

Deprecated: Use QGasPledgeRequest.ProtoReflect.Descriptor instead.

func (*QGasPledgeRequest) GetAmount added in v1.0.1

func (x *QGasPledgeRequest) GetAmount() int64

func (*QGasPledgeRequest) GetChainType added in v1.0.1

func (x *QGasPledgeRequest) GetChainType() string

func (*QGasPledgeRequest) GetFromAddress added in v1.0.1

func (x *QGasPledgeRequest) GetFromAddress() string

func (*QGasPledgeRequest) GetTokenMintedToAddress added in v1.0.1

func (x *QGasPledgeRequest) GetTokenMintedToAddress() string

func (*QGasPledgeRequest) ProtoMessage added in v1.0.1

func (*QGasPledgeRequest) ProtoMessage()

func (*QGasPledgeRequest) ProtoReflect added in v1.0.1

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

func (*QGasPledgeRequest) Reset added in v1.0.1

func (x *QGasPledgeRequest) Reset()

func (*QGasPledgeRequest) String added in v1.0.1

func (x *QGasPledgeRequest) String() string

type QGasSwapAPIClient added in v1.0.1

type QGasSwapAPIClient interface {
	GetPledgeSendBlock(ctx context.Context, in *QGasPledgeRequest, opts ...grpc.CallOption) (*StateBlockHash, error)
	PledgeChainTxSent(ctx context.Context, in *EthTxSentRequest, opts ...grpc.CallOption) (*Boolean, error)
	GetWithdrawRewardBlock(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*StateBlockHash, error)
	GetChainOwnerSign(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*String, error)
	WithdrawChainTxSent(ctx context.Context, in *QGasWithdrawRequest, opts ...grpc.CallOption) (*Boolean, error)
	ProcessBlock(ctx context.Context, in *StateBlockSigned, opts ...grpc.CallOption) (*Hash, error)
	SwapInfoList(ctx context.Context, in *Offset, opts ...grpc.CallOption) (*QGasSwapInfos, error)
	SwapInfosByAddress(ctx context.Context, in *AddrAndOffset, opts ...grpc.CallOption) (*QGasSwapInfos, error)
	SwapInfoByTxHash(ctx context.Context, in *Hash, opts ...grpc.CallOption) (*QGasSwapInfo, error)
	SwapInfosByState(ctx context.Context, in *StateAndOffset, opts ...grpc.CallOption) (*QGasSwapInfos, error)
	SwapInfosCount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Map, error)
	SwapInfosAmount(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Map, error)
}

QGasSwapAPIClient is the client API for QGasSwapAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQGasSwapAPIClient added in v1.0.1

func NewQGasSwapAPIClient(cc grpc.ClientConnInterface) QGasSwapAPIClient

type QGasSwapAPIServer added in v1.0.1

type QGasSwapAPIServer interface {
	GetPledgeSendBlock(context.Context, *QGasPledgeRequest) (*StateBlockHash, error)
	PledgeChainTxSent(context.Context, *EthTxSentRequest) (*Boolean, error)
	GetWithdrawRewardBlock(context.Context, *Hash) (*StateBlockHash, error)
	GetChainOwnerSign(context.Context, *Hash) (*String, error)
	WithdrawChainTxSent(context.Context, *QGasWithdrawRequest) (*Boolean, error)
	ProcessBlock(context.Context, *StateBlockSigned) (*Hash, error)
	SwapInfoList(context.Context, *Offset) (*QGasSwapInfos, error)
	SwapInfosByAddress(context.Context, *AddrAndOffset) (*QGasSwapInfos, error)
	SwapInfoByTxHash(context.Context, *Hash) (*QGasSwapInfo, error)
	SwapInfosByState(context.Context, *StateAndOffset) (*QGasSwapInfos, error)
	SwapInfosCount(context.Context, *empty.Empty) (*Map, error)
	SwapInfosAmount(context.Context, *empty.Empty) (*Map, error)
}

QGasSwapAPIServer is the server API for QGasSwapAPI service.

type QGasSwapInfo added in v1.0.1

type QGasSwapInfo struct {
	State           int32  `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
	StateStr        string `protobuf:"bytes,2,opt,name=stateStr,proto3" json:"stateStr,omitempty"`
	Amount          int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	QlcUserAddr     string `protobuf:"bytes,4,opt,name=qlcUserAddr,proto3" json:"qlcUserAddr,omitempty"`
	QlcSendTxHash   string `protobuf:"bytes,5,opt,name=qlcSendTxHash,proto3" json:"qlcSendTxHash,omitempty"`
	QlcRewardTxHash string `protobuf:"bytes,6,opt,name=qlcRewardTxHash,proto3" json:"qlcRewardTxHash,omitempty"`
	Chain           string `protobuf:"bytes,7,opt,name=chain,proto3" json:"chain,omitempty"`
	ChainUserAddr   string `protobuf:"bytes,8,opt,name=chainUserAddr,proto3" json:"chainUserAddr,omitempty"`
	ChainTxHash     string `protobuf:"bytes,9,opt,name=chainTxHash,proto3" json:"chainTxHash,omitempty"`
	StartTime       string `protobuf:"bytes,10,opt,name=startTime,proto3" json:"startTime,omitempty"`
	LastModifyTime  string `protobuf:"bytes,11,opt,name=lastModifyTime,proto3" json:"lastModifyTime,omitempty"`
	// contains filtered or unexported fields
}

func (*QGasSwapInfo) Descriptor deprecated added in v1.0.1

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

Deprecated: Use QGasSwapInfo.ProtoReflect.Descriptor instead.

func (*QGasSwapInfo) GetAmount added in v1.0.1

func (x *QGasSwapInfo) GetAmount() int64

func (*QGasSwapInfo) GetChain added in v1.0.1

func (x *QGasSwapInfo) GetChain() string

func (*QGasSwapInfo) GetChainTxHash added in v1.0.1

func (x *QGasSwapInfo) GetChainTxHash() string

func (*QGasSwapInfo) GetChainUserAddr added in v1.0.1

func (x *QGasSwapInfo) GetChainUserAddr() string

func (*QGasSwapInfo) GetLastModifyTime added in v1.0.1

func (x *QGasSwapInfo) GetLastModifyTime() string

func (*QGasSwapInfo) GetQlcRewardTxHash added in v1.0.1

func (x *QGasSwapInfo) GetQlcRewardTxHash() string

func (*QGasSwapInfo) GetQlcSendTxHash added in v1.0.1

func (x *QGasSwapInfo) GetQlcSendTxHash() string

func (*QGasSwapInfo) GetQlcUserAddr added in v1.0.1

func (x *QGasSwapInfo) GetQlcUserAddr() string

func (*QGasSwapInfo) GetStartTime added in v1.0.1

func (x *QGasSwapInfo) GetStartTime() string

func (*QGasSwapInfo) GetState added in v1.0.1

func (x *QGasSwapInfo) GetState() int32

func (*QGasSwapInfo) GetStateStr added in v1.0.1

func (x *QGasSwapInfo) GetStateStr() string

func (*QGasSwapInfo) ProtoMessage added in v1.0.1

func (*QGasSwapInfo) ProtoMessage()

func (*QGasSwapInfo) ProtoReflect added in v1.0.1

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

func (*QGasSwapInfo) Reset added in v1.0.1

func (x *QGasSwapInfo) Reset()

func (*QGasSwapInfo) String added in v1.0.1

func (x *QGasSwapInfo) String() string

type QGasSwapInfos added in v1.0.1

type QGasSwapInfos struct {
	Infos []*QGasSwapInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
	// contains filtered or unexported fields
}

func (*QGasSwapInfos) Descriptor deprecated added in v1.0.1

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

Deprecated: Use QGasSwapInfos.ProtoReflect.Descriptor instead.

func (*QGasSwapInfos) GetInfos added in v1.0.1

func (x *QGasSwapInfos) GetInfos() []*QGasSwapInfo

func (*QGasSwapInfos) ProtoMessage added in v1.0.1

func (*QGasSwapInfos) ProtoMessage()

func (*QGasSwapInfos) ProtoReflect added in v1.0.1

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

func (*QGasSwapInfos) Reset added in v1.0.1

func (x *QGasSwapInfos) Reset()

func (*QGasSwapInfos) String added in v1.0.1

func (x *QGasSwapInfos) String() string

type QGasWithdrawRequest added in v1.0.1

type QGasWithdrawRequest struct {
	Hash      string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	ChainType string `protobuf:"bytes,2,opt,name=chainType,proto3" json:"chainType,omitempty"`
	// contains filtered or unexported fields
}

func (*QGasWithdrawRequest) Descriptor deprecated added in v1.0.1

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

Deprecated: Use QGasWithdrawRequest.ProtoReflect.Descriptor instead.

func (*QGasWithdrawRequest) GetChainType added in v1.0.1

func (x *QGasWithdrawRequest) GetChainType() string

func (*QGasWithdrawRequest) GetHash added in v1.0.1

func (x *QGasWithdrawRequest) GetHash() string

func (*QGasWithdrawRequest) ProtoMessage added in v1.0.1

func (*QGasWithdrawRequest) ProtoMessage()

func (*QGasWithdrawRequest) ProtoReflect added in v1.0.1

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

func (*QGasWithdrawRequest) Reset added in v1.0.1

func (x *QGasWithdrawRequest) Reset()

func (*QGasWithdrawRequest) String added in v1.0.1

func (x *QGasWithdrawRequest) String() string

type RefreshRequest

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

func (*RefreshRequest) Descriptor deprecated

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

Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.

func (*RefreshRequest) GetToken

func (x *RefreshRequest) GetToken() string

func (*RefreshRequest) ProtoMessage

func (*RefreshRequest) ProtoMessage()

func (*RefreshRequest) ProtoReflect

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

func (*RefreshRequest) Reset

func (x *RefreshRequest) Reset()

func (*RefreshRequest) String

func (x *RefreshRequest) String() string

type RefreshResponse

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

func (*RefreshResponse) Descriptor deprecated

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

Deprecated: Use RefreshResponse.ProtoReflect.Descriptor instead.

func (*RefreshResponse) GetToken

func (x *RefreshResponse) GetToken() string

func (*RefreshResponse) ProtoMessage

func (*RefreshResponse) ProtoMessage()

func (*RefreshResponse) ProtoReflect

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

func (*RefreshResponse) Reset

func (x *RefreshResponse) Reset()

func (*RefreshResponse) String

func (x *RefreshResponse) String() string

type SendNeoTxnRequest added in v1.0.1

type SendNeoTxnRequest struct {
	Signature      string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	TxHash         string `protobuf:"bytes,2,opt,name=txHash,proto3" json:"txHash,omitempty"`
	PublicKey      string `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	Nep5SenderAddr string `protobuf:"bytes,4,opt,name=nep5SenderAddr,proto3" json:"nep5SenderAddr,omitempty"`
	ChainType      string `protobuf:"bytes,5,opt,name=chainType,proto3" json:"chainType,omitempty"`
	// contains filtered or unexported fields
}

func (*SendNeoTxnRequest) Descriptor deprecated added in v1.0.1

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

Deprecated: Use SendNeoTxnRequest.ProtoReflect.Descriptor instead.

func (*SendNeoTxnRequest) GetChainType added in v1.0.1

func (x *SendNeoTxnRequest) GetChainType() string

func (*SendNeoTxnRequest) GetNep5SenderAddr added in v1.0.1

func (x *SendNeoTxnRequest) GetNep5SenderAddr() string

func (*SendNeoTxnRequest) GetPublicKey added in v1.0.1

func (x *SendNeoTxnRequest) GetPublicKey() string

func (*SendNeoTxnRequest) GetSignature added in v1.0.1

func (x *SendNeoTxnRequest) GetSignature() string

func (*SendNeoTxnRequest) GetTxHash added in v1.0.1

func (x *SendNeoTxnRequest) GetTxHash() string

func (*SendNeoTxnRequest) ProtoMessage added in v1.0.1

func (*SendNeoTxnRequest) ProtoMessage()

func (*SendNeoTxnRequest) ProtoReflect added in v1.0.1

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

func (*SendNeoTxnRequest) Reset added in v1.0.1

func (x *SendNeoTxnRequest) Reset()

func (*SendNeoTxnRequest) String added in v1.0.1

func (x *SendNeoTxnRequest) String() string

type SignDataResponse added in v1.0.1

type SignDataResponse struct {
	Sign       []byte `protobuf:"bytes,1,opt,name=sign,proto3" json:"sign,omitempty"`
	VerifyData []byte `protobuf:"bytes,2,opt,name=verifyData,proto3" json:"verifyData,omitempty"`
	// contains filtered or unexported fields
}

func (*SignDataResponse) Descriptor deprecated added in v1.0.1

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

Deprecated: Use SignDataResponse.ProtoReflect.Descriptor instead.

func (*SignDataResponse) GetSign added in v1.0.1

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

func (*SignDataResponse) GetVerifyData added in v1.0.1

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

func (*SignDataResponse) ProtoMessage added in v1.0.1

func (*SignDataResponse) ProtoMessage()

func (*SignDataResponse) ProtoReflect added in v1.0.1

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

func (*SignDataResponse) Reset added in v1.0.1

func (x *SignDataResponse) Reset()

func (*SignDataResponse) String added in v1.0.1

func (x *SignDataResponse) String() string

type SignRequest

type SignRequest struct {
	Type    SignType `protobuf:"varint,1,opt,name=Type,proto3,enum=proto.SignType" json:"Type,omitempty"`
	Address string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	RawData []byte   `protobuf:"bytes,3,opt,name=rawData,proto3" json:"rawData,omitempty"`
	// contains filtered or unexported fields
}

func (*SignRequest) Descriptor deprecated

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

Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.

func (*SignRequest) GetAddress

func (x *SignRequest) GetAddress() string

func (*SignRequest) GetRawData

func (x *SignRequest) GetRawData() []byte

func (*SignRequest) GetType

func (x *SignRequest) GetType() SignType

func (*SignRequest) ProtoMessage

func (*SignRequest) ProtoMessage()

func (*SignRequest) ProtoReflect

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

func (*SignRequest) Reset

func (x *SignRequest) Reset()

func (*SignRequest) String

func (x *SignRequest) String() string

type SignResponse

type SignResponse struct {
	Sign       []byte `protobuf:"bytes,1,opt,name=sign,proto3" json:"sign,omitempty"`
	VerifyData []byte `protobuf:"bytes,2,opt,name=verifyData,proto3" json:"verifyData,omitempty"`
	// contains filtered or unexported fields
}

func (*SignResponse) Descriptor deprecated

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

Deprecated: Use SignResponse.ProtoReflect.Descriptor instead.

func (*SignResponse) GetSign

func (x *SignResponse) GetSign() []byte

func (*SignResponse) GetVerifyData

func (x *SignResponse) GetVerifyData() []byte

func (*SignResponse) ProtoMessage

func (*SignResponse) ProtoMessage()

func (*SignResponse) ProtoReflect

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

func (*SignResponse) Reset

func (x *SignResponse) Reset()

func (*SignResponse) String

func (x *SignResponse) String() string

type SignServiceClient

type SignServiceClient interface {
	Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
}

SignServiceClient is the client API for SignService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type SignServiceServer

type SignServiceServer interface {
	Sign(context.Context, *SignRequest) (*SignResponse, error)
}

SignServiceServer is the server API for SignService service.

type SignType

type SignType int32
const (
	SignType_ETH SignType = 0
	SignType_NEO SignType = 1
	SignType_BSC SignType = 2
	SignType_QLC SignType = 3
)

func (SignType) Descriptor

func (SignType) Descriptor() protoreflect.EnumDescriptor

func (SignType) Enum

func (x SignType) Enum() *SignType

func (SignType) EnumDescriptor deprecated

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

Deprecated: Use SignType.Descriptor instead.

func (SignType) Number

func (x SignType) Number() protoreflect.EnumNumber

func (SignType) String

func (x SignType) String() string

func (SignType) Type

type StateAndOffset added in v1.0.1

type StateAndOffset struct {
	State    string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*StateAndOffset) Descriptor deprecated added in v1.0.1

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

Deprecated: Use StateAndOffset.ProtoReflect.Descriptor instead.

func (*StateAndOffset) GetPage added in v1.0.1

func (x *StateAndOffset) GetPage() int32

func (*StateAndOffset) GetPageSize added in v1.0.1

func (x *StateAndOffset) GetPageSize() int32

func (*StateAndOffset) GetState added in v1.0.1

func (x *StateAndOffset) GetState() string

func (*StateAndOffset) ProtoMessage added in v1.0.1

func (*StateAndOffset) ProtoMessage()

func (*StateAndOffset) ProtoReflect added in v1.0.1

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

func (*StateAndOffset) Reset added in v1.0.1

func (x *StateAndOffset) Reset()

func (*StateAndOffset) String added in v1.0.1

func (x *StateAndOffset) String() string

type StateBlockHash added in v1.0.1

type StateBlockHash struct {
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

func (*StateBlockHash) Descriptor deprecated added in v1.0.1

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

Deprecated: Use StateBlockHash.ProtoReflect.Descriptor instead.

func (*StateBlockHash) GetHash added in v1.0.1

func (x *StateBlockHash) GetHash() string

func (*StateBlockHash) GetRoot added in v1.0.1

func (x *StateBlockHash) GetRoot() string

func (*StateBlockHash) ProtoMessage added in v1.0.1

func (*StateBlockHash) ProtoMessage()

func (*StateBlockHash) ProtoReflect added in v1.0.1

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

func (*StateBlockHash) Reset added in v1.0.1

func (x *StateBlockHash) Reset()

func (*StateBlockHash) String added in v1.0.1

func (x *StateBlockHash) String() string

type StateBlockSigned added in v1.0.1

type StateBlockSigned struct {
	Hash      string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	Work      string `protobuf:"bytes,3,opt,name=work,proto3" json:"work,omitempty"`
	// contains filtered or unexported fields
}

func (*StateBlockSigned) Descriptor deprecated added in v1.0.1

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

Deprecated: Use StateBlockSigned.ProtoReflect.Descriptor instead.

func (*StateBlockSigned) GetHash added in v1.0.1

func (x *StateBlockSigned) GetHash() string

func (*StateBlockSigned) GetSignature added in v1.0.1

func (x *StateBlockSigned) GetSignature() string

func (*StateBlockSigned) GetWork added in v1.0.1

func (x *StateBlockSigned) GetWork() string

func (*StateBlockSigned) ProtoMessage added in v1.0.1

func (*StateBlockSigned) ProtoMessage()

func (*StateBlockSigned) ProtoReflect added in v1.0.1

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

func (*StateBlockSigned) Reset added in v1.0.1

func (x *StateBlockSigned) Reset()

func (*StateBlockSigned) String added in v1.0.1

func (x *StateBlockSigned) String() string

type String

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

func (*String) Descriptor deprecated

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetValue

func (x *String) GetValue() string

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

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

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

type SwapInfo added in v1.0.1

type SwapInfo struct {
	State          int32  `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
	StateStr       string `protobuf:"bytes,2,opt,name=stateStr,proto3" json:"stateStr,omitempty"`
	Amount         int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	NeoUserAddr    string `protobuf:"bytes,4,opt,name=neoUserAddr,proto3" json:"neoUserAddr,omitempty"`
	NeoTxHash      string `protobuf:"bytes,5,opt,name=neoTxHash,proto3" json:"neoTxHash,omitempty"`
	Chain          string `protobuf:"bytes,6,opt,name=chain,proto3" json:"chain,omitempty"`
	ChainUserAddr  string `protobuf:"bytes,7,opt,name=chainUserAddr,proto3" json:"chainUserAddr,omitempty"`
	ChainTxHash    string `protobuf:"bytes,8,opt,name=chainTxHash,proto3" json:"chainTxHash,omitempty"`
	StartTime      string `protobuf:"bytes,9,opt,name=startTime,proto3" json:"startTime,omitempty"`
	LastModifyTime string `protobuf:"bytes,10,opt,name=lastModifyTime,proto3" json:"lastModifyTime,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapInfo) Descriptor deprecated added in v1.0.1

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

Deprecated: Use SwapInfo.ProtoReflect.Descriptor instead.

func (*SwapInfo) GetAmount added in v1.0.1

func (x *SwapInfo) GetAmount() int64

func (*SwapInfo) GetChain added in v1.0.1

func (x *SwapInfo) GetChain() string

func (*SwapInfo) GetChainTxHash added in v1.0.1

func (x *SwapInfo) GetChainTxHash() string

func (*SwapInfo) GetChainUserAddr added in v1.0.1

func (x *SwapInfo) GetChainUserAddr() string

func (*SwapInfo) GetLastModifyTime added in v1.0.1

func (x *SwapInfo) GetLastModifyTime() string

func (*SwapInfo) GetNeoTxHash added in v1.0.1

func (x *SwapInfo) GetNeoTxHash() string

func (*SwapInfo) GetNeoUserAddr added in v1.0.1

func (x *SwapInfo) GetNeoUserAddr() string

func (*SwapInfo) GetStartTime added in v1.0.1

func (x *SwapInfo) GetStartTime() string

func (*SwapInfo) GetState added in v1.0.1

func (x *SwapInfo) GetState() int32

func (*SwapInfo) GetStateStr added in v1.0.1

func (x *SwapInfo) GetStateStr() string

func (*SwapInfo) ProtoMessage added in v1.0.1

func (*SwapInfo) ProtoMessage()

func (*SwapInfo) ProtoReflect added in v1.0.1

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

func (*SwapInfo) Reset added in v1.0.1

func (x *SwapInfo) Reset()

func (*SwapInfo) String added in v1.0.1

func (x *SwapInfo) String() string

type SwapInfos added in v1.0.1

type SwapInfos struct {
	Infos []*SwapInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapInfos) Descriptor deprecated added in v1.0.1

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

Deprecated: Use SwapInfos.ProtoReflect.Descriptor instead.

func (*SwapInfos) GetInfos added in v1.0.1

func (x *SwapInfos) GetInfos() []*SwapInfo

func (*SwapInfos) ProtoMessage added in v1.0.1

func (*SwapInfos) ProtoMessage()

func (*SwapInfos) ProtoReflect added in v1.0.1

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

func (*SwapInfos) Reset added in v1.0.1

func (x *SwapInfos) Reset()

func (*SwapInfos) String added in v1.0.1

func (x *SwapInfos) String() string

type SwapPending added in v1.0.1

type SwapPending struct {
	Typ            int32  `protobuf:"varint,1,opt,name=typ,proto3" json:"typ,omitempty"`
	EthTxHash      string `protobuf:"bytes,2,opt,name=ethTxHash,proto3" json:"ethTxHash,omitempty"`
	NeoTxHash      string `protobuf:"bytes,3,opt,name=neoTxHash,proto3" json:"neoTxHash,omitempty"`
	LastModifyTime string `protobuf:"bytes,4,opt,name=lastModifyTime,proto3" json:"lastModifyTime,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapPending) Descriptor deprecated added in v1.0.1

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

Deprecated: Use SwapPending.ProtoReflect.Descriptor instead.

func (*SwapPending) GetEthTxHash added in v1.0.1

func (x *SwapPending) GetEthTxHash() string

func (*SwapPending) GetLastModifyTime added in v1.0.1

func (x *SwapPending) GetLastModifyTime() string

func (*SwapPending) GetNeoTxHash added in v1.0.1

func (x *SwapPending) GetNeoTxHash() string

func (*SwapPending) GetTyp added in v1.0.1

func (x *SwapPending) GetTyp() int32

func (*SwapPending) ProtoMessage added in v1.0.1

func (*SwapPending) ProtoMessage()

func (*SwapPending) ProtoReflect added in v1.0.1

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

func (*SwapPending) Reset added in v1.0.1

func (x *SwapPending) Reset()

func (*SwapPending) String added in v1.0.1

func (x *SwapPending) String() string

type SwapPendings added in v1.0.1

type SwapPendings struct {
	Infos []*SwapPending `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
	// contains filtered or unexported fields
}

func (*SwapPendings) Descriptor deprecated added in v1.0.1

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

Deprecated: Use SwapPendings.ProtoReflect.Descriptor instead.

func (*SwapPendings) GetInfos added in v1.0.1

func (x *SwapPendings) GetInfos() []*SwapPending

func (*SwapPendings) ProtoMessage added in v1.0.1

func (*SwapPendings) ProtoMessage()

func (*SwapPendings) ProtoReflect added in v1.0.1

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

func (*SwapPendings) Reset added in v1.0.1

func (x *SwapPendings) Reset()

func (*SwapPendings) String added in v1.0.1

func (x *SwapPendings) String() string

type TokenServiceClient

type TokenServiceClient interface {
	Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error)
	AddressList(ctx context.Context, in *AddressRequest, opts ...grpc.CallOption) (*AddressResponse, error)
}

TokenServiceClient is the client API for TokenService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type TokenServiceServer

type TokenServiceServer interface {
	Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error)
	AddressList(context.Context, *AddressRequest) (*AddressResponse, error)
}

TokenServiceServer is the server API for TokenService service.

type UnimplementedDebugAPIServer

type UnimplementedDebugAPIServer struct {
}

UnimplementedDebugAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedDebugAPIServer) SignData

type UnimplementedDepositAPIServer

type UnimplementedDepositAPIServer struct {
}

UnimplementedDepositAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedDepositAPIServer) ChainTransactionConfirmed added in v1.0.1

func (*UnimplementedDepositAPIServer) ChainTransactionConfirmed(context.Context, *ChainTxRequest) (*Boolean, error)

func (*UnimplementedDepositAPIServer) ChainTransactionID added in v1.0.1

func (*UnimplementedDepositAPIServer) ChainTransactionID(context.Context, *Hash) (*Hash, error)

func (*UnimplementedDepositAPIServer) ChainTransactionSent added in v1.0.1

func (*UnimplementedDepositAPIServer) GetChainOwnerSign added in v1.0.1

func (*UnimplementedDepositAPIServer) GetChainOwnerSign(context.Context, *Hash) (*String, error)

func (*UnimplementedDepositAPIServer) NeoTransactionConfirmed added in v1.0.1

func (*UnimplementedDepositAPIServer) PackNeoTransaction added in v1.0.1

func (*UnimplementedDepositAPIServer) Refund added in v1.0.1

func (*UnimplementedDepositAPIServer) SendNeoTransaction added in v1.0.1

type UnimplementedInfoAPIServer

type UnimplementedInfoAPIServer struct {
}

UnimplementedInfoAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedInfoAPIServer) CheckEthTransaction added in v1.0.1

func (*UnimplementedInfoAPIServer) CheckEthTransaction(context.Context, *Hash) (*Boolean, error)

func (*UnimplementedInfoAPIServer) CheckNeoTransaction added in v1.0.1

func (*UnimplementedInfoAPIServer) CheckNeoTransaction(context.Context, *Hash) (*Boolean, error)

func (*UnimplementedInfoAPIServer) Config added in v1.0.1

func (*UnimplementedInfoAPIServer) Ping

func (*UnimplementedInfoAPIServer) SwapAmountByAddress added in v1.0.1

func (*UnimplementedInfoAPIServer) SwapAmountByState added in v1.0.1

func (*UnimplementedInfoAPIServer) SwapAmountByState(context.Context, *empty.Empty) (*Map, error)

func (*UnimplementedInfoAPIServer) SwapCountByState added in v1.0.1

func (*UnimplementedInfoAPIServer) SwapCountByState(context.Context, *empty.Empty) (*Map, error)

func (*UnimplementedInfoAPIServer) SwapInfoByTxHash added in v1.0.1

func (*UnimplementedInfoAPIServer) SwapInfoByTxHash(context.Context, *Hash) (*SwapInfo, error)

func (*UnimplementedInfoAPIServer) SwapInfoList added in v1.0.1

func (*UnimplementedInfoAPIServer) SwapInfosByAddress added in v1.0.1

func (*UnimplementedInfoAPIServer) SwapInfosByState added in v1.0.1

func (*UnimplementedInfoAPIServer) SwapUnconfirmeds added in v1.0.1

type UnimplementedQGasSwapAPIServer added in v1.0.1

type UnimplementedQGasSwapAPIServer struct {
}

UnimplementedQGasSwapAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedQGasSwapAPIServer) GetChainOwnerSign added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) GetChainOwnerSign(context.Context, *Hash) (*String, error)

func (*UnimplementedQGasSwapAPIServer) GetPledgeSendBlock added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) GetWithdrawRewardBlock added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) GetWithdrawRewardBlock(context.Context, *Hash) (*StateBlockHash, error)

func (*UnimplementedQGasSwapAPIServer) PledgeChainTxSent added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) ProcessBlock added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) SwapInfoByTxHash added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) SwapInfoList added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) SwapInfosAmount added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) SwapInfosByAddress added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) SwapInfosByState added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) SwapInfosCount added in v1.0.1

func (*UnimplementedQGasSwapAPIServer) WithdrawChainTxSent added in v1.0.1

type UnimplementedSignServiceServer

type UnimplementedSignServiceServer struct {
}

UnimplementedSignServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSignServiceServer) Sign

type UnimplementedTokenServiceServer

type UnimplementedTokenServiceServer struct {
}

UnimplementedTokenServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTokenServiceServer) AddressList

func (*UnimplementedTokenServiceServer) Refresh

type UnimplementedWithdrawAPIServer

type UnimplementedWithdrawAPIServer struct {
}

UnimplementedWithdrawAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedWithdrawAPIServer) ChainTransactionConfirmed added in v1.0.1

func (*UnimplementedWithdrawAPIServer) ChainTransactionConfirmed(context.Context, *ChainTxRequest) (*Boolean, error)

func (*UnimplementedWithdrawAPIServer) ChainTransactionSent added in v1.0.1

type WithdrawAPIClient

type WithdrawAPIClient interface {
	ChainTransactionSent(ctx context.Context, in *ChainTxRequest, opts ...grpc.CallOption) (*Boolean, error)
	ChainTransactionConfirmed(ctx context.Context, in *ChainTxRequest, opts ...grpc.CallOption) (*Boolean, error)
}

WithdrawAPIClient is the client API for WithdrawAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type WithdrawAPIServer

type WithdrawAPIServer interface {
	ChainTransactionSent(context.Context, *ChainTxRequest) (*Boolean, error)
	ChainTransactionConfirmed(context.Context, *ChainTxRequest) (*Boolean, error)
}

WithdrawAPIServer is the server API for WithdrawAPI service.

Jump to

Keyboard shortcuts

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