types

package
v1.66.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package types is a generated protocol buffer package.

It is generated from these files:

config.proto
relayer.proto

It has these top-level messages:

SyncTxConfig
Log
RelayerConfig
SyncTxReceiptConfig
Deploy

Index

Constants

View Source
const (
	StatusPending = iota
	// Oracle : oracle contract
	StatusRunning
)

setting

View Source
const Version4Relayer = "0.1.0"

Version4Relayer ...

Variables

View Source
var (
	ErrInvalidEthContractAddress = errors.New("ErrInvalidEthContractAddress")
	ErrUnpack                    = errors.New("ErrUnpack")
	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")
)

relayer定义的错误类型

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" json:"addr,omitempty"`
}

以太坊账户信息

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

func (*Account4Relayer) ProtoMessage

func (*Account4Relayer) ProtoMessage()

func (*Account4Relayer) Reset

func (m *Account4Relayer) Reset()

func (*Account4Relayer) String

func (m *Account4Relayer) String() string

type Account4Show

type Account4Show struct {
	Privkey string `protobuf:"bytes,1,opt,name=privkey" json:"privkey,omitempty"`
	Addr    string `protobuf:"bytes,2,opt,name=addr" json:"addr,omitempty"`
}

func (*Account4Show) ProtoMessage

func (*Account4Show) ProtoMessage()

func (*Account4Show) Reset

func (m *Account4Show) Reset()

func (*Account4Show) String

func (m *Account4Show) String() string

type ApproveAllowance

type ApproveAllowance struct {
	OwnerKey  string `protobuf:"bytes,1,opt,name=ownerKey" json:"ownerKey,omitempty"`
	TokenAddr string `protobuf:"bytes,2,opt,name=tokenAddr" json:"tokenAddr,omitempty"`
	Amount    string `protobuf:"bytes,3,opt,name=amount" json:"amount,omitempty"`
}

func (*ApproveAllowance) ProtoMessage

func (*ApproveAllowance) ProtoMessage()

func (*ApproveAllowance) Reset

func (m *ApproveAllowance) Reset()

func (*ApproveAllowance) String

func (m *ApproveAllowance) String() string

type AssetType

type AssetType struct {
	Chain         string `protobuf:"bytes,1,opt,name=chain" json:"chain,omitempty"`
	IssueContract string `protobuf:"bytes,2,opt,name=issueContract" json:"issueContract,omitempty"`
	Symbol        string `protobuf:"bytes,3,opt,name=symbol" json:"symbol,omitempty"`
}

func (*AssetType) ProtoMessage

func (*AssetType) ProtoMessage()

func (*AssetType) Reset

func (m *AssetType) Reset()

func (*AssetType) String

func (m *AssetType) String() string

type BalanceAddr

type BalanceAddr struct {
	Owner     string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"`
	TokenAddr string `protobuf:"bytes,2,opt,name=tokenAddr" json:"tokenAddr,omitempty"`
}

func (*BalanceAddr) ProtoMessage

func (*BalanceAddr) ProtoMessage()

func (*BalanceAddr) Reset

func (m *BalanceAddr) Reset()

func (*BalanceAddr) String

func (m *BalanceAddr) String() string

type Burn

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

func (*Burn) ProtoMessage

func (*Burn) ProtoMessage()

func (*Burn) Reset

func (m *Burn) Reset()

func (*Burn) String

func (m *Burn) String() string

type Deploy

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

func (*Deploy) ProtoMessage

func (*Deploy) ProtoMessage()

func (*Deploy) Reset

func (m *Deploy) Reset()

func (*Deploy) String

func (m *Deploy) String() string

type EthBridgeClaim

type EthBridgeClaim struct {
	EthereumChainID int64  `protobuf:"varint,1,opt,name=ethereumChainID" json:"ethereumChainID,omitempty"`
	BridgeBrankAddr string `protobuf:"bytes,2,opt,name=bridgeBrankAddr" json:"bridgeBrankAddr,omitempty"`
	Nonce           int64  `protobuf:"varint,3,opt,name=nonce" json:"nonce,omitempty"`
	TokenAddr       string `protobuf:"bytes,4,opt,name=tokenAddr" json:"tokenAddr,omitempty"`
	Symbol          string `protobuf:"bytes,5,opt,name=symbol" json:"symbol,omitempty"`
	EthereumSender  string `protobuf:"bytes,6,opt,name=ethereumSender" json:"ethereumSender,omitempty"`
	Chain33Receiver string `protobuf:"bytes,7,opt,name=chain33Receiver" json:"chain33Receiver,omitempty"`
	Amount          string `protobuf:"bytes,9,opt,name=amount" json:"amount,omitempty"`
	ClaimType       int32  `protobuf:"varint,10,opt,name=claimType" json:"claimType,omitempty"`
	ChainName       string `protobuf:"bytes,11,opt,name=chainName" json:"chainName,omitempty"`
	Decimal         int64  `protobuf:"varint,12,opt,name=decimal" json:"decimal,omitempty"`
}

