types

package
Version: v1.65.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Chain33BlockChainName    = "Chain33-mainchain"
	EthereumBlockChainName   = "Ethereum-mainchain"
	BTYAddrChain33           = "1111111111111111111114oLvT2"
	NilAddrChain33           = "1111111111111111111114oLvT2"
	EthNilAddr               = "0x0000000000000000000000000000000000000000"
	SYMBOL_ETH               = "ETH"
	SYMBOL_BTY               = "BTY"
	Tx_Status_Pending        = "pending"
	Tx_Status_Success        = "Successful"
	Tx_Status_Failed         = "Failed"
	Source_Chain_Ethereum    = int32(0)
	Source_Chain_Chain33     = int32(1)
	Invalid_Tx_Index         = int64(0)
	Invalid_Chain33Tx_Status = int32(-1)
)
View Source
const Version4Relayer = "0.1.0"

Version4Relayer ...

Variables

View Source
var (
	ErrInvalidEthContractAddress = errors.New("ErrInvalidEthContractAddress")
	ErrUnpack                    = errors.New("ErrUnpackResultWithABI")
	ErrPack                      = errors.New("ErrPackParamererWithABI")
	ErrEmptyAddress              = errors.New("ErrEmptyAddress")
	ErrAddress4Eth               = errors.New("symbol \"eth\" must have null address set as token address")
	ErrPublicKeyType             = errors.New("ErrPublicKeyType")
	ErrInvalidContractAddress    = errors.New("ErrInvalidTargetContractAddress")
	ErrNoValidatorConfigured     = errors.New("ErrNoValidatorConfigured")
	ErrMulSignNotDeployed        = errors.New("Contract multi-sign haven't been deployed yet")
	ErrGetTransactionHash        = errors.New("Failed to get tx hash from mulsign")
)
View Source
var DecimalsPrefix = map[uint8]int64{
	1:  1e1,
	2:  1e2,
	3:  1e3,
	4:  1e4,
	5:  1e5,
	6:  1e6,
	7:  1e7,
	8:  1e8,
	9:  1e9,
	10: 1e10,
	11: 1e11,
	12: 1e12,
	13: 1e13,
	14: 1e14,
	15: 1e15,
	16: 1e16,
	17: 1e17,
	18: 1e18,
}
View Source
var File_config_proto protoreflect.FileDescriptor
View Source
var File_relayer_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account4Relayer

