Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyWithdrawn = errors.New("already withdrawn")
Functions ¶
This section is empty.
Types ¶
type Bridger ¶
type Bridger interface { // Withdraw the asset in target chain Withdraw( ctx context.Context, transfer core.TransferDetails, ) error }
type FeeEstimate ¶
type FeeEstimate struct { TransferID string `json:"transfer_id"` FeeAmount *big.Int `json:"fee_amount"` FeeToken string `json:"fee_token"` FeeTokenAddress string `json:"fee_token_address"` GasEstimate *big.Int `json:"gas_estimate"` GasToken string `json:"gas_token"` ToChain string `json:"to_chain"` FromChain string `json:"from_chain"` CreatedAt time.Time `json:"created_at"` ExpiresAt time.Time `json:"expired_at"` }
Click to show internal directories.
Click to hide internal directories.