expected

package
v1.5.2-rc-3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvmAmoundAndFee

func EvmAmoundAndFee(router *router.Router, token string, amount int64, t *testing.T) (*big.Int, *big.Int)

func FeeRecord

func FeeRecord(transactionID, scheduleID string, amount int64, transferID string) *entity.Fee

func FungibleTransferRecord

func FungibleTransferRecord(
	sourceChainId,
	targetChainId,
	nativeChainId uint64,
	transactionID,
	sourceAsset,
	targetAsset,
	nativeAsset,
	amount,
	fee,
	receiver string,
	status string,
	originator string,
	timestamp entity.NanoTime) *entity.Transfer

func MirrorNodeExpectedTransfersForBurnEvent

func MirrorNodeExpectedTransfersForBurnEvent(members []hedera.AccountID, hederaClient *hedera.Client, bridgeAccount hedera.AccountID, asset string, amount, fee int64) []transaction.Transfer

func MirrorNodeExpectedTransfersForHederaTransfer

func MirrorNodeExpectedTransfersForHederaTransfer(members []hedera.AccountID, bridgeAccount hedera.AccountID, asset string, fee int64) []transaction.Transfer

func MirrorNodeExpectedTransfersForLockEvent

func MirrorNodeExpectedTransfersForLockEvent(hederaClient *hedera.Client, bridgeAccount hedera.AccountID, asset string, amount int64) []transaction.Transfer

func ReceiverAndFeeAmounts

func ReceiverAndFeeAmounts(feeCalc service.Fee, distributor service.Distributor, token string, amount int64) (receiverAmount, fee int64)

func ScheduleRecord

func ScheduleRecord(txId, scheduleId, operation string, hasReceiver bool, status string, transferId sql.NullString) *entity.Schedule

Types

This section is empty.

Jump to

Keyboard shortcuts

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