func (*EthBridgeClaim) ProtoMessage

func (*EthBridgeClaim) ProtoMessage()

func (*EthBridgeClaim) Reset

func (m *EthBridgeClaim) Reset()

func (*EthBridgeClaim) String

func (m *EthBridgeClaim) String() string

type EthTxStatus

type EthTxStatus struct {
	Status string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
	Txhash string `protobuf:"bytes,2,opt,name=txhash" json:"txhash,omitempty"`
}

func (*EthTxStatus) ProtoMessage

func (*EthTxStatus) ProtoMessage()

func (*EthTxStatus) Reset

func (m *EthTxStatus) Reset()

func (*EthTxStatus) String

func (m *EthTxStatus) String() string

type EthereumAddress

type EthereumAddress gethCommon.Address

EthereumAddress defines a standard ethereum address

func NewEthereumAddress

func NewEthereumAddress(address string) EthereumAddress

NewEthereumAddress is a constructor function for EthereumAddress

func (EthereumAddress) MarshalJSON

func (ethAddr EthereumAddress) MarshalJSON() ([]byte, error)

MarshalJSON marshals the etherum address to JSON

func (EthereumAddress) String

func (ethAddr EthereumAddress) String() string

Route should return the name of the module

func (*EthereumAddress) UnmarshalJSON

func (ethAddr *EthereumAddress) UnmarshalJSON(input []byte) error

UnmarshalJSON unmarshals an ethereum address

type EventLogIndex

type EventLogIndex struct {
	Height uint64 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"`
	Index  uint32 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"`
}

func (*EventLogIndex) ProtoMessage

func (*EventLogIndex) ProtoMessage()

func (*EventLogIndex) Reset

func (m *EventLogIndex) Reset()

func (*EventLogIndex) String

func (m *EventLogIndex) String() string

type ImportKeyReq

type ImportKeyReq struct {
	PrivateKey string `protobuf:"bytes,1,opt,name=privateKey" json:"privateKey,omitempty"`
}

func (*ImportKeyReq) ProtoMessage

func (*ImportKeyReq) ProtoMessage()

func (*ImportKeyReq) Reset

func (m *ImportKeyReq) Reset()

func (*ImportKeyReq) String

func (m *ImportKeyReq) String() string

type LockEthErc20

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

func (*LockEthErc20) ProtoMessage

func (*LockEthErc20) ProtoMessage()

func (*LockEthErc20) Reset

func (m *LockEthErc20) Reset()

func (*LockEthErc20) String

func (m *LockEthErc20) String() string

type Log

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

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) Reset

func (m *Log) Reset()

func (*Log) String

func (m *Log) String() string

type MintToken

type MintToken struct {
	Owner     string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"`
	TokenAddr string `protobuf:"bytes,2,opt,name=tokenAddr" json:"tokenAddr,omitempty"`
	Amount    string `protobuf:"bytes,3,opt,name=amount" json:"amount,omitempty"`
}

func (*MintToken) ProtoMessage

func (*MintToken) ProtoMessage()

func (*MintToken) Reset

func (m *MintToken) Reset()

func (*MintToken) String

func (m *MintToken) String() string

type NewProphecyClaim

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

func (*NewProphecyClaim) ProtoMessage

func (*NewProphecyClaim) ProtoMessage()

func (*NewProphecyClaim) Reset

func (m *NewProphecyClaim) Reset()

func (*NewProphecyClaim) String

func (m *NewProphecyClaim) String() string

type RelayerConfig

