@rabbitholegg/questdk-plugin-thruster
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.35 • Public • Published

Thruster Finance Plugin

Overview

Thruster Finance is a yield-first DEX on Blast.

Documentation: https://docs.thruster.finance/

Swap Plugin

Thruster Finance is a fork of Uniswap, utilizing both V2 and V3 swap methods.

Swap using V2 routes will use the ThrusterRouter contract. The relevant swap functions on this contract are:

  • swapETHForExactTokens
  • swapExactETHForTokens
  • swapExactTokensForETH
  • swapExactTokensForTokens
  • swapTokensForExactETH
  • swapTokensForExactTokens

(The SupportingFeeOnTransferTokens methods can be skipped as they have the same inputs as the non-fee-on-transfer methods)

Swaps using V3 routes will use a multicall on the SwapRouter contract. The relevant swap functions are:

  • exactInput
  • exactInputSingle
  • exactOutput
  • exactOutputSingle
Limitations
  • Like all Uniswap forks/clones, there are some precision issues on certain swap inputs/outputs. AmountOut is not very reliable for some methods (Exact_X_For_X), as it uses amountOutMin, which can be much lower than expected. In extreme cases, it can even be zero if slippage is set high enough. This will cause issues when using the (==) operator or the (>=) operator.
Sample Transactions

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.0-alpha.10alpha
1.0.0-alpha.358latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.0-alpha.358
1.0.0-alpha.340
1.0.0-alpha.330
1.0.0-alpha.320
1.0.0-alpha.310
1.0.0-alpha.300
1.0.0-alpha.290
1.0.0-alpha.280
1.0.0-alpha.270
1.0.0-alpha.260
1.0.0-alpha.250
1.0.0-alpha.240
1.0.0-alpha.220
1.0.0-alpha.210
1.0.0-alpha.200
1.0.0-alpha.190
1.0.0-alpha.180
1.0.0-alpha.170
1.0.0-alpha.160
1.0.0-alpha.150
1.0.0-alpha.140
1.0.0-alpha.130
1.0.0-alpha.120
1.0.0-alpha.100
1.0.0-alpha.90
1.0.0-alpha.80
1.0.0-alpha.70
1.0.0-alpha.60
1.0.0-alpha.50
1.0.0-alpha.40
1.0.0-alpha.30
1.0.0-alpha.20
1.0.0-alpha.10

Package Sidebar

Install

npm i @rabbitholegg/questdk-plugin-thruster

Weekly Downloads

8

Version

1.0.0-alpha.35

License

ISC

Unpacked Size

357 kB

Total Files

40

Last publish

Collaborators

  • quazia
  • jamierabbithole
  • rhjim