Documentation ¶
Index ¶
Constants ¶
View Source
const ( FAILED = iota SUCCESS PENDING )
View Source
const ( Null = "Null" JustitiaChainA = "chainA" JustitiaChainB = "chainB" )
define specified type of system contract
View Source
const ( InitialCrossChainPort CrossChainPort = "0" ChainACrossChainPort = "47768" ChainBCrossChainPort = "47769" )
Variables ¶
View Source
var CrossChainAddr = cutil.HexToAddress("0000000000000000000000000000000000011100")
Functions ¶
func GetPubliceAcccount ¶
Types ¶
type CrossChainContract ¶
type CrossChainContract struct {
// contains filtered or unexported fields
}
func NewCrossChainContract ¶
func NewCrossChainContract() *CrossChainContract
type CrossChainPort ¶
type CrossChainPort string
func CrossTargetChainPort ¶
func CrossTargetChainPort(chainFlag string) CrossChainPort
func OppositeChainPort ¶
func OppositeChainPort(chainFlag string) CrossChainPort
Click to show internal directories.
Click to hide internal directories.