service

package
v0.0.1-alpha-8 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTransferService

type MockTransferService struct {
	mock.Mock
}

func (*MockTransferService) InitiateNewTransfer

func (mts *MockTransferService) InitiateNewTransfer(tm transfer.Transfer) (*entity.Transfer, error)

func (*MockTransferService) ProcessTransfer

func (mts *MockTransferService) ProcessTransfer(tm transfer.Transfer) error

func (*MockTransferService) SanityCheckTransfer

func (mts *MockTransferService) SanityCheckTransfer(tx mirror_node.Transaction) (*memo.Memo, error)

func (*MockTransferService) SaveRecoveredTxn

func (mts *MockTransferService) SaveRecoveredTxn(txId, amount, nativeToken, wrappedToken string, m memo.Memo) error

func (*MockTransferService) TransferData

func (mts *MockTransferService) TransferData(txId string) (service.TransferData, error)

func (*MockTransferService) VerifyFee

func (mts *MockTransferService) VerifyFee(tm transfer.Transfer) error

Jump to

Keyboard shortcuts

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