type RelayerConfig struct {
	Title               string        `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
	SyncTxConfig        *SyncTxConfig `protobuf:"bytes,2,opt,name=syncTxConfig" json:"syncTxConfig,omitempty"`
	Log                 *Log          `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"`
	JrpcBindAddr        string        `protobuf:"bytes,4,opt,name=jrpcBindAddr" json:"jrpcBindAddr,omitempty"`
	EthProvider         string        `protobuf:"bytes,5,opt,name=ethProvider" json:"ethProvider,omitempty"`
	BridgeRegistry      string        `protobuf:"bytes,6,opt,name=bridgeRegistry" json:"bridgeRegistry,omitempty"`
	Deploy              *Deploy       `protobuf:"bytes,7,opt,name=deploy" json:"deploy,omitempty"`
	EthMaturityDegree   int32         `protobuf:"varint,8,opt,name=ethMaturityDegree" json:"ethMaturityDegree,omitempty"`
	EthBlockFetchPeriod int32         `protobuf:"varint,9,opt,name=ethBlockFetchPeriod" json:"ethBlockFetchPeriod,omitempty"`
	EthProviderCli      string        `protobuf:"bytes,10,opt,name=ethProviderCli" json:"ethProviderCli,omitempty"`
}

func (*RelayerConfig) GetDeploy

func (m *RelayerConfig) GetDeploy() *Deploy

func (*RelayerConfig) GetLog

func (m *RelayerConfig) GetLog() *Log

func (*RelayerConfig) GetSyncTxConfig

func (m *RelayerConfig) GetSyncTxConfig() *SyncTxConfig

func (*RelayerConfig) ProtoMessage

func (*RelayerConfig) ProtoMessage()

func (*RelayerConfig) Reset

func (m *RelayerConfig) Reset()

func (*RelayerConfig) String

func (m *RelayerConfig) String() string

type RelayerRunStatus

type RelayerRunStatus struct {
	Status  int32  `protobuf:"varint,1,opt,name=status" json:"status,omitempty"`
	Details string `protobuf:"bytes,2,opt,name=details" json:"details,omitempty"`
}

func (*RelayerRunStatus) ProtoMessage

func (*RelayerRunStatus) ProtoMessage()

func (*RelayerRunStatus) Reset

func (m *RelayerRunStatus) Reset()

func (*RelayerRunStatus) String

func (m *RelayerRunStatus) String() string

type ReplyAddr

type ReplyAddr struct {
	IsOK bool   `protobuf:"varint,1,opt,name=isOK" json:"isOK,omitempty"`
	Addr string `protobuf:"bytes,2,opt,name=addr" json:"addr,omitempty"`
}

func (*ReplyAddr) ProtoMessage

func (*ReplyAddr) ProtoMessage()

func (*ReplyAddr) Reset

func (m *ReplyAddr) Reset()

func (*ReplyAddr) String

func (m *ReplyAddr) String() string

type ReplyBalance

type ReplyBalance struct {
	IsOK    bool   `protobuf:"varint,1,opt,name=isOK" json:"isOK,omitempty"`
	Balance string `protobuf:"bytes,2,opt,name=balance" json:"balance,omitempty"`
}

func (*ReplyBalance) ProtoMessage

func (*ReplyBalance) ProtoMessage()

func (*ReplyBalance) Reset

func (m *ReplyBalance) Reset()

func (*ReplyBalance) String

func (m *ReplyBalance) String() string

type ReqChangePasswd

type ReqChangePasswd struct {
	OldPassphase string `protobuf:"bytes,1,opt,name=oldPassphase" json:"oldPassphase,omitempty"`
	NewPassphase string `protobuf:"bytes,2,opt,name=newPassphase" json:"newPassphase,omitempty"`
}

func (*ReqChangePasswd) ProtoMessage

func (*ReqChangePasswd) ProtoMessage()

func (*ReqChangePasswd) Reset

func (m *ReqChangePasswd) Reset()

func (*ReqChangePasswd) String

func (m *ReqChangePasswd) String() string

type ReqSetPasswd

type ReqSetPasswd struct {
	Passphase string `protobuf:"bytes,1,opt" json:"Passphase,omitempty"`
}

func (*ReqSetPasswd) ProtoMessage

func (*ReqSetPasswd) ProtoMessage()

func (*ReqSetPasswd) Reset

func (m *ReqSetPasswd) Reset()

func (*ReqSetPasswd) String

func (m *ReqSetPasswd) String() string

type StaticsAll

type StaticsAll struct {
}

