alias

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AliasBroadcast

func AliasBroadcast(suite *f.BaseSuite, version byte, scheme proto.Scheme, accountPK crypto.PublicKey,
	accountSK crypto.SecretKey, aliasStr string, fee, timestamp uint64, waitForTx bool) utl.ConsideredTransaction

func AliasSend

func AliasSend(suite *f.BaseSuite, version byte, scheme proto.Scheme, accountPK crypto.PublicKey,
	accountSK crypto.SecretKey, aliasStr string, fee, timestamp uint64, waitForTx bool) utl.ConsideredTransaction

func BroadcastAliasTxAndGetWavesBalances

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

func BroadcastWithTestData

func BroadcastWithTestData[T any](suite *f.BaseSuite, testdata testdata.AliasTestData[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.AliasTestData[T], version byte,
	waitForTx bool, makeTx MakeTx[T]) (utl.ConsideredTransaction, utl.BalanceInWaves, utl.BalanceInWaves)

MakeTxAndGetDiffBalances This function returns txID with init balance before tx and difference balance after tx for both nodes.

func NegativeAPIChecks

func NegativeAPIChecks(t *testing.T, tx utl.ConsideredTransaction,
	td testdata.AliasTestData[testdata.AliasExpectedValuesNegative],
	actualDiffBalanceInWaves utl.BalanceInWaves, errMsg string)

func NegativeChecks

func NegativeChecks(t *testing.T, tx utl.ConsideredTransaction,
	td testdata.AliasTestData[testdata.AliasExpectedValuesNegative],
	actualDiffBalanceInWaves utl.BalanceInWaves, errMsg string)

func NewSignAliasTransaction

func NewSignAliasTransaction(suite *f.BaseSuite, version byte, scheme proto.Scheme, accountPK crypto.PublicKey,
	accountSK crypto.SecretKey, aliasStr string, fee, timestamp uint64) proto.Transaction

func NewSignAliasTransactionWithTestData

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

func PositiveAPIChecks

func PositiveAPIChecks(t *testing.T, tx utl.ConsideredTransaction,
	td testdata.AliasTestData[testdata.AliasExpectedValuesPositive], addrByAliasGo, addrByAliasScala []byte,
	actualDiffBalanceInWaves utl.BalanceInWaves, errMsg string)

func PositiveChecks

func PositiveChecks(t *testing.T, tx utl.ConsideredTransaction,
	td testdata.AliasTestData[testdata.AliasExpectedValuesPositive], addrByAliasGo, addrByAliasScala []byte,
	actualDiffBalanceInWaves utl.BalanceInWaves, errMsg string)

func SendAliasTxAndGetWavesBalances

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

func SendWithTestData

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

func SetAliasToAccount

func SetAliasToAccount(suite *f.BaseSuite, version byte, scheme proto.Scheme, alias string, account *config.AccountInfo,
	fee uint64)

func SetAliasToAccountByAPI

func SetAliasToAccountByAPI(suite *f.BaseSuite, version byte, scheme proto.Scheme, alias string,
	account config.AccountInfo, fee uint64)

Types

type MakeTx

type MakeTx[T any] func(suite *f.BaseSuite, testdata testdata.AliasTestData[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