Documentation ¶
Overview ¶
Package internal provides the RFQ client implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct { TransactionID string `json:"transactionId"` OriginChain string `json:"originChain"` DestChain string `json:"destChain"` OriginChainID int `json:"originChainId"` DestChainID int `json:"destChainId"` OriginToken string `json:"originToken"` DestToken string `json:"destToken"` OriginAmountFormatted string `json:"originAmountFormatted"` DestAmountFormatted string `json:"destAmountFormatted"` Sender string `json:"sender"` SendChainGas int `json:"sendChainGas"` Request string `json:"request"` }
Bridge contains the bridge information.
type BridgeClaim ¶
type BridgeClaim struct { BlockNumber string `json:"blockNumber"` BlockTimestamp int64 `json:"blockTimestamp"` TransactionHash string `json:"transactionHash"` To string `json:"to"` Relayer string `json:"relayer"` AmountFormatted string `json:"amountFormatted"` }
BridgeClaim contains the bridge claim information.
type BridgeProof ¶
type BridgeProof struct { BlockNumber string `json:"blockNumber"` BlockTimestamp int64 `json:"blockTimestamp"` TransactionHash string `json:"transactionHash"` Relayer string `json:"relayer"` }
BridgeProof contains the bridge proof information.
type BridgeRelay ¶
type BridgeRelay struct { BlockNumber string `json:"blockNumber"` BlockTimestamp int64 `json:"blockTimestamp"` TransactionHash string `json:"transactionHash"` Relayer string `json:"relayer"` To string `json:"to"` }
BridgeRelay contains the bridge relay information.
type BridgeRequest ¶
type BridgeRequest struct { BlockNumber string `json:"blockNumber"` BlockTimestamp int64 `json:"blockTimestamp"` TransactionHash string `json:"transactionHash"` }
BridgeRequest contains the bridge request information.
type GetRFQByTxIDResponse ¶
type GetRFQByTxIDResponse struct { Bridge Bridge `json:"Bridge"` BridgeRequest BridgeRequest `json:"BridgeRequest"` BridgeRelay BridgeRelay `json:"BridgeRelay"` BridgeProof BridgeProof `json:"BridgeProof"` BridgeClaim BridgeClaim `json:"BridgeClaim"` }
GetRFQByTxIDResponse is the response for GetRFQByTxID.
Click to show internal directories.
Click to hide internal directories.