setassetscript

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APINegativeChecks

func APINegativeChecks(t *testing.T, tx utl.ConsideredTransaction,
	td testdata.SetAssetScriptTestData[testdata.SetAssetScriptExpectedValuesNegative],
	actualDiffBalanceInWaves utl.BalanceInWaves, actualDiffBalanceInAsset utl.BalanceInAsset, errMsg string)

func APIPositiveChecks

func APIPositiveChecks(t *testing.T, tx utl.ConsideredTransaction,
	td testdata.SetAssetScriptTestData[testdata.SetAssetScriptExpectedValuesPositive],
	actualDiffBalanceInWaves utl.BalanceInWaves, actualDiffBalanceInAsset utl.BalanceInAsset, errMsg string)

func BroadcastSetAssetScriptTxAndGetBalances

func BroadcastSetAssetScriptTxAndGetBalances[T any](suite *f.BaseSuite, testdata testdata.SetAssetScriptTestData[T],
	version byte, waitForTx bool) (utl.ConsideredTransaction, utl.BalanceInWaves, utl.BalanceInAsset)

func BroadcastWithTestData

func BroadcastWithTestData[T any](suite *f.BaseSuite, testdata testdata.SetAssetScriptTestData[T],
	version byte, waitForTx bool) utl.ConsideredTransaction

func GetVersions

func GetVersions(suite *f.BaseSuite) []byte

func MakeTxAndGetDiffBalances

func MakeTxAndGetDiffBalances[T any](suite *f.BaseSuite, testdata testdata.SetAssetScriptTestData[T], version byte,
	waitForTx bool, makeTx MakeTx[T]) (utl.ConsideredTransaction, utl.BalanceInWaves, utl.BalanceInAsset)

func NegativeChecks

func NegativeChecks(t *testing.T, tx utl.ConsideredTransaction,
	td testdata.SetAssetScriptTestData[testdata.SetAssetScriptExpectedValuesNegative],
	actualDiffBalanceInWaves utl.BalanceInWaves, actualDiffBalanceInAsset utl.BalanceInAsset, errMsg string)

func NewSignedSetAssetScriptTransaction

func NewSignedSetAssetScriptTransaction(suite *f.BaseSuite, version byte, scheme proto.Scheme,
	senderPK crypto.PublicKey, senderSK crypto.SecretKey, assetID crypto.Digest, script proto.Script,
	fee, timestamp uint64) proto.Transaction

func NewSignedSetAssetScriptTransactionWithTestData

func NewSignedSetAssetScriptTransactionWithTestData[T any](suite *f.BaseSuite, version byte,
	testdata testdata.SetAssetScriptTestData[T]) proto.Transaction

func PositiveChecks

func PositiveChecks(t *testing.T, tx utl.ConsideredTransaction,
	td testdata.SetAssetScriptTestData[testdata.SetAssetScriptExpectedValuesPositive],
	actualDiffBalanceInWaves utl.BalanceInWaves, actualDiffBalanceInAsset utl.BalanceInAsset, errMsg string)

func SendSetAssetScriptTxAndGetBalances

func SendSetAssetScriptTxAndGetBalances[T any](suite *f.BaseSuite, testdata testdata.SetAssetScriptTestData[T],
	version byte, waitForTx bool) (utl.ConsideredTransaction, utl.BalanceInWaves, utl.BalanceInAsset)

func SendWithTestData

func SendWithTestData[T any](suite *f.BaseSuite, testdata testdata.SetAssetScriptTestData[T],
	version byte, waitForTx bool) utl.ConsideredTransaction

Types

type MakeTx

type MakeTx[T any] func(suite *f.BaseSuite, testdata testdata.SetAssetScriptTestData[T], version byte,
	waitForTx bool) utl.ConsideredTransaction

Jump to

Keyboard shortcuts

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