Documentation
¶
Index ¶
- func CreateSignedTx(client *sdk.Client) []byte
- func DeployContractWithConstroctor(abiFile string, bytecodeFile string, params ...interface{}) (*sdk.Contract, *types.Hash)
- func DeployIfNotExist(contractAddress types.Address, abiFilePath string, bytecodeFilePath string, ...) (*sdk.Contract, *types.Hash)
- func DeployNewErc20() *sdk.Contract
- func GetNextNonceAndIncrease() *hexutil.Big
- func JSONFmt(v interface{}) string
- func PanicIfErrf(err error, msg string, values ...interface{})
- func PrepareForClientExample() *exampletypes.Config
- func PrepareForContractExample() *exampletypes.Config
- func WaitPacked(client *sdk.Client, txhash types.Hash) *types.TransactionReceipt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 GetNextNonceAndIncrease ¶ added in v0.4.7
GetNextNonceAndIncrease ...
func PanicIfErrf ¶ added in v1.0.0
PanicIfErrf ...
func PrepareForClientExample ¶
func PrepareForClientExample() *exampletypes.Config
PrepareForClientExample ...
func PrepareForContractExample ¶
func PrepareForContractExample() *exampletypes.Config
PrepareForContractExample ...
func WaitPacked ¶
WaitPacked ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.