Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddLiqTxDataType ¶
type AddLiqTxDataType struct { TxId string `json:"txid"` TokenAddress solana.PublicKey `json:"token_address"` InitSOLAmountWithDecimals uint64 `json:"init_sol_amount_with_decimals"` InitTokenAmountWithDecimals uint64 `json:"init_token_amount_with_decimals"` AMMAddress solana.PublicKey `json:"amm_address"` PoolCoinTokenAccount solana.PublicKey `json:"pool_coin_token_account"` PoolPcTokenAccount solana.PublicKey `json:"pool_pc_token_account"` FeeInfo *type_.FeeInfo `json:"fee_info"` }
type CreateDataType ¶
type CreateTxDataType ¶
type CreateTxDataType struct { CreateDataType TxId string `json:"txid"` FeeInfo *type_.FeeInfo `json:"fee_info"` }
type ParseTxResult ¶
type ParseTxResult struct { SwapTxData *SwapTxDataType CreateTxData *CreateTxDataType RemoveLiqTxData *RemoveLiqTxDataType AddLiqTxData *AddLiqTxDataType }
type RemoveLiqTxDataType ¶
type SwapDataType ¶
type SwapDataType struct { TokenAddress solana.PublicKey `json:"token_address"` SOLAmountWithDecimals uint64 `json:"sol_amount_with_decimals"` TokenAmountWithDecimals uint64 `json:"token_amount_with_decimals"` Type type_.SwapType `json:"type"` UserAddress solana.PublicKey `json:"user_address"` ReserveSOLAmountWithDecimals uint64 `json:"reserve_sol_amount_with_decimals"` ReserveTokenAmountWithDecimals uint64 `json:"reserve_token_amount_with_decimals"` Timestamp uint64 `json:"timestamp"` }
type SwapTxDataType ¶
Click to show internal directories.
Click to hide internal directories.