Documentation ¶
Index ¶
Constants ¶
View Source
const TokenAmountStartByte = 113
Byte offset at which the TokenAmount struct we're interested in starts
Variables ¶
This section is empty.
Functions ¶
func GetSaberFees ¶
func GetSaberFees(saberRpcUrl string, transaction solTypes.TransactionResult, saberSwapProgramId string) (feesPaid *big.Rat, logErrors []error, err error)
GetSaberFees by breaking down the log message on the wire. Any errors returned from each stage of breaking down the logs are contained within an error slice, any lookup errors are returned in the final error type
Types ¶
type TokenAmount ¶
Click to show internal directories.
Click to hide internal directories.