Documentation ¶
Index ¶
- Variables
- func ForwardFunds(toAddr string, amount uint64, payload string, chainFlag string) (error, string, string, uint64)
- func GetTxState(txHash string, amount uint64, tmp string, chainFlag string) (error, uint64)
- func Handler(input []byte) ([]byte, error)
- func ReceiveFunds(to string, amount uint64, payload string, srcChainId uint64) (error, uint64)
- func Register(methodName string, f *RPCFunc) error
- type RPCFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var RpcContractAddr = cutil.HexToAddress("0000000000000000000000000000000000011101")
Functions ¶
func ForwardFunds ¶
func ForwardFunds(toAddr string, amount uint64, payload string, chainFlag string) (error, string, string, uint64)
0 means failed, 1 means success
func GetTxState ¶
GetCross Tx state
func ReceiveFunds ¶
Receipt funds
Types ¶
Click to show internal directories.
Click to hide internal directories.