context

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: LGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSignedTx

func CreateSignedTx(client *sdk.Client) []byte

CreateSignedTx ...

func DeployContractWithConstroctor added in v0.4.9

func DeployContractWithConstroctor(abiFile string, bytecodeFile string, params ...interface{}) (*sdk.Contract, *types.Hash)

DeployContractWithConstroctor ...

func DeployIfNotExist

func DeployIfNotExist(contractAddress types.Address, abiFilePath string, bytecodeFilePath string, force bool) (*sdk.Contract, *types.Hash)

DeployIfNotExist ...

func DeployNewErc20 added in v0.4.9

func DeployNewErc20() *sdk.Contract

DeployNewErc20 ...

func GetNextNonceAndIncrease added in v0.4.7

func GetNextNonceAndIncrease() *hexutil.Big

GetNextNonceAndIncrease ...

func JSONFmt added in v1.0.0

func JSONFmt(v interface{}) string

JSONFmt ...

func PanicIfErrf added in v1.0.0

func PanicIfErrf(err error, msg string, values ...interface{})

PanicIfErrf ...

func PrepareForClientExample

func PrepareForClientExample() *exampletypes.Config

PrepareForClientExample ...

func PrepareForContractExample

func PrepareForContractExample() *exampletypes.Config

PrepareForContractExample ...

func WaitPacked

func WaitPacked(client *sdk.Client, txhash types.Hash) *types.TransactionReceipt

WaitPacked ...

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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