type Account4Relayer struct {
	Privkey []byte `protobuf:"bytes,1,opt,name=privkey,proto3" json:"privkey,omitempty"`
	Addr    string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

以太坊账户信息

privkey : 账户地址对应的私钥
addr :账户地址

func (*Account4Relayer) Descriptor deprecated

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

Deprecated: Use Account4Relayer.ProtoReflect.Descriptor instead.

func (*Account4Relayer) GetAddr

func (x *Account4Relayer) GetAddr() string

func (*Account4Relayer) GetPrivkey

func (x *Account4Relayer) GetPrivkey() []byte

func (*Account4Relayer) ProtoMessage

func (*Account4Relayer) ProtoMessage()

func (*Account4Relayer) ProtoReflect

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

func (*Account4Relayer) Reset

func (x *Account4Relayer) Reset()

func (*Account4Relayer) String

func (x *Account4Relayer) String() string

type Account4Show

type Account4Show struct {
	Privkey string `protobuf:"bytes,1,opt,name=privkey,proto3" json:"privkey,omitempty"`
	Addr    string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

func (*Account4Show) Descriptor deprecated

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

Deprecated: Use Account4Show.ProtoReflect.Descriptor instead.

func (*Account4Show) GetAddr

func (x *Account4Show) GetAddr() string

func (*Account4Show) GetPrivkey

func (x *Account4Show) GetPrivkey() string

func (*Account4Show) ProtoMessage

func (*Account4Show) ProtoMessage()

func (*Account4Show) ProtoReflect

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

func (*Account4Show) Reset

func (x *Account4Show) Reset()

func (*Account4Show) String

func (x *Account4Show) String() string

type ApproveAllowance

type ApproveAllowance struct {
	OwnerKey  string `protobuf:"bytes,1,opt,name=ownerKey,proto3" json:"ownerKey,omitempty"`
	TokenAddr string `protobuf:"bytes,2,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	Amount    string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*ApproveAllowance) Descriptor deprecated

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

Deprecated: Use ApproveAllowance.ProtoReflect.Descriptor instead.

func (*ApproveAllowance) GetAmount

func (x *ApproveAllowance) GetAmount() string

func (*ApproveAllowance) GetOwnerKey

func (x *ApproveAllowance) GetOwnerKey() string

func (*ApproveAllowance) GetTokenAddr

func (x *ApproveAllowance) GetTokenAddr() string

func (*ApproveAllowance) ProtoMessage

func (*ApproveAllowance) ProtoMessage()

func (*ApproveAllowance) ProtoReflect

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

func (*ApproveAllowance) Reset

func (x *ApproveAllowance) Reset()

func (*ApproveAllowance) String

func (x *ApproveAllowance) String() string

type AssetType

type AssetType struct {
	Chain         string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	IssueContract string `protobuf:"bytes,2,opt,name=issueContract,proto3" json:"issueContract,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetType) Descriptor deprecated

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

Deprecated: Use AssetType.ProtoReflect.Descriptor instead.

func (*AssetType) GetChain

func (x *AssetType) GetChain() string

func (*AssetType) GetIssueContract

func (x *AssetType) GetIssueContract() string

func (*AssetType) GetSymbol

func (x *AssetType) GetSymbol() string

func (*AssetType) ProtoMessage

func (*AssetType) ProtoMessage()

func (*AssetType) ProtoReflect

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

func (*AssetType) Reset

func (x *AssetType) Reset()

func (*AssetType) String

func (x *AssetType) String() string

type BalanceAddr

type BalanceAddr struct {
	Owner     string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	TokenAddr string `protobuf:"bytes,2,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	// contains filtered or unexported fields
}

func (*BalanceAddr) Descriptor deprecated

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

Deprecated: Use BalanceAddr.ProtoReflect.Descriptor instead.

func (*BalanceAddr) GetOwner

func (x *BalanceAddr) GetOwner() string

func (*BalanceAddr) GetTokenAddr

func (x *BalanceAddr) GetTokenAddr() string

func (*BalanceAddr) ProtoMessage

func (*BalanceAddr) ProtoMessage()

func (*BalanceAddr) ProtoReflect

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

func (*BalanceAddr) Reset

func (x *BalanceAddr) Reset()

func (*BalanceAddr) String

func (x *BalanceAddr) String() string

type Burn

type Burn struct {
	OwnerKey        string `protobuf:"bytes,1,opt,name=ownerKey,proto3" json:"ownerKey,omitempty"`
	TokenAddr       string `protobuf:"bytes,2,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	Amount          string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Chain33Receiver string `protobuf:"bytes,4,opt,name=chain33Receiver,proto3" json:"chain33Receiver,omitempty"`
	// contains filtered or unexported fields
}

func (*Burn) Descriptor deprecated

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

Deprecated: Use Burn.ProtoReflect.Descriptor instead.

func (*Burn) GetAmount

func (x *Burn) GetAmount() string

func (*Burn) GetChain33Receiver

func (x *Burn) GetChain33Receiver() string

func (*Burn) GetOwnerKey

func (x *Burn) GetOwnerKey() string

func (*Burn) GetTokenAddr

func (x *Burn) GetTokenAddr() string

func (*Burn) ProtoMessage

func (*Burn) ProtoMessage()

func (*Burn) ProtoReflect

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

func (*Burn) Reset

func (x *Burn) Reset()

func (*Burn) String

func (x *Burn) String() string

type BurnFromChain33

type BurnFromChain33 struct {
	OwnerKey         string `protobuf:"bytes,1,opt,name=ownerKey,proto3" json:"ownerKey,omitempty"`
	TokenAddr        string `protobuf:"bytes,2,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	Amount           string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	EthereumReceiver string `protobuf:"bytes,4,opt,name=ethereumReceiver,proto3" json:"ethereumReceiver,omitempty"`
	// contains filtered or unexported fields
}

func (*BurnFromChain33) Descriptor deprecated

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

Deprecated: Use BurnFromChain33.ProtoReflect.Descriptor instead.

func (*BurnFromChain33) GetAmount

func (x *BurnFromChain33) GetAmount() string

func (*BurnFromChain33) GetEthereumReceiver

func (x *BurnFromChain33) GetEthereumReceiver() string

func (*BurnFromChain33) GetOwnerKey

func (x *BurnFromChain33) GetOwnerKey() string

func (*BurnFromChain33) GetTokenAddr

func (x *BurnFromChain33) GetTokenAddr() string

func (*BurnFromChain33) ProtoMessage

func (*BurnFromChain33) ProtoMessage()

func (*BurnFromChain33) ProtoReflect

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

func (*BurnFromChain33) Reset

func (x *BurnFromChain33) Reset()

func (*BurnFromChain33) String

func (x *BurnFromChain33) String() string

type Chain33ToEthereumStatics

type Chain33ToEthereumStatics struct {
	EthTxstatus    string `protobuf:"bytes,1,opt,name=ethTxstatus,proto3" json:"ethTxstatus,omitempty"`
	Chain33Txhash  string `protobuf:"bytes,2,opt,name=chain33Txhash,proto3" json:"chain33Txhash,omitempty"`
	EthereumTxhash string `protobuf:"bytes,3,opt,name=EthereumTxhash,proto3" json:"EthereumTxhash,omitempty"`
	BurnLock       int32  `protobuf:"varint,4,opt,name=burnLock,proto3" json:"burnLock,omitempty"`
	//该笔lock或者burn交易的chain33发起人
	Chain33Sender    string `protobuf:"bytes,5,opt,name=chain33Sender,proto3" json:"chain33Sender,omitempty"`
	EthereumReceiver string `protobuf:"bytes,6,opt,name=ethereumReceiver,proto3" json:"ethereumReceiver,omitempty"`
	Symbol           string `protobuf:"bytes,7,opt,name=symbol,proto3" json:"symbol,omitempty"`
	//因为考虑到,eth的单位是以wei计算的,所以使用string类型
	Amount        string `protobuf:"bytes,8,opt,name=amount,proto3" json:"amount,omitempty"`
	Nonce         int64  `protobuf:"varint,9,opt,name=nonce,proto3" json:"nonce,omitempty"`
	TxIndex       int64  `protobuf:"varint,10,opt,name=txIndex,proto3" json:"txIndex,omitempty"`
	OperationType string `protobuf:"bytes,11,opt,name=operationType,proto3" json:"operationType,omitempty"`
	// contains filtered or unexported fields
}

func (*Chain33ToEthereumStatics) Descriptor deprecated

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

Deprecated: Use Chain33ToEthereumStatics.ProtoReflect.Descriptor instead.

func (*Chain33ToEthereumStatics) GetAmount

func (x *Chain33ToEthereumStatics) GetAmount() string

func (*Chain33ToEthereumStatics) GetBurnLock

func (x *Chain33ToEthereumStatics) GetBurnLock() int32

func (*Chain33ToEthereumStatics) GetChain33Sender

func (x *Chain33ToEthereumStatics) GetChain33Sender() string

func (*Chain33ToEthereumStatics) GetChain33Txhash

func (x *Chain33ToEthereumStatics) GetChain33Txhash() string

func (*Chain33ToEthereumStatics) GetEthTxstatus

func (x *Chain33ToEthereumStatics) GetEthTxstatus() string

func (*Chain33ToEthereumStatics) GetEthereumReceiver

func (x *Chain33ToEthereumStatics) GetEthereumReceiver() string

func (*Chain33ToEthereumStatics) GetEthereumTxhash

func (x *Chain33ToEthereumStatics) GetEthereumTxhash() string

func (*Chain33ToEthereumStatics) GetNonce

func (x *Chain33ToEthereumStatics) GetNonce() int64

func (*Chain33ToEthereumStatics) GetOperationType

func (x *Chain33ToEthereumStatics) GetOperationType() string

func (*Chain33ToEthereumStatics) GetSymbol

func (x *Chain33ToEthereumStatics) GetSymbol() string

func (*Chain33ToEthereumStatics) GetTxIndex

func (x *Chain33ToEthereumStatics) GetTxIndex() int64

func (*Chain33ToEthereumStatics) ProtoMessage

func (*Chain33ToEthereumStatics) ProtoMessage()

func (*Chain33ToEthereumStatics) ProtoReflect

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

func (*Chain33ToEthereumStatics) Reset

func (x *Chain33ToEthereumStatics) Reset()

func (*Chain33ToEthereumStatics) String

func (x *Chain33ToEthereumStatics) String() string

type Deploy

type Deploy struct {

	//操作管理员地址
	OperatorAddr string `protobuf:"bytes,1,opt,name=operatorAddr,proto3" json:"operatorAddr,omitempty"`
	//合约部署人员私钥,用于部署合约时签名使用
	DeployerPrivateKey string `protobuf:"bytes,2,opt,name=deployerPrivateKey,proto3" json:"deployerPrivateKey,omitempty"`
	//验证人地址
	ValidatorsAddr []string `protobuf:"bytes,3,rep,name=validatorsAddr,proto3" json:"validatorsAddr,omitempty"`
	//验证人权重
	InitPowers []int64 `protobuf:"varint,4,rep,packed,name=initPowers,proto3" json:"initPowers,omitempty"`
	// contains filtered or unexported fields
}

func (*Deploy) Descriptor deprecated

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

Deprecated: Use Deploy.ProtoReflect.Descriptor instead.

func (*Deploy) GetDeployerPrivateKey

func (x *Deploy) GetDeployerPrivateKey() string

func (*Deploy) GetInitPowers

func (x *Deploy) GetInitPowers() []int64

func (*Deploy) GetOperatorAddr

func (x *Deploy) GetOperatorAddr() string

func (*Deploy) GetValidatorsAddr

func (x *Deploy) GetValidatorsAddr() []string

func (*Deploy) ProtoMessage

func (*Deploy) ProtoMessage()

func (*Deploy) ProtoReflect

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

func (*Deploy) Reset

func (x *Deploy) Reset()

func (*Deploy) String

func (x *Deploy) String() string

type ERC20Token

type ERC20Token struct {
	Owner  string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*ERC20Token) Descriptor deprecated

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

Deprecated: Use ERC20Token.ProtoReflect.Descriptor instead.

func (*ERC20Token) GetAmount

func (x *ERC20Token) GetAmount() string

func (*ERC20Token) GetName

func (x *ERC20Token) GetName() string

func (*ERC20Token) GetOwner

func (x *ERC20Token) GetOwner() string

func (*ERC20Token) GetSymbol

func (x *ERC20Token) GetSymbol() string

func (*ERC20Token) ProtoMessage

func (*ERC20Token) ProtoMessage()

func (*ERC20Token) ProtoReflect

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

func (*ERC20Token) Reset

func (x *ERC20Token) Reset()

func (*ERC20Token) String

func (x *ERC20Token) String() string

type ETHConfigLockedTokenOffline

type ETHConfigLockedTokenOffline struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Symbol    string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Threshold string `protobuf:"bytes,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
	Percents  uint32 `protobuf:"varint,4,opt,name=percents,proto3" json:"percents,omitempty"`
	// contains filtered or unexported fields
}

func (*ETHConfigLockedTokenOffline) Descriptor deprecated

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

Deprecated: Use ETHConfigLockedTokenOffline.ProtoReflect.Descriptor instead.

func (*ETHConfigLockedTokenOffline) GetAddress

func (x *ETHConfigLockedTokenOffline) GetAddress() string

func (*ETHConfigLockedTokenOffline) GetPercents

func (x *ETHConfigLockedTokenOffline) GetPercents() uint32

func (*ETHConfigLockedTokenOffline) GetSymbol

func (x *ETHConfigLockedTokenOffline) GetSymbol() string

func (*ETHConfigLockedTokenOffline) GetThreshold

func (x *ETHConfigLockedTokenOffline) GetThreshold() string

func (*ETHConfigLockedTokenOffline) ProtoMessage

func (*ETHConfigLockedTokenOffline) ProtoMessage()

func (*ETHConfigLockedTokenOffline) ProtoReflect

func (*ETHConfigLockedTokenOffline) Reset

func (x *ETHConfigLockedTokenOffline) Reset()

func (*ETHConfigLockedTokenOffline) String

func (x *ETHConfigLockedTokenOffline) String() string

type ETHTokenLockAddress

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

func (*ETHTokenLockAddress) Descriptor deprecated

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

Deprecated: Use ETHTokenLockAddress.ProtoReflect.Descriptor instead.

func (*ETHTokenLockAddress) GetAddress

func (x *ETHTokenLockAddress) GetAddress() string

func (*ETHTokenLockAddress) GetSymbol

func (x *ETHTokenLockAddress) GetSymbol() string

func (*ETHTokenLockAddress) ProtoMessage

func (*ETHTokenLockAddress) ProtoMessage()

func (*ETHTokenLockAddress) ProtoReflect

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

func (*ETHTokenLockAddress) Reset

func (x *ETHTokenLockAddress) Reset()

func (*ETHTokenLockAddress) String

func (x *ETHTokenLockAddress) String() string

type EthBridgeClaim

type EthBridgeClaim struct {
	EthereumChainID int64  `protobuf:"varint,1,opt,name=ethereumChainID,proto3" json:"ethereumChainID,omitempty"`
	BridgeBrankAddr string `protobuf:"bytes,2,opt,name=bridgeBrankAddr,proto3" json:"bridgeBrankAddr,omitempty"`
	Nonce           int64  `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	TokenAddr       string `protobuf:"bytes,4,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	Symbol          string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"`
	EthereumSender  string `protobuf:"bytes,6,opt,name=ethereumSender,proto3" json:"ethereumSender,omitempty"`
	Chain33Receiver string `protobuf:"bytes,7,opt,name=chain33Receiver,proto3" json:"chain33Receiver,omitempty"`
	//因为考虑到eth是以wei单位的,需要更大的计数范围,所以使用string类型
	Amount    string `protobuf:"bytes,9,opt,name=amount,proto3" json:"amount,omitempty"`
	ClaimType int32  `protobuf:"varint,10,opt,name=claimType,proto3" json:"claimType,omitempty"`
	ChainName string `protobuf:"bytes,11,opt,name=chainName,proto3" json:"chainName,omitempty"`
	Decimal   int64  `protobuf:"varint,12,opt,name=decimal,proto3" json:"decimal,omitempty"`
	EthTxHash string `protobuf:"bytes,13,opt,name=ethTxHash,proto3" json:"ethTxHash,omitempty"`
	// contains filtered or unexported fields
}

func (*EthBridgeClaim) Descriptor deprecated

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

Deprecated: Use EthBridgeClaim.ProtoReflect.Descriptor instead.

func (*EthBridgeClaim) GetAmount

func (x *EthBridgeClaim) GetAmount() string

func (*EthBridgeClaim) GetBridgeBrankAddr

func (x *EthBridgeClaim) GetBridgeBrankAddr() string

func (*EthBridgeClaim) GetChain33Receiver

func (x *EthBridgeClaim) GetChain33Receiver() string

func (*EthBridgeClaim) GetChainName

func (x *EthBridgeClaim) GetChainName() string

func (*EthBridgeClaim) GetClaimType

func (x *EthBridgeClaim) GetClaimType() int32

func (*EthBridgeClaim) GetDecimal

func (x *EthBridgeClaim) GetDecimal() int64

func (*EthBridgeClaim) GetEthTxHash

func (x *EthBridgeClaim) GetEthTxHash() string

func (*EthBridgeClaim) GetEthereumChainID

func (x *EthBridgeClaim) GetEthereumChainID() int64

func (*EthBridgeClaim) GetEthereumSender

func (x *EthBridgeClaim) GetEthereumSender() string

func (*EthBridgeClaim) GetNonce

func (x *EthBridgeClaim) GetNonce() int64

func (*EthBridgeClaim) GetSymbol

func (x *EthBridgeClaim) GetSymbol() string

func (*EthBridgeClaim) GetTokenAddr

func (x *EthBridgeClaim) GetTokenAddr() string

func (*EthBridgeClaim) ProtoMessage

func (*EthBridgeClaim) ProtoMessage()

func (*EthBridgeClaim) ProtoReflect

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

func (*EthBridgeClaim) Reset

func (x *EthBridgeClaim) Reset()

func (*EthBridgeClaim) String

func (x *EthBridgeClaim) String() string

type Ethereum2Chain33Statics

type Ethereum2Chain33Statics struct {
	Chain33Txstatus string `protobuf:"bytes,1,opt,name=chain33Txstatus,proto3" json:"chain33Txstatus,omitempty"`
	Chain33Txhash   string `protobuf:"bytes,2,opt,name=chain33Txhash,proto3" json:"chain33Txhash,omitempty"`
	EthereumTxhash  string `protobuf:"bytes,3,opt,name=EthereumTxhash,proto3" json:"EthereumTxhash,omitempty"`
	BurnLock        int32  `protobuf:"varint,4,opt,name=burnLock,proto3" json:"burnLock,omitempty"`
	//该笔lock或者burn交易的chain33发起人
	EthereumSender  string `protobuf:"bytes,5,opt,name=ethereumSender,proto3" json:"ethereumSender,omitempty"`
	Chain33Receiver string `protobuf:"bytes,6,opt,name=chain33Receiver,proto3" json:"chain33Receiver,omitempty"`
	Symbol          string `protobuf:"bytes,7,opt,name=symbol,proto3" json:"symbol,omitempty"`
	//因为考虑到,eth的单位是以wei计算的,所以使用string类型
	Amount        string `protobuf:"bytes,8,opt,name=amount,proto3" json:"amount,omitempty"`
	Nonce         int64  `protobuf:"varint,9,opt,name=nonce,proto3" json:"nonce,omitempty"`
	TxIndex       int64  `protobuf:"varint,10,opt,name=txIndex,proto3" json:"txIndex,omitempty"`
	OperationType string `protobuf:"bytes,11,opt,name=operationType,proto3" json:"operationType,omitempty"`
	// contains filtered or unexported fields
}

func (*Ethereum2Chain33Statics) Descriptor deprecated

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

Deprecated: Use Ethereum2Chain33Statics.ProtoReflect.Descriptor instead.

func (*Ethereum2Chain33Statics) GetAmount

func (x *Ethereum2Chain33Statics) GetAmount() string

func (*Ethereum2Chain33Statics) GetBurnLock

func (x *Ethereum2Chain33Statics) GetBurnLock() int32

func (*Ethereum2Chain33Statics) GetChain33Receiver

func (x *Ethereum2Chain33Statics) GetChain33Receiver() string

func (*Ethereum2Chain33Statics) GetChain33Txhash

func (x *Ethereum2Chain33Statics) GetChain33Txhash() string

func (*Ethereum2Chain33Statics) GetChain33Txstatus

func (x *Ethereum2Chain33Statics) GetChain33Txstatus() string

func (*Ethereum2Chain33Statics) GetEthereumSender

func (x *Ethereum2Chain33Statics) GetEthereumSender() string

func (*Ethereum2Chain33Statics) GetEthereumTxhash

func (x *Ethereum2Chain33Statics) GetEthereumTxhash() string

func (*Ethereum2Chain33Statics) GetNonce

func (x *Ethereum2Chain33Statics) GetNonce() int64

func (*Ethereum2Chain33Statics) GetOperationType

func (x *Ethereum2Chain33Statics) GetOperationType() string

func (*Ethereum2Chain33Statics) GetSymbol

func (x *Ethereum2Chain33Statics) GetSymbol() string

func (*Ethereum2Chain33Statics) GetTxIndex

func (x *Ethereum2Chain33Statics) GetTxIndex() int64

func (*Ethereum2Chain33Statics) ProtoMessage

func (*Ethereum2Chain33Statics) ProtoMessage()

func (*Ethereum2Chain33Statics) ProtoReflect

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

func (*Ethereum2Chain33Statics) Reset

func (x *Ethereum2Chain33Statics) Reset()

func (*Ethereum2Chain33Statics) String

func (x *Ethereum2Chain33Statics) String() string

type EventLogIndex

type EventLogIndex struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Index  uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*EventLogIndex) Descriptor deprecated

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

Deprecated: Use EventLogIndex.ProtoReflect.Descriptor instead.

func (*EventLogIndex) GetHeight

func (x *EventLogIndex) GetHeight() uint64

func (*EventLogIndex) GetIndex

func (x *EventLogIndex) GetIndex() uint32

func (*EventLogIndex) ProtoMessage

func (*EventLogIndex) ProtoMessage()

func (*EventLogIndex) ProtoReflect

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

func (*EventLogIndex) Reset

func (x *EventLogIndex) Reset()

func (*EventLogIndex) String

func (x *EventLogIndex) String() string

type ImportKeyReq

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

func (*ImportKeyReq) Descriptor deprecated

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

Deprecated: Use ImportKeyReq.ProtoReflect.Descriptor instead.

func (*ImportKeyReq) GetPrivateKey

func (x *ImportKeyReq) GetPrivateKey() string

func (*ImportKeyReq) ProtoMessage

func (*ImportKeyReq) ProtoMessage()

func (*ImportKeyReq) ProtoReflect

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

func (*ImportKeyReq) Reset

func (x *ImportKeyReq) Reset()

func (*ImportKeyReq) String

func (x *ImportKeyReq) String() string

type LockBTY

type LockBTY struct {
	OwnerKey string `protobuf:"bytes,1,opt,name=ownerKey,proto3" json:"ownerKey,omitempty"`
	Amount   string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	//将lock住的资产跨链转移到ethereum的该账户名下
	EtherumReceiver string `protobuf:"bytes,3,opt,name=etherumReceiver,proto3" json:"etherumReceiver,omitempty"`
	// contains filtered or unexported fields
}

func (*LockBTY) Descriptor deprecated

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

Deprecated: Use LockBTY.ProtoReflect.Descriptor instead.

func (*LockBTY) GetAmount

func (x *LockBTY) GetAmount() string

func (*LockBTY) GetEtherumReceiver

func (x *LockBTY) GetEtherumReceiver() string

func (*LockBTY) GetOwnerKey

func (x *LockBTY) GetOwnerKey() string

func (*LockBTY) ProtoMessage

func (*LockBTY) ProtoMessage()

func (*LockBTY) ProtoReflect

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

func (*LockBTY) Reset

func (x *LockBTY) Reset()

func (*LockBTY) String

func (x *LockBTY) String() string

type LockEthErc20

type LockEthErc20 struct {
	OwnerKey  string `protobuf:"bytes,1,opt,name=ownerKey,proto3" json:"ownerKey,omitempty"`
	TokenAddr string `protobuf:"bytes,2,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	Amount    string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	//将lock住的资产跨链转移到chain33的该账户名下
	Chain33Receiver string `protobuf:"bytes,4,opt,name=chain33Receiver,proto3" json:"chain33Receiver,omitempty"`
	// contains filtered or unexported fields
}

func (*LockEthErc20) Descriptor deprecated

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

Deprecated: Use LockEthErc20.ProtoReflect.Descriptor instead.

func (*LockEthErc20) GetAmount

func (x *LockEthErc20) GetAmount() string

func (*LockEthErc20) GetChain33Receiver

func (x *LockEthErc20) GetChain33Receiver() string

func (*LockEthErc20) GetOwnerKey

func (x *LockEthErc20) GetOwnerKey() string

func (*LockEthErc20) GetTokenAddr

func (x *LockEthErc20) GetTokenAddr() string

func (*LockEthErc20) ProtoMessage

func (*LockEthErc20) ProtoMessage()

func (*LockEthErc20) ProtoReflect

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

func (*LockEthErc20) Reset

func (x *LockEthErc20) Reset()

func (*LockEthErc20) String

func (x *LockEthErc20) String() string

type Log

type Log struct {
	Loglevel        string `protobuf:"bytes,1,opt,name=loglevel,proto3" json:"loglevel,omitempty"`
	LogConsoleLevel string `protobuf:"bytes,2,opt,name=logConsoleLevel,proto3" json:"logConsoleLevel,omitempty"`
	LogFile         string `protobuf:"bytes,3,opt,name=logFile,proto3" json:"logFile,omitempty"`
	MaxFileSize     uint32 `protobuf:"varint,4,opt,name=maxFileSize,proto3" json:"maxFileSize,omitempty"`
	MaxBackups      uint32 `protobuf:"varint,5,opt,name=maxBackups,proto3" json:"maxBackups,omitempty"`
	MaxAge          uint32 `protobuf:"varint,6,opt,name=maxAge,proto3" json:"maxAge,omitempty"`
	LocalTime       bool   `protobuf:"varint,7,opt,name=localTime,proto3" json:"localTime,omitempty"`
	Compress        bool   `protobuf:"varint,8,opt,name=compress,proto3" json:"compress,omitempty"`
	CallerFile      bool   `protobuf:"varint,9,opt,name=callerFile,proto3" json:"callerFile,omitempty"`
	CallerFunction  bool   `protobuf:"varint,10,opt,name=callerFunction,proto3" json:"callerFunction,omitempty"`
	// contains filtered or unexported fields
}

func (*Log) Descriptor deprecated

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

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetCallerFile

func (x *Log) GetCallerFile() bool

func (*Log) GetCallerFunction

func (x *Log) GetCallerFunction() bool

func (*Log) GetCompress

func (x *Log) GetCompress() bool

func (*Log) GetLocalTime

func (x *Log) GetLocalTime() bool

func (*Log) GetLogConsoleLevel

func (x *Log) GetLogConsoleLevel() string

func (*Log) GetLogFile

func (x *Log) GetLogFile() string

func (*Log) GetLoglevel

func (x *Log) GetLoglevel() string

func (*Log) GetMaxAge

func (x *Log) GetMaxAge() uint32

func (*Log) GetMaxBackups

func (x *Log) GetMaxBackups() uint32

func (*Log) GetMaxFileSize

func (x *Log) GetMaxFileSize() uint32

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

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

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

type MintToken

type MintToken struct {
	Owner     string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	TokenAddr string `protobuf:"bytes,2,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	Amount    string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*MintToken) Descriptor deprecated

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

Deprecated: Use MintToken.ProtoReflect.Descriptor instead.

func (*MintToken) GetAmount

func (x *MintToken) GetAmount() string

func (*MintToken) GetOwner

func (x *MintToken) GetOwner() string

func (*MintToken) GetTokenAddr

func (x *MintToken) GetTokenAddr() string

func (*MintToken) ProtoMessage

func (*MintToken) ProtoMessage()

func (*MintToken) ProtoReflect

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

func (*MintToken) Reset

func (x *MintToken) Reset()

func (*MintToken) String

func (x *MintToken) String() string

type NewProphecyClaim

type NewProphecyClaim struct {
	ClaimType     uint32 `protobuf:"varint,1,opt,name=claimType,proto3" json:"claimType,omitempty"`
	Chain33Sender string `protobuf:"bytes,2,opt,name=chain33Sender,proto3" json:"chain33Sender,omitempty"`
	TokenAddr     string `protobuf:"bytes,3,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	Symbol        string `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty"`
	EthReceiver   string `protobuf:"bytes,5,opt,name=ethReceiver,proto3" json:"ethReceiver,omitempty"`
	Amount        string `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"`
	TxHash        string `protobuf:"bytes,7,opt,name=txHash,proto3" json:"txHash,omitempty"`
	// contains filtered or unexported fields
}

func (*NewProphecyClaim) Descriptor deprecated

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

Deprecated: Use NewProphecyClaim.ProtoReflect.Descriptor instead.

func (*NewProphecyClaim) GetAmount

func (x *NewProphecyClaim) GetAmount() string

func (*NewProphecyClaim) GetChain33Sender

func (x *NewProphecyClaim) GetChain33Sender() string

func (*NewProphecyClaim) GetClaimType

func (x *NewProphecyClaim) GetClaimType() uint32

func (*NewProphecyClaim) GetEthReceiver

func (x *NewProphecyClaim) GetEthReceiver() string

func (*NewProphecyClaim) GetSymbol

func (x *NewProphecyClaim) GetSymbol() string

func (*NewProphecyClaim) GetTokenAddr

func (x *NewProphecyClaim) GetTokenAddr() string

func (*NewProphecyClaim) GetTxHash

func (x *NewProphecyClaim) GetTxHash() string

func (*NewProphecyClaim) ProtoMessage

func (*NewProphecyClaim) ProtoMessage()

func (*NewProphecyClaim) ProtoReflect

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

func (*NewProphecyClaim) Reset

func (x *NewProphecyClaim) Reset()

func (*NewProphecyClaim) String

func (x *NewProphecyClaim) String() string

type RelayerConfig

type RelayerConfig struct {
	Title                   string        `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	SyncTxConfig            *SyncTxConfig `protobuf:"bytes,2,opt,name=syncTxConfig,proto3" json:"syncTxConfig,omitempty"`
	Log                     *Log          `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	JrpcBindAddr            string        `protobuf:"bytes,4,opt,name=jrpcBindAddr,proto3" json:"jrpcBindAddr,omitempty"` // Jrpc服务地址
	EthProvider             string        `protobuf:"bytes,5,opt,name=ethProvider,proto3" json:"ethProvider,omitempty"`
	BridgeRegistry          string        `protobuf:"bytes,6,opt,name=bridgeRegistry,proto3" json:"bridgeRegistry,omitempty"`
	Deploy                  *Deploy       `protobuf:"bytes,7,opt,name=deploy,proto3" json:"deploy,omitempty"`
	Deploy4Chain33          *Deploy       `protobuf:"bytes,8,opt,name=deploy4chain33,proto3" json:"deploy4chain33,omitempty"`
	EthMaturityDegree       int32         `protobuf:"varint,9,opt,name=ethMaturityDegree,proto3" json:"ethMaturityDegree,omitempty"`
	EthBlockFetchPeriod     int32         `protobuf:"varint,10,opt,name=ethBlockFetchPeriod,proto3" json:"ethBlockFetchPeriod,omitempty"`
	EthProviderCli          string        `protobuf:"bytes,11,opt,name=ethProviderCli,proto3" json:"ethProviderCli,omitempty"`
	BridgeRegistryOnChain33 string        `protobuf:"bytes,12,opt,name=bridgeRegistryOnChain33,proto3" json:"bridgeRegistryOnChain33,omitempty"`
	ChainName               string        `protobuf:"bytes,13,opt,name=chainName,proto3" json:"chainName,omitempty"`
	ChainID4Chain33         int32         `protobuf:"varint,14,opt,name=chainID4Chain33,proto3" json:"chainID4Chain33,omitempty"`
	// contains filtered or unexported fields
}

func (*RelayerConfig) Descriptor deprecated

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

Deprecated: Use RelayerConfig.ProtoReflect.Descriptor instead.

func (*RelayerConfig) GetBridgeRegistry

func (x *RelayerConfig) GetBridgeRegistry() string

func (*RelayerConfig) GetBridgeRegistryOnChain33

func (x *RelayerConfig) GetBridgeRegistryOnChain33() string

func (*RelayerConfig) GetChainID4Chain33

func (x *RelayerConfig) GetChainID4Chain33() int32

func (*RelayerConfig) GetChainName

func (x *RelayerConfig) GetChainName() string

func (*RelayerConfig) GetDeploy

func (x *RelayerConfig) GetDeploy() *Deploy

func (*RelayerConfig) GetDeploy4Chain33

func (x *RelayerConfig) GetDeploy4Chain33() *Deploy

func (*RelayerConfig) GetEthBlockFetchPeriod

func (x *RelayerConfig) GetEthBlockFetchPeriod() int32

func (*RelayerConfig) GetEthMaturityDegree

func (x *RelayerConfig) GetEthMaturityDegree() int32

func (*RelayerConfig) GetEthProvider

func (x *RelayerConfig) GetEthProvider() string

func (*RelayerConfig) GetEthProviderCli

func (x *RelayerConfig) GetEthProviderCli() string

func (*RelayerConfig) GetJrpcBindAddr

func (x *RelayerConfig) GetJrpcBindAddr() string

func (*RelayerConfig) GetLog

func (x *RelayerConfig) GetLog() *Log

func (*RelayerConfig) GetSyncTxConfig

func (x *RelayerConfig) GetSyncTxConfig() *SyncTxConfig

func (*RelayerConfig) GetTitle

func (x *RelayerConfig) GetTitle() string

func (*RelayerConfig) ProtoMessage

func (*RelayerConfig) ProtoMessage()

func (*RelayerConfig) ProtoReflect

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

func (*RelayerConfig) Reset

func (x *RelayerConfig) Reset()

func (*RelayerConfig) String

func (x *RelayerConfig) String() string

type RelayerRunStatus

type RelayerRunStatus struct {
	Status  int32  `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*RelayerRunStatus) Descriptor deprecated

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

Deprecated: Use RelayerRunStatus.ProtoReflect.Descriptor instead.

func (*RelayerRunStatus) GetDetails

func (x *RelayerRunStatus) GetDetails() string

func (*RelayerRunStatus) GetStatus

func (x *RelayerRunStatus) GetStatus() int32

func (*RelayerRunStatus) ProtoMessage

func (*RelayerRunStatus) ProtoMessage()

func (*RelayerRunStatus) ProtoReflect

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

func (*RelayerRunStatus) Reset

func (x *RelayerRunStatus) Reset()

func (*RelayerRunStatus) String

func (x *RelayerRunStatus) String() string

type ReplyAddr

type ReplyAddr struct {
	IsOK bool   `protobuf:"varint,1,opt,name=isOK,proto3" json:"isOK,omitempty"`
	Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyAddr) Descriptor deprecated

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

Deprecated: Use ReplyAddr.ProtoReflect.Descriptor instead.

func (*ReplyAddr) GetAddr

func (x *ReplyAddr) GetAddr() string

func (*ReplyAddr) GetIsOK

func (x *ReplyAddr) GetIsOK() bool

func (*ReplyAddr) ProtoMessage

func (*ReplyAddr) ProtoMessage()

func (*ReplyAddr) ProtoReflect

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

func (*ReplyAddr) Reset

func (x *ReplyAddr) Reset()

func (*ReplyAddr) String

func (x *ReplyAddr) String() string

type ReplyBalance

type ReplyBalance struct {
	IsOK    bool   `protobuf:"varint,1,opt,name=isOK,proto3" json:"isOK,omitempty"`
	Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyBalance) Descriptor deprecated

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

Deprecated: Use ReplyBalance.ProtoReflect.Descriptor instead.

func (*ReplyBalance) GetBalance

func (x *ReplyBalance) GetBalance() string

func (*ReplyBalance) GetIsOK

func (x *ReplyBalance) GetIsOK() bool

func (*ReplyBalance) ProtoMessage

func (*ReplyBalance) ProtoMessage()

func (*ReplyBalance) ProtoReflect

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

func (*ReplyBalance) Reset

func (x *ReplyBalance) Reset()

func (*ReplyBalance) String

func (x *ReplyBalance) String() string

type ReqChangePasswd

type ReqChangePasswd struct {
	OldPassphase string `protobuf:"bytes,1,opt,name=oldPassphase,proto3" json:"oldPassphase,omitempty"`
	NewPassphase string `protobuf:"bytes,2,opt,name=newPassphase,proto3" json:"newPassphase,omitempty"`
	// contains filtered or unexported fields
}

func (*ReqChangePasswd) Descriptor deprecated

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

Deprecated: Use ReqChangePasswd.ProtoReflect.Descriptor instead.

func (*ReqChangePasswd) GetNewPassphase

func (x *ReqChangePasswd) GetNewPassphase() string

func (*ReqChangePasswd) GetOldPassphase

func (x *ReqChangePasswd) GetOldPassphase() string

func (*ReqChangePasswd) ProtoMessage

func (*ReqChangePasswd) ProtoMessage()

func (*ReqChangePasswd) ProtoReflect

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

func (*ReqChangePasswd) Reset

func (x *ReqChangePasswd) Reset()

func (*ReqChangePasswd) String

func (x *ReqChangePasswd) String() string

type ReqSetPasswd

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

func (*ReqSetPasswd) Descriptor deprecated

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

Deprecated: Use ReqSetPasswd.ProtoReflect.Descriptor instead.

func (*ReqSetPasswd) GetPassphase

func (x *ReqSetPasswd) GetPassphase() string

func (*ReqSetPasswd) ProtoMessage

func (*ReqSetPasswd) ProtoMessage()

func (*ReqSetPasswd) ProtoReflect

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

func (*ReqSetPasswd) Reset

func (x *ReqSetPasswd) Reset()

func (*ReqSetPasswd) String

func (x *ReqSetPasswd) String() string

type SafeTransfer

type SafeTransfer struct {
	To                 string   `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Token              string   `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Amount             float64  `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount,omitempty"`
	OperatorPrivateKey string   `protobuf:"bytes,4,opt,name=operatorPrivateKey,proto3" json:"operatorPrivateKey,omitempty"`
	OwnerPrivateKeys   []string `protobuf:"bytes,5,rep,name=ownerPrivateKeys,proto3" json:"ownerPrivateKeys,omitempty"`
	// contains filtered or unexported fields
}

func (*SafeTransfer) Descriptor deprecated

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

Deprecated: Use SafeTransfer.ProtoReflect.Descriptor instead.

func (*SafeTransfer) GetAmount

func (x *SafeTransfer) GetAmount() float64

func (*SafeTransfer) GetOperatorPrivateKey

func (x *SafeTransfer) GetOperatorPrivateKey() string

func (*SafeTransfer) GetOwnerPrivateKeys

func (x *SafeTransfer) GetOwnerPrivateKeys() []string

func (*SafeTransfer) GetTo

func (x *SafeTransfer) GetTo() string

func (*SafeTransfer) GetToken

func (x *SafeTransfer) GetToken() string

func (*SafeTransfer) ProtoMessage

func (*SafeTransfer) ProtoMessage()

func (*SafeTransfer) ProtoReflect

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

func (*SafeTransfer) Reset

func (x *SafeTransfer) Reset()

func (*SafeTransfer) String

func (x *SafeTransfer) String() string

type SetupMulSign

type SetupMulSign struct {
	OperatorPrivateKey string   `protobuf:"bytes,1,opt,name=operatorPrivateKey,proto3" json:"operatorPrivateKey,omitempty"`
	Owners             []string `protobuf:"bytes,2,rep,name=owners,proto3" json:"owners,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupMulSign) Descriptor deprecated

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

Deprecated: Use SetupMulSign.ProtoReflect.Descriptor instead.

func (*SetupMulSign) GetOperatorPrivateKey

func (x *SetupMulSign) GetOperatorPrivateKey() string

func (*SetupMulSign) GetOwners

func (x *SetupMulSign) GetOwners() []string

func (*SetupMulSign) ProtoMessage

func (*SetupMulSign) ProtoMessage()

func (*SetupMulSign) ProtoReflect

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

func (*SetupMulSign) Reset

func (x *SetupMulSign) Reset()

func (*SetupMulSign) String

func (x *SetupMulSign) String() string

type SyncTxConfig

type SyncTxConfig struct {
	Chain33Host         string   `protobuf:"bytes,1,opt,name=chain33host,proto3" json:"chain33host,omitempty"`
	PushHost            string   `protobuf:"bytes,2,opt,name=pushHost,proto3" json:"pushHost,omitempty"`
	PushName            string   `protobuf:"bytes,3,opt,name=pushName,proto3" json:"pushName,omitempty"`
	PushBind            string   `protobuf:"bytes,4,opt,name=pushBind,proto3" json:"pushBind,omitempty"`
	MaturityDegree      int32    `protobuf:"varint,5,opt,name=maturityDegree,proto3" json:"maturityDegree,omitempty"`
	Dbdriver            string   `protobuf:"bytes,6,opt,name=dbdriver,proto3" json:"dbdriver,omitempty"` //数据库类型
	DbPath              string   `protobuf:"bytes,7,opt,name=dbPath,proto3" json:"dbPath,omitempty"`     //数据库存储目录
	DbCache             int32    `protobuf:"varint,8,opt,name=dbCache,proto3" json:"dbCache,omitempty"`  //数据库缓存大小
	FetchHeightPeriodMs int64    `protobuf:"varint,9,opt,name=fetchHeightPeriodMs,proto3" json:"fetchHeightPeriodMs,omitempty"`
	StartSyncHeight     int64    `protobuf:"varint,10,opt,name=startSyncHeight,proto3" json:"startSyncHeight,omitempty"`
	StartSyncSequence   int64    `protobuf:"varint,11,opt,name=startSyncSequence,proto3" json:"startSyncSequence,omitempty"`
	StartSyncHash       string   `protobuf:"bytes,12,opt,name=startSyncHash,proto3" json:"startSyncHash,omitempty"`
	Contracts           []string `protobuf:"bytes,13,rep,name=contracts,proto3" json:"contracts,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncTxConfig) Descriptor deprecated

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

Deprecated: Use SyncTxConfig.ProtoReflect.Descriptor instead.

func (*SyncTxConfig) GetChain33Host

func (x *SyncTxConfig) GetChain33Host() string

func (*SyncTxConfig) GetContracts

func (x *SyncTxConfig) GetContracts() []string

func (*SyncTxConfig) GetDbCache

func (x *SyncTxConfig) GetDbCache() int32

func (*SyncTxConfig) GetDbPath

func (x *SyncTxConfig) GetDbPath() string

func (*SyncTxConfig) GetDbdriver

func (x *SyncTxConfig) GetDbdriver() string

func (*SyncTxConfig) GetFetchHeightPeriodMs

func (x *SyncTxConfig) GetFetchHeightPeriodMs() int64

func (*SyncTxConfig) GetMaturityDegree

func (x *SyncTxConfig) GetMaturityDegree() int32

func (*SyncTxConfig) GetPushBind

func (x *SyncTxConfig) GetPushBind() string

func (*SyncTxConfig) GetPushHost

func (x *SyncTxConfig) GetPushHost() string

func (*SyncTxConfig) GetPushName

func (x *SyncTxConfig) GetPushName() string

func (*SyncTxConfig) GetStartSyncHash

func (x *SyncTxConfig) GetStartSyncHash() string

func (*SyncTxConfig) GetStartSyncHeight

func (x *SyncTxConfig) GetStartSyncHeight() int64

func (*SyncTxConfig) GetStartSyncSequence

func (x *SyncTxConfig) GetStartSyncSequence() int64

func (*SyncTxConfig) ProtoMessage

func (*SyncTxConfig) ProtoMessage()

func (*SyncTxConfig) ProtoReflect

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

func (*SyncTxConfig) Reset

func (x *SyncTxConfig) Reset()

func (*SyncTxConfig) String

func (x *SyncTxConfig) String() string

type SyncTxReceiptConfig

type SyncTxReceiptConfig struct {
	Chain33Host       string   `protobuf:"bytes,1,opt,name=chain33host,proto3" json:"chain33host,omitempty"`
	PushHost          string   `protobuf:"bytes,2,opt,name=pushHost,proto3" json:"pushHost,omitempty"`
	PushName          string   `protobuf:"bytes,3,opt,name=pushName,proto3" json:"pushName,omitempty"`
	PushBind          string   `protobuf:"bytes,4,opt,name=pushBind,proto3" json:"pushBind,omitempty"`
	StartSyncHeight   int64    `protobuf:"varint,5,opt,name=startSyncHeight,proto3" json:"startSyncHeight,omitempty"`
	StartSyncSequence int64    `protobuf:"varint,6,opt,name=startSyncSequence,proto3" json:"startSyncSequence,omitempty"`
	StartSyncHash     string   `protobuf:"bytes,7,opt,name=startSyncHash,proto3" json:"startSyncHash,omitempty"`
	Contracts         []string `protobuf:"bytes,8,rep,name=contracts,proto3" json:"contracts,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncTxReceiptConfig) Descriptor deprecated

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

Deprecated: Use SyncTxReceiptConfig.ProtoReflect.Descriptor instead.

func (*SyncTxReceiptConfig) GetChain33Host

func (x *SyncTxReceiptConfig) GetChain33Host() string

func (*SyncTxReceiptConfig) GetContracts

func (x *SyncTxReceiptConfig) GetContracts() []string

func (*SyncTxReceiptConfig) GetPushBind

func (x *SyncTxReceiptConfig) GetPushBind() string

func (*SyncTxReceiptConfig) GetPushHost

func (x *SyncTxReceiptConfig) GetPushHost() string

func (*SyncTxReceiptConfig) GetPushName

func (x *SyncTxReceiptConfig) GetPushName() string

func (*SyncTxReceiptConfig) GetStartSyncHash

func (x *SyncTxReceiptConfig) GetStartSyncHash() string

func (*SyncTxReceiptConfig) GetStartSyncHeight

func (x *SyncTxReceiptConfig) GetStartSyncHeight() int64

func (*SyncTxReceiptConfig) GetStartSyncSequence

func (x *SyncTxReceiptConfig) GetStartSyncSequence() int64

func (*SyncTxReceiptConfig) ProtoMessage

func (*SyncTxReceiptConfig) ProtoMessage()

func (*SyncTxReceiptConfig) ProtoReflect

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

func (*SyncTxReceiptConfig) Reset

func (x *SyncTxReceiptConfig) Reset()

func (*SyncTxReceiptConfig) String

func (x *SyncTxReceiptConfig) String() string

type TokenAddress

type TokenAddress struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Symbol    string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	ChainName string `protobuf:"bytes,3,opt,name=chainName,proto3" json:"chainName,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenAddress) Descriptor deprecated

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

Deprecated: Use TokenAddress.ProtoReflect.Descriptor instead.

func (*TokenAddress) GetAddress

func (x *TokenAddress) GetAddress() string

func (*TokenAddress) GetChainName

func (x *TokenAddress) GetChainName() string

func (*TokenAddress) GetSymbol

func (x *TokenAddress) GetSymbol() string

func (*TokenAddress) ProtoMessage

func (*TokenAddress) ProtoMessage()

func (*TokenAddress) ProtoReflect

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

func (*TokenAddress) Reset

func (x *TokenAddress) Reset()

func (*TokenAddress) String

func (x *TokenAddress) String() string

type TokenAddressArray

type TokenAddressArray struct {
	TokenAddress []*TokenAddress `protobuf:"bytes,1,rep,name=tokenAddress,proto3" json:"tokenAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenAddressArray) Descriptor deprecated

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

Deprecated: Use TokenAddressArray.ProtoReflect.Descriptor instead.

func (*TokenAddressArray) GetTokenAddress

func (x *TokenAddressArray) GetTokenAddress() []*TokenAddress

func (*TokenAddressArray) ProtoMessage

func (*TokenAddressArray) ProtoMessage()

func (*TokenAddressArray) ProtoReflect

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

func (*TokenAddressArray) Reset

func (x *TokenAddressArray) Reset()

func (*TokenAddressArray) String

func (x *TokenAddressArray) String() string

type TokenStaticsRequest

type TokenStaticsRequest struct {
	Symbol    string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	From      int32  `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
	Operation int32  `protobuf:"varint,3,opt,name=operation,proto3" json:"operation,omitempty"`
	Status    int32  `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	TxIndex   int64  `protobuf:"varint,5,opt,name=txIndex,proto3" json:"txIndex,omitempty"`
	Count     int32  `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenStaticsRequest) Descriptor deprecated

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

Deprecated: Use TokenStaticsRequest.ProtoReflect.Descriptor instead.

func (*TokenStaticsRequest) GetCount

func (x *TokenStaticsRequest) GetCount() int32

func (*TokenStaticsRequest) GetFrom

func (x *TokenStaticsRequest) GetFrom() int32

func (*TokenStaticsRequest) GetOperation

func (x *TokenStaticsRequest) GetOperation() int32

func (*TokenStaticsRequest) GetStatus

func (x *TokenStaticsRequest) GetStatus() int32

func (*TokenStaticsRequest) GetSymbol

func (x *TokenStaticsRequest) GetSymbol() string

func (*TokenStaticsRequest) GetTxIndex

func (x *TokenStaticsRequest) GetTxIndex() int64

func (*TokenStaticsRequest) ProtoMessage

func (*TokenStaticsRequest) ProtoMessage()

func (*TokenStaticsRequest) ProtoReflect

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

func (*TokenStaticsRequest) Reset

func (x *TokenStaticsRequest) Reset()

func (*TokenStaticsRequest) String

func (x *TokenStaticsRequest) String() string

type TokenStaticsResponse

type TokenStaticsResponse struct {
	E2Cstatics []*Ethereum2Chain33Statics  `protobuf:"bytes,1,rep,name=e2Cstatics,proto3" json:"e2Cstatics,omitempty"`
	C2Estatics []*Chain33ToEthereumStatics `protobuf:"bytes,2,rep,name=c2Estatics,proto3" json:"c2Estatics,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenStaticsResponse) Descriptor deprecated

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

Deprecated: Use TokenStaticsResponse.ProtoReflect.Descriptor instead.

func (*TokenStaticsResponse) GetC2Estatics

func (x *TokenStaticsResponse) GetC2Estatics() []*Chain33ToEthereumStatics

func (*TokenStaticsResponse) GetE2Cstatics

func (x *TokenStaticsResponse) GetE2Cstatics() []*Ethereum2Chain33Statics

func (*TokenStaticsResponse) ProtoMessage

func (*TokenStaticsResponse) ProtoMessage()

func (*TokenStaticsResponse) ProtoReflect

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

func (*TokenStaticsResponse) Reset

func (x *TokenStaticsResponse) Reset()

func (*TokenStaticsResponse) String

func (x *TokenStaticsResponse) String() string

type TransferToken

type TransferToken struct {
	TokenAddr string `protobuf:"bytes,1,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	FromKey   string `protobuf:"bytes,2,opt,name=fromKey,proto3" json:"fromKey,omitempty"`
	ToAddr    string `protobuf:"bytes,3,opt,name=toAddr,proto3" json:"toAddr,omitempty"`
	Amount    string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferToken) Descriptor deprecated

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

Deprecated: Use TransferToken.ProtoReflect.Descriptor instead.

func (*TransferToken) GetAmount

func (x *TransferToken) GetAmount() string

func (*TransferToken) GetFromKey

func (x *TransferToken) GetFromKey() string

func (*TransferToken) GetToAddr

func (x *TransferToken) GetToAddr() string

func (*TransferToken) GetTokenAddr

func (x *TransferToken) GetTokenAddr() string

func (*TransferToken) ProtoMessage

func (*TransferToken) ProtoMessage()

func (*TransferToken) ProtoReflect

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

func (*TransferToken) Reset

func (x *TransferToken) Reset()

func (*TransferToken) String

func (x *TransferToken) String() string

type Txhashes

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

func (*Txhashes) Descriptor deprecated

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

Deprecated: Use Txhashes.ProtoReflect.Descriptor instead.

func (*Txhashes) GetTxhash

func (x *Txhashes) GetTxhash() []string

func (*Txhashes) ProtoMessage

func (*Txhashes) ProtoMessage()

func (*Txhashes) ProtoReflect

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

func (*Txhashes) Reset

func (x *Txhashes) Reset()

func (*Txhashes) String

func (x *Txhashes) String() string

type Uint64

type Uint64 struct {
	Data uint64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint64) Descriptor deprecated

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

Deprecated: Use Uint64.ProtoReflect.Descriptor instead.

func (*Uint64) GetData

func (x *Uint64) GetData() uint64

func (*Uint64) ProtoMessage

func (*Uint64) ProtoMessage()

func (*Uint64) ProtoReflect

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

func (*Uint64) Reset

func (x *Uint64) Reset()

func (*Uint64) String

func (x *Uint64) String() string

type ValidatorAddr4EthRelayer

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

func (*ValidatorAddr4EthRelayer) Descriptor deprecated

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

Deprecated: Use ValidatorAddr4EthRelayer.ProtoReflect.Descriptor instead.

func (*ValidatorAddr4EthRelayer) GetEthereumValidator

func (x *ValidatorAddr4EthRelayer) GetEthereumValidator() string

func (*ValidatorAddr4EthRelayer) ProtoMessage

func (*ValidatorAddr4EthRelayer) ProtoMessage()

func (*ValidatorAddr4EthRelayer) ProtoReflect

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

func (*ValidatorAddr4EthRelayer) Reset

func (x *ValidatorAddr4EthRelayer) Reset()

func (*ValidatorAddr4EthRelayer) String

func (x *ValidatorAddr4EthRelayer) String() string

Jump to

Keyboard shortcuts

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