no two hp swap slippage
This commit is contained in:
@@ -13,7 +13,7 @@ var ()
|
||||
|
||||
func main() {
|
||||
|
||||
var slot uint64 = 414432104
|
||||
var slot uint64 = 414437304
|
||||
client := rpc.New("https://staked.helius-rpc.com?api-key=5adcf1f9-5719-43d1-bf3f-c2d4e1e5f94d")
|
||||
var rewards = false
|
||||
var version uint64 = 0
|
||||
|
||||
@@ -1152,6 +1152,7 @@ func orcaWhirPoolTwoHopSwapParser(tx *Tx, instruction Instruction, innerInstruct
|
||||
limitMint,
|
||||
actualLimitAmount,
|
||||
)
|
||||
swaps[0].SlippageBps = decimal.Zero
|
||||
return swaps, offset, nil
|
||||
}
|
||||
|
||||
@@ -1359,5 +1360,6 @@ func orcaWhirPoolTwoHopSwapV2Parser(tx *Tx, instruction Instruction, innerInstru
|
||||
limitMint,
|
||||
actualLimitAmount,
|
||||
)
|
||||
swaps[0].SlippageBps = decimal.Zero
|
||||
return swaps, offset, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user