sponsor_utilities

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BroadcastSponsorshipTxAndGetBalances

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

func GetVersions

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

func MakeTxAndGetDiffBalances

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

func NewSignSponsorshipTransaction

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

func NewSignSponsorshipTransactionWithTestData

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

func SendSponsorshipTxAndGetBalances

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

func SponsorshipBroadcast

func SponsorshipBroadcast(suite *f.BaseSuite, version byte, scheme proto.Scheme, senderPK crypto.PublicKey,
	senderSK crypto.SecretKey, assetID crypto.Digest, minAssetFee, fee, timestamp uint64,
	waitForTx bool) utl.ConsideredTransaction

func SponsorshipBroadcastWithTestData

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

func SponsorshipEnableBroadcast

func SponsorshipEnableBroadcast(suite *f.BaseSuite, version byte, scheme proto.Scheme, assetId crypto.Digest, minAssetFee uint64)

func SponsorshipEnableSend

func SponsorshipEnableSend(suite *f.BaseSuite, version byte, scheme proto.Scheme, assetId crypto.Digest, minAssetFee uint64)

func SponsorshipSend

func SponsorshipSend(suite *f.BaseSuite, version byte, scheme proto.Scheme, senderPK crypto.PublicKey,
	senderSK crypto.SecretKey, assetID crypto.Digest, minAssetFee, fee, timestamp uint64,
	waitForTx bool) utl.ConsideredTransaction

func SponsorshipSendWithTestData

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

Types

type MakeTx

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

Jump to

Keyboard shortcuts

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