Documentation ¶
Overview ¶
* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library. * * The poly network is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The poly network is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with The poly network . If not, see <http://www.gnu.org/licenses/>.
* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library. * * The poly network is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The poly network is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with The poly network . If not, see <http://www.gnu.org/licenses/>.
* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library. * * The poly network is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The poly network is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with The poly network . If not, see <http://www.gnu.org/licenses/>.
* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library. * * The poly network is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The poly network is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with The poly network . If not, see <http://www.gnu.org/licenses/>.
Index ¶
- func BnbToBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func BnbToEthAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func BnbToEthOnce(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func BtcCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func BtcOntCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func DAICircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func EOntdToNeoAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func Erc20Circle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func EthBnbToBscOnce(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func EthCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func EthEthToBscAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func EthToBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func EthToNeoAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func GetAccountByPath(path string) (*ontology_go_sdk.Account, error)
- func GetRandAmount(high, low uint64) uint64
- func MakeEthAuth(signer *eth.EthSigner, nonce, gasPrice, gasLimit uint64) *bind.TransactOpts
- func MakeEthAuthWithChainID(signer *eth.EthSigner, nonce, gasPrice, gasLimit uint64, chainID *big.Int) *bind.TransactOpts
- func MakeKaiAuth(signer *eth.EthSigner, nonce, gasPrice, gasLimit uint64) *bind.TransactOpts
- func MaticToBor(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func MscMxToMsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func NeoToBscCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func NeoToEthCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func NeoToOntCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func O3ToO3(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func Oep4Circle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func OngCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func OntCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func OntCircleWithoutCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func OntToNeoAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func OntdToEthAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func OntdToNeoAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func RenBTCCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBnbCrossBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBnbCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBscEthCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBscNeoCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcCrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcFromCosmosToBitcoin(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcFromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcFromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcFromEthereumToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcFromOntologyToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtcToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtcToEthInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtcToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtcToOntInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtceCrossBtc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtceCrossBtco(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtceToBtcChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtceToBtcInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtceToBtcoInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtceToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtcoCrossBtc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcoCrossBtce(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendBtcoToBtcChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtcoToBtcInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtcoToBtceInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendBtcoToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendDAICrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendENeoCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEOEP4CrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEOntCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEOntToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendEOntdCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEOntdCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendERC20CrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendERC20ToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendErc20CrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendErc20FromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendErc20FromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendErc20FromOntologyToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendErc20ToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendEthBnbCrossBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthCrossBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthCrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthCrossKai(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthFromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthFromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthFromOntologyToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendEthToKaiChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendEthToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendEthToOntInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendEthoCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendEthoToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendEthoToEthInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendKaiCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendKaiToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendMaticCrossBor(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendMxCrossMsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendNEthCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendNOntCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendNOntdCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendNOntdCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendNeoCrossBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendNeoCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendNeoCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendO3CrossO3(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendODAICrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOEP4CrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOEP4ToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendOEP4eToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendOERC20CrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOERC20ToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendONeoCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendORenBTCCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOUSDCCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOUSDTCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOWBTCCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOep4CrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOep4FromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOep4FromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOep4FromEthereumToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOep4ToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendOngCrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOngCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOngFromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOngFromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOngFromEthereumToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOngToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendOngToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendOngeCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOngeToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendOntCrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOntCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOntCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOntFromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOntFromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOntFromEthereumToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOntToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendOntToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendOntToEthInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendOntdCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOntdCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendOnteToOntInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func SendRenBTCCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendUSDCCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendUSDTCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendWBTCCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ...) error
- func SendZeroOntToEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func ToArrayReverse(arr []byte) []byte
- func USDCCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func USDTCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func WBTCCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
- func WaitPolyTx(txhash common.Uint256, poly *poly_go_sdk.PolySdk)
- func WaitTransactionConfirm(ethclient *ethclient.Client, hash ethcommon.Hash)
- func WaitUntilClean(status *testframework.CaseStatus)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BnbToBsc ¶
func BnbToBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func BnbToEthAndBack ¶
func BnbToEthAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func BnbToEthOnce ¶
func BnbToEthOnce(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func BtcCircle ¶
func BtcCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
send btc to travel btc->eth->ont->btc and btc->ont->eth->btc
func BtcOntCircle ¶
func BtcOntCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func DAICircle ¶
func DAICircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func EOntdToNeoAndBack ¶
func EOntdToNeoAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func Erc20Circle ¶
func Erc20Circle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func EthBnbToBscOnce ¶
func EthBnbToBscOnce(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func EthCircle ¶
func EthCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func EthEthToBscAndBack ¶
func EthEthToBscAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func EthToBsc ¶
func EthToBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func EthToNeoAndBack ¶
func EthToNeoAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func GetAccountByPath ¶
func GetAccountByPath(path string) (*ontology_go_sdk.Account, error)
func GetRandAmount ¶
func MakeEthAuth ¶
func MakeEthAuth(signer *eth.EthSigner, nonce, gasPrice, gasLimit uint64) *bind.TransactOpts
func MakeEthAuthWithChainID ¶
func MakeKaiAuth ¶
func MakeKaiAuth(signer *eth.EthSigner, nonce, gasPrice, gasLimit uint64) *bind.TransactOpts
func MaticToBor ¶
func MaticToBor(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func MscMxToMsc ¶
func MscMxToMsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func NeoToBscCircle ¶
func NeoToBscCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func NeoToEthCircle ¶
func NeoToEthCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func NeoToOntCircle ¶
func NeoToOntCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func O3ToO3 ¶
func O3ToO3(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func Oep4Circle ¶
func Oep4Circle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func OngCircle ¶
func OngCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func OntCircle ¶
func OntCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func OntCircleWithoutCosmos ¶
func OntCircleWithoutCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func OntToNeoAndBack ¶
func OntToNeoAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func OntdToEthAndBack ¶
func OntdToEthAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func OntdToNeoAndBack ¶
func OntdToNeoAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func RenBTCCircle ¶
func RenBTCCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBnbCrossBsc ¶
func SendBnbCrossBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendBnbCrossEth ¶
func SendBnbCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendBscEthCrossEth ¶
func SendBscEthCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendBscNeoCrossNeo ¶
func SendBscNeoCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendBtcCrossCosmos ¶
func SendBtcCrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendBtcCrossEth ¶
func SendBtcCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount int64) error
func SendBtcCrossOnt ¶
func SendBtcCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount int64) error
func SendBtcFromCosmosToBitcoin ¶
func SendBtcFromCosmosToBitcoin(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendBtcFromCosmosToEthereum ¶
func SendBtcFromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendBtcFromCosmosToOntology ¶
func SendBtcFromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendBtcFromEthereumToCosmos ¶
func SendBtcFromEthereumToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendBtcFromOntologyToCosmos ¶
func SendBtcFromOntologyToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendBtcToCosmosAndBack ¶
func SendBtcToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtcToEthChain ¶
func SendBtcToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtcToEthInBatch ¶
func SendBtcToEthInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtcToOntChain ¶
func SendBtcToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtcToOntInBatch ¶
func SendBtcToOntInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtceCrossBtc ¶
func SendBtceCrossBtc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendBtceCrossBtco ¶
func SendBtceCrossBtco(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendBtceToBtcChain ¶
func SendBtceToBtcChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtceToBtcInBatch ¶
func SendBtceToBtcInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtceToBtcoInBatch ¶
func SendBtceToBtcoInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtceToOntChain ¶
func SendBtceToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtcoCrossBtc ¶
func SendBtcoCrossBtc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendBtcoCrossBtce ¶
func SendBtcoCrossBtce(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendBtcoToBtcChain ¶
func SendBtcoToBtcChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtcoToBtcInBatch ¶
func SendBtcoToBtcInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtcoToBtceInBatch ¶
func SendBtcoToBtceInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendBtcoToEthChain ¶
func SendBtcoToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendDAICrossOnt ¶
func SendDAICrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendENeoCrossNeo ¶
func SendENeoCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendEOEP4CrossOnt ¶
func SendEOEP4CrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, oep4 string, amount uint64) error
func SendEOntCrossOnt ¶
func SendEOntCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, onte string, amount uint64) error
func SendEOntToOntChain ¶
func SendEOntToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendEOntdCrossNeo ¶
func SendEOntdCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendEOntdCrossOnt ¶
func SendEOntdCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendERC20CrossOnt ¶
func SendERC20CrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, erc20ContractAddress string, amount uint64) error
func SendERC20ToOntChain ¶
func SendERC20ToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendErc20CrossCosmos ¶
func SendErc20CrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, erc20ContractAddress string, amount uint64) error
func SendErc20FromCosmosToEthereum ¶
func SendErc20FromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendErc20FromCosmosToOntology ¶
func SendErc20FromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendErc20FromOntologyToCosmos ¶
func SendErc20FromOntologyToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendErc20ToCosmosAndBack ¶
func SendErc20ToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendEthBnbCrossBsc ¶
func SendEthBnbCrossBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendEthCrossBsc ¶
func SendEthCrossBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendEthCrossCosmos ¶
func SendEthCrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendEthCrossKai ¶
func SendEthCrossKai(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendEthCrossNeo ¶
func SendEthCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendEthCrossOnt ¶
func SendEthCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendEthFromCosmosToEthereum ¶
func SendEthFromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendEthFromCosmosToOntology ¶
func SendEthFromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendEthFromOntologyToCosmos ¶
func SendEthFromOntologyToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendEthToCosmosAndBack ¶
func SendEthToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendEthToKaiChain ¶
func SendEthToKaiChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendEthToOntChain ¶
func SendEthToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendEthToOntInBatch ¶
func SendEthToOntInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendEthoCrossEth ¶
func SendEthoCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, etho string, amount uint64) error
func SendEthoToEthChain ¶
func SendEthoToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendEthoToEthInBatch ¶
func SendEthoToEthInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendKaiCrossEth ¶
func SendKaiCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendKaiToEthChain ¶
func SendKaiToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendMaticCrossBor ¶
func SendMaticCrossBor(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendMxCrossMsc ¶
func SendMxCrossMsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendNEthCrossEth ¶
func SendNEthCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendNOntCrossOnt ¶
func SendNOntCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendNOntdCrossEth ¶
func SendNOntdCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendNOntdCrossOnt ¶
func SendNOntdCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendNeoCrossBsc ¶
func SendNeoCrossBsc(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendNeoCrossEth ¶
func SendNeoCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendNeoCrossOnt ¶
func SendNeoCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendO3CrossO3 ¶
func SendO3CrossO3(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendODAICrossEth ¶
func SendODAICrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOEP4CrossEth ¶
func SendOEP4CrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, contractAddress string, amount uint64) error
func SendOEP4ToEthChain ¶
func SendOEP4ToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendOEP4eToOntChain ¶
func SendOEP4eToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendOERC20CrossEth ¶
func SendOERC20CrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, erc20 string, amount uint64) error
func SendOERC20ToEthChain ¶
func SendOERC20ToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendONeoCrossNeo ¶
func SendONeoCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendORenBTCCrossEth ¶
func SendORenBTCCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOUSDCCrossEth ¶
func SendOUSDCCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOUSDTCrossEth ¶
func SendOUSDTCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOWBTCCrossEth ¶
func SendOWBTCCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOep4CrossCosmos ¶
func SendOep4CrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, contractAddress string, amount uint64) error
func SendOep4FromCosmosToEthereum ¶
func SendOep4FromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, ethAddress string, amt uint64) error
func SendOep4FromCosmosToOntology ¶
func SendOep4FromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendOep4FromEthereumToCosmos ¶
func SendOep4FromEthereumToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, signer *eth.EthSigner, cosmosAddr string, amount uint64) error
func SendOep4ToCosmosAndBack ¶
func SendOep4ToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendOngCrossCosmos ¶
func SendOngCrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOngCrossEth ¶
func SendOngCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOngFromCosmosToEthereum ¶
func SendOngFromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendOngFromCosmosToOntology ¶
func SendOngFromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendOngFromEthereumToCosmos ¶
func SendOngFromEthereumToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOngToCosmosAndBack ¶
func SendOngToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendOngToEthChain ¶
func SendOngToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendOngeCrossOnt ¶
func SendOngeCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, onge string, amount uint64) error
func SendOngeToOntChain ¶
func SendOngeToOntChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendOntCrossCosmos ¶
func SendOntCrossCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOntCrossEth ¶
func SendOntCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOntCrossNeo ¶
func SendOntCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOntFromCosmosToEthereum ¶
func SendOntFromCosmosToEthereum(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendOntFromCosmosToOntology ¶
func SendOntFromCosmosToOntology(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amt uint64) error
func SendOntFromEthereumToCosmos ¶
func SendOntFromEthereumToCosmos(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOntToCosmosAndBack ¶
func SendOntToCosmosAndBack(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendOntToEthChain ¶
func SendOntToEthChain(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendOntToEthInBatch ¶
func SendOntToEthInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendOntdCrossEth ¶
func SendOntdCrossEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOntdCrossNeo ¶
func SendOntdCrossNeo(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendOnteToOntInBatch ¶
func SendOnteToOntInBatch(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func SendRenBTCCrossOnt ¶
func SendRenBTCCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendUSDCCrossOnt ¶
func SendUSDCCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendUSDTCrossOnt ¶
func SendUSDTCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendWBTCCrossOnt ¶
func SendWBTCCrossOnt(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus, amount uint64) error
func SendZeroOntToEth ¶
func SendZeroOntToEth(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func ToArrayReverse ¶
func USDCCircle ¶
func USDCCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func USDTCircle ¶
func USDTCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func WBTCCircle ¶
func WBTCCircle(ctx *testframework.TestFrameworkContext, status *testframework.CaseStatus) bool
func WaitPolyTx ¶
func WaitPolyTx(txhash common.Uint256, poly *poly_go_sdk.PolySdk)
func WaitTransactionConfirm ¶
func WaitUntilClean ¶
func WaitUntilClean(status *testframework.CaseStatus)
Types ¶
This section is empty.