func (*StaticsAll) ProtoMessage

func (*StaticsAll) ProtoMessage()

func (*StaticsAll) Reset

func (m *StaticsAll) Reset()

func (*StaticsAll) String

func (m *StaticsAll) String() string

type StaticsDeposit

type StaticsDeposit struct {
	Supply string `protobuf:"bytes,1,opt,name=supply" json:"supply,omitempty"`
}

func (*StaticsDeposit) ProtoMessage

func (*StaticsDeposit) ProtoMessage()

func (*StaticsDeposit) Reset

func (m *StaticsDeposit) Reset()

func (*StaticsDeposit) String

func (m *StaticsDeposit) String() string

type StaticsLock

type StaticsLock struct {
	Balance string `protobuf:"bytes,1,opt,name=balance" json:"balance,omitempty"`
}

func (*StaticsLock) ProtoMessage

func (*StaticsLock) ProtoMessage()

func (*StaticsLock) Reset

func (m *StaticsLock) Reset()

func (*StaticsLock) String

func (m *StaticsLock) String() string

type StaticsLockResponse

type StaticsLockResponse struct {
	All    *StaticsLock       `protobuf:"bytes,1,opt,name=all" json:"all,omitempty"`
	Single *StaticsLockSingle `protobuf:"bytes,2,opt,name=single" json:"single,omitempty"`
}

func (*StaticsLockResponse) GetAll

func (m *StaticsLockResponse) GetAll() *StaticsLock

func (*StaticsLockResponse) GetSingle

func (m *StaticsLockResponse) GetSingle() *StaticsLockSingle

func (*StaticsLockResponse) ProtoMessage

func (*StaticsLockResponse) ProtoMessage()

func (*StaticsLockResponse) Reset

func (m *StaticsLockResponse) Reset()

func (*StaticsLockResponse) String

func (m *StaticsLockResponse) String() string

type StaticsLockSingle

type StaticsLockSingle struct {
	TotalLockedAccumated int64   `protobuf:"varint,1,opt,name=totalLockedAccumated" json:"totalLockedAccumated,omitempty"`
	Locked               []int64 `protobuf:"varint,2,rep,name=locked" json:"locked,omitempty"`
}

func (*StaticsLockSingle) ProtoMessage

func (*StaticsLockSingle) ProtoMessage()

func (*StaticsLockSingle) Reset

func (m *StaticsLockSingle) Reset()

func (*StaticsLockSingle) String

func (m *StaticsLockSingle) String() string

type StaticsRequest

type StaticsRequest struct {
	Owner     string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"`
	TokenAddr string `protobuf:"bytes,2,opt,name=tokenAddr" json:"tokenAddr,omitempty"`
}

func (*StaticsRequest) ProtoMessage

func (*StaticsRequest) ProtoMessage()

func (*StaticsRequest) Reset

func (m *StaticsRequest) Reset()

func (*StaticsRequest) String

func (m *StaticsRequest) String() string

type StaticsResponse

type StaticsResponse struct {
}

func (*StaticsResponse) ProtoMessage

func (*StaticsResponse) ProtoMessage()

func (*StaticsResponse) Reset

func (m *StaticsResponse) Reset()

func (*StaticsResponse) String

func (m *StaticsResponse) String() string

type StaticsSingle

type StaticsSingle struct {
}

func (*StaticsSingle) ProtoMessage

func (*StaticsSingle) ProtoMessage()

func (*StaticsSingle) Reset

func (m *StaticsSingle) Reset()

func (*StaticsSingle) String

func (m *StaticsSingle) String() string

type SyncTxConfig

type SyncTxConfig struct {
	Chain33Host         string `protobuf:"bytes,1,opt,name=chain33host" json:"chain33host,omitempty"`
	PushHost            string `protobuf:"bytes,2,opt,name=pushHost" json:"pushHost,omitempty"`
	PushName            string `protobuf:"bytes,3,opt,name=pushName" json:"pushName,omitempty"`
	PushBind            string `protobuf:"bytes,4,opt,name=pushBind" json:"pushBind,omitempty"`
	MaturityDegree      int32  `protobuf:"varint,5,opt,name=maturityDegree" json:"maturityDegree,omitempty"`
	Dbdriver            string `protobuf:"bytes,6,opt,name=dbdriver" json:"dbdriver,omitempty"`
	DbPath              string `protobuf:"bytes,7,opt,name=dbPath" json:"dbPath,omitempty"`
	DbCache             int32  `protobuf:"varint,8,opt,name=dbCache" json:"dbCache,omitempty"`
	FetchHeightPeriodMs int64  `protobuf:"varint,9,opt,name=fetchHeightPeriodMs" json:"fetchHeightPeriodMs,omitempty"`
	StartSyncHeight     int64  `protobuf:"varint,10,opt,name=startSyncHeight" json:"startSyncHeight,omitempty"`
	StartSyncSequence   int64  `protobuf:"varint,11,opt,name=startSyncSequence" json:"startSyncSequence,omitempty"`
	StartSyncHash       string `protobuf:"bytes,12,opt,name=startSyncHash" json:"startSyncHash,omitempty"`
}

