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"` InitSOLAmount string `json:"init_sol_amount"` InitTokenAmount string `json:"init_token_amount"` 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"` SOLAmount string `json:"sol_amount"` TokenAmount string `json:"token_amount"` Type type_.SwapType `json:"type"` UserAddress solana.PublicKey `json:"user_address"` ReserveSOLAmount string `json:"reserve_sol_amount"` ReserveTokenAmount string `json:"reserve_token_amount"` Timestamp uint64 `json:"timestamp"` }
type SwapTxDataType ¶
Click to show internal directories.
Click to hide internal directories.