utils

package
v0.0.0-...-09f7846 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BalanceOf

func BalanceOf(sdk *goSdk.OntologySdk, address common.Address, ContractHash string)

func BalanceOfONG

func BalanceOfONG(sdk *goSdk.OntologySdk, address common.Address)

func BalanceOfONT

func BalanceOfONT(sdk *goSdk.OntologySdk, address common.Address)

func BindAssetHash

func BindAssetHash(cfg *config.Config, account *goSdk.Account)

func GenerateBindAsstHashTx

func GenerateBindAsstHashTx(cfg *config.Config, fromAsstHash string, toChainId uint64, toAssetHash string, assetLimt []byte, isTargetChainAsset bool) *types.MutableTransaction

func GenerateLayer2DepositParam

func GenerateLayer2DepositParam(cfg *config.Config, account *goSdk.Account) *types.MutableTransaction

func GenerateLayer2WithdrawParam

func GenerateLayer2WithdrawParam(cfg *config.Config, account *goSdk.Account) *types.MutableTransaction

func GenerateLockParam

func GenerateLockParam(cfg *config.Config, account *goSdk.Account) *types.MutableTransaction

func GenerateOngParam

func GenerateOngParam(cfg *config.Config, account *goSdk.Account) *types.MutableTransaction

func GetAseetHash

func GetAseetHash(cfg *config.Config, account *goSdk.Account)

func GetCrossLimt

func GetCrossLimt(cfg *config.Config, account *goSdk.Account)

func LockInvoke

func LockInvoke(cfg *config.Config, account *goSdk.Account)

func TestTransfer

func TestTransfer(cfg *config.Config, account *goSdk.Account)

Types

This section is empty.

Jump to

Keyboard shortcuts

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