types

package
v1.65.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TyUnknownLog = iota + 100
	TyEth2Chain33Log
	TyWithdrawEthLog
	TyWithdrawChain33Log
	TyChain33ToEthLog
	TyAddValidatorLog
	TyRemoveValidatorLog
	TyModifyPowerLog
	TySetConsensusThresholdLog
	TyProphecyLog
	TyTransferLog
	TyTransferToExecLog
	TyWithdrawFromExecLog
)

log for x2ethereum log类型id值

View Source
const (
	TyUnknowAction = iota + 100
	TyEth2Chain33Action
	TyWithdrawEthAction
	TyWithdrawChain33Action
	TyChain33ToEthAction
	TyAddValidatorAction
	TyRemoveValidatorAction
	TyModifyPowerAction
	TySetConsensusThresholdAction
	TyTransferAction
	TyTransferToExecAction
	TyWithdrawFromExecAction

	NameEth2Chain33Action           = "Eth2Chain33Lock"
	NameWithdrawEthAction           = "Eth2Chain33Burn"
	NameWithdrawChain33Action       = "Chain33ToEthBurn"
	NameChain33ToEthAction          = "Chain33ToEthLock"
	NameAddValidatorAction          = "AddValidator"
	NameRemoveValidatorAction       = "RemoveValidator"
	NameModifyPowerAction           = "ModifyPower"
	NameSetConsensusThresholdAction = "SetConsensusThreshold"
	NameTransferAction              = "Transfer"
	NameTransferToExecAction        = "TransferToExec"
	NameWithdrawFromExecAction      = "WithdrawFromExec"
)

action类型id和name,这些常量可以自定义修改

View Source
const (
	DirEth2Chain33  = "eth2chain33"
	DirChain33ToEth = "chain33toeth"
	LockClaim       = "lock"
	BurnClaim       = "burn"
)

direct ...

View Source
const (
	FuncQueryEthProphecy               = "GetEthProphecy"
	FuncQueryValidators                = "GetValidators"
	FuncQueryTotalPower                = "GetTotalPower"
	FuncQueryConsensusThreshold        = "GetConsensusThreshold"
	FuncQuerySymbolTotalAmountByTxType = "GetSymbolTotalAmountByTxType"
	FuncQueryRelayerBalance            = "GetRelayerBalance"
)

query function name

View Source
const (
	LockClaimType = int32(1)
	BurnClaimType = int32(2)
)

lock type

View Source
const DefaultConsensusNeeded = int64(70)

DefaultConsensusNeeded ...

Variables

View Source
var (
	ProphecyKey                         = []byte("prefix_for_Prophecy")
	Eth2Chain33Key                      = []byte("prefix_for_Eth2Chain33")
	WithdrawEthKey                      = []byte("prefix_for_WithdrawEth")
	Chain33ToEthKey                     = []byte("prefix_for_Chain33ToEth")
	WithdrawChain33Key                  = []byte("prefix_for_WithdrawChain33")
	LastTotalPowerKey                   = []byte("prefix_for_LastTotalPower")
	ValidatorMapsKey                    = []byte("prefix_for_ValidatorMaps")
	ConsensusThresholdKey               = []byte("prefix_for_ConsensusThreshold")
	TokenSymbolTotalLockOrBurnAmountKey = []byte("prefix_for_TokenSymbolTotalLockOrBurnAmount-")
	TokenSymbolToTokenAddressKey        = []byte("prefix_for_TokenSymbolToTokenAddress-")
)

key

View Source
var (
	ErrInvalidClaimType              = errors.New("invalid claim type provided")
	ErrInvalidEthSymbol              = errors.New("invalid symbol provided, symbol \"eth\" must have null address set as token contract address")
	ErrInvalidChainID                = errors.New("invalid ethereum chain id")
	ErrInvalidEthAddress             = errors.New("invalid ethereum address provided, must be a valid hex-encoded Ethereum address")
	ErrInvalidEthNonce               = errors.New("invalid ethereum nonce provided, must be >= 0")
	ErrInvalidAddress                = errors.New("invalid Chain33 address")
	ErrInvalidIdentifier             = errors.New("invalid identifier provided, must be a nonempty string")
	ErrProphecyNotFound              = errors.New("prophecy with given id not found")
	ErrProphecyGet                   = errors.New("prophecy with given id find error")
	ErrinternalDB                    = errors.New("internal error serializing/deserializing prophecy")
	ErrNoClaims                      = errors.New("cannot create prophecy without initial claim")
	ErrInvalidClaim                  = errors.New("claim cannot be empty string")
	ErrProphecyFinalized             = errors.New("prophecy already finalized")
	ErrProphecyFailed                = errors.New("prophecy failed so you can't burn this prophecy")
	ErrDuplicateMessage              = errors.New("already processed message from validator for this id")
	ErrMinimumConsensusNeededInvalid = errors.New("minimum consensus proportion of validator staking power must be > 0 and <= 1")
	ErrInvalidValidator              = errors.New("validator is invalid")
	ErrUnknownAddress                = errors.New("module account does not exist")
	ErrPowerIsNotEnough              = errors.New("remove power is more than which this address saves")
	ErrAddressNotExist               = errors.New("this address doesn't exist in DB")
	ErrInvalidProphecyID             = errors.New("Prophecy ID is invalid")
	ErrAddressExists                 = errors.New("This address already exists")
	ErrInvalidAdminAddress           = errors.New("This address is not admin address")
	ErrClaimInconsist                = errors.New("This claim does not consist with others")
	ErrInvalidPower                  = errors.New("This power is invalid")
)

err ...

View Source
var (
	//KeyPrefixStateDB state db key必须前缀
	KeyPrefixStateDB = "mavl-x2ethereum-"
	//KeyPrefixLocalDB local db的key必须前缀
	KeyPrefixLocalDB = "LODB-x2ethereum-"
)
View Source
var DirectionType = [3]string{"", DirEth2Chain33, DirChain33ToEth}

DirectionType type

View Source
var (
	ErrSetKV = errors.New("Set KV error")
)

common

View Source
var EthBridgeStatus_name = map[int32]string{
	0: "PendingStatusText",
	1: "SuccessStatusText",
	2: "FailedStatusText",
}
View Source
var EthBridgeStatus_value = map[string]int32{
	"PendingStatusText": 0,
	"SuccessStatusText": 1,
	"FailedStatusText":  2,
}
View Source
var (
	//X2ethereumX 执行器名称定义
	X2ethereumX = "x2ethereum"
)

Functions

func CalChain33ToEthPrefix

func CalChain33ToEthPrefix() []byte

CalChain33ToEthPrefix ...

func CalConsensusThresholdPrefix

func CalConsensusThresholdPrefix() []byte

CalConsensusThresholdPrefix ...

func CalEth2Chain33Prefix

func CalEth2Chain33Prefix() []byte

CalEth2Chain33Prefix ...

func CalLastTotalPowerPrefix

func CalLastTotalPowerPrefix() []byte

CalLastTotalPowerPrefix ...

func CalProphecyPrefix

func CalProphecyPrefix(id string) []byte

CalProphecyPrefix ...

func CalTokenSymbolToTokenAddress

func CalTokenSymbolToTokenAddress(symbol string) []byte

CalTokenSymbolToTokenAddress ...

func CalTokenSymbolTotalLockOrBurnAmount

func CalTokenSymbolTotalLockOrBurnAmount(symbol, tokenAddress, direction, txType string) []byte

CalTokenSymbolTotalLockOrBurnAmount ...

func CalValidatorMapsPrefix

func CalValidatorMapsPrefix() []byte

CalValidatorMapsPrefix ...

func CalWithdrawChain33Prefix

func CalWithdrawChain33Prefix() []byte

CalWithdrawChain33Prefix ...

func CalWithdrawEthPrefix

func CalWithdrawEthPrefix() []byte

CalWithdrawEthPrefix ...

func CheckPower

func CheckPower(power int64) bool

CheckPower ...

func DivideDot

func DivideDot(in string) (left, right string, err error)

DivideDot ...

func InitExecutor

func InitExecutor(cfg *types.Chain33Config)

InitExecutor defines register executor

func InitFork

func InitFork(cfg *types.Chain33Config)

InitFork defines register fork

func IsExecAddrMatch

func IsExecAddrMatch(name string, to string) bool

IsExecAddrMatch ...

func MultiplySpecifyTimes

func MultiplySpecifyTimes(start float64, time int64) float64

MultiplySpecifyTimes ...

func RegisterX2EthereumServer

func RegisterX2EthereumServer(s *grpc.Server, srv X2EthereumServer)

func ToWei

func ToWei(amount float64, decimal int64) *big.Int

ToWei 将eth单位的金额转为wei单位

func Toeth

func Toeth(amount string, decimal int64) float64

Toeth ...

func TrimZeroAndDot

func TrimZeroAndDot(s string) string

TrimZeroAndDot ...

Types

type Chain33ToEth

