sushi 6.0.11 → 6.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1418) hide show
  1. package/_cjs/evm/pool/sushiswap-v3/entities/NonfungiblePositionManager.js +1 -1
  2. package/_cjs/evm/pool/sushiswap-v3/entities/NonfungiblePositionManager.js.map +1 -1
  3. package/_cjs/generic/format/number.js +4 -3
  4. package/_cjs/generic/format/number.js.map +1 -1
  5. package/_esm/evm/pool/sushiswap-v3/entities/NonfungiblePositionManager.js +1 -1
  6. package/_esm/evm/pool/sushiswap-v3/entities/NonfungiblePositionManager.js.map +1 -1
  7. package/_esm/generic/format/number.js +4 -3
  8. package/_esm/generic/format/number.js.map +1 -1
  9. package/evm/abi/balanceOfAbi/balanceOfAbi_balanceOf.ts +11 -0
  10. package/evm/abi/balanceOfAbi/index.ts +1 -0
  11. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_DOMAIN_SEPARATOR.ts +9 -0
  12. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_balanceOf.ts +12 -0
  13. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_batch.ts +15 -0
  14. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_batchFlashLoan.ts +19 -0
  15. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_claimOwnership.ts +9 -0
  16. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_deploy.ts +15 -0
  17. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_deposit.ts +18 -0
  18. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_flashLoan.ts +19 -0
  19. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_harvest.ts +13 -0
  20. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_masterContractApproved.ts +12 -0
  21. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_masterContractOf.ts +9 -0
  22. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_nonces.ts +9 -0
  23. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_owner.ts +9 -0
  24. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_pendingOwner.ts +9 -0
  25. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_pendingStrategy.ts +11 -0
  26. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_permitToken.ts +18 -0
  27. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_registerProtocol.ts +9 -0
  28. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_setMasterContractApproval.ts +16 -0
  29. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_setStrategy.ts +16 -0
  30. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_setStrategyTargetPercentage.ts +12 -0
  31. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_strategy.ts +11 -0
  32. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_strategyData.ts +13 -0
  33. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_toAmount.ts +13 -0
  34. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_toShare.ts +13 -0
  35. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_totals.ts +12 -0
  36. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_transfer.ts +14 -0
  37. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_transferMultiple.ts +14 -0
  38. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_transferOwnership.ts +13 -0
  39. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_whitelistMasterContract.ts +12 -0
  40. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_whitelistedMasterContracts.ts +9 -0
  41. package/evm/abi/bentoBoxV1Abi/bentoBoxV1Abi_withdraw.ts +18 -0
  42. package/evm/abi/bentoBoxV1Abi/index.ts +31 -0
  43. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_MASTERCHEF_V2.ts +9 -0
  44. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_claimOwnership.ts +9 -0
  45. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_init.ts +9 -0
  46. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_masterLpToken.ts +9 -0
  47. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_onSushiReward.ts +15 -0
  48. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_owner.ts +9 -0
  49. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_pendingOwner.ts +9 -0
  50. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_pendingToken.ts +12 -0
  51. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_pendingTokens.ts +20 -0
  52. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_poolInfo.ts +12 -0
  53. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_reclaimTokens.ts +13 -0
  54. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_rewardPerSecond.ts +9 -0
  55. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_rewardRates.ts +9 -0
  56. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_rewardToken.ts +9 -0
  57. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_setRewardPerSecond.ts +11 -0
  58. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_transferOwnership.ts +13 -0
  59. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_updatePool.ts +23 -0
  60. package/evm/abi/cloneRewarderTimeAbi/cloneRewarderTimeAbi_userInfo.ts +16 -0
  61. package/evm/abi/cloneRewarderTimeAbi/index.ts +18 -0
  62. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_add.ts +12 -0
  63. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_claimOwnership.ts +9 -0
  64. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_massUpdatePools.ts +9 -0
  65. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_onSushiReward.ts +15 -0
  66. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_owner.ts +9 -0
  67. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_pendingOwner.ts +9 -0
  68. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_pendingToken.ts +12 -0
  69. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_pendingTokens.ts +20 -0
  70. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_poolIds.ts +9 -0
  71. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_poolInfo.ts +13 -0
  72. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_poolLength.ts +9 -0
  73. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_reclaimTokens.ts +13 -0
  74. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_rewardPerSecond.ts +9 -0
  75. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_set.ts +12 -0
  76. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_setRewardPerSecond.ts +11 -0
  77. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_transferOwnership.ts +13 -0
  78. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_updatePool.ts +24 -0
  79. package/evm/abi/complexRewarderTimeAbi/complexRewarderTimeAbi_userInfo.ts +16 -0
  80. package/evm/abi/complexRewarderTimeAbi/index.ts +18 -0
  81. package/evm/abi/eip2612Abi/eip2612Abi_DOMAIN_SEPARATOR.ts +11 -0
  82. package/evm/abi/eip2612Abi/eip2612Abi_nonces.ts +11 -0
  83. package/evm/abi/eip2612Abi/index.ts +2 -0
  84. package/evm/abi/erc20Abi/erc20Abi_allowance.ts +14 -0
  85. package/evm/abi/erc20Abi/erc20Abi_approve.ts +14 -0
  86. package/evm/abi/erc20Abi/erc20Abi_balanceOf.ts +11 -0
  87. package/evm/abi/erc20Abi/erc20Abi_decimals.ts +11 -0
  88. package/evm/abi/erc20Abi/erc20Abi_name.ts +11 -0
  89. package/evm/abi/erc20Abi/erc20Abi_symbol.ts +11 -0
  90. package/evm/abi/erc20Abi/erc20Abi_totalSupply.ts +11 -0
  91. package/evm/abi/erc20Abi/erc20Abi_transfer.ts +14 -0
  92. package/evm/abi/erc20Abi/erc20Abi_transferFrom.ts +15 -0
  93. package/evm/abi/erc20Abi/index.ts +9 -0
  94. package/evm/abi/furoStreamAbi/furoStreamAbi_approve.ts +12 -0
  95. package/evm/abi/furoStreamAbi/furoStreamAbi_balanceOf.ts +9 -0
  96. package/evm/abi/furoStreamAbi/furoStreamAbi_bentoBox.ts +11 -0
  97. package/evm/abi/furoStreamAbi/furoStreamAbi_cancelStream.ts +15 -0
  98. package/evm/abi/furoStreamAbi/furoStreamAbi_claimOwnership.ts +9 -0
  99. package/evm/abi/furoStreamAbi/furoStreamAbi_createStream.ts +19 -0
  100. package/evm/abi/furoStreamAbi/furoStreamAbi_getApproved.ts +9 -0
  101. package/evm/abi/furoStreamAbi/furoStreamAbi_getStream.ts +23 -0
  102. package/evm/abi/furoStreamAbi/furoStreamAbi_isApprovedForAll.ts +12 -0
  103. package/evm/abi/furoStreamAbi/furoStreamAbi_multicall.ts +9 -0
  104. package/evm/abi/furoStreamAbi/furoStreamAbi_name.ts +9 -0
  105. package/evm/abi/furoStreamAbi/furoStreamAbi_owner.ts +9 -0
  106. package/evm/abi/furoStreamAbi/furoStreamAbi_ownerOf.ts +9 -0
  107. package/evm/abi/furoStreamAbi/furoStreamAbi_pendingOwner.ts +9 -0
  108. package/evm/abi/furoStreamAbi/furoStreamAbi_safeTransferFrom.ts +14 -0
  109. package/evm/abi/furoStreamAbi/furoStreamAbi_setApprovalForAll.ts +12 -0
  110. package/evm/abi/furoStreamAbi/furoStreamAbi_setBentoBoxApproval.ts +15 -0
  111. package/evm/abi/furoStreamAbi/furoStreamAbi_setTokenURIFetcher.ts +9 -0
  112. package/evm/abi/furoStreamAbi/furoStreamAbi_streamBalanceOf.ts +12 -0
  113. package/evm/abi/furoStreamAbi/furoStreamAbi_streamIds.ts +9 -0
  114. package/evm/abi/furoStreamAbi/furoStreamAbi_streams.ts +16 -0
  115. package/evm/abi/furoStreamAbi/furoStreamAbi_supportsInterface.ts +9 -0
  116. package/evm/abi/furoStreamAbi/furoStreamAbi_symbol.ts +9 -0
  117. package/evm/abi/furoStreamAbi/furoStreamAbi_tokenURI.ts +9 -0
  118. package/evm/abi/furoStreamAbi/furoStreamAbi_tokenURIFetcher.ts +9 -0
  119. package/evm/abi/furoStreamAbi/furoStreamAbi_transferFrom.ts +13 -0
  120. package/evm/abi/furoStreamAbi/furoStreamAbi_transferOwnership.ts +13 -0
  121. package/evm/abi/furoStreamAbi/furoStreamAbi_updateSender.ts +12 -0
  122. package/evm/abi/furoStreamAbi/furoStreamAbi_updateStream.ts +16 -0
  123. package/evm/abi/furoStreamAbi/furoStreamAbi_wETH.ts +9 -0
  124. package/evm/abi/furoStreamAbi/furoStreamAbi_withdrawFromStream.ts +18 -0
  125. package/evm/abi/furoStreamAbi/index.ts +32 -0
  126. package/evm/abi/furoStreamRouterAbi/furoStreamRouterAbi_bentoBox.ts +11 -0
  127. package/evm/abi/furoStreamRouterAbi/furoStreamRouterAbi_createStream.ts +20 -0
  128. package/evm/abi/furoStreamRouterAbi/furoStreamRouterAbi_furoStream.ts +11 -0
  129. package/evm/abi/furoStreamRouterAbi/furoStreamRouterAbi_multicall.ts +9 -0
  130. package/evm/abi/furoStreamRouterAbi/furoStreamRouterAbi_setBentoBoxApproval.ts +15 -0
  131. package/evm/abi/furoStreamRouterAbi/furoStreamRouterAbi_wETH.ts +9 -0
  132. package/evm/abi/furoStreamRouterAbi/index.ts +6 -0
  133. package/evm/abi/furoVestingAbi/furoVestingAbi_PERCENTAGE_PRECISION.ts +9 -0
  134. package/evm/abi/furoVestingAbi/furoVestingAbi_approve.ts +12 -0
  135. package/evm/abi/furoVestingAbi/furoVestingAbi_balanceOf.ts +9 -0
  136. package/evm/abi/furoVestingAbi/furoVestingAbi_bentoBox.ts +11 -0
  137. package/evm/abi/furoVestingAbi/furoVestingAbi_claimOwnership.ts +9 -0
  138. package/evm/abi/furoVestingAbi/furoVestingAbi_createVesting.ts +31 -0
  139. package/evm/abi/furoVestingAbi/furoVestingAbi_getApproved.ts +9 -0
  140. package/evm/abi/furoVestingAbi/furoVestingAbi_isApprovedForAll.ts +12 -0
  141. package/evm/abi/furoVestingAbi/furoVestingAbi_multicall.ts +9 -0
  142. package/evm/abi/furoVestingAbi/furoVestingAbi_name.ts +9 -0
  143. package/evm/abi/furoVestingAbi/furoVestingAbi_owner.ts +9 -0
  144. package/evm/abi/furoVestingAbi/furoVestingAbi_ownerOf.ts +9 -0
  145. package/evm/abi/furoVestingAbi/furoVestingAbi_pendingOwner.ts +9 -0
  146. package/evm/abi/furoVestingAbi/furoVestingAbi_safeTransferFrom.ts +14 -0
  147. package/evm/abi/furoVestingAbi/furoVestingAbi_setApprovalForAll.ts +12 -0
  148. package/evm/abi/furoVestingAbi/furoVestingAbi_setBentoBoxApproval.ts +15 -0
  149. package/evm/abi/furoVestingAbi/furoVestingAbi_setTokenURIFetcher.ts +9 -0
  150. package/evm/abi/furoVestingAbi/furoVestingAbi_stopVesting.ts +12 -0
  151. package/evm/abi/furoVestingAbi/furoVestingAbi_supportsInterface.ts +9 -0
  152. package/evm/abi/furoVestingAbi/furoVestingAbi_symbol.ts +9 -0
  153. package/evm/abi/furoVestingAbi/furoVestingAbi_tokenURI.ts +9 -0
  154. package/evm/abi/furoVestingAbi/furoVestingAbi_tokenURIFetcher.ts +9 -0
  155. package/evm/abi/furoVestingAbi/furoVestingAbi_transferFrom.ts +13 -0
  156. package/evm/abi/furoVestingAbi/furoVestingAbi_transferOwnership.ts +13 -0
  157. package/evm/abi/furoVestingAbi/furoVestingAbi_updateOwner.ts +12 -0
  158. package/evm/abi/furoVestingAbi/furoVestingAbi_vestBalance.ts +9 -0
  159. package/evm/abi/furoVestingAbi/furoVestingAbi_vestIds.ts +9 -0
  160. package/evm/abi/furoVestingAbi/furoVestingAbi_vests.ts +19 -0
  161. package/evm/abi/furoVestingAbi/furoVestingAbi_wETH.ts +9 -0
  162. package/evm/abi/furoVestingAbi/furoVestingAbi_withdraw.ts +13 -0
  163. package/evm/abi/furoVestingAbi/index.ts +31 -0
  164. package/evm/abi/furoVestingRouterAbi/furoVestingRouterAbi_bentoBox.ts +11 -0
  165. package/evm/abi/furoVestingRouterAbi/furoVestingRouterAbi_createVesting.ts +32 -0
  166. package/evm/abi/furoVestingRouterAbi/furoVestingRouterAbi_furoVesting.ts +11 -0
  167. package/evm/abi/furoVestingRouterAbi/furoVestingRouterAbi_multicall.ts +9 -0
  168. package/evm/abi/furoVestingRouterAbi/furoVestingRouterAbi_setBentoBoxApproval.ts +15 -0
  169. package/evm/abi/furoVestingRouterAbi/furoVestingRouterAbi_wETH.ts +9 -0
  170. package/evm/abi/furoVestingRouterAbi/index.ts +6 -0
  171. package/evm/abi/gasDataArbitrumAbi/gasDataArbitrumAbi_getPricesInWei.ts +16 -0
  172. package/evm/abi/gasDataArbitrumAbi/index.ts +1 -0
  173. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_decimals.ts +9 -0
  174. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_gasPrice.ts +9 -0
  175. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_getL1Fee.ts +9 -0
  176. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_getL1GasUsed.ts +9 -0
  177. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_l1BaseFee.ts +9 -0
  178. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_overhead.ts +9 -0
  179. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_owner.ts +9 -0
  180. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_renounceOwnership.ts +9 -0
  181. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_scalar.ts +9 -0
  182. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_setDecimals.ts +9 -0
  183. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_setGasPrice.ts +9 -0
  184. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_setL1BaseFee.ts +9 -0
  185. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_setOverhead.ts +9 -0
  186. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_setScalar.ts +9 -0
  187. package/evm/abi/gasPriceOracleAbi/gasPriceOracleAbi_transferOwnership.ts +9 -0
  188. package/evm/abi/gasPriceOracleAbi/index.ts +15 -0
  189. package/evm/abi/getPoolsAbi/getPoolsAbi_getPools.ts +16 -0
  190. package/evm/abi/getPoolsAbi/index.ts +1 -0
  191. package/evm/abi/getStableReservesAbi/getStableReservesAbi_getReserves.ts +12 -0
  192. package/evm/abi/getStableReservesAbi/index.ts +1 -0
  193. package/evm/abi/index.ts +60 -0
  194. package/evm/abi/masterChefV1Abi/index.ts +26 -0
  195. package/evm/abi/masterChefV1Abi/masterChefV1Abi_BONUS_MULTIPLIER.ts +9 -0
  196. package/evm/abi/masterChefV1Abi/masterChefV1Abi_add.ts +13 -0
  197. package/evm/abi/masterChefV1Abi/masterChefV1Abi_bonusEndBlock.ts +9 -0
  198. package/evm/abi/masterChefV1Abi/masterChefV1Abi_deposit.ts +12 -0
  199. package/evm/abi/masterChefV1Abi/masterChefV1Abi_dev.ts +9 -0
  200. package/evm/abi/masterChefV1Abi/masterChefV1Abi_devaddr.ts +9 -0
  201. package/evm/abi/masterChefV1Abi/masterChefV1Abi_emergencyWithdraw.ts +9 -0
  202. package/evm/abi/masterChefV1Abi/masterChefV1Abi_getMultiplier.ts +12 -0
  203. package/evm/abi/masterChefV1Abi/masterChefV1Abi_massUpdatePools.ts +9 -0
  204. package/evm/abi/masterChefV1Abi/masterChefV1Abi_migrate.ts +9 -0
  205. package/evm/abi/masterChefV1Abi/masterChefV1Abi_migrator.ts +11 -0
  206. package/evm/abi/masterChefV1Abi/masterChefV1Abi_owner.ts +9 -0
  207. package/evm/abi/masterChefV1Abi/masterChefV1Abi_pendingSushi.ts +12 -0
  208. package/evm/abi/masterChefV1Abi/masterChefV1Abi_poolInfo.ts +14 -0
  209. package/evm/abi/masterChefV1Abi/masterChefV1Abi_poolLength.ts +9 -0
  210. package/evm/abi/masterChefV1Abi/masterChefV1Abi_renounceOwnership.ts +9 -0
  211. package/evm/abi/masterChefV1Abi/masterChefV1Abi_set.ts +13 -0
  212. package/evm/abi/masterChefV1Abi/masterChefV1Abi_setMigrator.ts +15 -0
  213. package/evm/abi/masterChefV1Abi/masterChefV1Abi_startBlock.ts +9 -0
  214. package/evm/abi/masterChefV1Abi/masterChefV1Abi_sushi.ts +11 -0
  215. package/evm/abi/masterChefV1Abi/masterChefV1Abi_sushiPerBlock.ts +9 -0
  216. package/evm/abi/masterChefV1Abi/masterChefV1Abi_totalAllocPoint.ts +9 -0
  217. package/evm/abi/masterChefV1Abi/masterChefV1Abi_transferOwnership.ts +9 -0
  218. package/evm/abi/masterChefV1Abi/masterChefV1Abi_updatePool.ts +9 -0
  219. package/evm/abi/masterChefV1Abi/masterChefV1Abi_userInfo.ts +15 -0
  220. package/evm/abi/masterChefV1Abi/masterChefV1Abi_withdraw.ts +12 -0
  221. package/evm/abi/masterChefV2Abi/index.ts +31 -0
  222. package/evm/abi/masterChefV2Abi/masterChefV2Abi_MASTER_CHEF.ts +11 -0
  223. package/evm/abi/masterChefV2Abi/masterChefV2Abi_MASTER_PID.ts +9 -0
  224. package/evm/abi/masterChefV2Abi/masterChefV2Abi_SUSHI.ts +9 -0
  225. package/evm/abi/masterChefV2Abi/masterChefV2Abi_add.ts +17 -0
  226. package/evm/abi/masterChefV2Abi/masterChefV2Abi_batch.ts +15 -0
  227. package/evm/abi/masterChefV2Abi/masterChefV2Abi_claimOwnership.ts +9 -0
  228. package/evm/abi/masterChefV2Abi/masterChefV2Abi_deposit.ts +13 -0
  229. package/evm/abi/masterChefV2Abi/masterChefV2Abi_emergencyWithdraw.ts +12 -0
  230. package/evm/abi/masterChefV2Abi/masterChefV2Abi_harvest.ts +12 -0
  231. package/evm/abi/masterChefV2Abi/masterChefV2Abi_harvestFromMasterChef.ts +9 -0
  232. package/evm/abi/masterChefV2Abi/masterChefV2Abi_init.ts +11 -0
  233. package/evm/abi/masterChefV2Abi/masterChefV2Abi_lpToken.ts +9 -0
  234. package/evm/abi/masterChefV2Abi/masterChefV2Abi_massUpdatePools.ts +9 -0
  235. package/evm/abi/masterChefV2Abi/masterChefV2Abi_migrate.ts +9 -0
  236. package/evm/abi/masterChefV2Abi/masterChefV2Abi_migrator.ts +11 -0
  237. package/evm/abi/masterChefV2Abi/masterChefV2Abi_owner.ts +9 -0
  238. package/evm/abi/masterChefV2Abi/masterChefV2Abi_pendingOwner.ts +9 -0
  239. package/evm/abi/masterChefV2Abi/masterChefV2Abi_pendingSushi.ts +12 -0
  240. package/evm/abi/masterChefV2Abi/masterChefV2Abi_permitToken.ts +18 -0
  241. package/evm/abi/masterChefV2Abi/masterChefV2Abi_poolInfo.ts +13 -0
  242. package/evm/abi/masterChefV2Abi/masterChefV2Abi_poolLength.ts +9 -0
  243. package/evm/abi/masterChefV2Abi/masterChefV2Abi_rewarder.ts +11 -0
  244. package/evm/abi/masterChefV2Abi/masterChefV2Abi_set.ts +18 -0
  245. package/evm/abi/masterChefV2Abi/masterChefV2Abi_setMigrator.ts +15 -0
  246. package/evm/abi/masterChefV2Abi/masterChefV2Abi_sushiPerBlock.ts +9 -0
  247. package/evm/abi/masterChefV2Abi/masterChefV2Abi_totalAllocPoint.ts +9 -0
  248. package/evm/abi/masterChefV2Abi/masterChefV2Abi_transferOwnership.ts +13 -0
  249. package/evm/abi/masterChefV2Abi/masterChefV2Abi_updatePool.ts +24 -0
  250. package/evm/abi/masterChefV2Abi/masterChefV2Abi_userInfo.ts +15 -0
  251. package/evm/abi/masterChefV2Abi/masterChefV2Abi_withdraw.ts +13 -0
  252. package/evm/abi/masterChefV2Abi/masterChefV2Abi_withdrawAndHarvest.ts +13 -0
  253. package/evm/abi/miniChefAbi/index.ts +28 -0
  254. package/evm/abi/miniChefAbi/miniChefAbi_SUSHI.ts +9 -0
  255. package/evm/abi/miniChefAbi/miniChefAbi_add.ts +17 -0
  256. package/evm/abi/miniChefAbi/miniChefAbi_batch.ts +15 -0
  257. package/evm/abi/miniChefAbi/miniChefAbi_claimOwnership.ts +9 -0
  258. package/evm/abi/miniChefAbi/miniChefAbi_deposit.ts +13 -0
  259. package/evm/abi/miniChefAbi/miniChefAbi_emergencyWithdraw.ts +12 -0
  260. package/evm/abi/miniChefAbi/miniChefAbi_harvest.ts +12 -0
  261. package/evm/abi/miniChefAbi/miniChefAbi_lpToken.ts +9 -0
  262. package/evm/abi/miniChefAbi/miniChefAbi_massUpdatePools.ts +9 -0
  263. package/evm/abi/miniChefAbi/miniChefAbi_migrate.ts +9 -0
  264. package/evm/abi/miniChefAbi/miniChefAbi_migrator.ts +11 -0
  265. package/evm/abi/miniChefAbi/miniChefAbi_owner.ts +9 -0
  266. package/evm/abi/miniChefAbi/miniChefAbi_pendingOwner.ts +9 -0
  267. package/evm/abi/miniChefAbi/miniChefAbi_pendingSushi.ts +12 -0
  268. package/evm/abi/miniChefAbi/miniChefAbi_permitToken.ts +18 -0
  269. package/evm/abi/miniChefAbi/miniChefAbi_poolInfo.ts +13 -0
  270. package/evm/abi/miniChefAbi/miniChefAbi_poolLength.ts +9 -0
  271. package/evm/abi/miniChefAbi/miniChefAbi_rewarder.ts +11 -0
  272. package/evm/abi/miniChefAbi/miniChefAbi_set.ts +18 -0
  273. package/evm/abi/miniChefAbi/miniChefAbi_setMigrator.ts +15 -0
  274. package/evm/abi/miniChefAbi/miniChefAbi_setSushiPerSecond.ts +11 -0
  275. package/evm/abi/miniChefAbi/miniChefAbi_sushiPerSecond.ts +9 -0
  276. package/evm/abi/miniChefAbi/miniChefAbi_totalAllocPoint.ts +9 -0
  277. package/evm/abi/miniChefAbi/miniChefAbi_transferOwnership.ts +13 -0
  278. package/evm/abi/miniChefAbi/miniChefAbi_updatePool.ts +24 -0
  279. package/evm/abi/miniChefAbi/miniChefAbi_userInfo.ts +15 -0
  280. package/evm/abi/miniChefAbi/miniChefAbi_withdraw.ts +13 -0
  281. package/evm/abi/miniChefAbi/miniChefAbi_withdrawAndHarvest.ts +13 -0
  282. package/evm/abi/miniChefV2Abi/index.ts +28 -0
  283. package/evm/abi/miniChefV2Abi/miniChefV2Abi_SUSHI.ts +9 -0
  284. package/evm/abi/miniChefV2Abi/miniChefV2Abi_add.ts +17 -0
  285. package/evm/abi/miniChefV2Abi/miniChefV2Abi_batch.ts +15 -0
  286. package/evm/abi/miniChefV2Abi/miniChefV2Abi_claimOwnership.ts +9 -0
  287. package/evm/abi/miniChefV2Abi/miniChefV2Abi_deposit.ts +13 -0
  288. package/evm/abi/miniChefV2Abi/miniChefV2Abi_emergencyWithdraw.ts +12 -0
  289. package/evm/abi/miniChefV2Abi/miniChefV2Abi_harvest.ts +12 -0
  290. package/evm/abi/miniChefV2Abi/miniChefV2Abi_lpToken.ts +9 -0
  291. package/evm/abi/miniChefV2Abi/miniChefV2Abi_massUpdatePools.ts +9 -0
  292. package/evm/abi/miniChefV2Abi/miniChefV2Abi_migrate.ts +9 -0
  293. package/evm/abi/miniChefV2Abi/miniChefV2Abi_migrator.ts +11 -0
  294. package/evm/abi/miniChefV2Abi/miniChefV2Abi_owner.ts +9 -0
  295. package/evm/abi/miniChefV2Abi/miniChefV2Abi_pendingOwner.ts +9 -0
  296. package/evm/abi/miniChefV2Abi/miniChefV2Abi_pendingSushi.ts +12 -0
  297. package/evm/abi/miniChefV2Abi/miniChefV2Abi_permitToken.ts +18 -0
  298. package/evm/abi/miniChefV2Abi/miniChefV2Abi_poolInfo.ts +13 -0
  299. package/evm/abi/miniChefV2Abi/miniChefV2Abi_poolLength.ts +9 -0
  300. package/evm/abi/miniChefV2Abi/miniChefV2Abi_rewarder.ts +11 -0
  301. package/evm/abi/miniChefV2Abi/miniChefV2Abi_set.ts +18 -0
  302. package/evm/abi/miniChefV2Abi/miniChefV2Abi_setMigrator.ts +15 -0
  303. package/evm/abi/miniChefV2Abi/miniChefV2Abi_setSushiPerSecond.ts +11 -0
  304. package/evm/abi/miniChefV2Abi/miniChefV2Abi_sushiPerSecond.ts +9 -0
  305. package/evm/abi/miniChefV2Abi/miniChefV2Abi_totalAllocPoint.ts +9 -0
  306. package/evm/abi/miniChefV2Abi/miniChefV2Abi_transferOwnership.ts +13 -0
  307. package/evm/abi/miniChefV2Abi/miniChefV2Abi_updatePool.ts +24 -0
  308. package/evm/abi/miniChefV2Abi/miniChefV2Abi_userInfo.ts +15 -0
  309. package/evm/abi/miniChefV2Abi/miniChefV2Abi_withdraw.ts +13 -0
  310. package/evm/abi/miniChefV2Abi/miniChefV2Abi_withdrawAndHarvest.ts +13 -0
  311. package/evm/abi/multicall2Abi/index.ts +12 -0
  312. package/evm/abi/multicall2Abi/multicall2Abi_aggregate.ts +22 -0
  313. package/evm/abi/multicall2Abi/multicall2Abi_blockAndAggregate.ts +31 -0
  314. package/evm/abi/multicall2Abi/multicall2Abi_getBlockHash.ts +9 -0
  315. package/evm/abi/multicall2Abi/multicall2Abi_getBlockNumber.ts +11 -0
  316. package/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockCoinbase.ts +9 -0
  317. package/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockDifficulty.ts +9 -0
  318. package/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockGasLimit.ts +9 -0
  319. package/evm/abi/multicall2Abi/multicall2Abi_getCurrentBlockTimestamp.ts +9 -0
  320. package/evm/abi/multicall2Abi/multicall2Abi_getEthBalance.ts +9 -0
  321. package/evm/abi/multicall2Abi/multicall2Abi_getLastBlockHash.ts +9 -0
  322. package/evm/abi/multicall2Abi/multicall2Abi_tryAggregate.ts +30 -0
  323. package/evm/abi/multicall2Abi/multicall2Abi_tryBlockAndAggregate.ts +32 -0
  324. package/evm/abi/multicall3Abi/index.ts +16 -0
  325. package/evm/abi/multicall3Abi/multicall3Abi_aggregate.ts +22 -0
  326. package/evm/abi/multicall3Abi/multicall3Abi_aggregate3.ts +30 -0
  327. package/evm/abi/multicall3Abi/multicall3Abi_aggregate3Value.ts +31 -0
  328. package/evm/abi/multicall3Abi/multicall3Abi_blockAndAggregate.ts +31 -0
  329. package/evm/abi/multicall3Abi/multicall3Abi_getBasefee.ts +9 -0
  330. package/evm/abi/multicall3Abi/multicall3Abi_getBlockHash.ts +9 -0
  331. package/evm/abi/multicall3Abi/multicall3Abi_getBlockNumber.ts +11 -0
  332. package/evm/abi/multicall3Abi/multicall3Abi_getChainId.ts +9 -0
  333. package/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockCoinbase.ts +9 -0
  334. package/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockDifficulty.ts +9 -0
  335. package/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockGasLimit.ts +9 -0
  336. package/evm/abi/multicall3Abi/multicall3Abi_getCurrentBlockTimestamp.ts +9 -0
  337. package/evm/abi/multicall3Abi/multicall3Abi_getEthBalance.ts +9 -0
  338. package/evm/abi/multicall3Abi/multicall3Abi_getLastBlockHash.ts +9 -0
  339. package/evm/abi/multicall3Abi/multicall3Abi_tryAggregate.ts +30 -0
  340. package/evm/abi/multicall3Abi/multicall3Abi_tryBlockAndAggregate.ts +32 -0
  341. package/evm/abi/multicallAbi/index.ts +1 -0
  342. package/evm/abi/multicallAbi/multicallAbi_multicall.ts +9 -0
  343. package/evm/abi/nonfungiblePositionManagerAbi/index.ts +38 -0
  344. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_DOMAIN_SEPARATOR.ts +9 -0
  345. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_PERMIT_TYPEHASH.ts +9 -0
  346. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_WETH9.ts +9 -0
  347. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_approve.ts +12 -0
  348. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_balanceOf.ts +9 -0
  349. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_baseURI.ts +9 -0
  350. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_burn.ts +9 -0
  351. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_collect.ts +24 -0
  352. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_createAndInitializePoolIfNecessary.ts +15 -0
  353. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_decreaseLiquidity.ts +26 -0
  354. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_factory.ts +9 -0
  355. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_getApproved.ts +9 -0
  356. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_increaseLiquidity.ts +28 -0
  357. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_isApprovedForAll.ts +12 -0
  358. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_mint.ts +33 -0
  359. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_multicall.ts +9 -0
  360. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_name.ts +9 -0
  361. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_ownerOf.ts +9 -0
  362. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_permit.ts +16 -0
  363. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_positions.ts +30 -0
  364. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_refundETH.ts +9 -0
  365. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_safeTransferFrom.ts +37 -0
  366. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermit.ts +16 -0
  367. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermitAllowed.ts +16 -0
  368. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermitAllowedIfNecessary.ts +16 -0
  369. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_selfPermitIfNecessary.ts +16 -0
  370. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_setApprovalForAll.ts +12 -0
  371. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_supportsInterface.ts +9 -0
  372. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_sweepToken.ts +13 -0
  373. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_symbol.ts +9 -0
  374. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_tokenByIndex.ts +9 -0
  375. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_tokenOfOwnerByIndex.ts +12 -0
  376. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_tokenURI.ts +9 -0
  377. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_totalSupply.ts +9 -0
  378. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_transferFrom.ts +13 -0
  379. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_uniswapV3MintCallback.ts +13 -0
  380. package/evm/abi/nonfungiblePositionManagerAbi/nonfungiblePositionManagerAbi_unwrapWETH9.ts +12 -0
  381. package/evm/abi/peripheryPaymentsWithFeeAbi/index.ts +5 -0
  382. package/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_refundETH.ts +9 -0
  383. package/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_sweepToken.ts +13 -0
  384. package/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_sweepTokenWithFee.ts +15 -0
  385. package/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_unwrapWETH9.ts +12 -0
  386. package/evm/abi/peripheryPaymentsWithFeeAbi/peripheryPaymentsWithFeeAbi_unwrapWETH9WithFee.ts +14 -0
  387. package/evm/abi/permit2Abi/index.ts +15 -0
  388. package/evm/abi/permit2Abi/permit2Abi_DOMAIN_SEPARATOR.ts +9 -0
  389. package/evm/abi/permit2Abi/permit2Abi_allowance.ts +17 -0
  390. package/evm/abi/permit2Abi/permit2Abi_approve.ts +14 -0
  391. package/evm/abi/permit2Abi/permit2Abi_invalidateNonces.ts +13 -0
  392. package/evm/abi/permit2Abi/permit2Abi_invalidateUnorderedNonces.ts +12 -0
  393. package/evm/abi/permit2Abi/permit2Abi_lockdown.ts +19 -0
  394. package/evm/abi/permit2Abi/permit2Abi_nonceBitmap.ts +12 -0
  395. package/evm/abi/permit2Abi/permit2Abi_permit.ts +32 -0
  396. package/evm/abi/permit2Abi/permit2Abi_permitTransferFrom.ts +39 -0
  397. package/evm/abi/permit2Abi/permit2Abi_permitWitnessTransferFrom.ts +41 -0
  398. package/evm/abi/permit2Abi/permit2Abi_transferFrom.ts +14 -0
  399. package/evm/abi/poolsCountAbi/index.ts +1 -0
  400. package/evm/abi/poolsCountAbi/poolsCountAbi_poolsCount.ts +12 -0
  401. package/evm/abi/routeProcessor2Abi/index.ts +10 -0
  402. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_bentoBox.ts +11 -0
  403. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_owner.ts +9 -0
  404. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_pause.ts +9 -0
  405. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_processRoute.ts +16 -0
  406. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_renounceOwnership.ts +9 -0
  407. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_resume.ts +9 -0
  408. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_setPriviledge.ts +12 -0
  409. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_transferOwnership.ts +9 -0
  410. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_transferValueAndprocessRoute.ts +22 -0
  411. package/evm/abi/routeProcessor2Abi/routeProcessor2Abi_uniswapV3SwapCallback.ts +13 -0
  412. package/evm/abi/routeProcessor3Abi/index.ts +10 -0
  413. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_bentoBox.ts +11 -0
  414. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_owner.ts +9 -0
  415. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_pause.ts +9 -0
  416. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_processRoute.ts +16 -0
  417. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_renounceOwnership.ts +9 -0
  418. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_resume.ts +9 -0
  419. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_setPriviledge.ts +12 -0
  420. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_transferOwnership.ts +9 -0
  421. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_transferValueAndprocessRoute.ts +22 -0
  422. package/evm/abi/routeProcessor3Abi/routeProcessor3Abi_uniswapV3SwapCallback.ts +13 -0
  423. package/evm/abi/routeProcessor3_1Abi/index.ts +10 -0
  424. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_bentoBox.ts +11 -0
  425. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_owner.ts +9 -0
  426. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_pause.ts +9 -0
  427. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_processRoute.ts +16 -0
  428. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_renounceOwnership.ts +9 -0
  429. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_resume.ts +9 -0
  430. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_setPriviledge.ts +12 -0
  431. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_transferOwnership.ts +9 -0
  432. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_transferValueAndprocessRoute.ts +22 -0
  433. package/evm/abi/routeProcessor3_1Abi/routeProcessor3_1Abi_uniswapV3SwapCallback.ts +13 -0
  434. package/evm/abi/routeProcessor4Abi/index.ts +13 -0
  435. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_algebraSwapCallback.ts +13 -0
  436. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_bentoBox.ts +11 -0
  437. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_owner.ts +9 -0
  438. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_pancakeV3SwapCallback.ts +13 -0
  439. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_pause.ts +9 -0
  440. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_priviledgedUsers.ts +9 -0
  441. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_processRoute.ts +16 -0
  442. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_renounceOwnership.ts +9 -0
  443. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_resume.ts +9 -0
  444. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_setPriviledge.ts +12 -0
  445. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_transferOwnership.ts +9 -0
  446. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_transferValueAndprocessRoute.ts +22 -0
  447. package/evm/abi/routeProcessor4Abi/routeProcessor4Abi_uniswapV3SwapCallback.ts +13 -0
  448. package/evm/abi/routeProcessor5Abi/index.ts +15 -0
  449. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_algebraSwapCallback.ts +13 -0
  450. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_bentoBox.ts +11 -0
  451. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_owner.ts +9 -0
  452. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_pancakeV3SwapCallback.ts +13 -0
  453. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_pause.ts +9 -0
  454. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_priviledgedUsers.ts +9 -0
  455. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_processRoute.ts +16 -0
  456. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_processRouteWithTransferValueInput.ts +22 -0
  457. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_processRouteWithTransferValueOutput.ts +22 -0
  458. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_renounceOwnership.ts +9 -0
  459. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_resume.ts +9 -0
  460. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_setPriviledge.ts +12 -0
  461. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_transferOwnership.ts +9 -0
  462. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_transferValueAndprocessRoute.ts +18 -0
  463. package/evm/abi/routeProcessor5Abi/routeProcessor5Abi_uniswapV3SwapCallback.ts +13 -0
  464. package/evm/abi/routeProcessorAbi/index.ts +3 -0
  465. package/evm/abi/routeProcessorAbi/routeProcessorAbi_bentoBox.ts +11 -0
  466. package/evm/abi/routeProcessorAbi/routeProcessorAbi_processRoute.ts +16 -0
  467. package/evm/abi/routeProcessorAbi/routeProcessorAbi_transferValueAndprocessRoute.ts +22 -0
  468. package/evm/abi/selfPermitAbi/index.ts +4 -0
  469. package/evm/abi/selfPermitAbi/selfPermitAbi_selfPermit.ts +16 -0
  470. package/evm/abi/selfPermitAbi/selfPermitAbi_selfPermitAllowed.ts +16 -0
  471. package/evm/abi/selfPermitAbi/selfPermitAbi_selfPermitAllowedIfNecessary.ts +16 -0
  472. package/evm/abi/selfPermitAbi/selfPermitAbi_selfPermitIfNecessary.ts +16 -0
  473. package/evm/abi/slot0Abi/index.ts +1 -0
  474. package/evm/abi/slot0Abi/slot0Abi_slot0.ts +25 -0
  475. package/evm/abi/splitter.ts +53 -0
  476. package/evm/abi/squidAdapterAbi/index.ts +5 -0
  477. package/evm/abi/squidAdapterAbi/squidAdapterAbi_adapterBridge.ts +14 -0
  478. package/evm/abi/squidAdapterAbi/squidAdapterAbi_executePayload.ts +13 -0
  479. package/evm/abi/squidAdapterAbi/squidAdapterAbi_sendMessage.ts +9 -0
  480. package/evm/abi/squidAdapterAbi/squidAdapterAbi_squidRouter.ts +9 -0
  481. package/evm/abi/squidAdapterAbi/squidAdapterAbi_swap.ts +14 -0
  482. package/evm/abi/squidRouterAbi/index.ts +28 -0
  483. package/evm/abi/squidRouterAbi/squidRouterAbi.ts +622 -0
  484. package/evm/abi/squidRouterAbi/squidRouterAbi_acceptOwnership.ts +9 -0
  485. package/evm/abi/squidRouterAbi/squidRouterAbi_acceptPauser.ts +9 -0
  486. package/evm/abi/squidRouterAbi/squidRouterAbi_bridgeCall.ts +17 -0
  487. package/evm/abi/squidRouterAbi/squidRouterAbi_callBridge.ts +31 -0
  488. package/evm/abi/squidRouterAbi/squidRouterAbi_callBridgeCall.ts +34 -0
  489. package/evm/abi/squidRouterAbi/squidRouterAbi_contractId.ts +9 -0
  490. package/evm/abi/squidRouterAbi/squidRouterAbi_execute.ts +14 -0
  491. package/evm/abi/squidRouterAbi/squidRouterAbi_executeWithToken.ts +16 -0
  492. package/evm/abi/squidRouterAbi/squidRouterAbi_expressExecute.ts +14 -0
  493. package/evm/abi/squidRouterAbi/squidRouterAbi_expressExecuteWithToken.ts +16 -0
  494. package/evm/abi/squidRouterAbi/squidRouterAbi_fundAndRunMulticall.ts +28 -0
  495. package/evm/abi/squidRouterAbi/squidRouterAbi_gateway.ts +11 -0
  496. package/evm/abi/squidRouterAbi/squidRouterAbi_getExpressExecutor.ts +16 -0
  497. package/evm/abi/squidRouterAbi/squidRouterAbi_getExpressExecutorWithToken.ts +18 -0
  498. package/evm/abi/squidRouterAbi/squidRouterAbi_implementation.ts +11 -0
  499. package/evm/abi/squidRouterAbi/squidRouterAbi_owner.ts +9 -0
  500. package/evm/abi/squidRouterAbi/squidRouterAbi_pause.ts +9 -0
  501. package/evm/abi/squidRouterAbi/squidRouterAbi_paused.ts +9 -0
  502. package/evm/abi/squidRouterAbi/squidRouterAbi_pauser.ts +9 -0
  503. package/evm/abi/squidRouterAbi/squidRouterAbi_pendingOwner.ts +9 -0
  504. package/evm/abi/squidRouterAbi/squidRouterAbi_pendingPauser.ts +9 -0
  505. package/evm/abi/squidRouterAbi/squidRouterAbi_proposeOwnership.ts +9 -0
  506. package/evm/abi/squidRouterAbi/squidRouterAbi_setup.ts +9 -0
  507. package/evm/abi/squidRouterAbi/squidRouterAbi_transferOwnership.ts +9 -0
  508. package/evm/abi/squidRouterAbi/squidRouterAbi_unpause.ts +9 -0
  509. package/evm/abi/squidRouterAbi/squidRouterAbi_updatePauser.ts +9 -0
  510. package/evm/abi/squidRouterAbi/squidRouterAbi_upgrade.ts +17 -0
  511. package/evm/abi/stargateAdapterAbi/index.ts +11 -0
  512. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_adapterBridge.ts +14 -0
  513. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_executePayload.ts +13 -0
  514. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_getFee.ts +19 -0
  515. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_rp.ts +11 -0
  516. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_sendMessage.ts +9 -0
  517. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_sgReceive.ts +16 -0
  518. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_sgeth.ts +9 -0
  519. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_stargateRouter.ts +11 -0
  520. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_stargateWidget.ts +11 -0
  521. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_swap.ts +14 -0
  522. package/evm/abi/stargateAdapterAbi/stargateAdapterAbi_weth.ts +9 -0
  523. package/evm/abi/stargateFeeLibraryV03Abi/index.ts +16 -0
  524. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_DELTA_1.ts +9 -0
  525. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_DELTA_2.ts +9 -0
  526. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_DENOMINATOR.ts +9 -0
  527. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_LAMBDA_1.ts +9 -0
  528. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_LAMBDA_2.ts +9 -0
  529. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_LP_FEE.ts +9 -0
  530. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_PROTOCOL_FEE.ts +9 -0
  531. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_PROTOCOL_SUBSIDY.ts +9 -0
  532. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_factory.ts +9 -0
  533. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_getEquilibriumFee.ts +16 -0
  534. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_getFees.ts +29 -0
  535. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_getTrapezoidArea.ts +16 -0
  536. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_getVersion.ts +9 -0
  537. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_owner.ts +9 -0
  538. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_renounceOwnership.ts +9 -0
  539. package/evm/abi/stargateFeeLibraryV03Abi/stargateFeeLibraryV03Abi_transferOwnership.ts +9 -0
  540. package/evm/abi/stargatePoolAbi/index.ts +61 -0
  541. package/evm/abi/stargatePoolAbi/stargatePoolAbi_BP_DENOMINATOR.ts +9 -0
  542. package/evm/abi/stargatePoolAbi/stargatePoolAbi_DOMAIN_SEPARATOR.ts +9 -0
  543. package/evm/abi/stargatePoolAbi/stargatePoolAbi_PERMIT_TYPEHASH.ts +9 -0
  544. package/evm/abi/stargatePoolAbi/stargatePoolAbi_activateChainPath.ts +12 -0
  545. package/evm/abi/stargatePoolAbi/stargatePoolAbi_allowance.ts +12 -0
  546. package/evm/abi/stargatePoolAbi/stargatePoolAbi_amountLPtoLD.ts +9 -0
  547. package/evm/abi/stargatePoolAbi/stargatePoolAbi_approve.ts +12 -0
  548. package/evm/abi/stargatePoolAbi/stargatePoolAbi_balanceOf.ts +9 -0
  549. package/evm/abi/stargatePoolAbi/stargatePoolAbi_batched.ts +9 -0
  550. package/evm/abi/stargatePoolAbi/stargatePoolAbi_callDelta.ts +9 -0
  551. package/evm/abi/stargatePoolAbi/stargatePoolAbi_chainPathIndexLookup.ts +12 -0
  552. package/evm/abi/stargatePoolAbi/stargatePoolAbi_chainPaths.ts +18 -0
  553. package/evm/abi/stargatePoolAbi/stargatePoolAbi_convertRate.ts +9 -0
  554. package/evm/abi/stargatePoolAbi/stargatePoolAbi_createChainPath.ts +13 -0
  555. package/evm/abi/stargatePoolAbi/stargatePoolAbi_creditChainPath.ts +21 -0
  556. package/evm/abi/stargatePoolAbi/stargatePoolAbi_decimals.ts +9 -0
  557. package/evm/abi/stargatePoolAbi/stargatePoolAbi_decreaseAllowance.ts +12 -0
  558. package/evm/abi/stargatePoolAbi/stargatePoolAbi_defaultLPMode.ts +9 -0
  559. package/evm/abi/stargatePoolAbi/stargatePoolAbi_defaultSwapMode.ts +9 -0
  560. package/evm/abi/stargatePoolAbi/stargatePoolAbi_deltaCredit.ts +9 -0
  561. package/evm/abi/stargatePoolAbi/stargatePoolAbi_eqFeePool.ts +9 -0
  562. package/evm/abi/stargatePoolAbi/stargatePoolAbi_feeLibrary.ts +9 -0
  563. package/evm/abi/stargatePoolAbi/stargatePoolAbi_getChainPath.ts +28 -0
  564. package/evm/abi/stargatePoolAbi/stargatePoolAbi_getChainPathsLength.ts +9 -0
  565. package/evm/abi/stargatePoolAbi/stargatePoolAbi_increaseAllowance.ts +12 -0
  566. package/evm/abi/stargatePoolAbi/stargatePoolAbi_instantRedeemLocal.ts +13 -0
  567. package/evm/abi/stargatePoolAbi/stargatePoolAbi_localDecimals.ts +9 -0
  568. package/evm/abi/stargatePoolAbi/stargatePoolAbi_lpDeltaBP.ts +9 -0
  569. package/evm/abi/stargatePoolAbi/stargatePoolAbi_mint.ts +12 -0
  570. package/evm/abi/stargatePoolAbi/stargatePoolAbi_mintFeeBP.ts +9 -0
  571. package/evm/abi/stargatePoolAbi/stargatePoolAbi_mintFeeBalance.ts +9 -0
  572. package/evm/abi/stargatePoolAbi/stargatePoolAbi_name.ts +9 -0
  573. package/evm/abi/stargatePoolAbi/stargatePoolAbi_nonces.ts +9 -0
  574. package/evm/abi/stargatePoolAbi/stargatePoolAbi_permit.ts +17 -0
  575. package/evm/abi/stargatePoolAbi/stargatePoolAbi_poolId.ts +9 -0
  576. package/evm/abi/stargatePoolAbi/stargatePoolAbi_protocolFeeBalance.ts +9 -0
  577. package/evm/abi/stargatePoolAbi/stargatePoolAbi_redeemLocal.ts +15 -0
  578. package/evm/abi/stargatePoolAbi/stargatePoolAbi_redeemLocalCallback.ts +15 -0
  579. package/evm/abi/stargatePoolAbi/stargatePoolAbi_redeemLocalCheckOnRemote.ts +16 -0
  580. package/evm/abi/stargatePoolAbi/stargatePoolAbi_redeemRemote.ts +14 -0
  581. package/evm/abi/stargatePoolAbi/stargatePoolAbi_router.ts +9 -0
  582. package/evm/abi/stargatePoolAbi/stargatePoolAbi_sendCredits.ts +22 -0
  583. package/evm/abi/stargatePoolAbi/stargatePoolAbi_setDeltaParam.ts +15 -0
  584. package/evm/abi/stargatePoolAbi/stargatePoolAbi_setFee.ts +9 -0
  585. package/evm/abi/stargatePoolAbi/stargatePoolAbi_setFeeLibrary.ts +11 -0
  586. package/evm/abi/stargatePoolAbi/stargatePoolAbi_setSwapStop.ts +9 -0
  587. package/evm/abi/stargatePoolAbi/stargatePoolAbi_setWeightForChainPath.ts +13 -0
  588. package/evm/abi/stargatePoolAbi/stargatePoolAbi_sharedDecimals.ts +9 -0
  589. package/evm/abi/stargatePoolAbi/stargatePoolAbi_stopSwap.ts +9 -0
  590. package/evm/abi/stargatePoolAbi/stargatePoolAbi_swap.ts +30 -0
  591. package/evm/abi/stargatePoolAbi/stargatePoolAbi_swapDeltaBP.ts +9 -0
  592. package/evm/abi/stargatePoolAbi/stargatePoolAbi_swapRemote.ts +26 -0
  593. package/evm/abi/stargatePoolAbi/stargatePoolAbi_symbol.ts +9 -0
  594. package/evm/abi/stargatePoolAbi/stargatePoolAbi_token.ts +9 -0
  595. package/evm/abi/stargatePoolAbi/stargatePoolAbi_totalLiquidity.ts +9 -0
  596. package/evm/abi/stargatePoolAbi/stargatePoolAbi_totalSupply.ts +9 -0
  597. package/evm/abi/stargatePoolAbi/stargatePoolAbi_totalWeight.ts +9 -0
  598. package/evm/abi/stargatePoolAbi/stargatePoolAbi_transfer.ts +12 -0
  599. package/evm/abi/stargatePoolAbi/stargatePoolAbi_transferFrom.ts +13 -0
  600. package/evm/abi/stargatePoolAbi/stargatePoolAbi_withdrawMintFeeBalance.ts +9 -0
  601. package/evm/abi/stargatePoolAbi/stargatePoolAbi_withdrawProtocolFeeBalance.ts +9 -0
  602. package/evm/abi/sushiSwapV2FactoryAbi/index.ts +11 -0
  603. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_allPairs.ts +9 -0
  604. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_allPairsLength.ts +9 -0
  605. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_createPair.ts +12 -0
  606. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_feeTo.ts +9 -0
  607. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_feeToSetter.ts +9 -0
  608. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_getPair.ts +12 -0
  609. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_migrator.ts +9 -0
  610. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_pairCodeHash.ts +9 -0
  611. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_setFeeTo.ts +9 -0
  612. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_setFeeToSetter.ts +11 -0
  613. package/evm/abi/sushiSwapV2FactoryAbi/sushiSwapV2FactoryAbi_setMigrator.ts +9 -0
  614. package/evm/abi/sushiV3FactoryAbi/index.ts +7 -0
  615. package/evm/abi/sushiV3FactoryAbi/sushiV3FactoryAbi_createPool.ts +13 -0
  616. package/evm/abi/sushiV3FactoryAbi/sushiV3FactoryAbi_enableFeeAmount.ts +12 -0
  617. package/evm/abi/sushiV3FactoryAbi/sushiV3FactoryAbi_feeAmountTickSpacing.ts +9 -0
  618. package/evm/abi/sushiV3FactoryAbi/sushiV3FactoryAbi_getPool.ts +13 -0
  619. package/evm/abi/sushiV3FactoryAbi/sushiV3FactoryAbi_owner.ts +9 -0
  620. package/evm/abi/sushiV3FactoryAbi/sushiV3FactoryAbi_parameters.ts +15 -0
  621. package/evm/abi/sushiV3FactoryAbi/sushiV3FactoryAbi_setOwner.ts +9 -0
  622. package/evm/abi/sushiV3PoolAbi/index.ts +26 -0
  623. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_burn.ts +16 -0
  624. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_collect.ts +18 -0
  625. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_collectProtocol.ts +16 -0
  626. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_factory.ts +9 -0
  627. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_fee.ts +9 -0
  628. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_feeGrowthGlobal0X128.ts +9 -0
  629. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_feeGrowthGlobal1X128.ts +9 -0
  630. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_flash.ts +14 -0
  631. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_increaseObservationCardinalityNext.ts +15 -0
  632. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_initialize.ts +11 -0
  633. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_liquidity.ts +9 -0
  634. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_maxLiquidityPerTick.ts +9 -0
  635. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_mint.ts +18 -0
  636. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_observations.ts +18 -0
  637. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_observe.ts +18 -0
  638. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_positions.ts +23 -0
  639. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_protocolFees.ts +12 -0
  640. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_setFeeProtocol.ts +12 -0
  641. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_slot0.ts +25 -0
  642. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_snapshotCumulativesInside.ts +20 -0
  643. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_swap.ts +18 -0
  644. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_tickBitmap.ts +9 -0
  645. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_tickSpacing.ts +9 -0
  646. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_ticks.ts +30 -0
  647. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_token0.ts +9 -0
  648. package/evm/abi/sushiV3PoolAbi/sushiV3PoolAbi_token1.ts +9 -0
  649. package/evm/abi/sushiXSwap2Abi/index.ts +17 -0
  650. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_approvedAdapters.ts +9 -0
  651. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_bridge.ts +26 -0
  652. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_multicall.ts +9 -0
  653. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_owner.ts +9 -0
  654. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_pause.ts +9 -0
  655. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_renounceOwnership.ts +9 -0
  656. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_rescueTokens.ts +12 -0
  657. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_resume.ts +9 -0
  658. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_rp.ts +11 -0
  659. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_sendMessage.ts +12 -0
  660. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_setPrivileged.ts +12 -0
  661. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_swap.ts +9 -0
  662. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_swapAndBridge.ts +27 -0
  663. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_transferOwnership.ts +9 -0
  664. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_updateAdapterStatus.ts +12 -0
  665. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_updateRouteProcessor.ts +11 -0
  666. package/evm/abi/sushiXSwap2Abi/sushiXSwap2Abi_weth.ts +9 -0
  667. package/evm/abi/sushiXSwapAbi/index.ts +9 -0
  668. package/evm/abi/sushiXSwapAbi/sushiXSwapAbi_approveToStargateRouter.ts +11 -0
  669. package/evm/abi/sushiXSwapAbi/sushiXSwapAbi_bentoBox.ts +11 -0
  670. package/evm/abi/sushiXSwapAbi/sushiXSwapAbi_cook.ts +13 -0
  671. package/evm/abi/sushiXSwapAbi/sushiXSwapAbi_factory.ts +9 -0
  672. package/evm/abi/sushiXSwapAbi/sushiXSwapAbi_getFee.ts +19 -0
  673. package/evm/abi/sushiXSwapAbi/sushiXSwapAbi_pairCodeHash.ts +9 -0
  674. package/evm/abi/sushiXSwapAbi/sushiXSwapAbi_sgReceive.ts +16 -0
  675. package/evm/abi/sushiXSwapAbi/sushiXSwapAbi_stargateRouter.ts +11 -0
  676. package/evm/abi/sushiXSwapAbi/sushiXSwapAbi_stargateWidget.ts +11 -0
  677. package/evm/abi/swapFeeAbi/index.ts +1 -0
  678. package/evm/abi/swapFeeAbi/swapFeeAbi_swapFee.ts +9 -0
  679. package/evm/abi/tickLensAbi/index.ts +1 -0
  680. package/evm/abi/tickLensAbi/tickLensAbi_getPopulatedTicksInWord.ts +23 -0
  681. package/evm/abi/totalsAbi/index.ts +1 -0
  682. package/evm/abi/totalsAbi/totalsAbi_totals.ts +12 -0
  683. package/evm/abi/tridentConstantPoolAbi/index.ts +36 -0
  684. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_DOMAIN_SEPARATOR.ts +9 -0
  685. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_PERMIT_TYPEHASH.ts +9 -0
  686. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_allowance.ts +12 -0
  687. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_approve.ts +12 -0
  688. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_balanceOf.ts +9 -0
  689. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_barFee.ts +9 -0
  690. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_barFeeTo.ts +9 -0
  691. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_bento.ts +11 -0
  692. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_burn.ts +19 -0
  693. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_burnSingle.ts +9 -0
  694. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_decimals.ts +9 -0
  695. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_factory.ts +9 -0
  696. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_flashSwap.ts +9 -0
  697. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_getAmountIn.ts +11 -0
  698. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_getAmountOut.ts +11 -0
  699. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_getAssets.ts +9 -0
  700. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_getNativeReserves.ts +13 -0
  701. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_getReserves.ts +13 -0
  702. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_kLast.ts +9 -0
  703. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_masterDeployer.ts +11 -0
  704. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_mint.ts +9 -0
  705. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_name.ts +9 -0
  706. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_nonces.ts +9 -0
  707. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_permit.ts +17 -0
  708. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_poolIdentifier.ts +9 -0
  709. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_price0CumulativeLast.ts +9 -0
  710. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_price1CumulativeLast.ts +9 -0
  711. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_swap.ts +9 -0
  712. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_swapFee.ts +9 -0
  713. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_symbol.ts +9 -0
  714. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_token0.ts +9 -0
  715. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_token1.ts +9 -0
  716. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_totalSupply.ts +9 -0
  717. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_transfer.ts +12 -0
  718. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_transferFrom.ts +13 -0
  719. package/evm/abi/tridentConstantPoolAbi/tridentConstantPoolAbi_updateBarParameters.ts +9 -0
  720. package/evm/abi/tridentConstantPoolFactoryAbi/index.ts +9 -0
  721. package/evm/abi/tridentConstantPoolFactoryAbi/tridentConstantPoolFactoryAbi_bytecodeHash.ts +9 -0
  722. package/evm/abi/tridentConstantPoolFactoryAbi/tridentConstantPoolFactoryAbi_calculatePoolAddress.ts +14 -0
  723. package/evm/abi/tridentConstantPoolFactoryAbi/tridentConstantPoolFactoryAbi_configAddress.ts +9 -0
  724. package/evm/abi/tridentConstantPoolFactoryAbi/tridentConstantPoolFactoryAbi_deployPool.ts +9 -0
  725. package/evm/abi/tridentConstantPoolFactoryAbi/tridentConstantPoolFactoryAbi_getDeployData.ts +12 -0
  726. package/evm/abi/tridentConstantPoolFactoryAbi/tridentConstantPoolFactoryAbi_getPools.ts +16 -0
  727. package/evm/abi/tridentConstantPoolFactoryAbi/tridentConstantPoolFactoryAbi_masterDeployer.ts +9 -0
  728. package/evm/abi/tridentConstantPoolFactoryAbi/tridentConstantPoolFactoryAbi_pools.ts +13 -0
  729. package/evm/abi/tridentConstantPoolFactoryAbi/tridentConstantPoolFactoryAbi_poolsCount.ts +12 -0
  730. package/evm/abi/tridentGetPoolsAbi/index.ts +1 -0
  731. package/evm/abi/tridentGetPoolsAbi/tridentGetPoolsAbi_getPools.ts +16 -0
  732. package/evm/abi/tridentPoolsCountAbi/index.ts +1 -0
  733. package/evm/abi/tridentPoolsCountAbi/tridentPoolsCountAbi_poolsCount.ts +12 -0
  734. package/evm/abi/tridentRouterAbi/index.ts +20 -0
  735. package/evm/abi/tridentRouterAbi/tridentRouterAbi_addLiquidity.ts +23 -0
  736. package/evm/abi/tridentRouterAbi/tridentRouterAbi_approveMasterContract.ts +13 -0
  737. package/evm/abi/tridentRouterAbi/tridentRouterAbi_bento.ts +11 -0
  738. package/evm/abi/tridentRouterAbi/tridentRouterAbi_burnLiquidity.ts +22 -0
  739. package/evm/abi/tridentRouterAbi/tridentRouterAbi_burnLiquiditySingle.ts +14 -0
  740. package/evm/abi/tridentRouterAbi/tridentRouterAbi_complexPath.ts +55 -0
  741. package/evm/abi/tridentRouterAbi/tridentRouterAbi_deployPool.ts +12 -0
  742. package/evm/abi/tridentRouterAbi/tridentRouterAbi_exactInput.ts +33 -0
  743. package/evm/abi/tridentRouterAbi/tridentRouterAbi_exactInputSingle.ts +26 -0
  744. package/evm/abi/tridentRouterAbi/tridentRouterAbi_exactInputSingleWithNativeToken.ts +26 -0
  745. package/evm/abi/tridentRouterAbi/tridentRouterAbi_exactInputWithNativeToken.ts +33 -0
  746. package/evm/abi/tridentRouterAbi/tridentRouterAbi_harvest.ts +12 -0
  747. package/evm/abi/tridentRouterAbi/tridentRouterAbi_masterDeployer.ts +11 -0
  748. package/evm/abi/tridentRouterAbi/tridentRouterAbi_multicall.ts +9 -0
  749. package/evm/abi/tridentRouterAbi/tridentRouterAbi_selfPermit.ts +16 -0
  750. package/evm/abi/tridentRouterAbi/tridentRouterAbi_selfPermitAllowed.ts +16 -0
  751. package/evm/abi/tridentRouterAbi/tridentRouterAbi_selfPermitAllowedIfNecessary.ts +16 -0
  752. package/evm/abi/tridentRouterAbi/tridentRouterAbi_selfPermitIfNecessary.ts +16 -0
  753. package/evm/abi/tridentRouterAbi/tridentRouterAbi_sweep.ts +13 -0
  754. package/evm/abi/tridentRouterAbi/tridentRouterAbi_unwrapWETH.ts +9 -0
  755. package/evm/abi/tridentStablePoolFactoryAbi/index.ts +9 -0
  756. package/evm/abi/tridentStablePoolFactoryAbi/tridentStablePoolFactoryAbi_bytecodeHash.ts +9 -0
  757. package/evm/abi/tridentStablePoolFactoryAbi/tridentStablePoolFactoryAbi_calculatePoolAddress.ts +13 -0
  758. package/evm/abi/tridentStablePoolFactoryAbi/tridentStablePoolFactoryAbi_configAddress.ts +9 -0
  759. package/evm/abi/tridentStablePoolFactoryAbi/tridentStablePoolFactoryAbi_deployPool.ts +9 -0
  760. package/evm/abi/tridentStablePoolFactoryAbi/tridentStablePoolFactoryAbi_getDeployData.ts +12 -0
  761. package/evm/abi/tridentStablePoolFactoryAbi/tridentStablePoolFactoryAbi_getPools.ts +16 -0
  762. package/evm/abi/tridentStablePoolFactoryAbi/tridentStablePoolFactoryAbi_masterDeployer.ts +9 -0
  763. package/evm/abi/tridentStablePoolFactoryAbi/tridentStablePoolFactoryAbi_pools.ts +13 -0
  764. package/evm/abi/tridentStablePoolFactoryAbi/tridentStablePoolFactoryAbi_poolsCount.ts +12 -0
  765. package/evm/abi/tridentSwapFeeAbi/index.ts +1 -0
  766. package/evm/abi/tridentSwapFeeAbi/tridentSwapFeeAbi_swapFee.ts +9 -0
  767. package/evm/abi/uniswapV2PairAbi/index.ts +27 -0
  768. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_DOMAIN_SEPARATOR.ts +11 -0
  769. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_MINIMUM_LIQUIDITY.ts +11 -0
  770. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_PERMIT_TYPEHASH.ts +11 -0
  771. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_allowance.ts +14 -0
  772. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_approve.ts +14 -0
  773. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_balanceOf.ts +11 -0
  774. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_burn.ts +14 -0
  775. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_decimals.ts +11 -0
  776. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_factory.ts +11 -0
  777. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_getReserves.ts +15 -0
  778. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_initialize.ts +14 -0
  779. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_kLast.ts +11 -0
  780. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_mint.ts +11 -0
  781. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_name.ts +11 -0
  782. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_nonces.ts +11 -0
  783. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_permit.ts +19 -0
  784. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_price0CumulativeLast.ts +11 -0
  785. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_price1CumulativeLast.ts +11 -0
  786. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_skim.ts +11 -0
  787. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_swap.ts +16 -0
  788. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_symbol.ts +11 -0
  789. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_sync.ts +11 -0
  790. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_token0.ts +11 -0
  791. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_token1.ts +11 -0
  792. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_totalSupply.ts +11 -0
  793. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_transfer.ts +14 -0
  794. package/evm/abi/uniswapV2PairAbi/uniswapV2PairAbi_transferFrom.ts +15 -0
  795. package/evm/abi/uniswapV2RouterAbi/index.ts +25 -0
  796. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi.ts +356 -0
  797. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_WETH.ts +9 -0
  798. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_addLiquidity.ts +22 -0
  799. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_addLiquidityETH.ts +20 -0
  800. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_factory.ts +9 -0
  801. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_getAmountIn.ts +13 -0
  802. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_getAmountOut.ts +13 -0
  803. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_getAmountsIn.ts +14 -0
  804. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_getAmountsOut.ts +14 -0
  805. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_quote.ts +13 -0
  806. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_removeLiquidity.ts +20 -0
  807. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_removeLiquidityETH.ts +19 -0
  808. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_removeLiquidityETHSupportingFeeOnTransferTokens.ts +19 -0
  809. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_removeLiquidityETHWithPermit.ts +23 -0
  810. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_removeLiquidityETHWithPermitSupportingFeeOnTransferTokens.ts +23 -0
  811. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_removeLiquidityWithPermit.ts +24 -0
  812. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_swapETHForExactTokens.ts +16 -0
  813. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_swapExactETHForTokens.ts +16 -0
  814. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_swapExactETHForTokensSupportingFeeOnTransferTokens.ts +15 -0
  815. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_swapExactTokensForETH.ts +17 -0
  816. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_swapExactTokensForETHSupportingFeeOnTransferTokens.ts +16 -0
  817. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_swapExactTokensForTokens.ts +17 -0
  818. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_swapExactTokensForTokensSupportingFeeOnTransferTokens.ts +16 -0
  819. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_swapTokensForExactETH.ts +17 -0
  820. package/evm/abi/uniswapV2RouterAbi/uniswapV2RouterAbi_swapTokensForExactTokens.ts +17 -0
  821. package/evm/abi/uniswapV3FactoryAbi/index.ts +7 -0
  822. package/evm/abi/uniswapV3FactoryAbi/uniswapV3FactoryAbi_createPool.ts +13 -0
  823. package/evm/abi/uniswapV3FactoryAbi/uniswapV3FactoryAbi_enableFeeAmount.ts +12 -0
  824. package/evm/abi/uniswapV3FactoryAbi/uniswapV3FactoryAbi_feeAmountTickSpacing.ts +9 -0
  825. package/evm/abi/uniswapV3FactoryAbi/uniswapV3FactoryAbi_getPool.ts +13 -0
  826. package/evm/abi/uniswapV3FactoryAbi/uniswapV3FactoryAbi_owner.ts +9 -0
  827. package/evm/abi/uniswapV3FactoryAbi/uniswapV3FactoryAbi_parameters.ts +15 -0
  828. package/evm/abi/uniswapV3FactoryAbi/uniswapV3FactoryAbi_setOwner.ts +9 -0
  829. package/evm/abi/uniswapV3PoolAbi/index.ts +26 -0
  830. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_burn.ts +16 -0
  831. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_collect.ts +18 -0
  832. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_collectProtocol.ts +16 -0
  833. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_factory.ts +9 -0
  834. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_fee.ts +9 -0
  835. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_feeGrowthGlobal0X128.ts +9 -0
  836. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_feeGrowthGlobal1X128.ts +9 -0
  837. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_flash.ts +14 -0
  838. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_increaseObservationCardinalityNext.ts +15 -0
  839. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_initialize.ts +11 -0
  840. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_liquidity.ts +9 -0
  841. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_maxLiquidityPerTick.ts +9 -0
  842. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_mint.ts +18 -0
  843. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_observations.ts +18 -0
  844. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_observe.ts +18 -0
  845. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_positions.ts +23 -0
  846. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_protocolFees.ts +12 -0
  847. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_setFeeProtocol.ts +12 -0
  848. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_slot0.ts +25 -0
  849. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_snapshotCumulativesInside.ts +20 -0
  850. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_swap.ts +18 -0
  851. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_tickBitmap.ts +9 -0
  852. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_tickSpacing.ts +9 -0
  853. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_ticks.ts +30 -0
  854. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_token0.ts +9 -0
  855. package/evm/abi/uniswapV3PoolAbi/uniswapV3PoolAbi_token1.ts +9 -0
  856. package/evm/abi/v3baseAbi/index.ts +4 -0
  857. package/evm/abi/v3baseAbi/v3baseAbi_fee.ts +9 -0
  858. package/evm/abi/v3baseAbi/v3baseAbi_liquidity.ts +9 -0
  859. package/evm/abi/v3baseAbi/v3baseAbi_token0.ts +9 -0
  860. package/evm/abi/v3baseAbi/v3baseAbi_token1.ts +9 -0
  861. package/evm/abi/weth9Abi/index.ts +11 -0
  862. package/evm/abi/weth9Abi/weth9Abi_allowance.ts +14 -0
  863. package/evm/abi/weth9Abi/weth9Abi_approve.ts +14 -0
  864. package/evm/abi/weth9Abi/weth9Abi_balanceOf.ts +11 -0
  865. package/evm/abi/weth9Abi/weth9Abi_decimals.ts +11 -0
  866. package/evm/abi/weth9Abi/weth9Abi_deposit.ts +11 -0
  867. package/evm/abi/weth9Abi/weth9Abi_name.ts +11 -0
  868. package/evm/abi/weth9Abi/weth9Abi_symbol.ts +11 -0
  869. package/evm/abi/weth9Abi/weth9Abi_totalSupply.ts +11 -0
  870. package/evm/abi/weth9Abi/weth9Abi_transfer.ts +14 -0
  871. package/evm/abi/weth9Abi/weth9Abi_transferFrom.ts +15 -0
  872. package/evm/abi/weth9Abi/weth9Abi_withdraw.ts +11 -0
  873. package/evm/abi/xsushiAbi/index.ts +14 -0
  874. package/evm/abi/xsushiAbi/xsushiAbi_allowance.ts +12 -0
  875. package/evm/abi/xsushiAbi/xsushiAbi_approve.ts +12 -0
  876. package/evm/abi/xsushiAbi/xsushiAbi_balanceOf.ts +9 -0
  877. package/evm/abi/xsushiAbi/xsushiAbi_decimals.ts +9 -0
  878. package/evm/abi/xsushiAbi/xsushiAbi_decreaseAllowance.ts +12 -0
  879. package/evm/abi/xsushiAbi/xsushiAbi_enter.ts +9 -0
  880. package/evm/abi/xsushiAbi/xsushiAbi_increaseAllowance.ts +12 -0
  881. package/evm/abi/xsushiAbi/xsushiAbi_leave.ts +9 -0
  882. package/evm/abi/xsushiAbi/xsushiAbi_name.ts +9 -0
  883. package/evm/abi/xsushiAbi/xsushiAbi_sushi.ts +9 -0
  884. package/evm/abi/xsushiAbi/xsushiAbi_symbol.ts +9 -0
  885. package/evm/abi/xsushiAbi/xsushiAbi_totalSupply.ts +9 -0
  886. package/evm/abi/xsushiAbi/xsushiAbi_transfer.ts +12 -0
  887. package/evm/abi/xsushiAbi/xsushiAbi_transferFrom.ts +13 -0
  888. package/evm/api/config.ts +23 -0
  889. package/evm/api/index.ts +3 -0
  890. package/evm/api/price.test.ts +17 -0
  891. package/evm/api/price.ts +19 -0
  892. package/evm/api/quote.test.ts +42 -0
  893. package/evm/api/quote.ts +136 -0
  894. package/evm/api/swap.test.ts +48 -0
  895. package/evm/api/swap.ts +156 -0
  896. package/evm/api/types.ts +15 -0
  897. package/evm/chain/chains.ts +552 -0
  898. package/evm/chain/define-chain.ts +168 -0
  899. package/evm/chain/index.ts +2 -0
  900. package/evm/config/drpc.ts +88 -0
  901. package/evm/config/features/aggregator.ts +20 -0
  902. package/evm/config/features/blade.ts +17 -0
  903. package/evm/config/features/extractor.ts +53 -0
  904. package/evm/config/features/fee-collector.ts +196 -0
  905. package/evm/config/features/index.ts +18 -0
  906. package/evm/config/features/master-chef.ts +13 -0
  907. package/evm/config/features/merkl.ts +28 -0
  908. package/evm/config/features/mini-chef.ts +42 -0
  909. package/evm/config/features/operations-multisig.ts +90 -0
  910. package/evm/config/features/pancakeswap-v2.ts +57 -0
  911. package/evm/config/features/pancakeswap-v3.ts +89 -0
  912. package/evm/config/features/red-snwapper.ts +100 -0
  913. package/evm/config/features/route-processor.ts +324 -0
  914. package/evm/config/features/sushiswap-v2.ts +217 -0
  915. package/evm/config/features/sushiswap-v3.ts +240 -0
  916. package/evm/config/features/sushiswap.ts +23 -0
  917. package/evm/config/features/token-security.ts +31 -0
  918. package/evm/config/features/uniswap-v2.ts +35 -0
  919. package/evm/config/features/uniswap-v3.test.ts +23 -0
  920. package/evm/config/features/uniswap-v3.ts +124 -0
  921. package/evm/config/index.ts +4 -0
  922. package/evm/config/simple-constants.ts +5 -0
  923. package/evm/config/subgraphs/get-subgraph-url.ts +109 -0
  924. package/evm/config/subgraphs/hosts.ts +36 -0
  925. package/evm/config/subgraphs/index.ts +4 -0
  926. package/evm/config/subgraphs/max-first.ts +11 -0
  927. package/evm/config/subgraphs/seconds-between-blocks.ts +23 -0
  928. package/evm/config/subgraphs/subgraph-url.test.ts +32 -0
  929. package/evm/config/subgraphs/subgraphs/blade.ts +46 -0
  930. package/evm/config/subgraphs/subgraphs/blocks.ts +71 -0
  931. package/evm/config/subgraphs/subgraphs/data-api.ts +3 -0
  932. package/evm/config/subgraphs/subgraphs/index.ts +9 -0
  933. package/evm/config/subgraphs/subgraphs/master-chef-v1.ts +12 -0
  934. package/evm/config/subgraphs/subgraphs/master-chef-v2.ts +12 -0
  935. package/evm/config/subgraphs/subgraphs/mini-chef.ts +28 -0
  936. package/evm/config/subgraphs/subgraphs/sushi-bar.ts +12 -0
  937. package/evm/config/subgraphs/subgraphs/sushiswap-v2.ts +77 -0
  938. package/evm/config/subgraphs/subgraphs/sushiswap-v3.ts +78 -0
  939. package/evm/config/tokens/address-map-to-token-map.ts +33 -0
  940. package/evm/config/tokens/index.ts +3 -0
  941. package/evm/config/tokens/token-maps/additional-bases.ts +203 -0
  942. package/evm/config/tokens/token-maps/bases-to-check-trades-against.ts +613 -0
  943. package/evm/config/tokens/token-maps/custom-bases.ts +18 -0
  944. package/evm/config/tokens/token-maps/default-bases.ts +419 -0
  945. package/evm/config/tokens/token-maps/default-quote.ts +80 -0
  946. package/evm/config/tokens/token-maps/index.ts +8 -0
  947. package/evm/config/tokens/token-maps/lsds.ts +381 -0
  948. package/evm/config/tokens/token-maps/short-name-to-currency.ts +302 -0
  949. package/evm/config/tokens/token-maps/stables.ts +260 -0
  950. package/evm/config/tokens/tokens/AAVE.ts +21 -0
  951. package/evm/config/tokens/tokens/AERO.ts +11 -0
  952. package/evm/config/tokens/tokens/AGEUR.ts +22 -0
  953. package/evm/config/tokens/tokens/AMPL.ts +11 -0
  954. package/evm/config/tokens/tokens/ANKR.ts +15 -0
  955. package/evm/config/tokens/tokens/APE.ts +15 -0
  956. package/evm/config/tokens/tokens/ARB.ts +17 -0
  957. package/evm/config/tokens/tokens/AUSD.ts +16 -0
  958. package/evm/config/tokens/tokens/BAL.ts +15 -0
  959. package/evm/config/tokens/tokens/BCT.ts +15 -0
  960. package/evm/config/tokens/tokens/BUSD.ts +16 -0
  961. package/evm/config/tokens/tokens/COMP.ts +15 -0
  962. package/evm/config/tokens/tokens/CRV.ts +18 -0
  963. package/evm/config/tokens/tokens/DAI.ts +37 -0
  964. package/evm/config/tokens/tokens/DOC.ts +11 -0
  965. package/evm/config/tokens/tokens/ENJ.ts +16 -0
  966. package/evm/config/tokens/tokens/FEI.ts +15 -0
  967. package/evm/config/tokens/tokens/FRAX.ts +24 -0
  968. package/evm/config/tokens/tokens/FXS.ts +23 -0
  969. package/evm/config/tokens/tokens/GALA.ts +15 -0
  970. package/evm/config/tokens/tokens/GNO.ts +15 -0
  971. package/evm/config/tokens/tokens/GNS.ts +15 -0
  972. package/evm/config/tokens/tokens/GRT.ts +15 -0
  973. package/evm/config/tokens/tokens/GUSD.ts +11 -0
  974. package/evm/config/tokens/tokens/JPY.ts +18 -0
  975. package/evm/config/tokens/tokens/JUGNI.ts +15 -0
  976. package/evm/config/tokens/tokens/KLIMA.ts +15 -0
  977. package/evm/config/tokens/tokens/KNCv2.ts +15 -0
  978. package/evm/config/tokens/tokens/KP3R.ts +15 -0
  979. package/evm/config/tokens/tokens/LDO.ts +15 -0
  980. package/evm/config/tokens/tokens/LINK.ts +22 -0
  981. package/evm/config/tokens/tokens/LUSD.ts +16 -0
  982. package/evm/config/tokens/tokens/MAI.ts +27 -0
  983. package/evm/config/tokens/tokens/MANA.ts +15 -0
  984. package/evm/config/tokens/tokens/MATIC.ts +15 -0
  985. package/evm/config/tokens/tokens/METH.ts +16 -0
  986. package/evm/config/tokens/tokens/MIM.ts +20 -0
  987. package/evm/config/tokens/tokens/MKR.ts +18 -0
  988. package/evm/config/tokens/tokens/NFTX.ts +15 -0
  989. package/evm/config/tokens/tokens/OCEAN.ts +15 -0
  990. package/evm/config/tokens/tokens/OHM.ts +15 -0
  991. package/evm/config/tokens/tokens/OP.ts +15 -0
  992. package/evm/config/tokens/tokens/OPTICS_USDC.ts +15 -0
  993. package/evm/config/tokens/tokens/PRIMATE.ts +15 -0
  994. package/evm/config/tokens/tokens/QUICK.ts +15 -0
  995. package/evm/config/tokens/tokens/RBTC.ts +15 -0
  996. package/evm/config/tokens/tokens/RNDR.ts +15 -0
  997. package/evm/config/tokens/tokens/SAND.ts +15 -0
  998. package/evm/config/tokens/tokens/SGETH.ts +19 -0
  999. package/evm/config/tokens/tokens/SGUSDC.ts +19 -0
  1000. package/evm/config/tokens/tokens/SKL.ts +11 -0
  1001. package/evm/config/tokens/tokens/SNX.ts +20 -0
  1002. package/evm/config/tokens/tokens/STG.ts +15 -0
  1003. package/evm/config/tokens/tokens/STONE.ts +15 -0
  1004. package/evm/config/tokens/tokens/SUSHI.ts +30 -0
  1005. package/evm/config/tokens/tokens/SWISE.ts +15 -0
  1006. package/evm/config/tokens/tokens/SolvBTC.ts +16 -0
  1007. package/evm/config/tokens/tokens/TEL.ts +15 -0
  1008. package/evm/config/tokens/tokens/TRIBE.ts +15 -0
  1009. package/evm/config/tokens/tokens/TUSD.ts +15 -0
  1010. package/evm/config/tokens/tokens/UNI.ts +22 -0
  1011. package/evm/config/tokens/tokens/USDB.ts +15 -0
  1012. package/evm/config/tokens/tokens/USDC.ts +89 -0
  1013. package/evm/config/tokens/tokens/USDP.ts +15 -0
  1014. package/evm/config/tokens/tokens/USDPLUS.ts +15 -0
  1015. package/evm/config/tokens/tokens/USDT.ts +97 -0
  1016. package/evm/config/tokens/tokens/USDT0.ts +19 -0
  1017. package/evm/config/tokens/tokens/USD_PLUS.ts +15 -0
  1018. package/evm/config/tokens/tokens/USDe.ts +18 -0
  1019. package/evm/config/tokens/tokens/WAVAX.ts +15 -0
  1020. package/evm/config/tokens/tokens/WBTC.ts +38 -0
  1021. package/evm/config/tokens/tokens/WETH9.ts +64 -0
  1022. package/evm/config/tokens/tokens/WRBTC.ts +15 -0
  1023. package/evm/config/tokens/tokens/WstETH.ts +21 -0
  1024. package/evm/config/tokens/tokens/XSUSHI.ts +16 -0
  1025. package/evm/config/tokens/tokens/YFI.ts +20 -0
  1026. package/evm/config/tokens/tokens/ape/ETH.ts +11 -0
  1027. package/evm/config/tokens/tokens/ape/USD.ts +11 -0
  1028. package/evm/config/tokens/tokens/ape/index.ts +2 -0
  1029. package/evm/config/tokens/tokens/axlDAI.ts +27 -0
  1030. package/evm/config/tokens/tokens/axlETH.ts +16 -0
  1031. package/evm/config/tokens/tokens/axlUSDC.ts +29 -0
  1032. package/evm/config/tokens/tokens/axlUSDT.ts +15 -0
  1033. package/evm/config/tokens/tokens/axlWBTC.ts +16 -0
  1034. package/evm/config/tokens/tokens/base/USDbC.ts +11 -0
  1035. package/evm/config/tokens/tokens/base/index.ts +1 -0
  1036. package/evm/config/tokens/tokens/bttc/USDC_BSC.ts +15 -0
  1037. package/evm/config/tokens/tokens/bttc/USDC_Ethereum.ts +11 -0
  1038. package/evm/config/tokens/tokens/bttc/USDC_Tron.ts +11 -0
  1039. package/evm/config/tokens/tokens/bttc/USDT_BSC.ts +11 -0
  1040. package/evm/config/tokens/tokens/bttc/USDT_Ethereum.ts +11 -0
  1041. package/evm/config/tokens/tokens/bttc/USDT_Tron.ts +11 -0
  1042. package/evm/config/tokens/tokens/bttc/index.ts +6 -0
  1043. package/evm/config/tokens/tokens/ethereum/CRV_FRAX.ts +11 -0
  1044. package/evm/config/tokens/tokens/ethereum/CRV_REN_WSBTC.ts +11 -0
  1045. package/evm/config/tokens/tokens/ethereum/CRV_USD.ts +11 -0
  1046. package/evm/config/tokens/tokens/ethereum/STETH.ts +11 -0
  1047. package/evm/config/tokens/tokens/ethereum/THREE_CRV.ts +11 -0
  1048. package/evm/config/tokens/tokens/ethereum/index.ts +5 -0
  1049. package/evm/config/tokens/tokens/filecoin/USDC.Celer.ts +11 -0
  1050. package/evm/config/tokens/tokens/filecoin/USDT.Celer.ts +11 -0
  1051. package/evm/config/tokens/tokens/filecoin/index.ts +2 -0
  1052. package/evm/config/tokens/tokens/index.ts +93 -0
  1053. package/evm/config/tokens/tokens/rETH.ts +22 -0
  1054. package/evm/config/tokens/tokens/rETH2.ts +15 -0
  1055. package/evm/config/tokens/tokens/renBTC.ts +15 -0
  1056. package/evm/config/tokens/tokens/sETH2.ts +15 -0
  1057. package/evm/config/tokens/tokens/thundercore/anyBUSD.ts +11 -0
  1058. package/evm/config/tokens/tokens/thundercore/anyUSDC.ts +11 -0
  1059. package/evm/config/tokens/tokens/thundercore/anyUSDT.ts +11 -0
  1060. package/evm/config/tokens/tokens/thundercore/index.ts +3 -0
  1061. package/evm/config/tokens/tokens/xSolvBTC.ts +16 -0
  1062. package/evm/config/tokens/tokens/zeta/USDC.BSC.ts +11 -0
  1063. package/evm/config/tokens/tokens/zeta/USDC.ETH.ts +11 -0
  1064. package/evm/config/tokens/tokens/zeta/USDT.BSC.ts +11 -0
  1065. package/evm/config/tokens/tokens/zeta/USDT.ETH.ts +11 -0
  1066. package/evm/config/tokens/tokens/zeta/index.ts +4 -0
  1067. package/evm/config/tokens/wrapped-native.ts +250 -0
  1068. package/evm/currency/currency.ts +15 -0
  1069. package/evm/currency/deserialize-currency.ts +17 -0
  1070. package/evm/currency/index.ts +5 -0
  1071. package/evm/currency/native.ts +50 -0
  1072. package/evm/currency/token.ts +81 -0
  1073. package/evm/currency/unwrap-token.ts +18 -0
  1074. package/evm/dex/errors.ts +30 -0
  1075. package/evm/dex/fee.ts +13 -0
  1076. package/evm/dex/index.ts +5 -0
  1077. package/evm/dex/pool.ts +50 -0
  1078. package/evm/dex/router-liquidity-source.ts +4 -0
  1079. package/evm/dex/trade-type.ts +4 -0
  1080. package/evm/format/address.ts +6 -0
  1081. package/evm/format/hash.ts +10 -0
  1082. package/evm/format/index.ts +2 -0
  1083. package/evm/index.ts +12 -0
  1084. package/evm/pool/index.ts +2 -0
  1085. package/evm/pool/sushiswap-v2/compute-sushiswap-v2-pool-address.ts +49 -0
  1086. package/evm/pool/sushiswap-v2/index.ts +3 -0
  1087. package/evm/pool/sushiswap-v2/sushiswap-v2-pool.test.ts +636 -0
  1088. package/evm/pool/sushiswap-v2/sushiswap-v2-pool.ts +301 -0
  1089. package/evm/pool/sushiswap-v2/zod.ts +10 -0
  1090. package/evm/pool/sushiswap-v3/entities/Multicall.test.ts +26 -0
  1091. package/evm/pool/sushiswap-v3/entities/Multicall.ts +25 -0
  1092. package/evm/pool/sushiswap-v3/entities/NonfungiblePositionManager.test.ts +799 -0
  1093. package/evm/pool/sushiswap-v3/entities/NonfungiblePositionManager.ts +543 -0
  1094. package/evm/pool/sushiswap-v3/entities/Payments.test.ts +64 -0
  1095. package/evm/pool/sushiswap-v3/entities/Payments.ts +92 -0
  1096. package/evm/pool/sushiswap-v3/entities/Position.test.ts +600 -0
  1097. package/evm/pool/sushiswap-v3/entities/Position.ts +440 -0
  1098. package/evm/pool/sushiswap-v3/entities/SelfPermit.test.ts +47 -0
  1099. package/evm/pool/sushiswap-v3/entities/SelfPermit.ts +68 -0
  1100. package/evm/pool/sushiswap-v3/entities/SushiSwapV3Pool.test.ts +450 -0
  1101. package/evm/pool/sushiswap-v3/entities/SushiSwapV3Pool.ts +386 -0
  1102. package/evm/pool/sushiswap-v3/entities/Tick.test.ts +29 -0
  1103. package/evm/pool/sushiswap-v3/entities/Tick.ts +22 -0
  1104. package/evm/pool/sushiswap-v3/entities/TickDataProvider.test.ts +18 -0
  1105. package/evm/pool/sushiswap-v3/entities/TickDataProvider.ts +43 -0
  1106. package/evm/pool/sushiswap-v3/entities/TickListDataProvider.test.ts +64 -0
  1107. package/evm/pool/sushiswap-v3/entities/TickListDataProvider.ts +38 -0
  1108. package/evm/pool/sushiswap-v3/entities/index.ts +8 -0
  1109. package/evm/pool/sushiswap-v3/index.ts +2 -0
  1110. package/evm/pool/sushiswap-v3/internalConstants.ts +3 -0
  1111. package/evm/pool/sushiswap-v3/utils/calldata.ts +13 -0
  1112. package/evm/pool/sushiswap-v3/utils/computePoolAddress.test.ts +94 -0
  1113. package/evm/pool/sushiswap-v3/utils/computePoolAddress.ts +86 -0
  1114. package/evm/pool/sushiswap-v3/utils/encodeSqrtRatioX96.test.ts +27 -0
  1115. package/evm/pool/sushiswap-v3/utils/encodeSqrtRatioX96.ts +18 -0
  1116. package/evm/pool/sushiswap-v3/utils/fullMath.ts +21 -0
  1117. package/evm/pool/sushiswap-v3/utils/index.ts +18 -0
  1118. package/evm/pool/sushiswap-v3/utils/isSorted.test.ts +53 -0
  1119. package/evm/pool/sushiswap-v3/utils/isSorted.ts +17 -0
  1120. package/evm/pool/sushiswap-v3/utils/liquidityMath.ts +16 -0
  1121. package/evm/pool/sushiswap-v3/utils/maxLiquidityForAmounts.test.ts +264 -0
  1122. package/evm/pool/sushiswap-v3/utils/maxLiquidityForAmounts.ts +116 -0
  1123. package/evm/pool/sushiswap-v3/utils/misc.ts +143 -0
  1124. package/evm/pool/sushiswap-v3/utils/mostSignificantBit.test.ts +29 -0
  1125. package/evm/pool/sushiswap-v3/utils/mostSignificantBit.ts +20 -0
  1126. package/evm/pool/sushiswap-v3/utils/nearestUsableTick.test.ts +55 -0
  1127. package/evm/pool/sushiswap-v3/utils/nearestUsableTick.ts +20 -0
  1128. package/evm/pool/sushiswap-v3/utils/position.test.ts +30 -0
  1129. package/evm/pool/sushiswap-v3/utils/position.ts +29 -0
  1130. package/evm/pool/sushiswap-v3/utils/priceTickConversions.test.ts +190 -0
  1131. package/evm/pool/sushiswap-v3/utils/priceTickConversions.ts +62 -0
  1132. package/evm/pool/sushiswap-v3/utils/sqrtPriceMath.ts +162 -0
  1133. package/evm/pool/sushiswap-v3/utils/swapMath.ts +140 -0
  1134. package/evm/pool/sushiswap-v3/utils/tickLibrary.test.ts +90 -0
  1135. package/evm/pool/sushiswap-v3/utils/tickLibrary.ts +76 -0
  1136. package/evm/pool/sushiswap-v3/utils/tickList.test.ts +216 -0
  1137. package/evm/pool/sushiswap-v3/utils/tickList.ts +143 -0
  1138. package/evm/pool/sushiswap-v3/utils/tickMath.test.ts +63 -0
  1139. package/evm/pool/sushiswap-v3/utils/tickMath.ts +146 -0
  1140. package/evm/pool/sushiswap-v3/utils/validateAndParseAddress.ts +13 -0
  1141. package/evm/token-list/constants.ts +94 -0
  1142. package/evm/token-list/index.ts +2 -0
  1143. package/evm/types/contract.ts +6 -0
  1144. package/evm/types/id.ts +9 -0
  1145. package/evm/types/index.ts +4 -0
  1146. package/evm/types/sushi-pool/index.ts +12 -0
  1147. package/evm/types/sushi-pool/maybe-nested-pool.ts +13 -0
  1148. package/evm/types/sushi-pool/pool-base.ts +27 -0
  1149. package/evm/types/sushi-pool/pool-history.ts +44 -0
  1150. package/evm/types/sushi-pool/pool-id.ts +12 -0
  1151. package/evm/types/sushi-pool/pool-if-incentivized.ts +21 -0
  1152. package/evm/types/sushi-pool/pool-swap-fee.ts +5 -0
  1153. package/evm/types/sushi-pool/pool-v2.ts +13 -0
  1154. package/evm/types/sushi-pool/pool-v3.ts +22 -0
  1155. package/evm/types/sushi-pool/pool-with-aprs.ts +24 -0
  1156. package/evm/types/sushi-pool/pool-with-buckets.ts +15 -0
  1157. package/evm/types/sushi-pool/pool-with-incentives.ts +36 -0
  1158. package/evm/types/sushi-pool/protocol.ts +10 -0
  1159. package/evm/types/sushi-position/index.ts +3 -0
  1160. package/evm/types/sushi-position/sushi-position-base.ts +8 -0
  1161. package/evm/types/sushi-position/sushi-position-staked.ts +7 -0
  1162. package/evm/types/sushi-position/sushi-position-with-pool.ts +9 -0
  1163. package/evm/utils/add-gas-margin.ts +3 -0
  1164. package/evm/utils/get-create-2-address.ts +48 -0
  1165. package/evm/utils/index.ts +2 -0
  1166. package/evm/validate/index.ts +1 -0
  1167. package/evm/validate/zod.ts +11 -0
  1168. package/generic/chain/chains.test.ts +48 -0
  1169. package/generic/chain/chains.ts +86 -0
  1170. package/generic/chain/index.ts +2 -0
  1171. package/generic/chain/interface.ts +43 -0
  1172. package/generic/currency/amount.test-d.ts +93 -0
  1173. package/generic/currency/amount.test.ts +508 -0
  1174. package/generic/currency/amount.ts +254 -0
  1175. package/generic/currency/currency.test-d.ts +275 -0
  1176. package/generic/currency/currency.ts +72 -0
  1177. package/generic/currency/index.ts +7 -0
  1178. package/generic/currency/native.ts +18 -0
  1179. package/generic/currency/price.ts +77 -0
  1180. package/generic/currency/serialized-currency.ts +28 -0
  1181. package/generic/currency/token.ts +42 -0
  1182. package/generic/currency/unwrap-token.ts +27 -0
  1183. package/generic/format/index.ts +3 -0
  1184. package/generic/format/number.test.ts +113 -0
  1185. package/generic/format/number.ts +204 -0
  1186. package/generic/format/percent.ts +27 -0
  1187. package/generic/format/price.ts +57 -0
  1188. package/generic/index.ts +7 -0
  1189. package/generic/math/abs.ts +3 -0
  1190. package/generic/math/constants.ts +26 -0
  1191. package/generic/math/difference.ts +6 -0
  1192. package/generic/math/fraction.test.ts +209 -0
  1193. package/generic/math/fraction.ts +191 -0
  1194. package/generic/math/index.ts +9 -0
  1195. package/generic/math/maximum.ts +15 -0
  1196. package/generic/math/minimum.ts +20 -0
  1197. package/generic/math/number-to-bigint.test.ts +162 -0
  1198. package/generic/math/number-to-bigint.ts +11 -0
  1199. package/generic/math/percent.ts +25 -0
  1200. package/generic/math/sqrt.ts +25 -0
  1201. package/generic/types/bigintish.ts +1 -0
  1202. package/generic/types/id.ts +9 -0
  1203. package/generic/types/index.ts +5 -0
  1204. package/generic/types/mutable.ts +3 -0
  1205. package/generic/types/replace.ts +8 -0
  1206. package/generic/types/union-to-intersection.ts +7 -0
  1207. package/generic/utils/id.ts +41 -0
  1208. package/generic/utils/index.ts +3 -0
  1209. package/generic/utils/lowercase-map.ts +14 -0
  1210. package/generic/utils/subtract-slippage.test.ts +64 -0
  1211. package/generic/utils/subtract-slippage.ts +20 -0
  1212. package/generic/validate/index.ts +3 -0
  1213. package/generic/validate/isPromiseFulfilled.ts +3 -0
  1214. package/generic/validate/isPromiseRejected.ts +3 -0
  1215. package/generic/validate/zod.ts +16 -0
  1216. package/mvm/chain/chains.ts +103 -0
  1217. package/mvm/chain/define-chain.ts +42 -0
  1218. package/mvm/chain/index.ts +2 -0
  1219. package/mvm/currency/index.ts +1 -0
  1220. package/mvm/currency/token.ts +45 -0
  1221. package/mvm/index.ts +2 -0
  1222. package/package.json +16 -12
  1223. package/tvm/abi/factoryAbi/factoryAbi.ts +189 -0
  1224. package/tvm/abi/factoryAbi/factoryAbi_PairCreated.ts +33 -0
  1225. package/tvm/abi/factoryAbi/factoryAbi_allPairs.ts +21 -0
  1226. package/tvm/abi/factoryAbi/factoryAbi_allPairsLength.ts +15 -0
  1227. package/tvm/abi/factoryAbi/factoryAbi_constructor.ts +13 -0
  1228. package/tvm/abi/factoryAbi/factoryAbi_createPair.ts +26 -0
  1229. package/tvm/abi/factoryAbi/factoryAbi_feeTo.ts +15 -0
  1230. package/tvm/abi/factoryAbi/factoryAbi_feeToSetter.ts +15 -0
  1231. package/tvm/abi/factoryAbi/factoryAbi_getPair.ts +26 -0
  1232. package/tvm/abi/factoryAbi/factoryAbi_getPairHash.ts +15 -0
  1233. package/tvm/abi/factoryAbi/factoryAbi_setFeeTo.ts +15 -0
  1234. package/tvm/abi/factoryAbi/factoryAbi_setFeeToSetter.ts +15 -0
  1235. package/tvm/abi/factoryAbi/index.ts +12 -0
  1236. package/tvm/abi/index.ts +6 -0
  1237. package/tvm/abi/multicallAbi/index.ts +14 -0
  1238. package/tvm/abi/multicallAbi/multicallAbi.ts +229 -0
  1239. package/tvm/abi/multicallAbi/multicallAbi_aggregate.ts +36 -0
  1240. package/tvm/abi/multicallAbi/multicallAbi_getBasefee.ts +13 -0
  1241. package/tvm/abi/multicallAbi/multicallAbi_getBlockHash.ts +19 -0
  1242. package/tvm/abi/multicallAbi/multicallAbi_getBlockNumber.ts +13 -0
  1243. package/tvm/abi/multicallAbi/multicallAbi_getChainId.ts +13 -0
  1244. package/tvm/abi/multicallAbi/multicallAbi_getCurrentBlockCoinbase.ts +13 -0
  1245. package/tvm/abi/multicallAbi/multicallAbi_getCurrentBlockDifficulty.ts +13 -0
  1246. package/tvm/abi/multicallAbi/multicallAbi_getCurrentBlockTimestamp.ts +13 -0
  1247. package/tvm/abi/multicallAbi/multicallAbi_getEthBalance.ts +19 -0
  1248. package/tvm/abi/multicallAbi/multicallAbi_getLastBlockHash.ts +13 -0
  1249. package/tvm/abi/multicallAbi/multicallAbi_getTokenBalance.ts +24 -0
  1250. package/tvm/abi/multicallAbi/multicallAbi_isContract.ts +19 -0
  1251. package/tvm/abi/multicallAbi/multicallAbi_multicall.ts +19 -0
  1252. package/tvm/abi/pairAbi/index.ts +34 -0
  1253. package/tvm/abi/pairAbi/pairAbi.ts +658 -0
  1254. package/tvm/abi/pairAbi/pairAbi_Approval.ts +25 -0
  1255. package/tvm/abi/pairAbi/pairAbi_BurnEvent.ts +31 -0
  1256. package/tvm/abi/pairAbi/pairAbi_DOMAIN_SEPARATOR.ts +13 -0
  1257. package/tvm/abi/pairAbi/pairAbi_MINIMUM_LIQUIDITY.ts +13 -0
  1258. package/tvm/abi/pairAbi/pairAbi_MintEvent.ts +25 -0
  1259. package/tvm/abi/pairAbi/pairAbi_PERMIT_TYPEHASH.ts +13 -0
  1260. package/tvm/abi/pairAbi/pairAbi_SwapEvent.ts +43 -0
  1261. package/tvm/abi/pairAbi/pairAbi_SyncEvent.ts +19 -0
  1262. package/tvm/abi/pairAbi/pairAbi_TransferEvent.ts +25 -0
  1263. package/tvm/abi/pairAbi/pairAbi_allowance.ts +24 -0
  1264. package/tvm/abi/pairAbi/pairAbi_approve.ts +24 -0
  1265. package/tvm/abi/pairAbi/pairAbi_balanceOf.ts +19 -0
  1266. package/tvm/abi/pairAbi/pairAbi_burn.ts +24 -0
  1267. package/tvm/abi/pairAbi/pairAbi_decimals.ts +13 -0
  1268. package/tvm/abi/pairAbi/pairAbi_factory.ts +13 -0
  1269. package/tvm/abi/pairAbi/pairAbi_getReserves.ts +23 -0
  1270. package/tvm/abi/pairAbi/pairAbi_initialize.ts +18 -0
  1271. package/tvm/abi/pairAbi/pairAbi_kLast.ts +13 -0
  1272. package/tvm/abi/pairAbi/pairAbi_mint.ts +19 -0
  1273. package/tvm/abi/pairAbi/pairAbi_name.ts +13 -0
  1274. package/tvm/abi/pairAbi/pairAbi_nonces.ts +19 -0
  1275. package/tvm/abi/pairAbi/pairAbi_permit.ts +43 -0
  1276. package/tvm/abi/pairAbi/pairAbi_price0CumulativeLast.ts +13 -0
  1277. package/tvm/abi/pairAbi/pairAbi_price1CumulativeLast.ts +13 -0
  1278. package/tvm/abi/pairAbi/pairAbi_skim.ts +13 -0
  1279. package/tvm/abi/pairAbi/pairAbi_swap.ts +28 -0
  1280. package/tvm/abi/pairAbi/pairAbi_symbol.ts +13 -0
  1281. package/tvm/abi/pairAbi/pairAbi_sync.ts +7 -0
  1282. package/tvm/abi/pairAbi/pairAbi_token0.ts +13 -0
  1283. package/tvm/abi/pairAbi/pairAbi_token1.ts +13 -0
  1284. package/tvm/abi/pairAbi/pairAbi_totalSupply.ts +13 -0
  1285. package/tvm/abi/pairAbi/pairAbi_transfer.ts +24 -0
  1286. package/tvm/abi/pairAbi/pairAbi_transferFrom.ts +29 -0
  1287. package/tvm/abi/routerAbi/index.ts +23 -0
  1288. package/tvm/abi/routerAbi/routerAbi.ts +896 -0
  1289. package/tvm/abi/routerAbi/routerAbi_WETH.ts +13 -0
  1290. package/tvm/abi/routerAbi/routerAbi_addLiquidity.ts +64 -0
  1291. package/tvm/abi/routerAbi/routerAbi_addLiquidityETH.ts +54 -0
  1292. package/tvm/abi/routerAbi/routerAbi_factory.ts +13 -0
  1293. package/tvm/abi/routerAbi/routerAbi_getAmountIn.ts +29 -0
  1294. package/tvm/abi/routerAbi/routerAbi_getAmountOut.ts +29 -0
  1295. package/tvm/abi/routerAbi/routerAbi_getAmountsIn.ts +24 -0
  1296. package/tvm/abi/routerAbi/routerAbi_getAmountsOut.ts +24 -0
  1297. package/tvm/abi/routerAbi/routerAbi_quote.ts +29 -0
  1298. package/tvm/abi/routerAbi/routerAbi_removeLiquidity.ts +54 -0
  1299. package/tvm/abi/routerAbi/routerAbi_removeLiquidityETH.ts +49 -0
  1300. package/tvm/abi/routerAbi/routerAbi_removeLiquidityETHWithPermit.ts +69 -0
  1301. package/tvm/abi/routerAbi/routerAbi_removeLiquidityETHWithPermitSupportingFeeOnTransferTokens.ts +65 -0
  1302. package/tvm/abi/routerAbi/routerAbi_removeLiquidityWithPermit.ts +74 -0
  1303. package/tvm/abi/routerAbi/routerAbi_swapETHForExactTokens.ts +34 -0
  1304. package/tvm/abi/routerAbi/routerAbi_swapExactETHForTokens.ts +34 -0
  1305. package/tvm/abi/routerAbi/routerAbi_swapExactETHForTokensSupportingFeeOnTransferTokens.ts +28 -0
  1306. package/tvm/abi/routerAbi/routerAbi_swapExactTokensForETH.ts +39 -0
  1307. package/tvm/abi/routerAbi/routerAbi_swapExactTokensForETHSupportingFeeOnTransferTokens.ts +33 -0
  1308. package/tvm/abi/routerAbi/routerAbi_swapExactTokensForTokens.ts +39 -0
  1309. package/tvm/abi/routerAbi/routerAbi_swapTokensForExactETH.ts +39 -0
  1310. package/tvm/abi/routerAbi/routerAbi_swapTokensForExactTokens.ts +39 -0
  1311. package/tvm/abi/trc20Abi/index.ts +13 -0
  1312. package/tvm/abi/trc20Abi/trc20Abi.ts +222 -0
  1313. package/tvm/abi/trc20Abi/trc20Abi_Approval.ts +22 -0
  1314. package/tvm/abi/trc20Abi/trc20Abi_TransferEvent.ts +22 -0
  1315. package/tvm/abi/trc20Abi/trc20Abi_allowance.ts +23 -0
  1316. package/tvm/abi/trc20Abi/trc20Abi_approve.ts +23 -0
  1317. package/tvm/abi/trc20Abi/trc20Abi_balanceOf.ts +19 -0
  1318. package/tvm/abi/trc20Abi/trc20Abi_decimals.ts +14 -0
  1319. package/tvm/abi/trc20Abi/trc20Abi_name.ts +14 -0
  1320. package/tvm/abi/trc20Abi/trc20Abi_symbol.ts +14 -0
  1321. package/tvm/abi/trc20Abi/trc20Abi_totalSupply.ts +14 -0
  1322. package/tvm/abi/trc20Abi/trc20Abi_transfer.ts +23 -0
  1323. package/tvm/abi/trc20Abi/trc20Abi_transferFrom.ts +27 -0
  1324. package/tvm/abi/trc20Abi/trc20Abi_undefined.ts +5 -0
  1325. package/tvm/abi/wtrxAbi/index.ts +17 -0
  1326. package/tvm/abi/wtrxAbi/wtrxAbi.ts +298 -0
  1327. package/tvm/abi/wtrxAbi/wtrxAbi_Approval.ts +22 -0
  1328. package/tvm/abi/wtrxAbi/wtrxAbi_DepositEvent.ts +17 -0
  1329. package/tvm/abi/wtrxAbi/wtrxAbi_TransferEvent.ts +22 -0
  1330. package/tvm/abi/wtrxAbi/wtrxAbi_Withdrawal.ts +17 -0
  1331. package/tvm/abi/wtrxAbi/wtrxAbi_allowance.ts +23 -0
  1332. package/tvm/abi/wtrxAbi/wtrxAbi_approve.ts +19 -0
  1333. package/tvm/abi/wtrxAbi/wtrxAbi_balanceOf.ts +19 -0
  1334. package/tvm/abi/wtrxAbi/wtrxAbi_decimals.ts +14 -0
  1335. package/tvm/abi/wtrxAbi/wtrxAbi_deposit.ts +9 -0
  1336. package/tvm/abi/wtrxAbi/wtrxAbi_name.ts +14 -0
  1337. package/tvm/abi/wtrxAbi/wtrxAbi_symbol.ts +14 -0
  1338. package/tvm/abi/wtrxAbi/wtrxAbi_totalSupply.ts +14 -0
  1339. package/tvm/abi/wtrxAbi/wtrxAbi_transfer.ts +23 -0
  1340. package/tvm/abi/wtrxAbi/wtrxAbi_transferFrom.ts +27 -0
  1341. package/tvm/abi/wtrxAbi/wtrxAbi_withdraw.ts +14 -0
  1342. package/tvm/chain/chains.ts +104 -0
  1343. package/tvm/chain/define-chain.ts +42 -0
  1344. package/tvm/chain/index.ts +2 -0
  1345. package/tvm/config/features/index.ts +2 -0
  1346. package/tvm/config/features/multicall.ts +17 -0
  1347. package/tvm/config/features/swap.ts +19 -0
  1348. package/tvm/config/index.ts +2 -0
  1349. package/tvm/config/tokens/address-map-to-token-map.ts +35 -0
  1350. package/tvm/config/tokens/index.ts +3 -0
  1351. package/tvm/config/tokens/native.ts +11 -0
  1352. package/tvm/config/tokens/token-maps/default-bases.ts +17 -0
  1353. package/tvm/config/tokens/token-maps/index.ts +2 -0
  1354. package/tvm/config/tokens/token-maps/stables.ts +13 -0
  1355. package/tvm/config/tokens/tokens/$Afro.ts +16 -0
  1356. package/tvm/config/tokens/tokens/BICOIN.ts +16 -0
  1357. package/tvm/config/tokens/tokens/BOG.ts +16 -0
  1358. package/tvm/config/tokens/tokens/BTC.ts +16 -0
  1359. package/tvm/config/tokens/tokens/BTT.ts +16 -0
  1360. package/tvm/config/tokens/tokens/BULL.ts +16 -0
  1361. package/tvm/config/tokens/tokens/CDOG.ts +16 -0
  1362. package/tvm/config/tokens/tokens/CZ.ts +16 -0
  1363. package/tvm/config/tokens/tokens/CZC.ts +16 -0
  1364. package/tvm/config/tokens/tokens/DRGN.ts +16 -0
  1365. package/tvm/config/tokens/tokens/ETH.ts +16 -0
  1366. package/tvm/config/tokens/tokens/ETHOLD.ts +16 -0
  1367. package/tvm/config/tokens/tokens/FOFAR.ts +16 -0
  1368. package/tvm/config/tokens/tokens/HOTSUN.ts +16 -0
  1369. package/tvm/config/tokens/tokens/HT.ts +16 -0
  1370. package/tvm/config/tokens/tokens/HTX.ts +16 -0
  1371. package/tvm/config/tokens/tokens/IVfun.ts +16 -0
  1372. package/tvm/config/tokens/tokens/JST.ts +16 -0
  1373. package/tvm/config/tokens/tokens/LABR.ts +16 -0
  1374. package/tvm/config/tokens/tokens/LTC.ts +16 -0
  1375. package/tvm/config/tokens/tokens/MEOWKA.ts +16 -0
  1376. package/tvm/config/tokens/tokens/MOONDOG.ts +16 -0
  1377. package/tvm/config/tokens/tokens/MUNCAT.ts +16 -0
  1378. package/tvm/config/tokens/tokens/MWD.ts +16 -0
  1379. package/tvm/config/tokens/tokens/NFT.ts +16 -0
  1380. package/tvm/config/tokens/tokens/PSYOP.ts +16 -0
  1381. package/tvm/config/tokens/tokens/PUSS.ts +16 -0
  1382. package/tvm/config/tokens/tokens/ROCK.ts +16 -0
  1383. package/tvm/config/tokens/tokens/SUN.ts +16 -0
  1384. package/tvm/config/tokens/tokens/SUNCAT.ts +16 -0
  1385. package/tvm/config/tokens/tokens/SUNDOG.ts +16 -0
  1386. package/tvm/config/tokens/tokens/SUNDOGE.ts +16 -0
  1387. package/tvm/config/tokens/tokens/SUNKEY.ts +16 -0
  1388. package/tvm/config/tokens/tokens/SUNOLD.ts +16 -0
  1389. package/tvm/config/tokens/tokens/SUNWUKONG.ts +16 -0
  1390. package/tvm/config/tokens/tokens/SunJoker.ts +16 -0
  1391. package/tvm/config/tokens/tokens/TBEER.ts +16 -0
  1392. package/tvm/config/tokens/tokens/TBULL.ts +16 -0
  1393. package/tvm/config/tokens/tokens/TDOG.ts +16 -0
  1394. package/tvm/config/tokens/tokens/TRONKEY.ts +16 -0
  1395. package/tvm/config/tokens/tokens/TUSD.ts +16 -0
  1396. package/tvm/config/tokens/tokens/TWX.ts +16 -0
  1397. package/tvm/config/tokens/tokens/Tcat.ts +16 -0
  1398. package/tvm/config/tokens/tokens/USDCOLD.ts +16 -0
  1399. package/tvm/config/tokens/tokens/USDD.ts +16 -0
  1400. package/tvm/config/tokens/tokens/USDJ.ts +16 -0
  1401. package/tvm/config/tokens/tokens/USDT.ts +16 -0
  1402. package/tvm/config/tokens/tokens/VIKITA.ts +16 -0
  1403. package/tvm/config/tokens/tokens/WBTC.ts +16 -0
  1404. package/tvm/config/tokens/tokens/WBTT.ts +16 -0
  1405. package/tvm/config/tokens/tokens/WETH.ts +16 -0
  1406. package/tvm/config/tokens/tokens/WHALE.ts +16 -0
  1407. package/tvm/config/tokens/tokens/WIN.ts +16 -0
  1408. package/tvm/config/tokens/tokens/WTRX.ts +16 -0
  1409. package/tvm/config/tokens/tokens/index.ts +56 -0
  1410. package/tvm/config/tokens/tokens/sTRX.ts +16 -0
  1411. package/tvm/config/tokens/tokens/stUSDT.ts +16 -0
  1412. package/tvm/config/tokens/wrapped-native.ts +16 -0
  1413. package/tvm/currency/currency.ts +38 -0
  1414. package/tvm/currency/index.ts +4 -0
  1415. package/tvm/currency/native.ts +40 -0
  1416. package/tvm/currency/token.ts +56 -0
  1417. package/tvm/currency/unwrap-token.ts +17 -0
  1418. package/tvm/index.ts +4 -0
