send

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployModule

DeployModule deploys the given Wasm module. The module is given as a binary source, and no processing is done to the module.

func InitContract

InitContract initializes a smart contract, giving it the given amount of energy for execution. The unique parameters are - `energy` -- the amount of energy that can be used for contract execution. The base energy amount for transaction verification will be added to this cost.

func RegisterData

RegisterData construct a transaction to register the given piece of data.

func Transfer

Transfer constructs a transfer transaction.

func TransferWithMemo

func TransferWithMemo(signer v2.ExactSizeTransactionSigner, sender v2.AccountAddress, nonce v2.SequenceNumber,
	expiry v2.TransactionTime, receiver v2.AccountAddress, amount v2.Amount, memo v2.Memo) (*v2.AccountTransaction, error)

TransferWithMemo constructs a transfer transaction with a memo.

func UpdateContract

UpdateContract updates a smart contract instance, giving it the given amount of energy for execution. The unique parameters are - `energy` -- the amount of energy that can be used for contract execution. The base energy amount for transaction verification will be added to this cost.

Types

This section is empty.

Jump to

Keyboard shortcuts

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