Documentation
¶
Index ¶
- func BaseNegativeAPIChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func BaseNegativeChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func BroadcastTransferTxAndGetBalances[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, ...) (utl.ConsideredTransaction, utl.AccountsDiffBalancesTxWithSponsorship)
- func BroadcastWithTestData[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, ...) utl.ConsideredTransaction
- func GetNewAccountWithFunds(suite *f.BaseSuite, version byte, scheme proto.Scheme, from int, amount uint64) int
- func GetVersions(suite *f.BaseSuite) []byte
- func MakeTxAndGetDiffBalances[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, ...) (utl.ConsideredTransaction, utl.AccountsDiffBalancesTxWithSponsorship)
- func NegativeAPIChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func NegativeChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func NewSignTransferTransaction(suite *f.BaseSuite, version byte, scheme proto.Scheme, ...) proto.Transaction
- func NewSignTransferTransactionWithTestData[T any](suite *f.BaseSuite, version byte, testdata testdata.TransferTestData[T]) proto.Transaction
- func PositiveAPIChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func PositiveChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func Send(suite *f.BaseSuite, version byte, scheme proto.Scheme, ...) utl.ConsideredTransaction
- func SendTransferTxAndGetBalances[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, ...) (utl.ConsideredTransaction, utl.AccountsDiffBalancesTxWithSponsorship)
- func SendWithTestData[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, ...) utl.ConsideredTransaction
- func TransferringAssetAmount(suite *f.BaseSuite, version byte, scheme proto.Scheme, assetID crypto.Digest, ...)
- func TransferringFunds(suite *f.BaseSuite, version byte, scheme proto.Scheme, from, to int, ...)
- func WithSponsorshipMinAssetFeePositiveAPIChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func WithSponsorshipMinAssetFeePositiveChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func WithSponsorshipNegativeAPIChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func WithSponsorshipNegativeChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func WithSponsorshipPositiveAPIChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- func WithSponsorshipPositiveChecks(t *testing.T, tx utl.ConsideredTransaction, ...)
- type MakeTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseNegativeAPIChecks ¶
func BaseNegativeAPIChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferTestData[testdata.TransferExpectedValuesNegative], actualDiffBalanceInWaves utl.BalanceInWaves, actualDiffBalanceInAsset utl.BalanceInAsset, errMsg string)
func BaseNegativeChecks ¶
func BaseNegativeChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferTestData[testdata.TransferExpectedValuesNegative], actualDiffBalanceInWaves utl.BalanceInWaves, actualDiffBalanceInAsset utl.BalanceInAsset, errMsg string)
func BroadcastTransferTxAndGetBalances ¶
func BroadcastTransferTxAndGetBalances[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, waitForTx bool) (utl.ConsideredTransaction, utl.AccountsDiffBalancesTxWithSponsorship)
func BroadcastWithTestData ¶
func BroadcastWithTestData[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, waitForTx bool) utl.ConsideredTransaction
func GetNewAccountWithFunds ¶
func GetVersions ¶
func MakeTxAndGetDiffBalances ¶
func MakeTxAndGetDiffBalances[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, waitForTx bool, makeTx MakeTx[T]) (utl.ConsideredTransaction, utl.AccountsDiffBalancesTxWithSponsorship)
func NegativeAPIChecks ¶
func NegativeAPIChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferTestData[testdata.TransferExpectedValuesNegative], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
func NegativeChecks ¶
func NegativeChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferTestData[testdata.TransferExpectedValuesNegative], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
func NewSignTransferTransactionWithTestData ¶
func NewSignTransferTransactionWithTestData[T any](suite *f.BaseSuite, version byte, testdata testdata.TransferTestData[T]) proto.Transaction
func PositiveAPIChecks ¶
func PositiveAPIChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferTestData[testdata.TransferExpectedValuesPositive], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
func PositiveChecks ¶
func PositiveChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferTestData[testdata.TransferExpectedValuesPositive], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
func SendTransferTxAndGetBalances ¶
func SendTransferTxAndGetBalances[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, waitForTx bool) (utl.ConsideredTransaction, utl.AccountsDiffBalancesTxWithSponsorship)
func SendWithTestData ¶
func SendWithTestData[T any](suite *f.BaseSuite, testdata testdata.TransferTestData[T], version byte, waitForTx bool) utl.ConsideredTransaction
func TransferringAssetAmount ¶
func TransferringAssetAmount(suite *f.BaseSuite, version byte, scheme proto.Scheme, assetID crypto.Digest, from, to int, assetAmount ...uint64)
TransferringAssetAmount - Amount of Asset that transferred from one account to another, by default it will be all amount of Asset.
func TransferringFunds ¶
func WithSponsorshipMinAssetFeePositiveAPIChecks ¶
func WithSponsorshipMinAssetFeePositiveAPIChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferSponsoredTestData[testdata.TransferSponsoredExpectedValuesPositive], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
func WithSponsorshipMinAssetFeePositiveChecks ¶
func WithSponsorshipMinAssetFeePositiveChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferSponsoredTestData[testdata.TransferSponsoredExpectedValuesPositive], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
func WithSponsorshipNegativeAPIChecks ¶
func WithSponsorshipNegativeAPIChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferSponsoredTestData[testdata.TransferSponsoredExpectedValuesNegative], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
func WithSponsorshipNegativeChecks ¶
func WithSponsorshipNegativeChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferSponsoredTestData[testdata.TransferSponsoredExpectedValuesNegative], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
func WithSponsorshipPositiveAPIChecks ¶
func WithSponsorshipPositiveAPIChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferTestData[testdata.TransferSponsoredExpectedValuesPositive], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
func WithSponsorshipPositiveChecks ¶
func WithSponsorshipPositiveChecks(t *testing.T, tx utl.ConsideredTransaction, td testdata.TransferTestData[testdata.TransferSponsoredExpectedValuesPositive], diffBalances utl.AccountsDiffBalancesTxWithSponsorship, errMsg string)
Types ¶
Click to show internal directories.
Click to hide internal directories.