@@ -0,0 +1,28 @@
1
+ import * as z from 'zod'
2
+ import { serializedEvmCurrencySchema } from '../../evm/currency/currency.js'
3
+ import type { serializedEvmTokenSchema } from '../../evm/currency/token.js'
4
+ import type { serializedEvmNativeSchema } from '../../evm/index.js'
5
+ import { serializedMvmTokenSchema } from '../../mvm/currency/token.js'
6
+ import {
7
+ serializedTvmCurrencySchema,
8
+ type serializedTvmNativeSchema,
9
+ type serializedTvmTokenSchema,
10
+ } from '../../tvm/index.js'
11
+
12
+ export type SerializedCurrencySchema =
13
+ | typeof serializedEvmTokenSchema
14
+ | typeof serializedEvmNativeSchema
15
+ | typeof serializedEvmCurrencySchema
16
+ | typeof serializedMvmTokenSchema
17
+ | typeof serializedTvmTokenSchema
18
+ | typeof serializedTvmNativeSchema
19
+ | typeof serializedTvmCurrencySchema
20
+ | typeof serializedCurrencySchema
21
+
22
+ export const serializedCurrencySchema = z.union([
23
+ serializedEvmCurrencySchema,
24
+ serializedMvmTokenSchema,
25
+ serializedTvmCurrencySchema,
26
+ ])
27
+
28
+ export type SerializedCurrency = z.infer<typeof serializedCurrencySchema>
@@ -0,0 +1,42 @@
1
+ import type { ChainId } from '../chain/chains.js'
2
+ import type { ID } from '../types/id.js'
3
+ import { BaseCurrency, type CurrencyMetadata } from './currency.js'
4
+
5
+ export abstract class Token<
6
+ TChainId extends ChainId = ChainId,
7
+ TAddress extends string = string,
8
+ TMetadata extends CurrencyMetadata = Record<string, unknown>,
9
+ > extends BaseCurrency<TChainId, TMetadata, 'token'> {
10
+ override readonly type = 'token'
11
+ override readonly isNative = false
12
+ override readonly isToken = true
13
+
14
+ public readonly address: TAddress
15
+
16
+ constructor({
17
+ address,
18
+ ...rest
19
+ }: {
20
+ address: TAddress
21
+ } & ConstructorParameters<typeof BaseCurrency<TChainId, TMetadata>>[0]) {
22
+ super(rest)
23
+
24
+ this.address = address.toLowerCase() as TAddress
25
+ }
26
+
27
+ override get id(): ID<TChainId, TAddress> {
28
+ return `${this.chainId}:${this.address}`
29
+ }
30
+
31
+ public override isSame(
32
+ other: BaseCurrency<ChainId, CurrencyMetadata, string, object>,
33
+ ): boolean {
34
+ return (
35
+ super.isSame(other) &&
36
+ other instanceof Token &&
37
+ this.address.toLowerCase() === other.address.toLowerCase()
38
+ )
39
+ }
40
+
41
+ public abstract override wrap(): Token<TChainId, TAddress, TMetadata>
42
+ }
@@ -0,0 +1,27 @@
1
+ import invariant from 'tiny-invariant'
2
+ import { EvmToken } from '../../evm/currency/token.js'
3
+ import { unwrapEvmToken } from '../../evm/currency/unwrap-token.js'
4
+ import { MvmToken } from '../../mvm/currency/token.js'
5
+ import { TvmToken } from '../../tvm/currency/token.js'
6
+ import { unwrapTvmToken } from '../../tvm/currency/unwrap-token.js'
7
+ import type { Currency } from './currency.js'
8
+
9
+ export function unwrapToken<TCurrency extends Currency>(currency: TCurrency) {
10
+ if (currency.type === 'native') {
11
+ return currency
12
+ }
13
+
14
+ if (currency instanceof EvmToken) {
15
+ return unwrapEvmToken(currency)
16
+ }
17
+
18
+ if (currency instanceof TvmToken) {
19
+ return unwrapTvmToken(currency)
20
+ }
21
+
22
+ if (currency instanceof MvmToken) {
23
+ return currency
24
+ }
25
+
26
+ throw invariant('Unsupported currency type')
27
+ }
@@ -0,0 +1,3 @@
1
+ export * from './number.js'
2
+ export * from './percent.js'
3
+ export * from './price.js'
@@ -0,0 +1,113 @@
1
+ import { describe, expect, it } from 'vitest'
2
+ import { numberToFixed } from './number.js'
3
+
4
+ describe('numberToFixed', () => {
5
+ describe('fixed decimal places', () => {
6
+ it('should format numbers with fixed decimal places', () => {
7
+ expect(numberToFixed(1.234, { fixed: 2 })).toBe('1.23')
8
+ expect(numberToFixed(1.236, { fixed: 2 })).toBe('1.24')
9
+ expect(numberToFixed(1, { fixed: 2 })).toBe('1.00')
10
+ expect(numberToFixed(0, { fixed: 2 })).toBe('0.00')
11
+ })
12
+
13
+ it('should handle string inputs with fixed decimal places', () => {
14
+ expect(numberToFixed('1.234', { fixed: 2 })).toBe('1.23')
15
+ expect(numberToFixed('1.236', { fixed: 2 })).toBe('1.24')
16
+ expect(numberToFixed('1', { fixed: 2 })).toBe('1.00')
17
+ expect(numberToFixed('0', { fixed: 2 })).toBe('0.00')
18
+ })
19
+
20
+ it('should handle negative numbers with fixed decimal places', () => {
21
+ expect(numberToFixed(-1.234, { fixed: 2 })).toBe('-1.23')
22
+ expect(numberToFixed('-1.236', { fixed: 2 })).toBe('-1.24')
23
+ })
24
+
25
+ it('should handle zero decimal places', () => {
26
+ expect(numberToFixed(1.234, { fixed: 0 })).toBe('1')
27
+ expect(numberToFixed('1.234', { fixed: 0 })).toBe('1')
28
+ })
29
+ })
30
+
31
+ describe('significant digits', () => {
32
+ it('should format numbers with significant digits', () => {
33
+ expect(numberToFixed(1234.5678, { significant: 4 })).toBe('1235')
34
+ expect(numberToFixed(0.001234, { significant: 3 })).toBe('0.00123')
35
+ expect(numberToFixed(123.456, { significant: 2 })).toBe('120')
36
+ expect(numberToFixed(0, { significant: 2 })).toBe('0')
37
+ })
38
+
39
+ it('should handle string inputs with significant digits', () => {
40
+ expect(numberToFixed('1234.5678', { significant: 4 })).toBe('1235')
41
+ expect(numberToFixed('0.001234', { significant: 3 })).toBe('0.00123')
42
+ expect(numberToFixed('0.000', { significant: 2 })).toBe('0')
43
+ })
44
+ })
45
+
46
+ describe('maxFixed decimal places', () => {
47
+ it('should format numbers with maxFixed, removing trailing zeros', () => {
48
+ expect(numberToFixed(1.2, { maxFixed: 3 })).toBe('1.2')
49
+ expect(numberToFixed(1.0, { maxFixed: 3 })).toBe('1')
50
+ expect(numberToFixed(1.234, { maxFixed: 2 })).toBe('1.23')
51
+ expect(numberToFixed(1.23, { maxFixed: 3 })).toBe('1.23')
52
+ })
53
+
54
+ it('should handle string inputs with maxFixed', () => {
55
+ expect(numberToFixed('1.2', { maxFixed: 3 })).toBe('1.2')
56
+ expect(numberToFixed('1.0', { maxFixed: 3 })).toBe('1')
57
+ expect(numberToFixed('1.234', { maxFixed: 2 })).toBe('1.23')
58
+ })
59
+
60
+ it('should handle integers with maxFixed', () => {
61
+ expect(numberToFixed(123, { maxFixed: 2 })).toBe('123')
62
+ expect(numberToFixed('123', { maxFixed: 2 })).toBe('123')
63
+ })
64
+ })
65
+
66
+ describe('precision loss scenarios', () => {
67
+ it('should demonstrate precision loss with current implementation', () => {
68
+ // Very precise string that loses precision when converted to Number
69
+ const preciseString = '0.1234567890123456789012345678901234567890'
70
+ const result = numberToFixed(preciseString, { maxFixed: 20 })
71
+
72
+ // Current implementation converts to Number first, losing precision
73
+ expect(result).not.toBe('0.12345678901234568')
74
+ expect(result.length).toBeLessThan(preciseString.length)
75
+ })
76
+
77
+ it('should demonstrate precision preservation with very large numbers', () => {
78
+ const largeString = '123456789012345678901234567890.123456789'
79
+ const result = numberToFixed(largeString, { maxFixed: 10 })
80
+
81
+ // New implementation preserves precision for string inputs
82
+ expect(result).toBe('123456789012345678901234567890.123456789')
83
+ expect(result).toBe(largeString)
84
+ })
85
+
86
+ it('should demonstrate precision preservation with very small numbers', () => {
87
+ const smallString = '0.123456789012345678901234567890123456789'
88
+ const result = numberToFixed(smallString, { maxFixed: 35 })
89
+
90
+ // New implementation preserves precision for string inputs
91
+ expect(result).toBe('0.12345678901234567890123456789012345')
92
+ expect(result.length).toBeGreaterThan(20)
93
+ })
94
+ })
95
+
96
+ describe('edge cases', () => {
97
+ it('should handle empty and zero values', () => {
98
+ expect(numberToFixed(0, { maxFixed: 2 })).toBe('0')
99
+ expect(numberToFixed('0', { maxFixed: 2 })).toBe('0')
100
+ expect(numberToFixed('0.00', { maxFixed: 2 })).toBe('0')
101
+ })
102
+
103
+ it('should handle negative numbers', () => {
104
+ expect(numberToFixed(-1.234, { maxFixed: 2 })).toBe('-1.23')
105
+ expect(numberToFixed('-1.234', { maxFixed: 2 })).toBe('-1.23')
106
+ })
107
+
108
+ it('should handle scientific notation in strings', () => {
109
+ expect(numberToFixed('1.23e-4', { maxFixed: 8 })).toBe('0.000123')
110
+ expect(numberToFixed('1.23e+2', { maxFixed: 2 })).toBe('123')
111
+ })
112
+ })
113
+ })
@@ -0,0 +1,204 @@
1
+ // import numeral from 'numbro'
2
+
3
+ // export const formatNumber = (value: any, inputString = '0.[00]a') => {
4
+ // if (typeof value === 'string') value = Number(value)
5
+
6
+ // let negative = false
7
+ // if (value < 0) {
8
+ // negative = true
9
+ // value = Math.abs(value)
10
+ // }
11
+
12
+ // if (value === 0) return '0.00'
13
+ // if (value < 0.0001) return numeral(value).format('0.[000000]a')
14
+ // if (value < 0.001) return numeral(value).format('0.[0000]a')
15
+ // if (value < 0.01) return numeral(value).format('0.[000]a')
16
+ // return `${negative ? '-' : ''}${numeral(value).format(inputString)}`
17
+ // }
18
+
19
+ export const formatNumber = (
20
+ value: string | number,
21
+ maxDecimalPlaces = 2,
22
+ ): string => {
23
+ value = value ?? 0
24
+ if (typeof value === 'string') value = Number(value)
25
+
26
+ let negative = false
27
+ if (value < 0) {
28
+ negative = true
29
+ value = Math.abs(value)
30
+ }
31
+
32
+ if (value > 999_000_000_000_000) return '>999t'
33
+ if (value === 0) return '0.00'
34
+ if (value < 0.0001) return value.toFixed(6)
35
+ if (value < 0.001) return value.toFixed(4)
36
+ if (value < 0.01) return value.toFixed(3)
37
+
38
+ return `${negative ? '-' : ''}${formatValueWithSuffix(
39
+ value,
40
+ maxDecimalPlaces,
41
+ )}`
42
+ }
43
+
44
+ const formatValueWithSuffix = (
45
+ value: number,
46
+ maxDecimalPlaces: number,
47
+ ): string => {
48
+ const suffixes: string[] = ['', 'k', 'm', 'b', 't']
49
+ let suffixIndex = 0
50
+ while (value >= 1000 && suffixIndex < suffixes.length - 1) {
51
+ value /= 1000
52
+ suffixIndex++
53
+ }
54
+
55
+ const decimalCount = Math.min(
56
+ value.toString().split('.')[1]?.length || 0,
57
+ maxDecimalPlaces,
58
+ )
59
+
60
+ const formattedValue = value.toFixed(decimalCount)
61
+ return `${formattedValue}${suffixes[suffixIndex]}`
62
+ }
63
+
64
+ /**
65
+ * Convert scientific notation into decimal form, e.g. "-12.34e-5" => "-0.0001234",
66
+ * @param value Number in scientific notation
67
+ * @return Number in decimal form only
68
+ */
69
+ export function withoutScientificNotation(value: string): string | undefined {
70
+ if (!value.includes('e')) return value
71
+
72
+ if (!value.match(/^-?\d*\.?\d+(e[+-]?\d+)?$/)) return undefined
73
+
74
+ const [sign, absValue] = value.startsWith('-')
75
+ ? ['-', value.slice(1)]
76
+ : ['', value]
77
+ const [m, n] = absValue.split('e') as [string, string]
78
+ const [integer, fraction] = m.split('.')
79
+
80
+ const mantissa = (integer + (fraction ?? '')).replace(/^0+/, '')
81
+ const exponent = Number.parseInt(n ?? 0) - (fraction ?? '').length
82
+
83
+ if (exponent >= 0) {
84
+ return sign + mantissa + '0'.repeat(exponent)
85
+ } else {
86
+ const i = mantissa.length + exponent
87
+ if (i > 0) {
88
+ return `${sign + mantissa.slice(0, i)}.${mantissa.slice(i) || 0}`
89
+ } else {
90
+ return `${sign}0.${'0'.repeat(-i)}${mantissa}`
91
+ }
92
+ }
93
+ }
94
+
95
+ /**
96
+ *
97
+ * @param num - The number to format, can be a string or a number.
98
+ * @param args.significant - The number of significant digits to display
99
+ * @param args.maxFixed - The maximum number of fixed decimal places to display, only if relevant, eg. "0" for 0, "1.23" for 1.23, etc.
100
+ * @param args.fixed - The number of fixed decimal places to display, always, eg. "0.00" for 0, "1.23" for 1.23, etc.
101
+ * @returns
102
+ */
103
+ export function numberToFixed(
104
+ num: string | number,
105
+ args: { maxFixed: number } | { fixed: number } | { significant: number },
106
+ ) {
107
+ if (typeof num === 'string') {
108
+ return stringToFixed(num, args)
109
+ }
110
+
111
+ num = Number(num)
112
+
113
+ if ('fixed' in args) {
114
+ return num.toFixed(args.fixed)
115
+ }
116
+
117
+ if ('significant' in args) {
118
+ return Number.parseFloat(num.toPrecision(args.significant)).toString()
119
+ }
120
+
121
+ if ('maxFixed' in args) {
122
+ const str = num.toFixed(args.maxFixed)
123
+ let end = str.length
124
+
125
+ while (end && str.charCodeAt(end - 1) === 48) --end
126
+ if (end && str.charCodeAt(end - 1) === 46) --end
127
+
128
+ return `${str.slice(0, end)}`
129
+ }
130
+
131
+ throw new Error('Invalid arguments for numberToFixed')
132
+ }
133
+
134
+ function stringToFixed(
135
+ _str: string,
136
+ args: Parameters<typeof numberToFixed>[1],
137
+ ) {
138
+ const str = withoutScientificNotation(_str)
139
+
140
+ if (!str) {
141
+ throw new Error('Invalid number string')
142
+ }
143
+
144
+ const [integerPart = '0', decimalPart = ''] = str.split('.')
145
+
146
+ if ('fixed' in args) {
147
+ const fixedDecimal = decimalPart
148
+ .slice(0, args.fixed)
149
+ .padEnd(args.fixed, '0')
150
+
151
+ const res = `${integerPart}${fixedDecimal ? `.${fixedDecimal}` : ''}`
152
+ return roundString(str, res)
153
+ }
154
+
155
+ if ('significant' in args) {
156
+ let remainingLength = args.significant - integerPart.length
157
+
158
+ if (integerPart === '0' || integerPart.includes('-')) {
159
+ remainingLength += 1
160
+ }
161
+
162
+ // Handle leading zeros in decimal part
163
+ for (let i = 0; i < decimalPart.length; i++) {
164
+ if (decimalPart[i] === '0') {
165
+ remainingLength += 1
166
+ }
167
+ }
168
+
169
+ let significantDecimal = decimalPart.slice(0, remainingLength)
170
+ while (significantDecimal.endsWith('0')) {
171
+ significantDecimal = significantDecimal.slice(0, -1)
172
+ }
173
+
174
+ const res = `${integerPart}${significantDecimal ? `.${significantDecimal}` : ''}`
175
+ return roundString(str, res)
176
+ }
177
+
178
+ if ('maxFixed' in args) {
179
+ let fixedDecimal = decimalPart.slice(0, args.maxFixed)
180
+ while (fixedDecimal.endsWith('0')) {
181
+ fixedDecimal = fixedDecimal.slice(0, -1)
182
+ }
183
+
184
+ return `${integerPart}${fixedDecimal ? `.${fixedDecimal}` : ''}`
185
+ }
186
+
187
+ throw new Error('Invalid arguments for stringToFixed')
188
+ }
189
+
190
+ function roundString(original: string, formatted: string) {
191
+ const nextDigitIndex = formatted.length
192
+
193
+ let nextDigit = original.charCodeAt(nextDigitIndex)
194
+ if (nextDigit === '.'.charCodeAt(0)) {
195
+ nextDigit = original.charCodeAt(nextDigitIndex + 1)
196
+ }
197
+
198
+ if (!Number.isNaN(nextDigit) && nextDigit >= '5'.charCodeAt(0)) {
199
+ const lastDigit = formatted.charCodeAt(formatted.length - 1)
200
+ return `${formatted.substring(0, formatted.length - 1)}${String.fromCharCode(lastDigit + 1)}`
201
+ }
202
+
203
+ return formatted
204
+ }
@@ -0,0 +1,27 @@
1
+ export const formatPercent = (value: any) => {
2
+ value = value ?? 0
3
+ let negative = false
4
+
5
+ if (value < 0) {
6
+ negative = true
7
+ value = Math.abs(value)
8
+ }
9
+
10
+ if (value === 0) {
11
+ return '0.00%'
12
+ }
13
+
14
+ if (value < 0.0001) {
15
+ return '<0.01%'
16
+ }
17
+
18
+ if (value > 1000) {
19
+ return '>100000%'
20
+ }
21
+
22
+ value = value * 100
23
+
24
+ const decimalCount = Math.min(value.toString().split('.')[1]?.length || 0, 2)
25
+
26
+ return `${negative ? '-' : ''}${value.toFixed(decimalCount)}%`
27
+ }
@@ -0,0 +1,57 @@
1
+ // import numeral from 'numbro'
2
+
3
+ // export const formatUSD = (
4
+ // value: string | number,
5
+ // inputString = '$0.00a',
6
+ // ): string => {
7
+ // if (typeof value === 'string') value = Number(value)
8
+
9
+ // let negative = false
10
+ // if (value < 0) {
11
+ // negative = true
12
+ // value = Math.abs(value)
13
+ // }
14
+
15
+ // if (value === 0) return '$0.00'
16
+ // if (value < 0.000001) return '<$0.01'
17
+ // if (value < 0.0001) return numeral(value).format('$0.000000a')
18
+ // if (value < 0.001) return numeral(value).format('$0.0000a')
19
+ // if (value < 0.01) return numeral(value).format('$0.000a')
20
+ // return `${negative ? '-' : ''}${numeral(value).format(inputString)}`
21
+ // }
22
+
23
+ export const formatUSD = (value: string | number, inputString = '$0.00a') => {
24
+ value = value ?? 0
25
+ if (typeof value === 'string') value = Number(value)
26
+
27
+ let negative = false
28
+ if (value < 0) {
29
+ negative = true
30
+ value = Math.abs(value)
31
+ }
32
+
33
+ if (value === 0) return '$0.00'
34
+ if (value < 0.000001) return '<$0.01'
35
+ if (value < 0.0001) return formatValue(value, 6)
36
+ if (value < 0.001) return formatValue(value, 4)
37
+ if (value < 0.01) return formatValue(value, 3)
38
+
39
+ return `${negative ? '-' : ''}${formatValueWithSuffix(value, inputString)}`
40
+ }
41
+
42
+ const formatValue = (value: number, decimalPlaces: number) => {
43
+ return `$${value.toFixed(decimalPlaces)}`
44
+ }
45
+
46
+ const formatValueWithSuffix = (value: number, inputString: string) => {
47
+ const suffixes = ['', 'k', 'm', 'b', 't']
48
+ let suffixIndex = 0
49
+ while (value >= 1000 && suffixIndex < suffixes.length - 1) {
50
+ value /= 1000
51
+ suffixIndex++
52
+ }
53
+
54
+ const format = inputString.replace(/[^0.]/g, '')
55
+ const decimalPlaces = format.split('.')[1]?.length || 0
56
+ return `$${value.toFixed(decimalPlaces)}${suffixes[suffixIndex]}`
57
+ }
@@ -0,0 +1,7 @@
1
+ export * from './chain/index.js'
2
+ export * from './currency/index.js'
3
+ export * from './format/index.js'
4
+ export * from './math/index.js'
5
+ export * from './types/index.js'
6
+ export * from './utils/index.js'
7
+ export * from './validate/index.js'
@@ -0,0 +1,3 @@
1
+ export function abs(x: bigint) {
2
+ return x < 0n ? -x : x
3
+ }
@@ -0,0 +1,26 @@
1
+ export const ZERO = 0n
2
+ export const ONE = 1n
3
+ export const TWO = 2n
4
+ export const THREE = 3n
5
+ export const FIVE = 5n
6
+ export const TEN = 10n
7
+
8
+ export const _100 = 100n
9
+ export const _997 = 997n
10
+ export const _1000 = 1000n
11
+ export const _9994 = 9994n
12
+ export const _9995 = 9995n
13
+ export const _10000 = 10000n
14
+
15
+ export const _1e18 = 10n ** 18n
16
+ export const _1e12 = 10n ** 12n
17
+ export const _1e9 = 10n ** 9n
18
+ export const _1e6 = 10n ** 6n
19
+
20
+ export const MAX_SAFE_INTEGER = BigInt(Number.MAX_SAFE_INTEGER)
21
+ export const MAX_UINT256 = BigInt(
22
+ '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff',
23
+ )
24
+
25
+ // 2^128 - 1
26
+ export const MAX_UINT128 = 2n ** 128n - 1n
@@ -0,0 +1,6 @@
1
+ export function difference(a: bigint, b: bigint): bigint {
2
+ if (a > b) {
3
+ return a - b
4
+ }
5
+ return b - a
6
+ }