Documentation ¶
Index ¶
- func AccountBalance(t *testing.T, hederaClient *hedera.Client, hederaID hedera.AccountID, ...)
- func BurnERC721Event(t *testing.T, txReceipt *types.Receipt, ...) string
- func BurnEvent(t *testing.T, txReceipt *types.Receipt, expectedRouterBurn *router.RouterBurn) string
- func ERC721TokenId(t *testing.T, evm *evm.Client, wrappedToken string, serialNumber int64, ...)
- func EventTransactionIDFromValidatorAPI(t *testing.T, validatorClient *e2eClients.Validator, ...)
- func FeeRecord(t *testing.T, dbValidation *Service, expectedRecord *entity.Fee)
- func FungibleTransferFromValidatorAPI(t *testing.T, validatorClient *e2eClients.Validator, tokenId hedera.TokenID, ...) *service.FungibleTransferData
- func ListenForTx(t *testing.T, response *transaction.Response, mirrorNode *mirror_node.Client, ...) (string, string)
- func LockEvent(t *testing.T, txReceipt *types.Receipt, expectedRouterLock *router.RouterLock) string
- func MembersScheduledTxs(t *testing.T, hederaClient *hedera.Client, ...) (transactionID, scheduleID string)
- func NftOwner(t *testing.T, hederaClient *hedera.Client, tokenID string, serialNumber int64, ...)
- func NftSpender(t *testing.T, hederaClient *hedera.Client, tokenID string, serialNumber int64, ...)
- func NonFungibleTransferFromValidatorAPI(t *testing.T, validatorClient *e2eClients.Validator, tokenId hedera.TokenID, ...) *service.NonFungibleTransferData
- func ReceiverAccountBalance(t *testing.T, hederaClient *hedera.Client, expectedReceiveAmount uint64, ...)
- func ScheduleRecord(t *testing.T, dbValidation *Service, expectedRecord *entity.Schedule)
- func ScheduledBurnTx(t *testing.T, mirrorNodeClient *mirror_node.Client, account hedera.AccountID, ...) (transactionID, scheduleID string)
- func ScheduledMintTx(t *testing.T, mirrorNodeClient *mirror_node.Client, account hedera.AccountID, ...) (transactionID, scheduleID string)
- func ScheduledNftAllowanceApprove(t *testing.T, hederaClient *hedera.Client, ...) (transactionID, scheduleID string)
- func ScheduledNftTransfer(t *testing.T, hederaClient *hedera.Client, ...) (transactionID, scheduleID string)
- func ScheduledTx(t *testing.T, hederaClient *hedera.Client, ...) (transactionID, scheduleID string)
- func SendNFTAllowance(hederaClient *hedera.Client, nftId hedera.NftID, ...) (*hedera.TransactionResponse, error)
- func SubmittedScheduledTx(t *testing.T, hederaClient *hedera.Client, ...) (transactionID, scheduleID string)
- func TokenTransferToBridgeAccount(t *testing.T, hederaClient *hedera.Client, bridgeAccount hedera.AccountID, ...) (hedera.TransactionResponse, *big.Int)
- func TopicMessagesWithStartTime(t *testing.T, hederaClient *hedera.Client, topicId hedera.TopicID, ...) []string
- func TransferRecord(t *testing.T, dbValidation *Service, expectedRecord *entity.Transfer)
- func TransferRecordAndSignatures(t *testing.T, dbValidation *Service, expectedRecord *entity.Transfer, ...)
- func TransferToBridgeAccount(t *testing.T, hederaClient *hedera.Client, bridgeAccount hedera.AccountID, ...) (hedera.TransactionResponse, *big.Int)
- func WrappedAssetBalance(t *testing.T, evm evmSetup.Utils, nativeAsset string, mintAmount *big.Int, ...)
- type Service
- func (s *Service) VerifyFeeRecord(expectedRecord *entity.Fee) (bool, error)
- func (s *Service) VerifyScheduleRecord(expectedRecord *entity.Schedule) (bool, error)
- func (s *Service) VerifyTransferAndSignatureRecords(expectedTransferRecord *entity.Transfer, authMsgBytes []byte, ...) (bool, error)
- func (s *Service) VerifyTransferRecord(expectedTransferRecord *entity.Transfer) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountBalance ¶
func BurnERC721Event ¶
func ERC721TokenId ¶
func EventTransactionIDFromValidatorAPI ¶
func EventTransactionIDFromValidatorAPI(t *testing.T, validatorClient *e2eClients.Validator, eventID, expectedTxID string)
func FungibleTransferFromValidatorAPI ¶
func FungibleTransferFromValidatorAPI(t *testing.T, validatorClient *e2eClients.Validator, tokenId hedera.TokenID, evm evmSetup.Utils, txId, tokenID, expectedSendAmount, targetAsset string) *service.FungibleTransferData
func ListenForTx ¶
func ListenForTx(t *testing.T, response *transaction.Response, mirrorNode *mirror_node.Client, expectedTransfers []transaction.Transfer, asset string) (string, string)
func MembersScheduledTxs ¶
func MembersScheduledTxs(t *testing.T, hederaClient *hedera.Client, mirrorNodeClient *mirror_node.Client, members []hedera.AccountID, asset string, expectedTransfers []transaction.Transfer, now time.Time) (transactionID, scheduleID string)
func NftSpender ¶
func ReceiverAccountBalance ¶
func ScheduleRecord ¶
func ScheduledBurnTx ¶
func ScheduledBurnTx(t *testing.T, mirrorNodeClient *mirror_node.Client, account hedera.AccountID, asset string, expectedTransfers []transaction.Transfer, now time.Time) (transactionID, scheduleID string)
func ScheduledMintTx ¶
func ScheduledMintTx(t *testing.T, mirrorNodeClient *mirror_node.Client, account hedera.AccountID, asset string, expectedTransfers []transaction.Transfer, now time.Time) (transactionID, scheduleID string)
func ScheduledNftTransfer ¶
func ScheduledTx ¶
func ScheduledTx(t *testing.T, hederaClient *hedera.Client, mirrorNodeClient *mirror_node.Client, account hedera.AccountID, asset string, expectedTransfers []transaction.Transfer, now time.Time) (transactionID, scheduleID string)
func SendNFTAllowance ¶
func SendNFTAllowance(hederaClient *hedera.Client, nftId hedera.NftID, ownerAccountId, spenderAccountId hedera.AccountID) (*hedera.TransactionResponse, error)
func SubmittedScheduledTx ¶
func SubmittedScheduledTx(t *testing.T, hederaClient *hedera.Client, mirrorNodeClient *mirror_node.Client, members []hedera.AccountID, asset string, expectedTransfers []transaction.Transfer, now time.Time) (transactionID, scheduleID string)
func TransferRecord ¶
func TransferToBridgeAccount ¶
Types ¶
type Service ¶
type Service struct { DatabaseRetryCount int DatabaseRetryTimeout time.Duration ExpectedValidatorsCount int // contains filtered or unexported fields }
func NewService ¶
func (*Service) VerifyFeeRecord ¶
func (*Service) VerifyScheduleRecord ¶
func (*Service) VerifyTransferAndSignatureRecords ¶
Click to show internal directories.
Click to hide internal directories.