func (*SyncTxConfig) ProtoMessage

func (*SyncTxConfig) ProtoMessage()

func (*SyncTxConfig) Reset

func (m *SyncTxConfig) Reset()

func (*SyncTxConfig) String

func (m *SyncTxConfig) String() string

type SyncTxReceiptConfig

type SyncTxReceiptConfig struct {
	Chain33Host       string `protobuf:"bytes,1,opt,name=chain33host" json:"chain33host,omitempty"`
	PushHost          string `protobuf:"bytes,2,opt,name=pushHost" json:"pushHost,omitempty"`
	PushName          string `protobuf:"bytes,3,opt,name=pushName" json:"pushName,omitempty"`
	PushBind          string `protobuf:"bytes,4,opt,name=pushBind" json:"pushBind,omitempty"`
	StartSyncHeight   int64  `protobuf:"varint,5,opt,name=startSyncHeight" json:"startSyncHeight,omitempty"`
	StartSyncSequence int64  `protobuf:"varint,6,opt,name=startSyncSequence" json:"startSyncSequence,omitempty"`
	StartSyncHash     string `protobuf:"bytes,7,opt,name=startSyncHash" json:"startSyncHash,omitempty"`
}

func (*SyncTxReceiptConfig) ProtoMessage

func (*SyncTxReceiptConfig) ProtoMessage()

func (*SyncTxReceiptConfig) Reset

func (m *SyncTxReceiptConfig) Reset()

func (*SyncTxReceiptConfig) String

func (m *SyncTxReceiptConfig) String() string

type TokenStatics

type TokenStatics struct {
	TokenAddr string `protobuf:"bytes,1,opt,name=tokenAddr" json:"tokenAddr,omitempty"`
}

func (*TokenStatics) ProtoMessage

func (*TokenStatics) ProtoMessage()

func (*TokenStatics) Reset

func (m *TokenStatics) Reset()

func (*TokenStatics) String

func (m *TokenStatics) String() string

type TransferToken

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

func (*TransferToken) ProtoMessage

func (*TransferToken) ProtoMessage()

func (*TransferToken) Reset

func (m *TransferToken) Reset()

func (*TransferToken) String

func (m *TransferToken) String() string

type Txhashes

type Txhashes struct {
	Txhash []string `protobuf:"bytes,1,rep,name=txhash" json:"txhash,omitempty"`
}

func (*Txhashes) ProtoMessage

func (*Txhashes) ProtoMessage()

func (*Txhashes) Reset

func (m *Txhashes) Reset()

func (*Txhashes) String

func (m *Txhashes) String() string

type Uint64

type Uint64 struct {
	Data uint64 `protobuf:"varint,1,opt,name=data" json:"data,omitempty"`
}

func (*Uint64) ProtoMessage

func (*Uint64) ProtoMessage()

func (*Uint64) Reset

func (m *Uint64) Reset()

func (*Uint64) String

func (m *Uint64) String() string

type ValidatorAddr4EthRelayer

type ValidatorAddr4EthRelayer struct {
	Chain33Validator string `protobuf:"bytes,1,opt,name=chain33Validator" json:"chain33Validator,omitempty"`
}

func (*ValidatorAddr4EthRelayer) ProtoMessage

func (*ValidatorAddr4EthRelayer) ProtoMessage()

func (*ValidatorAddr4EthRelayer) Reset

func (m *ValidatorAddr4EthRelayer) Reset()

func (*ValidatorAddr4EthRelayer) String

func (m *ValidatorAddr4EthRelayer) String() string

Jump to

Keyboard shortcuts

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