type Chain33ToEth struct {
	TokenContract        string   `protobuf:"bytes,1,opt,name=TokenContract,proto3" json:"TokenContract,omitempty"`
	Chain33Sender        string   `protobuf:"bytes,2,opt,name=Chain33Sender,proto3" json:"Chain33Sender,omitempty"`
	EthereumReceiver     string   `protobuf:"bytes,3,opt,name=EthereumReceiver,proto3" json:"EthereumReceiver,omitempty"`
	Amount               string   `protobuf:"bytes,4,opt,name=Amount,proto3" json:"Amount,omitempty"`
	IssuerDotSymbol      string   `protobuf:"bytes,5,opt,name=IssuerDotSymbol,proto3" json:"IssuerDotSymbol,omitempty"`
	Decimals             int64    `protobuf:"varint,7,opt,name=Decimals,proto3" json:"Decimals,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

MsgBurn defines a message for burning coins and triggering a related event

func (*Chain33ToEth) Descriptor

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

func (*Chain33ToEth) GetAmount

func (m *Chain33ToEth) GetAmount() string

func (*Chain33ToEth) GetChain33Sender

func (m *Chain33ToEth) GetChain33Sender() string

func (*Chain33ToEth) GetDecimals

func (m *Chain33ToEth) GetDecimals() int64

func (*Chain33ToEth) GetEthereumReceiver

func (m *Chain33ToEth) GetEthereumReceiver() string

func (*Chain33ToEth) GetIssuerDotSymbol

func (m *Chain33ToEth) GetIssuerDotSymbol() string

func (*Chain33ToEth) GetTokenContract

func (m *Chain33ToEth) GetTokenContract() string

func (*Chain33ToEth) ProtoMessage

func (*Chain33ToEth) ProtoMessage()

func (*Chain33ToEth) Reset

func (m *Chain33ToEth) Reset()

func (*Chain33ToEth) String

func (m *Chain33ToEth) String() string

func (*Chain33ToEth) XXX_DiscardUnknown

func (m *Chain33ToEth) XXX_DiscardUnknown()

func (*Chain33ToEth) XXX_Marshal

func (m *Chain33ToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Chain33ToEth) XXX_Merge

func (m *Chain33ToEth) XXX_Merge(src proto.Message)

func (*Chain33ToEth) XXX_Size

func (m *Chain33ToEth) XXX_Size() int

func (*Chain33ToEth) XXX_Unmarshal

func (m *Chain33ToEth) XXX_Unmarshal(b []byte) error

type ClaimValidators

type ClaimValidators struct {
	Claim                string     `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"`
	Validators           *StringMap `protobuf:"bytes,2,opt,name=validators,proto3" json:"validators,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ClaimValidators) Descriptor

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

func (*ClaimValidators) GetClaim

func (m *ClaimValidators) GetClaim() string

func (*ClaimValidators) GetValidators

func (m *ClaimValidators) GetValidators() *StringMap

func (*ClaimValidators) ProtoMessage

func (*ClaimValidators) ProtoMessage()

func (*ClaimValidators) Reset

func (m *ClaimValidators) Reset()

func (*ClaimValidators) String

func (m *ClaimValidators) String() string

func (*ClaimValidators) XXX_DiscardUnknown

func (m *ClaimValidators) XXX_DiscardUnknown()

func (*ClaimValidators) XXX_Marshal

func (m *ClaimValidators) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClaimValidators) XXX_Merge

func (m *ClaimValidators) XXX_Merge(src proto.Message)

func (*ClaimValidators) XXX_Size

func (m *ClaimValidators) XXX_Size() int

func (*ClaimValidators) XXX_Unmarshal

func (m *ClaimValidators) XXX_Unmarshal(b []byte) error

type Eth2Chain33

type Eth2Chain33 struct {
	EthereumChainID       int64    `protobuf:"varint,1,opt,name=EthereumChainID,proto3" json:"EthereumChainID,omitempty"`
	BridgeContractAddress string   `protobuf:"bytes,2,opt,name=BridgeContractAddress,proto3" json:"BridgeContractAddress,omitempty"`
	Nonce                 int64    `protobuf:"varint,3,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
	IssuerDotSymbol       string   `protobuf:"bytes,4,opt,name=IssuerDotSymbol,proto3" json:"IssuerDotSymbol,omitempty"`
	TokenContractAddress  string   `protobuf:"bytes,6,opt,name=TokenContractAddress,proto3" json:"TokenContractAddress,omitempty"`
	EthereumSender        string   `protobuf:"bytes,7,opt,name=EthereumSender,proto3" json:"EthereumSender,omitempty"`
	Chain33Receiver       string   `protobuf:"bytes,8,opt,name=Chain33Receiver,proto3" json:"Chain33Receiver,omitempty"`
	ValidatorAddress      string   `protobuf:"bytes,9,opt,name=ValidatorAddress,proto3" json:"ValidatorAddress,omitempty"`
	Amount                string   `protobuf:"bytes,10,opt,name=Amount,proto3" json:"Amount,omitempty"`
	ClaimType             int64    `protobuf:"varint,11,opt,name=ClaimType,proto3" json:"ClaimType,omitempty"`
	Decimals              int64    `protobuf:"varint,12,opt,name=Decimals,proto3" json:"Decimals,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

EthBridgeClaim is a structure that contains all the data for a particular bridge claim

func (*Eth2Chain33) Descriptor

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

func (*Eth2Chain33) GetAmount

func (m *Eth2Chain33) GetAmount() string

func (*Eth2Chain33) GetBridgeContractAddress

func (m *Eth2Chain33) GetBridgeContractAddress() string

func (*Eth2Chain33) GetChain33Receiver

func (m *Eth2Chain33) GetChain33Receiver() string

func (*Eth2Chain33) GetClaimType

func (m *Eth2Chain33) GetClaimType() int64

func (*Eth2Chain33) GetDecimals

func (m *Eth2Chain33) GetDecimals() int64

func (*Eth2Chain33) GetEthereumChainID

func (m *Eth2Chain33) GetEthereumChainID() int64

func (*Eth2Chain33) GetEthereumSender

func (m *Eth2Chain33) GetEthereumSender() string

func (*Eth2Chain33) GetIssuerDotSymbol

func (m *Eth2Chain33) GetIssuerDotSymbol() string

func (*Eth2Chain33) GetNonce

func (m *Eth2Chain33) GetNonce() int64

func (*Eth2Chain33) GetTokenContractAddress

func (m *Eth2Chain33) GetTokenContractAddress() string

func (*Eth2Chain33) GetValidatorAddress

func (m *Eth2Chain33) GetValidatorAddress() string

func (*Eth2Chain33) ProtoMessage

func (*Eth2Chain33) ProtoMessage()

func (*Eth2Chain33) Reset

func (m *Eth2Chain33) Reset()

func (*Eth2Chain33) String

func (m *Eth2Chain33) String() string

func (*Eth2Chain33) XXX_DiscardUnknown

func (m *Eth2Chain33) XXX_DiscardUnknown()

func (*Eth2Chain33) XXX_Marshal

func (m *Eth2Chain33) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Eth2Chain33) XXX_Merge

func (m *Eth2Chain33) XXX_Merge(src proto.Message)

func (*Eth2Chain33) XXX_Size

func (m *Eth2Chain33) XXX_Size() int

func (*Eth2Chain33) XXX_Unmarshal

func (m *Eth2Chain33) XXX_Unmarshal(b []byte) error

type EthBridgeStatus

type EthBridgeStatus int32
const (
	EthBridgeStatus_PendingStatusText EthBridgeStatus = 0
	EthBridgeStatus_SuccessStatusText EthBridgeStatus = 1
	EthBridgeStatus_FailedStatusText  EthBridgeStatus = 2
)

func (EthBridgeStatus) EnumDescriptor

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

func (EthBridgeStatus) String

func (x EthBridgeStatus) String() string

type MsgConsensusThreshold

type MsgConsensusThreshold struct {
	ConsensusThreshold   int64    `protobuf:"varint,1,opt,name=consensusThreshold,proto3" json:"consensusThreshold,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MsgConsensusThreshold) Descriptor

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

func (*MsgConsensusThreshold) GetConsensusThreshold

func (m *MsgConsensusThreshold) GetConsensusThreshold() int64

func (*MsgConsensusThreshold) ProtoMessage

func (*MsgConsensusThreshold) ProtoMessage()

func (*MsgConsensusThreshold) Reset

func (m *MsgConsensusThreshold) Reset()

func (*MsgConsensusThreshold) String

func (m *MsgConsensusThreshold) String() string

func (*MsgConsensusThreshold) XXX_DiscardUnknown

func (m *MsgConsensusThreshold) XXX_DiscardUnknown()

func (*MsgConsensusThreshold) XXX_Marshal

func (m *MsgConsensusThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgConsensusThreshold) XXX_Merge

func (m *MsgConsensusThreshold) XXX_Merge(src proto.Message)

func (*MsgConsensusThreshold) XXX_Size

func (m *MsgConsensusThreshold) XXX_Size() int

func (*MsgConsensusThreshold) XXX_Unmarshal

func (m *MsgConsensusThreshold) XXX_Unmarshal(b []byte) error

type MsgValidator

type MsgValidator struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Power                int64    `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MsgValidator) Descriptor

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

func (*MsgValidator) GetAddress

func (m *MsgValidator) GetAddress() string

func (*MsgValidator) GetPower

func (m *MsgValidator) GetPower() int64

func (*MsgValidator) ProtoMessage

func (*MsgValidator) ProtoMessage()

func (*MsgValidator) Reset

func (m *MsgValidator) Reset()

func (*MsgValidator) String

func (m *MsgValidator) String() string

func (*MsgValidator) XXX_DiscardUnknown

func (m *MsgValidator) XXX_DiscardUnknown()

func (*MsgValidator) XXX_Marshal

func (m *MsgValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgValidator) XXX_Merge

func (m *MsgValidator) XXX_Merge(src proto.Message)

func (*MsgValidator) XXX_Size

func (m *MsgValidator) XXX_Size() int

func (*MsgValidator) XXX_Unmarshal

func (m *MsgValidator) XXX_Unmarshal(b []byte) error

type OracleClaim

type OracleClaim struct {
	ID                   string   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	ValidatorAddress     string   `protobuf:"bytes,2,opt,name=ValidatorAddress,proto3" json:"ValidatorAddress,omitempty"`
	Content              string   `protobuf:"bytes,3,opt,name=Content,proto3" json:"Content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

EthBridgeClaim is a structure that contains all the data for a particular bridge claim

func (*OracleClaim) Descriptor

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

func (*OracleClaim) GetContent

func (m *OracleClaim) GetContent() string

func (*OracleClaim) GetID

func (m *OracleClaim) GetID() string

func (*OracleClaim) GetValidatorAddress

func (m *OracleClaim) GetValidatorAddress() string

func (*OracleClaim) ProtoMessage

func (*OracleClaim) ProtoMessage()

func (*OracleClaim) Reset

func (m *OracleClaim) Reset()

func (*OracleClaim) String

func (m *OracleClaim) String() string

func (*OracleClaim) XXX_DiscardUnknown

func (m *OracleClaim) XXX_DiscardUnknown()

func (*OracleClaim) XXX_Marshal

func (m *OracleClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OracleClaim) XXX_Merge

func (m *OracleClaim) XXX_Merge(src proto.Message)

func (*OracleClaim) XXX_Size

func (m *OracleClaim) XXX_Size() int

func (*OracleClaim) XXX_Unmarshal

func (m *OracleClaim) XXX_Unmarshal(b []byte) error

type OracleClaimContent

type OracleClaimContent struct {
	Chain33Receiver      string   `protobuf:"bytes,1,opt,name=Chain33Receiver,proto3" json:"Chain33Receiver,omitempty"`
	Amount               string   `protobuf:"bytes,2,opt,name=Amount,proto3" json:"Amount,omitempty"`
	ClaimType            int64    `protobuf:"varint,3,opt,name=ClaimType,proto3" json:"ClaimType,omitempty"`
	Decimals             int64    `protobuf:"varint,4,opt,name=Decimals,proto3" json:"Decimals,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

OracleClaimContent is the details of how the content of the claim for each validator will be stored in the oracle

func (*OracleClaimContent) Descriptor

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

func (*OracleClaimContent) GetAmount

func (m *OracleClaimContent) GetAmount() string

func (*OracleClaimContent) GetChain33Receiver

func (m *OracleClaimContent) GetChain33Receiver() string

func (*OracleClaimContent) GetClaimType

func (m *OracleClaimContent) GetClaimType() int64

func (*OracleClaimContent) GetDecimals

func (m *OracleClaimContent) GetDecimals() int64

func (*OracleClaimContent) ProtoMessage

func (*OracleClaimContent) ProtoMessage()

func (*OracleClaimContent) Reset

func (m *OracleClaimContent) Reset()

func (*OracleClaimContent) String

func (m *OracleClaimContent) String() string

func (*OracleClaimContent) XXX_DiscardUnknown

func (m *OracleClaimContent) XXX_DiscardUnknown()

func (*OracleClaimContent) XXX_Marshal

func (m *OracleClaimContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OracleClaimContent) XXX_Merge

func (m *OracleClaimContent) XXX_Merge(src proto.Message)

func (*OracleClaimContent) XXX_Size

func (m *OracleClaimContent) XXX_Size() int

func (*OracleClaimContent) XXX_Unmarshal

func (m *OracleClaimContent) XXX_Unmarshal(b []byte) error

type Prophecy

type Prophecy struct {
	ID                   string             `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Status               *ProphecyStatus    `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
	ClaimValidators      []*ClaimValidators `protobuf:"bytes,3,rep,name=ClaimValidators,proto3" json:"ClaimValidators,omitempty"`
	ValidatorClaims      []*ValidatorClaims `protobuf:"bytes,4,rep,name=ValidatorClaims,proto3" json:"ValidatorClaims,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Prophecy) Descriptor

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

func (*Prophecy) GetClaimValidators

func (m *Prophecy) GetClaimValidators() []*ClaimValidators

func (*Prophecy) GetID

func (m *Prophecy) GetID() string

func (*Prophecy) GetStatus

func (m *Prophecy) GetStatus() *ProphecyStatus

func (*Prophecy) GetValidatorClaims

func (m *Prophecy) GetValidatorClaims() []*ValidatorClaims

func (*Prophecy) ProtoMessage

func (*Prophecy) ProtoMessage()

func (*Prophecy) Reset

func (m *Prophecy) Reset()

func (*Prophecy) String

func (m *Prophecy) String() string

func (*Prophecy) XXX_DiscardUnknown

func (m *Prophecy) XXX_DiscardUnknown()

func (*Prophecy) XXX_Marshal

func (m *Prophecy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Prophecy) XXX_Merge

func (m *Prophecy) XXX_Merge(src proto.Message)

func (*Prophecy) XXX_Size

func (m *Prophecy) XXX_Size() int

func (*Prophecy) XXX_Unmarshal

func (m *Prophecy) XXX_Unmarshal(b []byte) error

type ProphecyStatus

type ProphecyStatus struct {
	Text                 EthBridgeStatus `protobuf:"varint,1,opt,name=Text,proto3,enum=types.EthBridgeStatus" json:"Text,omitempty"`
	FinalClaim           string          `protobuf:"bytes,2,opt,name=FinalClaim,proto3" json:"FinalClaim,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ProphecyStatus) Descriptor

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

func (*ProphecyStatus) GetFinalClaim

func (m *ProphecyStatus) GetFinalClaim() string

func (*ProphecyStatus) GetText

func (m *ProphecyStatus) GetText() EthBridgeStatus

func (*ProphecyStatus) ProtoMessage

func (*ProphecyStatus) ProtoMessage()

func (*ProphecyStatus) Reset

func (m *ProphecyStatus) Reset()

func (*ProphecyStatus) String

func (m *ProphecyStatus) String() string

func (*ProphecyStatus) XXX_DiscardUnknown

func (m *ProphecyStatus) XXX_DiscardUnknown()

func (*ProphecyStatus) XXX_Marshal

func (m *ProphecyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProphecyStatus) XXX_Merge

func (m *ProphecyStatus) XXX_Merge(src proto.Message)

func (*ProphecyStatus) XXX_Size

func (m *ProphecyStatus) XXX_Size() int

func (*ProphecyStatus) XXX_Unmarshal

func (m *ProphecyStatus) XXX_Unmarshal(b []byte) error

type QueryConsensusThresholdParams

type QueryConsensusThresholdParams struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryConsensusThresholdParams) Descriptor

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

func (*QueryConsensusThresholdParams) ProtoMessage

func (*QueryConsensusThresholdParams) ProtoMessage()

func (*QueryConsensusThresholdParams) Reset

func (m *QueryConsensusThresholdParams) Reset()

func (*QueryConsensusThresholdParams) String

func (*QueryConsensusThresholdParams) XXX_DiscardUnknown

func (m *QueryConsensusThresholdParams) XXX_DiscardUnknown()

func (*QueryConsensusThresholdParams) XXX_Marshal

func (m *QueryConsensusThresholdParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryConsensusThresholdParams) XXX_Merge

func (m *QueryConsensusThresholdParams) XXX_Merge(src proto.Message)

func (*QueryConsensusThresholdParams) XXX_Size

func (m *QueryConsensusThresholdParams) XXX_Size() int

func (*QueryConsensusThresholdParams) XXX_Unmarshal

func (m *QueryConsensusThresholdParams) XXX_Unmarshal(b []byte) error

type QueryEthProphecyParams

type QueryEthProphecyParams struct {
	ID                   string   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

查询接口定义

func (*QueryEthProphecyParams) Descriptor

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

func (*QueryEthProphecyParams) GetID

func (m *QueryEthProphecyParams) GetID() string

func (*QueryEthProphecyParams) ProtoMessage

func (*QueryEthProphecyParams) ProtoMessage()

func (*QueryEthProphecyParams) Reset

func (m *QueryEthProphecyParams) Reset()

func (*QueryEthProphecyParams) String

func (m *QueryEthProphecyParams) String() string

func (*QueryEthProphecyParams) XXX_DiscardUnknown

func (m *QueryEthProphecyParams) XXX_DiscardUnknown()

func (*QueryEthProphecyParams) XXX_Marshal

func (m *QueryEthProphecyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryEthProphecyParams) XXX_Merge

func (m *QueryEthProphecyParams) XXX_Merge(src proto.Message)

func (*QueryEthProphecyParams) XXX_Size

func (m *QueryEthProphecyParams) XXX_Size() int

func (*QueryEthProphecyParams) XXX_Unmarshal

func (m *QueryEthProphecyParams) XXX_Unmarshal(b []byte) error

type QueryRelayerBalance

type QueryRelayerBalance struct {
	TokenSymbol          string   `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	TokenAddr            string   `protobuf:"bytes,3,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryRelayerBalance) Descriptor

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

func (*QueryRelayerBalance) GetAddress

func (m *QueryRelayerBalance) GetAddress() string

func (*QueryRelayerBalance) GetTokenAddr

func (m *QueryRelayerBalance) GetTokenAddr() string

func (*QueryRelayerBalance) GetTokenSymbol

func (m *QueryRelayerBalance) GetTokenSymbol() string

func (*QueryRelayerBalance) ProtoMessage

func (*QueryRelayerBalance) ProtoMessage()

func (*QueryRelayerBalance) Reset

func (m *QueryRelayerBalance) Reset()

func (*QueryRelayerBalance) String

func (m *QueryRelayerBalance) String() string

func (*QueryRelayerBalance) XXX_DiscardUnknown

func (m *QueryRelayerBalance) XXX_DiscardUnknown()

func (*QueryRelayerBalance) XXX_Marshal

func (m *QueryRelayerBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryRelayerBalance) XXX_Merge

func (m *QueryRelayerBalance) XXX_Merge(src proto.Message)

func (*QueryRelayerBalance) XXX_Size

func (m *QueryRelayerBalance) XXX_Size() int

func (*QueryRelayerBalance) XXX_Unmarshal

func (m *QueryRelayerBalance) XXX_Unmarshal(b []byte) error

type QuerySymbolAssetsByTxTypeParams

type QuerySymbolAssetsByTxTypeParams struct {
	TokenSymbol          string   `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"`
	Direction            int64    `protobuf:"varint,2,opt,name=direction,proto3" json:"direction,omitempty"`
	TxType               string   `protobuf:"bytes,3,opt,name=txType,proto3" json:"txType,omitempty"`
	TokenAddr            string   `protobuf:"bytes,4,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	Decimal              int64    `protobuf:"varint,5,opt,name=decimal,proto3" json:"decimal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QuerySymbolAssetsByTxTypeParams) Descriptor

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

func (*QuerySymbolAssetsByTxTypeParams) GetDecimal

func (m *QuerySymbolAssetsByTxTypeParams) GetDecimal() int64

func (*QuerySymbolAssetsByTxTypeParams) GetDirection

func (m *QuerySymbolAssetsByTxTypeParams) GetDirection() int64

func (*QuerySymbolAssetsByTxTypeParams) GetTokenAddr

func (m *QuerySymbolAssetsByTxTypeParams) GetTokenAddr() string

func (*QuerySymbolAssetsByTxTypeParams) GetTokenSymbol

func (m *QuerySymbolAssetsByTxTypeParams) GetTokenSymbol() string

func (*QuerySymbolAssetsByTxTypeParams) GetTxType

func (m *QuerySymbolAssetsByTxTypeParams) GetTxType() string

func (*QuerySymbolAssetsByTxTypeParams) ProtoMessage

func (*QuerySymbolAssetsByTxTypeParams) ProtoMessage()

func (*QuerySymbolAssetsByTxTypeParams) Reset

func (*QuerySymbolAssetsByTxTypeParams) String

func (*QuerySymbolAssetsByTxTypeParams) XXX_DiscardUnknown

func (m *QuerySymbolAssetsByTxTypeParams) XXX_DiscardUnknown()

func (*QuerySymbolAssetsByTxTypeParams) XXX_Marshal

func (m *QuerySymbolAssetsByTxTypeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySymbolAssetsByTxTypeParams) XXX_Merge

func (m *QuerySymbolAssetsByTxTypeParams) XXX_Merge(src proto.Message)

func (*QuerySymbolAssetsByTxTypeParams) XXX_Size

func (m *QuerySymbolAssetsByTxTypeParams) XXX_Size() int

func (*QuerySymbolAssetsByTxTypeParams) XXX_Unmarshal

func (m *QuerySymbolAssetsByTxTypeParams) XXX_Unmarshal(b []byte) error

type QueryTotalPowerParams

type QueryTotalPowerParams struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryTotalPowerParams) Descriptor

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

func (*QueryTotalPowerParams) ProtoMessage

func (*QueryTotalPowerParams) ProtoMessage()

func (*QueryTotalPowerParams) Reset

func (m *QueryTotalPowerParams) Reset()

func (*QueryTotalPowerParams) String

func (m *QueryTotalPowerParams) String() string

func (*QueryTotalPowerParams) XXX_DiscardUnknown

func (m *QueryTotalPowerParams) XXX_DiscardUnknown()

func (*QueryTotalPowerParams) XXX_Marshal

func (m *QueryTotalPowerParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTotalPowerParams) XXX_Merge

func (m *QueryTotalPowerParams) XXX_Merge(src proto.Message)

func (*QueryTotalPowerParams) XXX_Size

func (m *QueryTotalPowerParams) XXX_Size() int

func (*QueryTotalPowerParams) XXX_Unmarshal

func (m *QueryTotalPowerParams) XXX_Unmarshal(b []byte) error

type QueryValidatorsParams

type QueryValidatorsParams struct {
	Validator            string   `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryValidatorsParams) Descriptor

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

func (*QueryValidatorsParams) GetValidator

func (m *QueryValidatorsParams) GetValidator() string

func (*QueryValidatorsParams) ProtoMessage

func (*QueryValidatorsParams) ProtoMessage()

func (*QueryValidatorsParams) Reset

func (m *QueryValidatorsParams) Reset()

func (*QueryValidatorsParams) String

func (m *QueryValidatorsParams) String() string

func (*QueryValidatorsParams) XXX_DiscardUnknown

func (m *QueryValidatorsParams) XXX_DiscardUnknown()

func (*QueryValidatorsParams) XXX_Marshal

func (m *QueryValidatorsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryValidatorsParams) XXX_Merge

func (m *QueryValidatorsParams) XXX_Merge(src proto.Message)

func (*QueryValidatorsParams) XXX_Size

func (m *QueryValidatorsParams) XXX_Size() int

func (*QueryValidatorsParams) XXX_Unmarshal

func (m *QueryValidatorsParams) XXX_Unmarshal(b []byte) error

type ReceiptChain33ToEth

type ReceiptChain33ToEth struct {
	TokenContract        string   `protobuf:"bytes,1,opt,name=TokenContract,proto3" json:"TokenContract,omitempty"`
	Chain33Sender        string   `protobuf:"bytes,2,opt,name=Chain33Sender,proto3" json:"Chain33Sender,omitempty"`
	EthereumReceiver     string   `protobuf:"bytes,3,opt,name=EthereumReceiver,proto3" json:"EthereumReceiver,omitempty"`
	Amount               string   `protobuf:"bytes,4,opt,name=Amount,proto3" json:"Amount,omitempty"`
	IssuerDotSymbol      string   `protobuf:"bytes,5,opt,name=IssuerDotSymbol,proto3" json:"IssuerDotSymbol,omitempty"`
	Decimals             int64    `protobuf:"varint,6,opt,name=Decimals,proto3" json:"Decimals,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptChain33ToEth) Descriptor

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

func (*ReceiptChain33ToEth) GetAmount

func (m *ReceiptChain33ToEth) GetAmount() string

func (*ReceiptChain33ToEth) GetChain33Sender

func (m *ReceiptChain33ToEth) GetChain33Sender() string

func (*ReceiptChain33ToEth) GetDecimals

func (m *ReceiptChain33ToEth) GetDecimals() int64

func (*ReceiptChain33ToEth) GetEthereumReceiver

func (m *ReceiptChain33ToEth) GetEthereumReceiver() string

func (*ReceiptChain33ToEth) GetIssuerDotSymbol

func (m *ReceiptChain33ToEth) GetIssuerDotSymbol() string

func (*ReceiptChain33ToEth) GetTokenContract

func (m *ReceiptChain33ToEth) GetTokenContract() string

func (*ReceiptChain33ToEth) ProtoMessage

func (*ReceiptChain33ToEth) ProtoMessage()

func (*ReceiptChain33ToEth) Reset

func (m *ReceiptChain33ToEth) Reset()

func (*ReceiptChain33ToEth) String

func (m *ReceiptChain33ToEth) String() string

func (*ReceiptChain33ToEth) XXX_DiscardUnknown

func (m *ReceiptChain33ToEth) XXX_DiscardUnknown()

func (*ReceiptChain33ToEth) XXX_Marshal

func (m *ReceiptChain33ToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptChain33ToEth) XXX_Merge

func (m *ReceiptChain33ToEth) XXX_Merge(src proto.Message)

func (*ReceiptChain33ToEth) XXX_Size

func (m *ReceiptChain33ToEth) XXX_Size() int

func (*ReceiptChain33ToEth) XXX_Unmarshal

func (m *ReceiptChain33ToEth) XXX_Unmarshal(b []byte) error

type ReceiptEth2Chain33

type ReceiptEth2Chain33 struct {
	EthereumChainID       int64    `protobuf:"varint,1,opt,name=EthereumChainID,proto3" json:"EthereumChainID,omitempty"`
	BridgeContractAddress string   `protobuf:"bytes,2,opt,name=BridgeContractAddress,proto3" json:"BridgeContractAddress,omitempty"`
	Nonce                 int64    `protobuf:"varint,3,opt,name=Nonce,proto3" json:"Nonce,omitempty"`
	IssuerDotSymbol       string   `protobuf:"bytes,4,opt,name=IssuerDotSymbol,proto3" json:"IssuerDotSymbol,omitempty"`
	TokenAddress          string   `protobuf:"bytes,5,opt,name=TokenAddress,proto3" json:"TokenAddress,omitempty"`
	EthereumSender        string   `protobuf:"bytes,7,opt,name=EthereumSender,proto3" json:"EthereumSender,omitempty"`
	Chain33Receiver       string   `protobuf:"bytes,8,opt,name=Chain33Receiver,proto3" json:"Chain33Receiver,omitempty"`
	ValidatorAddress      string   `protobuf:"bytes,9,opt,name=ValidatorAddress,proto3" json:"ValidatorAddress,omitempty"`
	Amount                string   `protobuf:"bytes,10,opt,name=Amount,proto3" json:"Amount,omitempty"`
	ClaimType             int64    `protobuf:"varint,11,opt,name=ClaimType,proto3" json:"ClaimType,omitempty"`
	XTxHash               []byte   `protobuf:"bytes,12,opt,name=xTxHash,proto3" json:"xTxHash,omitempty"`
	XHeight               uint64   `protobuf:"varint,13,opt,name=xHeight,proto3" json:"xHeight,omitempty"`
	ProphecyID            string   `protobuf:"bytes,14,opt,name=ProphecyID,proto3" json:"ProphecyID,omitempty"`
	Decimals              int64    `protobuf:"varint,15,opt,name=Decimals,proto3" json:"Decimals,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

回执接口定义

func (*ReceiptEth2Chain33) Descriptor

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

func (*ReceiptEth2Chain33) GetAmount

func (m *ReceiptEth2Chain33) GetAmount() string

func (*ReceiptEth2Chain33) GetBridgeContractAddress

func (m *ReceiptEth2Chain33) GetBridgeContractAddress() string

func (*ReceiptEth2Chain33) GetChain33Receiver

func (m *ReceiptEth2Chain33) GetChain33Receiver() string

func (*ReceiptEth2Chain33) GetClaimType

func (m *ReceiptEth2Chain33) GetClaimType() int64

func (*ReceiptEth2Chain33) GetDecimals

func (m *ReceiptEth2Chain33) GetDecimals() int64

func (*ReceiptEth2Chain33) GetEthereumChainID

func (m *ReceiptEth2Chain33) GetEthereumChainID() int64

func (*ReceiptEth2Chain33) GetEthereumSender

func (m *ReceiptEth2Chain33) GetEthereumSender() string

func (*ReceiptEth2Chain33) GetIssuerDotSymbol

func (m *ReceiptEth2Chain33) GetIssuerDotSymbol() string

func (*ReceiptEth2Chain33) GetNonce

func (m *ReceiptEth2Chain33) GetNonce() int64

func (*ReceiptEth2Chain33) GetProphecyID

func (m *ReceiptEth2Chain33) GetProphecyID() string

func (*ReceiptEth2Chain33) GetTokenAddress

func (m *ReceiptEth2Chain33) GetTokenAddress() string

func (*ReceiptEth2Chain33) GetValidatorAddress

func (m *ReceiptEth2Chain33) GetValidatorAddress() string

func (*ReceiptEth2Chain33) GetXHeight

func (m *ReceiptEth2Chain33) GetXHeight() uint64

func (*ReceiptEth2Chain33) GetXTxHash

func (m *ReceiptEth2Chain33) GetXTxHash() []byte

func (*ReceiptEth2Chain33) ProtoMessage

func (*ReceiptEth2Chain33) ProtoMessage()

func (*ReceiptEth2Chain33) Reset

func (m *ReceiptEth2Chain33) Reset()

func (*ReceiptEth2Chain33) String

func (m *ReceiptEth2Chain33) String() string

func (*ReceiptEth2Chain33) XXX_DiscardUnknown

func (m *ReceiptEth2Chain33) XXX_DiscardUnknown()

func (*ReceiptEth2Chain33) XXX_Marshal

func (m *ReceiptEth2Chain33) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptEth2Chain33) XXX_Merge

func (m *ReceiptEth2Chain33) XXX_Merge(src proto.Message)

func (*ReceiptEth2Chain33) XXX_Size

func (m *ReceiptEth2Chain33) XXX_Size() int

func (*ReceiptEth2Chain33) XXX_Unmarshal

func (m *ReceiptEth2Chain33) XXX_Unmarshal(b []byte) error

type ReceiptEthProphecy

type ReceiptEthProphecy struct {
	ID                   string             `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Status               *ProphecyStatus    `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
	ClaimValidators      []*ClaimValidators `protobuf:"bytes,3,rep,name=ClaimValidators,proto3" json:"ClaimValidators,omitempty"`
	ValidatorClaims      []*ValidatorClaims `protobuf:"bytes,4,rep,name=ValidatorClaims,proto3" json:"ValidatorClaims,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ReceiptEthProphecy) Descriptor

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

func (*ReceiptEthProphecy) GetClaimValidators

func (m *ReceiptEthProphecy) GetClaimValidators() []*ClaimValidators

func (*ReceiptEthProphecy) GetID

func (m *ReceiptEthProphecy) GetID() string

func (*ReceiptEthProphecy) GetStatus

func (m *ReceiptEthProphecy) GetStatus() *ProphecyStatus

func (*ReceiptEthProphecy) GetValidatorClaims

func (m *ReceiptEthProphecy) GetValidatorClaims() []*ValidatorClaims

func (*ReceiptEthProphecy) ProtoMessage

func (*ReceiptEthProphecy) ProtoMessage()

func (*ReceiptEthProphecy) Reset

func (m *ReceiptEthProphecy) Reset()

func (*ReceiptEthProphecy) String

func (m *ReceiptEthProphecy) String() string

func (*ReceiptEthProphecy) XXX_DiscardUnknown

func (m *ReceiptEthProphecy) XXX_DiscardUnknown()

func (*ReceiptEthProphecy) XXX_Marshal

func (m *ReceiptEthProphecy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptEthProphecy) XXX_Merge

func (m *ReceiptEthProphecy) XXX_Merge(src proto.Message)

func (*ReceiptEthProphecy) XXX_Size

func (m *ReceiptEthProphecy) XXX_Size() int

func (*ReceiptEthProphecy) XXX_Unmarshal

func (m *ReceiptEthProphecy) XXX_Unmarshal(b []byte) error

type ReceiptQueryConsensusThreshold

type ReceiptQueryConsensusThreshold struct {
	ConsensusThreshold   int64    `protobuf:"varint,1,opt,name=consensusThreshold,proto3" json:"consensusThreshold,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptQueryConsensusThreshold) Descriptor

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

func (*ReceiptQueryConsensusThreshold) GetConsensusThreshold

func (m *ReceiptQueryConsensusThreshold) GetConsensusThreshold() int64

func (*ReceiptQueryConsensusThreshold) ProtoMessage

func (*ReceiptQueryConsensusThreshold) ProtoMessage()

func (*ReceiptQueryConsensusThreshold) Reset

func (m *ReceiptQueryConsensusThreshold) Reset()

func (*ReceiptQueryConsensusThreshold) String

func (*ReceiptQueryConsensusThreshold) XXX_DiscardUnknown

func (m *ReceiptQueryConsensusThreshold) XXX_DiscardUnknown()

func (*ReceiptQueryConsensusThreshold) XXX_Marshal

func (m *ReceiptQueryConsensusThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptQueryConsensusThreshold) XXX_Merge

func (m *ReceiptQueryConsensusThreshold) XXX_Merge(src proto.Message)

func (*ReceiptQueryConsensusThreshold) XXX_Size

func (m *ReceiptQueryConsensusThreshold) XXX_Size() int

func (*ReceiptQueryConsensusThreshold) XXX_Unmarshal

func (m *ReceiptQueryConsensusThreshold) XXX_Unmarshal(b []byte) error

type ReceiptQueryRelayerBalance

type ReceiptQueryRelayerBalance struct {
	Res                  []*ReceiptQueryRelayerBalanceForOneToken `protobuf:"bytes,1,rep,name=res,proto3" json:"res,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

func (*ReceiptQueryRelayerBalance) Descriptor

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

func (*ReceiptQueryRelayerBalance) GetRes

func (*ReceiptQueryRelayerBalance) ProtoMessage

func (*ReceiptQueryRelayerBalance) ProtoMessage()

func (*ReceiptQueryRelayerBalance) Reset

func (m *ReceiptQueryRelayerBalance) Reset()

func (*ReceiptQueryRelayerBalance) String

func (m *ReceiptQueryRelayerBalance) String() string

func (*ReceiptQueryRelayerBalance) XXX_DiscardUnknown

func (m *ReceiptQueryRelayerBalance) XXX_DiscardUnknown()

func (*ReceiptQueryRelayerBalance) XXX_Marshal

func (m *ReceiptQueryRelayerBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptQueryRelayerBalance) XXX_Merge

func (m *ReceiptQueryRelayerBalance) XXX_Merge(src proto.Message)

func (*ReceiptQueryRelayerBalance) XXX_Size

func (m *ReceiptQueryRelayerBalance) XXX_Size() int

func (*ReceiptQueryRelayerBalance) XXX_Unmarshal

func (m *ReceiptQueryRelayerBalance) XXX_Unmarshal(b []byte) error

type ReceiptQueryRelayerBalanceForOneToken

type ReceiptQueryRelayerBalanceForOneToken struct {
	Balance              string   `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	TokenSymbol          string   `protobuf:"bytes,2,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"`
	TokenAddr            string   `protobuf:"bytes,3,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptQueryRelayerBalanceForOneToken) Descriptor

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

func (*ReceiptQueryRelayerBalanceForOneToken) GetBalance

func (*ReceiptQueryRelayerBalanceForOneToken) GetTokenAddr

func (*ReceiptQueryRelayerBalanceForOneToken) GetTokenSymbol

func (m *ReceiptQueryRelayerBalanceForOneToken) GetTokenSymbol() string

func (*ReceiptQueryRelayerBalanceForOneToken) ProtoMessage

func (*ReceiptQueryRelayerBalanceForOneToken) ProtoMessage()

func (*ReceiptQueryRelayerBalanceForOneToken) Reset

func (*ReceiptQueryRelayerBalanceForOneToken) String

func (*ReceiptQueryRelayerBalanceForOneToken) XXX_DiscardUnknown

func (m *ReceiptQueryRelayerBalanceForOneToken) XXX_DiscardUnknown()

func (*ReceiptQueryRelayerBalanceForOneToken) XXX_Marshal

func (m *ReceiptQueryRelayerBalanceForOneToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptQueryRelayerBalanceForOneToken) XXX_Merge

func (*ReceiptQueryRelayerBalanceForOneToken) XXX_Size

func (*ReceiptQueryRelayerBalanceForOneToken) XXX_Unmarshal

func (m *ReceiptQueryRelayerBalanceForOneToken) XXX_Unmarshal(b []byte) error

type ReceiptQuerySymbolAssets

type ReceiptQuerySymbolAssets struct {
	Res                  []*ReceiptQuerySymbolAssetsByTxType `protobuf:"bytes,1,rep,name=res,proto3" json:"res,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*ReceiptQuerySymbolAssets) Descriptor

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

func (*ReceiptQuerySymbolAssets) GetRes

func (*ReceiptQuerySymbolAssets) ProtoMessage

func (*ReceiptQuerySymbolAssets) ProtoMessage()

func (*ReceiptQuerySymbolAssets) Reset

func (m *ReceiptQuerySymbolAssets) Reset()

func (*ReceiptQuerySymbolAssets) String

func (m *ReceiptQuerySymbolAssets) String() string

func (*ReceiptQuerySymbolAssets) XXX_DiscardUnknown

func (m *ReceiptQuerySymbolAssets) XXX_DiscardUnknown()

func (*ReceiptQuerySymbolAssets) XXX_Marshal

func (m *ReceiptQuerySymbolAssets) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptQuerySymbolAssets) XXX_Merge

func (m *ReceiptQuerySymbolAssets) XXX_Merge(src proto.Message)

func (*ReceiptQuerySymbolAssets) XXX_Size

func (m *ReceiptQuerySymbolAssets) XXX_Size() int

func (*ReceiptQuerySymbolAssets) XXX_Unmarshal

func (m *ReceiptQuerySymbolAssets) XXX_Unmarshal(b []byte) error

type ReceiptQuerySymbolAssetsByTxType

type ReceiptQuerySymbolAssetsByTxType struct {
	TokenSymbol          string   `protobuf:"bytes,1,opt,name=tokenSymbol,proto3" json:"tokenSymbol,omitempty"`
	TotalAmount          string   `protobuf:"bytes,2,opt,name=totalAmount,proto3" json:"totalAmount,omitempty"`
	TxType               string   `protobuf:"bytes,3,opt,name=txType,proto3" json:"txType,omitempty"`
	Direction            int64    `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"`
	TokenAddr            string   `protobuf:"bytes,5,opt,name=tokenAddr,proto3" json:"tokenAddr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptQuerySymbolAssetsByTxType) Descriptor

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

func (*ReceiptQuerySymbolAssetsByTxType) GetDirection

func (m *ReceiptQuerySymbolAssetsByTxType) GetDirection() int64

func (*ReceiptQuerySymbolAssetsByTxType) GetTokenAddr

func (m *ReceiptQuerySymbolAssetsByTxType) GetTokenAddr() string

func (*ReceiptQuerySymbolAssetsByTxType) GetTokenSymbol

func (m *ReceiptQuerySymbolAssetsByTxType) GetTokenSymbol() string

func (*ReceiptQuerySymbolAssetsByTxType) GetTotalAmount

func (m *ReceiptQuerySymbolAssetsByTxType) GetTotalAmount() string

func (*ReceiptQuerySymbolAssetsByTxType) GetTxType

func (*ReceiptQuerySymbolAssetsByTxType) ProtoMessage

func (*ReceiptQuerySymbolAssetsByTxType) ProtoMessage()

func (*ReceiptQuerySymbolAssetsByTxType) Reset

func (*ReceiptQuerySymbolAssetsByTxType) String

func (*ReceiptQuerySymbolAssetsByTxType) XXX_DiscardUnknown

func (m *ReceiptQuerySymbolAssetsByTxType) XXX_DiscardUnknown()

func (*ReceiptQuerySymbolAssetsByTxType) XXX_Marshal

func (m *ReceiptQuerySymbolAssetsByTxType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptQuerySymbolAssetsByTxType) XXX_Merge

func (*ReceiptQuerySymbolAssetsByTxType) XXX_Size

func (m *ReceiptQuerySymbolAssetsByTxType) XXX_Size() int

func (*ReceiptQuerySymbolAssetsByTxType) XXX_Unmarshal

func (m *ReceiptQuerySymbolAssetsByTxType) XXX_Unmarshal(b []byte) error

type ReceiptQueryTotalPower

type ReceiptQueryTotalPower struct {
	TotalPower           int64    `protobuf:"varint,1,opt,name=totalPower,proto3" json:"totalPower,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptQueryTotalPower) Descriptor

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

func (*ReceiptQueryTotalPower) GetTotalPower

func (m *ReceiptQueryTotalPower) GetTotalPower() int64

func (*ReceiptQueryTotalPower) ProtoMessage

func (*ReceiptQueryTotalPower) ProtoMessage()

func (*ReceiptQueryTotalPower) Reset

func (m *ReceiptQueryTotalPower) Reset()

func (*ReceiptQueryTotalPower) String

func (m *ReceiptQueryTotalPower) String() string

func (*ReceiptQueryTotalPower) XXX_DiscardUnknown

func (m *ReceiptQueryTotalPower) XXX_DiscardUnknown()

func (*ReceiptQueryTotalPower) XXX_Marshal

func (m *ReceiptQueryTotalPower) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptQueryTotalPower) XXX_Merge

func (m *ReceiptQueryTotalPower) XXX_Merge(src proto.Message)

func (*ReceiptQueryTotalPower) XXX_Size

func (m *ReceiptQueryTotalPower) XXX_Size() int

func (*ReceiptQueryTotalPower) XXX_Unmarshal

func (m *ReceiptQueryTotalPower) XXX_Unmarshal(b []byte) error

type ReceiptQueryValidator

type ReceiptQueryValidator struct {
	Validators           []*MsgValidator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	TotalPower           int64           `protobuf:"varint,2,opt,name=totalPower,proto3" json:"totalPower,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ReceiptQueryValidator) Descriptor

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

func (*ReceiptQueryValidator) GetTotalPower

func (m *ReceiptQueryValidator) GetTotalPower() int64

func (*ReceiptQueryValidator) GetValidators

func (m *ReceiptQueryValidator) GetValidators() []*MsgValidator

func (*ReceiptQueryValidator) ProtoMessage

func (*ReceiptQueryValidator) ProtoMessage()

func (*ReceiptQueryValidator) Reset

func (m *ReceiptQueryValidator) Reset()

func (*ReceiptQueryValidator) String

func (m *ReceiptQueryValidator) String() string

func (*ReceiptQueryValidator) XXX_DiscardUnknown

func (m *ReceiptQueryValidator) XXX_DiscardUnknown()

func (*ReceiptQueryValidator) XXX_Marshal

func (m *ReceiptQueryValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptQueryValidator) XXX_Merge

func (m *ReceiptQueryValidator) XXX_Merge(src proto.Message)

func (*ReceiptQueryValidator) XXX_Size

func (m *ReceiptQueryValidator) XXX_Size() int

func (*ReceiptQueryValidator) XXX_Unmarshal

func (m *ReceiptQueryValidator) XXX_Unmarshal(b []byte) error

type ReceiptSetConsensusThreshold

type ReceiptSetConsensusThreshold struct {
	PreConsensusThreshold int64    `protobuf:"varint,1,opt,name=preConsensusThreshold,proto3" json:"preConsensusThreshold,omitempty"`
	NowConsensusThreshold int64    `protobuf:"varint,2,opt,name=nowConsensusThreshold,proto3" json:"nowConsensusThreshold,omitempty"`
	XTxHash               []byte   `protobuf:"bytes,3,opt,name=xTxHash,proto3" json:"xTxHash,omitempty"`
	XHeight               uint64   `protobuf:"varint,4,opt,name=xHeight,proto3" json:"xHeight,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*ReceiptSetConsensusThreshold) Descriptor

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

func (*ReceiptSetConsensusThreshold) GetNowConsensusThreshold

func (m *ReceiptSetConsensusThreshold) GetNowConsensusThreshold() int64

func (*ReceiptSetConsensusThreshold) GetPreConsensusThreshold

func (m *ReceiptSetConsensusThreshold) GetPreConsensusThreshold() int64

func (*ReceiptSetConsensusThreshold) GetXHeight

func (m *ReceiptSetConsensusThreshold) GetXHeight() uint64

func (*ReceiptSetConsensusThreshold) GetXTxHash

func (m *ReceiptSetConsensusThreshold) GetXTxHash() []byte

func (*ReceiptSetConsensusThreshold) ProtoMessage

func (*ReceiptSetConsensusThreshold) ProtoMessage()

func (*ReceiptSetConsensusThreshold) Reset

func (m *ReceiptSetConsensusThreshold) Reset()

func (*ReceiptSetConsensusThreshold) String

func (*ReceiptSetConsensusThreshold) XXX_DiscardUnknown

func (m *ReceiptSetConsensusThreshold) XXX_DiscardUnknown()

func (*ReceiptSetConsensusThreshold) XXX_Marshal

func (m *ReceiptSetConsensusThreshold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptSetConsensusThreshold) XXX_Merge

func (m *ReceiptSetConsensusThreshold) XXX_Merge(src proto.Message)

func (*ReceiptSetConsensusThreshold) XXX_Size

func (m *ReceiptSetConsensusThreshold) XXX_Size() int

func (*ReceiptSetConsensusThreshold) XXX_Unmarshal

func (m *ReceiptSetConsensusThreshold) XXX_Unmarshal(b []byte) error

type ReceiptTokenToTokenAddress

type ReceiptTokenToTokenAddress struct {
	TokenAddress         []string `protobuf:"bytes,1,rep,name=tokenAddress,proto3" json:"tokenAddress,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptTokenToTokenAddress) Descriptor

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

func (*ReceiptTokenToTokenAddress) GetTokenAddress

func (m *ReceiptTokenToTokenAddress) GetTokenAddress() []string

func (*ReceiptTokenToTokenAddress) ProtoMessage

func (*ReceiptTokenToTokenAddress) ProtoMessage()

func (*ReceiptTokenToTokenAddress) Reset

func (m *ReceiptTokenToTokenAddress) Reset()

func (*ReceiptTokenToTokenAddress) String

func (m *ReceiptTokenToTokenAddress) String() string

func (*ReceiptTokenToTokenAddress) XXX_DiscardUnknown

func (m *ReceiptTokenToTokenAddress) XXX_DiscardUnknown()

func (*ReceiptTokenToTokenAddress) XXX_Marshal

func (m *ReceiptTokenToTokenAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptTokenToTokenAddress) XXX_Merge

func (m *ReceiptTokenToTokenAddress) XXX_Merge(src proto.Message)

func (*ReceiptTokenToTokenAddress) XXX_Size

func (m *ReceiptTokenToTokenAddress) XXX_Size() int

func (*ReceiptTokenToTokenAddress) XXX_Unmarshal

func (m *ReceiptTokenToTokenAddress) XXX_Unmarshal(b []byte) error

type ReceiptValidator

type ReceiptValidator struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Power                int64    `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
	XTxHash              []byte   `protobuf:"bytes,3,opt,name=xTxHash,proto3" json:"xTxHash,omitempty"`
	XHeight              uint64   `protobuf:"varint,4,opt,name=xHeight,proto3" json:"xHeight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptValidator) Descriptor

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

func (*ReceiptValidator) GetAddress

func (m *ReceiptValidator) GetAddress() string

func (*ReceiptValidator) GetPower

func (m *ReceiptValidator) GetPower() int64

func (*ReceiptValidator) GetXHeight

func (m *ReceiptValidator) GetXHeight() uint64

func (*ReceiptValidator) GetXTxHash

func (m *ReceiptValidator) GetXTxHash() []byte

func (*ReceiptValidator) ProtoMessage

func (*ReceiptValidator) ProtoMessage()

func (*ReceiptValidator) Reset

func (m *ReceiptValidator) Reset()

func (*ReceiptValidator) String

func (m *ReceiptValidator) String() string

func (*ReceiptValidator) XXX_DiscardUnknown

func (m *ReceiptValidator) XXX_DiscardUnknown()

func (*ReceiptValidator) XXX_Marshal

func (m *ReceiptValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptValidator) XXX_Merge

func (m *ReceiptValidator) XXX_Merge(src proto.Message)

func (*ReceiptValidator) XXX_Size

func (m *ReceiptValidator) XXX_Size() int

func (*ReceiptValidator) XXX_Unmarshal

func (m *ReceiptValidator) XXX_Unmarshal(b []byte) error

type StringMap

type StringMap struct {
	Validators           []string `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StringMap) Descriptor

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

func (*StringMap) GetValidators

func (m *StringMap) GetValidators() []string

func (*StringMap) ProtoMessage

func (*StringMap) ProtoMessage()

func (*StringMap) Reset

func (m *StringMap) Reset()

func (*StringMap) String

func (m *StringMap) String() string

func (*StringMap) XXX_DiscardUnknown

func (m *StringMap) XXX_DiscardUnknown()

func (*StringMap) XXX_Marshal

func (m *StringMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringMap) XXX_Merge

func (m *StringMap) XXX_Merge(src proto.Message)

func (*StringMap) XXX_Size

func (m *StringMap) XXX_Size() int

func (*StringMap) XXX_Unmarshal

func (m *StringMap) XXX_Unmarshal(b []byte) error

type UnimplementedX2EthereumServer

type UnimplementedX2EthereumServer struct {
}

UnimplementedX2EthereumServer can be embedded to have forward compatible implementations.

type ValidatorClaims

type ValidatorClaims struct {
	Validator            string   `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
	Claim                string   `protobuf:"bytes,2,opt,name=claim,proto3" json:"claim,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidatorClaims) Descriptor

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

func (*ValidatorClaims) GetClaim

func (m *ValidatorClaims) GetClaim() string

func (*ValidatorClaims) GetValidator

func (m *ValidatorClaims) GetValidator() string

func (*ValidatorClaims) ProtoMessage

func (*ValidatorClaims) ProtoMessage()

func (*ValidatorClaims) Reset

func (m *ValidatorClaims) Reset()

func (*ValidatorClaims) String

func (m *ValidatorClaims) String() string

func (*ValidatorClaims) XXX_DiscardUnknown

func (m *ValidatorClaims) XXX_DiscardUnknown()

func (*ValidatorClaims) XXX_Marshal

func (m *ValidatorClaims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorClaims) XXX_Merge

func (m *ValidatorClaims) XXX_Merge(src proto.Message)

func (*ValidatorClaims) XXX_Size

func (m *ValidatorClaims) XXX_Size() int

func (*ValidatorClaims) XXX_Unmarshal

func (m *ValidatorClaims) XXX_Unmarshal(b []byte) error

type ValidatorList

type ValidatorList struct {
	Validators           []*MsgValidator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ValidatorList) Descriptor

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

func (*ValidatorList) GetValidators

func (m *ValidatorList) GetValidators() []*MsgValidator

func (*ValidatorList) ProtoMessage

func (*ValidatorList) ProtoMessage()

func (*ValidatorList) Reset

func (m *ValidatorList) Reset()

func (*ValidatorList) String

func (m *ValidatorList) String() string

func (*ValidatorList) XXX_DiscardUnknown

func (m *ValidatorList) XXX_DiscardUnknown()

func (*ValidatorList) XXX_Marshal

func (m *ValidatorList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorList) XXX_Merge

func (m *ValidatorList) XXX_Merge(src proto.Message)

func (*ValidatorList) XXX_Size

func (m *ValidatorList) XXX_Size() int

func (*ValidatorList) XXX_Unmarshal

func (m *ValidatorList) XXX_Unmarshal(b []byte) error

type X2EthereumAction

type X2EthereumAction struct {
	// Types that are valid to be assigned to Value:
	//	*X2EthereumAction_Eth2Chain33Lock
	//	*X2EthereumAction_Eth2Chain33Burn
	//	*X2EthereumAction_Chain33ToEthBurn
	//	*X2EthereumAction_Chain33ToEthLock
	//	*X2EthereumAction_AddValidator
	//	*X2EthereumAction_RemoveValidator
	//	*X2EthereumAction_ModifyPower
	//	*X2EthereumAction_SetConsensusThreshold
	//	*X2EthereumAction_Transfer
	//	*X2EthereumAction_TransferToExec
	//	*X2EthereumAction_WithdrawFromExec
	Value                isX2EthereumAction_Value `protobuf_oneof:"value"`
	Ty                   int32                    `protobuf:"varint,12,opt,name=ty,proto3" json:"ty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*X2EthereumAction) Descriptor

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

func (*X2EthereumAction) GetActionName

func (action *X2EthereumAction) GetActionName() string

GetActionName get action name

func (*X2EthereumAction) GetAddValidator

func (m *X2EthereumAction) GetAddValidator() *MsgValidator

func (*X2EthereumAction) GetChain33ToEthBurn

func (m *X2EthereumAction) GetChain33ToEthBurn() *Chain33ToEth

func (*X2EthereumAction) GetChain33ToEthLock

func (m *X2EthereumAction) GetChain33ToEthLock() *Chain33ToEth

func (*X2EthereumAction) GetEth2Chain33Burn

func (m *X2EthereumAction) GetEth2Chain33Burn() *Eth2Chain33

func (*X2EthereumAction) GetEth2Chain33Lock

func (m *X2EthereumAction) GetEth2Chain33Lock() *Eth2Chain33

func (*X2EthereumAction) GetModifyPower

func (m *X2EthereumAction) GetModifyPower() *MsgValidator

func (*X2EthereumAction) GetRemoveValidator

func (m *X2EthereumAction) GetRemoveValidator() *MsgValidator

func (*X2EthereumAction) GetSetConsensusThreshold

func (m *X2EthereumAction) GetSetConsensusThreshold() *MsgConsensusThreshold

func (*X2EthereumAction) GetTransfer

func (m *X2EthereumAction) GetTransfer() *types.AssetsTransfer

func (*X2EthereumAction) GetTransferToExec

func (m *X2EthereumAction) GetTransferToExec() *types.AssetsTransferToExec

func (*X2EthereumAction) GetTy

func (m *X2EthereumAction) GetTy() int32

func (*X2EthereumAction) GetValue

func (m *X2EthereumAction) GetValue() isX2EthereumAction_Value

func (*X2EthereumAction) GetWithdrawFromExec

func (m *X2EthereumAction) GetWithdrawFromExec() *types.AssetsWithdraw

func (*X2EthereumAction) ProtoMessage

func (*X2EthereumAction) ProtoMessage()

func (*X2EthereumAction) Reset

func (m *X2EthereumAction) Reset()

func (*X2EthereumAction) String

func (m *X2EthereumAction) String() string

func (*X2EthereumAction) XXX_DiscardUnknown

func (m *X2EthereumAction) XXX_DiscardUnknown()

func (*X2EthereumAction) XXX_Marshal

func (m *X2EthereumAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*X2EthereumAction) XXX_Merge

func (m *X2EthereumAction) XXX_Merge(src proto.Message)

func (*X2EthereumAction) XXX_OneofWrappers

func (*X2EthereumAction) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*X2EthereumAction) XXX_Size

func (m *X2EthereumAction) XXX_Size() int

func (*X2EthereumAction) XXX_Unmarshal

func (m *X2EthereumAction) XXX_Unmarshal(b []byte) error

type X2EthereumAction_AddValidator

type X2EthereumAction_AddValidator struct {
	AddValidator *MsgValidator `protobuf:"bytes,5,opt,name=addValidator,proto3,oneof"`
}

type X2EthereumAction_Chain33ToEthBurn

type X2EthereumAction_Chain33ToEthBurn struct {
	Chain33ToEthBurn *Chain33ToEth `protobuf:"bytes,3,opt,name=chain33ToEthBurn,proto3,oneof"`
}

type X2EthereumAction_Chain33ToEthLock

type X2EthereumAction_Chain33ToEthLock struct {
	Chain33ToEthLock *Chain33ToEth `protobuf:"bytes,4,opt,name=chain33ToEthLock,proto3,oneof"`
}

type X2EthereumAction_Eth2Chain33Burn

type X2EthereumAction_Eth2Chain33Burn struct {
	Eth2Chain33Burn *Eth2Chain33 `protobuf:"bytes,2,opt,name=eth2Chain33Burn,proto3,oneof"`
}

type X2EthereumAction_Eth2Chain33Lock

type X2EthereumAction_Eth2Chain33Lock struct {
	Eth2Chain33Lock *Eth2Chain33 `protobuf:"bytes,1,opt,name=eth2Chain33Lock,proto3,oneof"`
}

type X2EthereumAction_ModifyPower

type X2EthereumAction_ModifyPower struct {
	ModifyPower *MsgValidator `protobuf:"bytes,7,opt,name=modifyPower,proto3,oneof"`
}

type X2EthereumAction_RemoveValidator

type X2EthereumAction_RemoveValidator struct {
	RemoveValidator *MsgValidator `protobuf:"bytes,6,opt,name=removeValidator,proto3,oneof"`
}

type X2EthereumAction_SetConsensusThreshold

type X2EthereumAction_SetConsensusThreshold struct {
	SetConsensusThreshold *MsgConsensusThreshold `protobuf:"bytes,8,opt,name=setConsensusThreshold,proto3,oneof"`
}

type X2EthereumAction_Transfer

type X2EthereumAction_Transfer struct {
	Transfer *types.AssetsTransfer `protobuf:"bytes,9,opt,name=transfer,proto3,oneof"`
}

type X2EthereumAction_TransferToExec

type X2EthereumAction_TransferToExec struct {
	TransferToExec *types.AssetsTransferToExec `protobuf:"bytes,10,opt,name=transferToExec,proto3,oneof"`
}

type X2EthereumAction_WithdrawFromExec

type X2EthereumAction_WithdrawFromExec struct {
	WithdrawFromExec *types.AssetsWithdraw `protobuf:"bytes,11,opt,name=withdrawFromExec,proto3,oneof"`
}

type X2EthereumClient

type X2EthereumClient interface {
}

X2EthereumClient is the client API for X2Ethereum service.

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

func NewX2EthereumClient

func NewX2EthereumClient(cc grpc.ClientConnInterface) X2EthereumClient

type X2EthereumServer

type X2EthereumServer interface {
}

X2EthereumServer is the server API for X2Ethereum service.

type X2ethereumType

type X2ethereumType struct {
	types.ExecTypeBase
}

X2ethereumType ...

func NewType

func NewType(cfg *types.Chain33Config) *X2ethereumType

NewType ...

func (X2ethereumType) ActionName

func (x X2ethereumType) ActionName(tx *types.Transaction) string

ActionName get PrivacyType action name

func (*X2ethereumType) CreateTx

func (x *X2ethereumType) CreateTx(action string, msg json.RawMessage) (*types.Transaction, error)

CreateTx token 创建合约

func (*X2ethereumType) GetLogMap

func (x *X2ethereumType) GetLogMap() map[int64]*types.LogInfo

GetLogMap 获取合约log相关信息

func (*X2ethereumType) GetName

func (x *X2ethereumType) GetName() string

GetName ...

func (*X2ethereumType) GetPayload

func (x *X2ethereumType) GetPayload() types.Message

GetPayload 获取合约action结构

func (*X2ethereumType) GetTypeMap

func (x *X2ethereumType) GetTypeMap() map[string]int32

GetTypeMap 获取合约action的id和name信息

Jump to

Keyboard shortcuts

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