Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BurnEvent ¶
type BurnEvent interface { Create(id string, amount int64, recipient string) error UpdateStatusSubmitted(id, scheduleID, transactionId string) error UpdateStatusCompleted(txId string) error UpdateStatusFailed(txId string) error // Returns BurnEvent by its Id (represented in {ethTxHash}-{logIndex}) Get(txId string) (*entity.BurnEvent, error) }
type Transfer ¶
type Transfer interface { // Returns Transfer. Returns nil if not found GetByTransactionId(txId string) (*entity.Transfer, error) // Returns Transfer with preloaded Fee table. Returns nil if not found GetWithFee(txId string) (*entity.Transfer, error) GetWithPreloads(txId string) (*entity.Transfer, error) GetUnprocessedTransfers() ([]*entity.Transfer, error) Create(ct *transfer.Transfer) (*entity.Transfer, error) SaveRecoveredTxn(ct *transfer.Transfer) error UpdateStatusCompleted(txId string) error UpdateStatusSignatureSubmitted(txId string) error UpdateStatusSignatureMined(txId string) error UpdateStatusSignatureFailed(txId string) error }
Click to show internal directories.
Click to hide internal directories.