Update amm buy
This commit is contained in:
12
pumpamm.go
12
pumpamm.go
@@ -20,6 +20,7 @@ type ammBuyEvent struct {
|
||||
QuoteAmountIn uint64
|
||||
LpFeeBasisPoints uint64
|
||||
LpFee uint64
|
||||
ProtocolFeeBasisPoints uint64
|
||||
ProtocolFee uint64
|
||||
QuoteAmountInWithLpFee uint64
|
||||
UserQuoteAmountIn uint64
|
||||
@@ -31,6 +32,15 @@ type ammBuyEvent struct {
|
||||
ProtocolFeeRecipient solana.PublicKey
|
||||
ProtocolFeeRecipientTokenAccount solana.PublicKey
|
||||
CoinCreator solana.PublicKey
|
||||
CoinCreatorFeeBasisPoints uint64
|
||||
CoinCreatorFee uint64
|
||||
TrackVolume bool
|
||||
TotalUnclaimedTokens uint64
|
||||
TotalClaimedTokens uint64
|
||||
CurrentSolVolume uint64
|
||||
LastUpdateTimestamp int64
|
||||
MinBaseAmountOut uint64
|
||||
IxName string
|
||||
}
|
||||
|
||||
type ammCreatePoolEvent struct {
|
||||
@@ -101,6 +111,8 @@ type ammSellEvent struct {
|
||||
ProtocolFeeRecipient solana.PublicKey
|
||||
ProtocolFeeRecipientTokenAccount solana.PublicKey
|
||||
CoinCreator solana.PublicKey
|
||||
CoinCreatorFeeBasisPoints uint64
|
||||
CoinCreatorFee uint64
|
||||
}
|
||||
|
||||
type ammWithdrawEvent struct {
|
||||
|
||||
Reference in New Issue
Block a user