@lombard.finance/sdk 3.7.4 → 4.1.0

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 (736) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/README.md +102 -698
  3. package/dist/api-functions/getDepositAddressReferrer/getDepositAddressReferrer.d.ts +15 -0
  4. package/dist/api-functions/getDepositAddressReferrer/getDepositAddressReferrer.d.ts.map +1 -0
  5. package/dist/api-functions/getDepositAddressReferrer/index.d.ts +2 -0
  6. package/dist/api-functions/getDepositAddressReferrer/index.d.ts.map +1 -0
  7. package/dist/api-functions/getDepositBtcAddress/getDepositBtcAddress.d.ts +1 -1
  8. package/dist/api-functions/getDepositBtcAddress/getDepositBtcAddress.d.ts.map +1 -1
  9. package/dist/api-functions/getLBTCExchangeRate/getLBTCExchangeRate.d.ts +3 -0
  10. package/dist/api-functions/getLBTCExchangeRate/getLBTCExchangeRate.d.ts.map +1 -1
  11. package/dist/api-functions/getNetworkFeeSignature/getNetworkFeeSignature.d.ts +8 -0
  12. package/dist/api-functions/getNetworkFeeSignature/getNetworkFeeSignature.d.ts.map +1 -1
  13. package/dist/api-functions/setReferral/setReferral.d.ts +5 -1
  14. package/dist/api-functions/setReferral/setReferral.d.ts.map +1 -1
  15. package/dist/api-functions/storeNetworkFeeSignature/storeNetworkFeeSignature.d.ts +5 -1
  16. package/dist/api-functions/storeNetworkFeeSignature/storeNetworkFeeSignature.d.ts.map +1 -1
  17. package/dist/bridge/lib/config.d.ts +5 -5
  18. package/dist/chains/btc/BtcActions.d.ts +155 -0
  19. package/dist/chains/btc/BtcActions.d.ts.map +1 -0
  20. package/dist/chains/btc/actions/deposit/BtcDeposit.d.ts +83 -0
  21. package/dist/chains/btc/actions/deposit/BtcDeposit.d.ts.map +1 -0
  22. package/dist/chains/btc/actions/deposit/config/evm.d.ts +22 -0
  23. package/dist/chains/btc/actions/deposit/config/evm.d.ts.map +1 -0
  24. package/dist/chains/btc/actions/deposit/config/index.d.ts +27 -0
  25. package/dist/chains/btc/actions/deposit/config/index.d.ts.map +1 -0
  26. package/dist/chains/btc/actions/deposit/config/types.d.ts +90 -0
  27. package/dist/chains/btc/actions/deposit/config/types.d.ts.map +1 -0
  28. package/dist/chains/btc/actions/deposit/factory.d.ts +39 -0
  29. package/dist/chains/btc/actions/deposit/factory.d.ts.map +1 -0
  30. package/dist/chains/btc/actions/deposit/index.d.ts +11 -0
  31. package/dist/chains/btc/actions/deposit/index.d.ts.map +1 -0
  32. package/dist/chains/btc/actions/deposit/types.d.ts +94 -0
  33. package/dist/chains/btc/actions/deposit/types.d.ts.map +1 -0
  34. package/dist/chains/btc/actions/depositAndDeploy/BtcDepositAndDeploy.d.ts +69 -0
  35. package/dist/chains/btc/actions/depositAndDeploy/BtcDepositAndDeploy.d.ts.map +1 -0
  36. package/dist/chains/btc/actions/depositAndDeploy/config/evm.d.ts +19 -0
  37. package/dist/chains/btc/actions/depositAndDeploy/config/evm.d.ts.map +1 -0
  38. package/dist/chains/btc/actions/depositAndDeploy/config/index.d.ts +54 -0
  39. package/dist/chains/btc/actions/depositAndDeploy/config/index.d.ts.map +1 -0
  40. package/dist/chains/btc/actions/depositAndDeploy/config/types.d.ts +54 -0
  41. package/dist/chains/btc/actions/depositAndDeploy/config/types.d.ts.map +1 -0
  42. package/dist/chains/btc/actions/depositAndDeploy/factory.d.ts +32 -0
  43. package/dist/chains/btc/actions/depositAndDeploy/factory.d.ts.map +1 -0
  44. package/dist/chains/btc/actions/depositAndDeploy/index.d.ts +12 -0
  45. package/dist/chains/btc/actions/depositAndDeploy/index.d.ts.map +1 -0
  46. package/dist/chains/btc/actions/depositAndDeploy/types.d.ts +93 -0
  47. package/dist/chains/btc/actions/depositAndDeploy/types.d.ts.map +1 -0
  48. package/dist/chains/btc/actions/index.d.ts +9 -0
  49. package/dist/chains/btc/actions/index.d.ts.map +1 -0
  50. package/dist/chains/btc/actions/shared/BaseBtcAction.d.ts +201 -0
  51. package/dist/chains/btc/actions/shared/BaseBtcAction.d.ts.map +1 -0
  52. package/dist/chains/btc/actions/shared/index.d.ts +13 -0
  53. package/dist/chains/btc/actions/shared/index.d.ts.map +1 -0
  54. package/dist/chains/btc/actions/shared/tokenUtils.d.ts +54 -0
  55. package/dist/chains/btc/actions/shared/tokenUtils.d.ts.map +1 -0
  56. package/dist/chains/btc/actions/shared/validation.d.ts +90 -0
  57. package/dist/chains/btc/actions/shared/validation.d.ts.map +1 -0
  58. package/dist/chains/btc/actions/stake/BtcStake.d.ts +82 -0
  59. package/dist/chains/btc/actions/stake/BtcStake.d.ts.map +1 -0
  60. package/dist/chains/btc/actions/stake/config/evm.d.ts +20 -0
  61. package/dist/chains/btc/actions/stake/config/evm.d.ts.map +1 -0
  62. package/dist/chains/btc/actions/stake/config/index.d.ts +63 -0
  63. package/dist/chains/btc/actions/stake/config/index.d.ts.map +1 -0
  64. package/dist/chains/btc/actions/stake/config/solana.d.ts +20 -0
  65. package/dist/chains/btc/actions/stake/config/solana.d.ts.map +1 -0
  66. package/dist/chains/btc/actions/stake/config/starknet.d.ts +21 -0
  67. package/dist/chains/btc/actions/stake/config/starknet.d.ts.map +1 -0
  68. package/dist/chains/btc/actions/stake/config/sui.d.ts +20 -0
  69. package/dist/chains/btc/actions/stake/config/sui.d.ts.map +1 -0
  70. package/dist/chains/btc/actions/stake/config/types.d.ts +127 -0
  71. package/dist/chains/btc/actions/stake/config/types.d.ts.map +1 -0
  72. package/dist/chains/btc/actions/stake/factory.d.ts +39 -0
  73. package/dist/chains/btc/actions/stake/factory.d.ts.map +1 -0
  74. package/dist/chains/btc/actions/stake/index.d.ts +11 -0
  75. package/dist/chains/btc/actions/stake/index.d.ts.map +1 -0
  76. package/dist/chains/btc/actions/stake/types.d.ts +152 -0
  77. package/dist/chains/btc/actions/stake/types.d.ts.map +1 -0
  78. package/dist/chains/btc/actions/stakeAndDeploy/BtcStakeAndDeploy.d.ts +68 -0
  79. package/dist/chains/btc/actions/stakeAndDeploy/BtcStakeAndDeploy.d.ts.map +1 -0
  80. package/dist/chains/btc/actions/stakeAndDeploy/config/evm.d.ts +19 -0
  81. package/dist/chains/btc/actions/stakeAndDeploy/config/evm.d.ts.map +1 -0
  82. package/dist/chains/btc/actions/stakeAndDeploy/config/index.d.ts +54 -0
  83. package/dist/chains/btc/actions/stakeAndDeploy/config/index.d.ts.map +1 -0
  84. package/dist/chains/btc/actions/stakeAndDeploy/config/types.d.ts +74 -0
  85. package/dist/chains/btc/actions/stakeAndDeploy/config/types.d.ts.map +1 -0
  86. package/dist/chains/btc/actions/stakeAndDeploy/factory.d.ts +40 -0
  87. package/dist/chains/btc/actions/stakeAndDeploy/factory.d.ts.map +1 -0
  88. package/dist/chains/btc/actions/stakeAndDeploy/index.d.ts +11 -0
  89. package/dist/chains/btc/actions/stakeAndDeploy/index.d.ts.map +1 -0
  90. package/dist/chains/btc/actions/stakeAndDeploy/types.d.ts +91 -0
  91. package/dist/chains/btc/actions/stakeAndDeploy/types.d.ts.map +1 -0
  92. package/dist/chains/btc/client/getCurrentBlockHeight.d.ts +6 -0
  93. package/dist/chains/btc/client/getCurrentBlockHeight.d.ts.map +1 -0
  94. package/dist/chains/btc/client/mempool/error.d.ts +10 -0
  95. package/dist/chains/btc/client/mempool/error.d.ts.map +1 -0
  96. package/dist/chains/btc/client/mempool/mempool.d.ts +14 -0
  97. package/dist/chains/btc/client/mempool/mempool.d.ts.map +1 -0
  98. package/dist/chains/btc/index.d.ts +18 -0
  99. package/dist/chains/btc/index.d.ts.map +1 -0
  100. package/dist/chains/evm/EvmActions.d.ts +140 -0
  101. package/dist/chains/evm/EvmActions.d.ts.map +1 -0
  102. package/dist/chains/evm/actions/deploy/EvmDeploy.d.ts +40 -0
  103. package/dist/chains/evm/actions/deploy/EvmDeploy.d.ts.map +1 -0
  104. package/dist/chains/evm/actions/deploy/config/evm.d.ts +22 -0
  105. package/dist/chains/evm/actions/deploy/config/evm.d.ts.map +1 -0
  106. package/dist/chains/evm/actions/deploy/config/index.d.ts +8 -0
  107. package/dist/chains/evm/actions/deploy/config/index.d.ts.map +1 -0
  108. package/dist/chains/evm/actions/deploy/config/types.d.ts +32 -0
  109. package/dist/chains/evm/actions/deploy/config/types.d.ts.map +1 -0
  110. package/dist/chains/evm/actions/deploy/factory.d.ts +30 -0
  111. package/dist/chains/evm/actions/deploy/factory.d.ts.map +1 -0
  112. package/dist/chains/evm/actions/deploy/index.d.ts +11 -0
  113. package/dist/chains/evm/actions/deploy/index.d.ts.map +1 -0
  114. package/dist/chains/evm/actions/deploy/types.d.ts +62 -0
  115. package/dist/chains/evm/actions/deploy/types.d.ts.map +1 -0
  116. package/dist/chains/evm/actions/deposit/EvmDeposit.d.ts +38 -0
  117. package/dist/chains/evm/actions/deposit/EvmDeposit.d.ts.map +1 -0
  118. package/dist/chains/evm/actions/deposit/config/evm.d.ts +23 -0
  119. package/dist/chains/evm/actions/deposit/config/evm.d.ts.map +1 -0
  120. package/dist/chains/evm/actions/deposit/config/index.d.ts +8 -0
  121. package/dist/chains/evm/actions/deposit/config/index.d.ts.map +1 -0
  122. package/dist/chains/evm/actions/deposit/config/types.d.ts +34 -0
  123. package/dist/chains/evm/actions/deposit/config/types.d.ts.map +1 -0
  124. package/dist/chains/evm/actions/deposit/factory.d.ts +30 -0
  125. package/dist/chains/evm/actions/deposit/factory.d.ts.map +1 -0
  126. package/dist/chains/evm/actions/deposit/index.d.ts +11 -0
  127. package/dist/chains/evm/actions/deposit/index.d.ts.map +1 -0
  128. package/dist/chains/evm/actions/deposit/types.d.ts +78 -0
  129. package/dist/chains/evm/actions/deposit/types.d.ts.map +1 -0
  130. package/dist/chains/evm/actions/index.d.ts +13 -0
  131. package/dist/chains/evm/actions/index.d.ts.map +1 -0
  132. package/dist/chains/evm/actions/redeem/EvmRedeem.d.ts +57 -0
  133. package/dist/chains/evm/actions/redeem/EvmRedeem.d.ts.map +1 -0
  134. package/dist/chains/evm/actions/redeem/config/evm.d.ts +24 -0
  135. package/dist/chains/evm/actions/redeem/config/evm.d.ts.map +1 -0
  136. package/dist/chains/evm/actions/redeem/config/index.d.ts +8 -0
  137. package/dist/chains/evm/actions/redeem/config/index.d.ts.map +1 -0
  138. package/dist/chains/evm/actions/redeem/config/types.d.ts +34 -0
  139. package/dist/chains/evm/actions/redeem/config/types.d.ts.map +1 -0
  140. package/dist/chains/evm/actions/redeem/factory.d.ts +29 -0
  141. package/dist/chains/evm/actions/redeem/factory.d.ts.map +1 -0
  142. package/dist/chains/evm/actions/redeem/index.d.ts +11 -0
  143. package/dist/chains/evm/actions/redeem/index.d.ts.map +1 -0
  144. package/dist/chains/evm/actions/redeem/types.d.ts +81 -0
  145. package/dist/chains/evm/actions/redeem/types.d.ts.map +1 -0
  146. package/dist/chains/evm/actions/stake/EvmStake.d.ts +62 -0
  147. package/dist/chains/evm/actions/stake/EvmStake.d.ts.map +1 -0
  148. package/dist/chains/evm/actions/stake/config/evm.d.ts +28 -0
  149. package/dist/chains/evm/actions/stake/config/evm.d.ts.map +1 -0
  150. package/dist/chains/evm/actions/stake/config/index.d.ts +8 -0
  151. package/dist/chains/evm/actions/stake/config/index.d.ts.map +1 -0
  152. package/dist/chains/evm/actions/stake/config/types.d.ts +60 -0
  153. package/dist/chains/evm/actions/stake/config/types.d.ts.map +1 -0
  154. package/dist/chains/evm/actions/stake/factory.d.ts +38 -0
  155. package/dist/chains/evm/actions/stake/factory.d.ts.map +1 -0
  156. package/dist/chains/evm/actions/stake/index.d.ts +13 -0
  157. package/dist/chains/evm/actions/stake/index.d.ts.map +1 -0
  158. package/dist/chains/evm/actions/stake/types.d.ts +94 -0
  159. package/dist/chains/evm/actions/stake/types.d.ts.map +1 -0
  160. package/dist/chains/evm/actions/unstake/EvmUnstake.d.ts +54 -0
  161. package/dist/chains/evm/actions/unstake/EvmUnstake.d.ts.map +1 -0
  162. package/dist/chains/evm/actions/unstake/config/evm.d.ts +34 -0
  163. package/dist/chains/evm/actions/unstake/config/evm.d.ts.map +1 -0
  164. package/dist/chains/evm/actions/unstake/config/index.d.ts +8 -0
  165. package/dist/chains/evm/actions/unstake/config/index.d.ts.map +1 -0
  166. package/dist/chains/evm/actions/unstake/config/types.d.ts +32 -0
  167. package/dist/chains/evm/actions/unstake/config/types.d.ts.map +1 -0
  168. package/dist/chains/evm/actions/unstake/factory.d.ts +30 -0
  169. package/dist/chains/evm/actions/unstake/factory.d.ts.map +1 -0
  170. package/dist/chains/evm/actions/unstake/index.d.ts +11 -0
  171. package/dist/chains/evm/actions/unstake/index.d.ts.map +1 -0
  172. package/dist/chains/evm/actions/unstake/types.d.ts +75 -0
  173. package/dist/chains/evm/actions/unstake/types.d.ts.map +1 -0
  174. package/dist/chains/evm/index.d.ts +11 -0
  175. package/dist/chains/evm/index.d.ts.map +1 -0
  176. package/dist/chains/evm/shared/feeAuth.d.ts +88 -0
  177. package/dist/chains/evm/shared/feeAuth.d.ts.map +1 -0
  178. package/dist/chains/evm/shared/index.d.ts +7 -0
  179. package/dist/chains/evm/shared/index.d.ts.map +1 -0
  180. package/dist/chains/solana/SolanaActions.d.ts +42 -0
  181. package/dist/chains/solana/SolanaActions.d.ts.map +1 -0
  182. package/dist/chains/solana/actions/index.d.ts +7 -0
  183. package/dist/chains/solana/actions/index.d.ts.map +1 -0
  184. package/dist/chains/solana/actions/unstake/SolanaUnstake.d.ts +30 -0
  185. package/dist/chains/solana/actions/unstake/SolanaUnstake.d.ts.map +1 -0
  186. package/dist/chains/solana/actions/unstake/config/btc.d.ts +20 -0
  187. package/dist/chains/solana/actions/unstake/config/btc.d.ts.map +1 -0
  188. package/dist/chains/solana/actions/unstake/config/index.d.ts +8 -0
  189. package/dist/chains/solana/actions/unstake/config/index.d.ts.map +1 -0
  190. package/dist/chains/solana/actions/unstake/config/solana.d.ts +20 -0
  191. package/dist/chains/solana/actions/unstake/config/solana.d.ts.map +1 -0
  192. package/dist/chains/solana/actions/unstake/config/types.d.ts +30 -0
  193. package/dist/chains/solana/actions/unstake/config/types.d.ts.map +1 -0
  194. package/dist/chains/solana/actions/unstake/factory.d.ts +19 -0
  195. package/dist/chains/solana/actions/unstake/factory.d.ts.map +1 -0
  196. package/dist/chains/solana/actions/unstake/index.d.ts +9 -0
  197. package/dist/chains/solana/actions/unstake/index.d.ts.map +1 -0
  198. package/dist/chains/solana/actions/unstake/types.d.ts +49 -0
  199. package/dist/chains/solana/actions/unstake/types.d.ts.map +1 -0
  200. package/dist/chains/solana/index.d.ts +8 -0
  201. package/dist/chains/solana/index.d.ts.map +1 -0
  202. package/dist/chains/starknet/StarknetActions.d.ts +42 -0
  203. package/dist/chains/starknet/StarknetActions.d.ts.map +1 -0
  204. package/dist/chains/starknet/actions/index.d.ts +7 -0
  205. package/dist/chains/starknet/actions/index.d.ts.map +1 -0
  206. package/dist/chains/starknet/actions/unstake/StarknetUnstake.d.ts +30 -0
  207. package/dist/chains/starknet/actions/unstake/StarknetUnstake.d.ts.map +1 -0
  208. package/dist/chains/starknet/actions/unstake/config/btc.d.ts +18 -0
  209. package/dist/chains/starknet/actions/unstake/config/btc.d.ts.map +1 -0
  210. package/dist/chains/starknet/actions/unstake/config/index.d.ts +8 -0
  211. package/dist/chains/starknet/actions/unstake/config/index.d.ts.map +1 -0
  212. package/dist/chains/starknet/actions/unstake/config/starknet.d.ts +18 -0
  213. package/dist/chains/starknet/actions/unstake/config/starknet.d.ts.map +1 -0
  214. package/dist/chains/starknet/actions/unstake/config/types.d.ts +24 -0
  215. package/dist/chains/starknet/actions/unstake/config/types.d.ts.map +1 -0
  216. package/dist/chains/starknet/actions/unstake/factory.d.ts +17 -0
  217. package/dist/chains/starknet/actions/unstake/factory.d.ts.map +1 -0
  218. package/dist/chains/starknet/actions/unstake/index.d.ts +9 -0
  219. package/dist/chains/starknet/actions/unstake/index.d.ts.map +1 -0
  220. package/dist/chains/starknet/actions/unstake/types.d.ts +48 -0
  221. package/dist/chains/starknet/actions/unstake/types.d.ts.map +1 -0
  222. package/dist/chains/starknet/index.d.ts +8 -0
  223. package/dist/chains/starknet/index.d.ts.map +1 -0
  224. package/dist/chains/sui/SuiActions.d.ts +42 -0
  225. package/dist/chains/sui/SuiActions.d.ts.map +1 -0
  226. package/dist/chains/sui/actions/index.d.ts +7 -0
  227. package/dist/chains/sui/actions/index.d.ts.map +1 -0
  228. package/dist/chains/sui/actions/unstake/SuiUnstake.d.ts +30 -0
  229. package/dist/chains/sui/actions/unstake/SuiUnstake.d.ts.map +1 -0
  230. package/dist/chains/sui/actions/unstake/config/btc.d.ts +18 -0
  231. package/dist/chains/sui/actions/unstake/config/btc.d.ts.map +1 -0
  232. package/dist/chains/sui/actions/unstake/config/index.d.ts +8 -0
  233. package/dist/chains/sui/actions/unstake/config/index.d.ts.map +1 -0
  234. package/dist/chains/sui/actions/unstake/config/sui.d.ts +18 -0
  235. package/dist/chains/sui/actions/unstake/config/sui.d.ts.map +1 -0
  236. package/dist/chains/sui/actions/unstake/config/types.d.ts +24 -0
  237. package/dist/chains/sui/actions/unstake/config/types.d.ts.map +1 -0
  238. package/dist/chains/sui/actions/unstake/factory.d.ts +17 -0
  239. package/dist/chains/sui/actions/unstake/factory.d.ts.map +1 -0
  240. package/dist/chains/sui/actions/unstake/index.d.ts +9 -0
  241. package/dist/chains/sui/actions/unstake/index.d.ts.map +1 -0
  242. package/dist/chains/sui/actions/unstake/types.d.ts +48 -0
  243. package/dist/chains/sui/actions/unstake/types.d.ts.map +1 -0
  244. package/dist/chains/sui/index.d.ts +8 -0
  245. package/dist/chains/sui/index.d.ts.map +1 -0
  246. package/dist/client/ApiNamespace.d.ts +207 -0
  247. package/dist/client/ApiNamespace.d.ts.map +1 -0
  248. package/dist/client/AssetNamespace.d.ts +53 -0
  249. package/dist/client/AssetNamespace.d.ts.map +1 -0
  250. package/dist/client/LombardSDK.d.ts +122 -0
  251. package/dist/client/LombardSDK.d.ts.map +1 -0
  252. package/dist/client/PartnerConfiguration.d.ts +34 -0
  253. package/dist/client/PartnerConfiguration.d.ts.map +1 -0
  254. package/dist/client/createConfig.d.ts +30 -0
  255. package/dist/client/createConfig.d.ts.map +1 -0
  256. package/dist/client/createLombardSDK.d.ts +64 -0
  257. package/dist/client/createLombardSDK.d.ts.map +1 -0
  258. package/dist/clients/public-client.d.ts.map +1 -1
  259. package/dist/clients/rpc-url-config.d.ts.map +1 -1
  260. package/dist/common/api-config.d.ts +1 -2
  261. package/dist/common/api-config.d.ts.map +1 -1
  262. package/dist/common/chains.d.ts +745 -768
  263. package/dist/common/chains.d.ts.map +1 -1
  264. package/dist/common/feature-config.d.ts +44 -4
  265. package/dist/common/feature-config.d.ts.map +1 -1
  266. package/dist/common/fee-requirements.d.ts +27 -0
  267. package/dist/common/fee-requirements.d.ts.map +1 -0
  268. package/dist/config/defaults.d.ts +27 -0
  269. package/dist/config/defaults.d.ts.map +1 -0
  270. package/dist/config/index.d.ts +12 -0
  271. package/dist/config/index.d.ts.map +1 -0
  272. package/dist/config/providers.d.ts +23 -0
  273. package/dist/config/providers.d.ts.map +1 -0
  274. package/dist/config/types.d.ts +162 -0
  275. package/dist/config/types.d.ts.map +1 -0
  276. package/dist/config/validation.d.ts +21 -0
  277. package/dist/config/validation.d.ts.map +1 -0
  278. package/dist/contract-functions/signStakeAndBake/signStakeAndBake.d.ts +1 -1
  279. package/dist/contract-functions/signStakeAndBake/signStakeAndBake.d.ts.map +1 -1
  280. package/dist/contract-functions/signStakeAndBake/validation.d.ts +3 -3
  281. package/dist/contracts/abis/index.d.ts +18 -0
  282. package/dist/contracts/abis/index.d.ts.map +1 -0
  283. package/dist/contracts/index.d.ts +43 -0
  284. package/dist/contracts/index.d.ts.map +1 -0
  285. package/dist/contracts/types.d.ts +127 -0
  286. package/dist/contracts/types.d.ts.map +1 -0
  287. package/dist/contracts/utils.d.ts +106 -0
  288. package/dist/contracts/utils.d.ts.map +1 -0
  289. package/dist/core/assets/catalog.d.ts +11 -0
  290. package/dist/core/assets/catalog.d.ts.map +1 -0
  291. package/dist/core/assets/index.d.ts +12 -0
  292. package/dist/core/assets/index.d.ts.map +1 -0
  293. package/dist/core/assets/types.d.ts +93 -0
  294. package/dist/core/assets/types.d.ts.map +1 -0
  295. package/dist/core/assets/utils.d.ts +82 -0
  296. package/dist/core/assets/utils.d.ts.map +1 -0
  297. package/dist/core/chains/catalog.d.ts +14 -0
  298. package/dist/core/chains/catalog.d.ts.map +1 -0
  299. package/dist/core/chains/index.d.ts +13 -0
  300. package/dist/core/chains/index.d.ts.map +1 -0
  301. package/dist/core/chains/types.d.ts +106 -0
  302. package/dist/core/chains/types.d.ts.map +1 -0
  303. package/dist/core/chains/utils.d.ts +55 -0
  304. package/dist/core/chains/utils.d.ts.map +1 -0
  305. package/dist/core/index.d.ts +14 -0
  306. package/dist/core/index.d.ts.map +1 -0
  307. package/dist/core/types.d.ts +86 -0
  308. package/dist/core/types.d.ts.map +1 -0
  309. package/dist/defi/defi-registry.d.ts +63 -6
  310. package/dist/defi/defi-registry.d.ts.map +1 -1
  311. package/dist/defi/index.d.ts +2 -1
  312. package/dist/defi/index.d.ts.map +1 -1
  313. package/dist/index.cjs +1 -1
  314. package/dist/index.d.ts +61 -14
  315. package/dist/index.d.ts.map +1 -1
  316. package/dist/index.js +268 -155
  317. package/dist/index2.cjs +66 -66
  318. package/dist/index2.js +19781 -14368
  319. package/dist/modules/CapabilityRegistry.d.ts +58 -0
  320. package/dist/modules/CapabilityRegistry.d.ts.map +1 -0
  321. package/dist/modules/apiModule.d.ts +33 -0
  322. package/dist/modules/apiModule.d.ts.map +1 -0
  323. package/dist/modules/btcModule.d.ts +28 -0
  324. package/dist/modules/btcModule.d.ts.map +1 -0
  325. package/dist/modules/evmModule.d.ts +29 -0
  326. package/dist/modules/evmModule.d.ts.map +1 -0
  327. package/dist/modules/index.d.ts +27 -0
  328. package/dist/modules/index.d.ts.map +1 -0
  329. package/dist/referrals/ReferralsClient.d.ts +24 -0
  330. package/dist/referrals/ReferralsClient.d.ts.map +1 -0
  331. package/dist/referrals/index.d.ts +2 -0
  332. package/dist/referrals/index.d.ts.map +1 -0
  333. package/dist/services/ApiService.d.ts +52 -0
  334. package/dist/services/ApiService.d.ts.map +1 -0
  335. package/dist/services/BtcService.d.ts +21 -0
  336. package/dist/services/BtcService.d.ts.map +1 -0
  337. package/dist/services/EvmService.d.ts +48 -0
  338. package/dist/services/EvmService.d.ts.map +1 -0
  339. package/dist/services/index.d.ts +21 -0
  340. package/dist/services/index.d.ts.map +1 -0
  341. package/dist/shared/actions/BaseAction.d.ts +275 -0
  342. package/dist/shared/actions/BaseAction.d.ts.map +1 -0
  343. package/dist/shared/actions/index.d.ts +9 -0
  344. package/dist/shared/actions/index.d.ts.map +1 -0
  345. package/dist/shared/constants/statusConstants.d.ts +92 -0
  346. package/dist/shared/constants/statusConstants.d.ts.map +1 -0
  347. package/dist/shared/context/ContextBuilder.d.ts +46 -0
  348. package/dist/shared/context/ContextBuilder.d.ts.map +1 -0
  349. package/dist/shared/context/index.d.ts +8 -0
  350. package/dist/shared/context/index.d.ts.map +1 -0
  351. package/dist/shared/context/types.d.ts +122 -0
  352. package/dist/shared/context/types.d.ts.map +1 -0
  353. package/dist/shared/deposits/depositStatus.d.ts +138 -0
  354. package/dist/shared/deposits/depositStatus.d.ts.map +1 -0
  355. package/dist/shared/deposits/index.d.ts +10 -0
  356. package/dist/shared/deposits/index.d.ts.map +1 -0
  357. package/dist/shared/errors.d.ts +211 -0
  358. package/dist/shared/errors.d.ts.map +1 -0
  359. package/dist/shared/events.d.ts +209 -0
  360. package/dist/shared/events.d.ts.map +1 -0
  361. package/dist/shared/evm/switchChain.d.ts +35 -0
  362. package/dist/shared/evm/switchChain.d.ts.map +1 -0
  363. package/dist/shared/index.d.ts +12 -0
  364. package/dist/shared/index.d.ts.map +1 -0
  365. package/dist/shared/monitoring/createEventEmitter.d.ts +68 -0
  366. package/dist/shared/monitoring/createEventEmitter.d.ts.map +1 -0
  367. package/dist/shared/monitoring/createProgressEmitter.d.ts +18 -0
  368. package/dist/shared/monitoring/createProgressEmitter.d.ts.map +1 -0
  369. package/dist/shared/monitoring/depositMonitor.d.ts +107 -0
  370. package/dist/shared/monitoring/depositMonitor.d.ts.map +1 -0
  371. package/dist/shared/monitoring/index.d.ts +9 -0
  372. package/dist/shared/monitoring/index.d.ts.map +1 -0
  373. package/dist/shared/validation/index.d.ts +188 -0
  374. package/dist/shared/validation/index.d.ts.map +1 -0
  375. package/dist/stories/arg-types.d.ts.map +1 -1
  376. package/dist/stories/components/Badge.d.ts +13 -0
  377. package/dist/stories/components/Badge.d.ts.map +1 -0
  378. package/dist/stories/components/Button/Button.d.ts +2 -2
  379. package/dist/stories/components/Button/Button.d.ts.map +1 -1
  380. package/dist/stories/components/Card.d.ts +12 -0
  381. package/dist/stories/components/Card.d.ts.map +1 -0
  382. package/dist/stories/components/CodeBlock/CodeBlock.d.ts +1 -1
  383. package/dist/stories/components/CodeBlock/CodeBlock.d.ts.map +1 -1
  384. package/dist/stories/components/ConnectButton/connect-button.d.ts.map +1 -1
  385. package/dist/stories/components/JsonPreview.d.ts +23 -0
  386. package/dist/stories/components/JsonPreview.d.ts.map +1 -0
  387. package/dist/stories/components/StatsCard.d.ts +13 -0
  388. package/dist/stories/components/StatsCard.d.ts.map +1 -0
  389. package/dist/stories/components/StatusIndicator.d.ts +13 -0
  390. package/dist/stories/components/StatusIndicator.d.ts.map +1 -0
  391. package/dist/stories/components/TreeNode.d.ts +15 -0
  392. package/dist/stories/components/TreeNode.d.ts.map +1 -0
  393. package/dist/stories/components/decorators/wagmi-decorator.d.ts.map +1 -1
  394. package/dist/stories/components/index.d.ts +11 -0
  395. package/dist/stories/components/index.d.ts.map +1 -0
  396. package/dist/stories/hooks/useConnection.d.ts.map +1 -1
  397. package/dist/stories/hooks/useQuery.d.ts.map +1 -1
  398. package/dist/tokens/token-addresses.d.ts +18 -0
  399. package/dist/tokens/token-addresses.d.ts.map +1 -1
  400. package/dist/tokens/tokens.d.ts +12 -0
  401. package/dist/tokens/tokens.d.ts.map +1 -1
  402. package/dist/utils/chain.d.ts +107 -0
  403. package/dist/utils/chain.d.ts.map +1 -0
  404. package/dist/utils/consoleLogger.d.ts +71 -0
  405. package/dist/utils/consoleLogger.d.ts.map +1 -0
  406. package/dist/utils/ensureNotSanctionedAddress.d.ts +2 -0
  407. package/dist/utils/ensureNotSanctionedAddress.d.ts.map +1 -0
  408. package/dist/utils/evmAccount.d.ts +13 -0
  409. package/dist/utils/evmAccount.d.ts.map +1 -0
  410. package/dist/utils/http.d.ts +95 -0
  411. package/dist/utils/http.d.ts.map +1 -0
  412. package/dist/utils/numbers.d.ts +20 -0
  413. package/dist/utils/numbers.d.ts.map +1 -1
  414. package/dist/utils/satoshi.d.ts +17 -4
  415. package/dist/utils/satoshi.d.ts.map +1 -1
  416. package/dist/vaults/index.d.ts +1 -1
  417. package/dist/vaults/index.d.ts.map +1 -1
  418. package/dist/vaults/lib/config.d.ts +3 -3
  419. package/dist/vaults/lib/config.d.ts.map +1 -1
  420. package/dist/version.d.ts +27 -0
  421. package/dist/version.d.ts.map +1 -0
  422. package/package.json +27 -11
  423. package/dist/api-functions/generateDepositBtcAddress/generateDepositBtcAddress.stories.d.ts +0 -16
  424. package/dist/api-functions/generateDepositBtcAddress/generateDepositBtcAddress.stories.d.ts.map +0 -1
  425. package/dist/api-functions/getDepositBtcAddress/getDepositBtcAddress.stories.d.ts +0 -16
  426. package/dist/api-functions/getDepositBtcAddress/getDepositBtcAddress.stories.d.ts.map +0 -1
  427. package/dist/api-functions/getDepositBtcAddress/getDepositBtcAddress.test.d.ts +0 -2
  428. package/dist/api-functions/getDepositBtcAddress/getDepositBtcAddress.test.d.ts.map +0 -1
  429. package/dist/api-functions/getDepositBtcAddress/getDepositBtcAddresses.stories.d.ts +0 -16
  430. package/dist/api-functions/getDepositBtcAddress/getDepositBtcAddresses.stories.d.ts.map +0 -1
  431. package/dist/api-functions/getDepositsByAddress/getDepositsByAddress.stories.d.ts +0 -13
  432. package/dist/api-functions/getDepositsByAddress/getDepositsByAddress.stories.d.ts.map +0 -1
  433. package/dist/api-functions/getLBTCExchangeRate/get-exchange-ratio.stories.d.ts +0 -16
  434. package/dist/api-functions/getLBTCExchangeRate/get-exchange-ratio.stories.d.ts.map +0 -1
  435. package/dist/api-functions/getLBTCExchangeRate/getLBTCExchangeRate.stories.d.ts +0 -16
  436. package/dist/api-functions/getLBTCExchangeRate/getLBTCExchangeRate.stories.d.ts.map +0 -1
  437. package/dist/api-functions/getNetworkFeeSignature/getNetworkFeeSignature.stories.d.ts +0 -17
  438. package/dist/api-functions/getNetworkFeeSignature/getNetworkFeeSignature.stories.d.ts.map +0 -1
  439. package/dist/api-functions/getPointsByAddress/getPointsByAddress.stories.d.ts +0 -13
  440. package/dist/api-functions/getPointsByAddress/getPointsByAddress.stories.d.ts.map +0 -1
  441. package/dist/api-functions/getUnstakesByAddress/getUnstakesByAddress.stories.d.ts +0 -13
  442. package/dist/api-functions/getUnstakesByAddress/getUnstakesByAddress.stories.d.ts.map +0 -1
  443. package/dist/api-functions/getUserStakeAndBakeSignature/getUserStakeAndBakeSignature.stories.d.ts +0 -14
  444. package/dist/api-functions/getUserStakeAndBakeSignature/getUserStakeAndBakeSignature.stories.d.ts.map +0 -1
  445. package/dist/api-functions/storeNetworkFeeSignature/storeNetworkFeeSignature.stories.d.ts +0 -14
  446. package/dist/api-functions/storeNetworkFeeSignature/storeNetworkFeeSignature.stories.d.ts.map +0 -1
  447. package/dist/api-functions/storeStakeAndBakeSignature/storeStakeAndBakeSignature.stories.d.ts +0 -14
  448. package/dist/api-functions/storeStakeAndBakeSignature/storeStakeAndBakeSignature.stories.d.ts.map +0 -1
  449. package/dist/bridge/lib/bridge.stories.d.ts +0 -14
  450. package/dist/bridge/lib/bridge.stories.d.ts.map +0 -1
  451. package/dist/bridge/lib/ccip-bridge.stories.d.ts +0 -14
  452. package/dist/bridge/lib/ccip-bridge.stories.d.ts.map +0 -1
  453. package/dist/bridge/lib/oft-bridge.stories.d.ts +0 -14
  454. package/dist/bridge/lib/oft-bridge.stories.d.ts.map +0 -1
  455. package/dist/common/chains.stories.d.ts +0 -17
  456. package/dist/common/chains.stories.d.ts.map +0 -1
  457. package/dist/contract-functions/approveLBTC/approveLBTC.stories.d.ts +0 -17
  458. package/dist/contract-functions/approveLBTC/approveLBTC.stories.d.ts.map +0 -1
  459. package/dist/contract-functions/claimLBTC/claimLBTC.stories.d.ts +0 -17
  460. package/dist/contract-functions/claimLBTC/claimLBTC.stories.d.ts.map +0 -1
  461. package/dist/contract-functions/deposit/depositToken.stories.d.ts +0 -17
  462. package/dist/contract-functions/deposit/depositToken.stories.d.ts.map +0 -1
  463. package/dist/contract-functions/getBasculeDepositStatus/getBasculeDepositStatus.stories.d.ts +0 -16
  464. package/dist/contract-functions/getBasculeDepositStatus/getBasculeDepositStatus.stories.d.ts.map +0 -1
  465. package/dist/contract-functions/getLBTCMintingFee/getLBTCMintingFee.stories.d.ts +0 -17
  466. package/dist/contract-functions/getLBTCMintingFee/getLBTCMintingFee.stories.d.ts.map +0 -1
  467. package/dist/contract-functions/getLBTCTotalSupply/getLBTCTotalSupply.stories.d.ts +0 -17
  468. package/dist/contract-functions/getLBTCTotalSupply/getLBTCTotalSupply.stories.d.ts.map +0 -1
  469. package/dist/contract-functions/getPermitNonce/getPermitNonce.stories.d.ts +0 -14
  470. package/dist/contract-functions/getPermitNonce/getPermitNonce.stories.d.ts.map +0 -1
  471. package/dist/contract-functions/getShareValue/getShareValue.stories.d.ts +0 -13
  472. package/dist/contract-functions/getShareValue/getShareValue.stories.d.ts.map +0 -1
  473. package/dist/contract-functions/getSharesByAddress/getSharesByAddress.stories.d.ts +0 -13
  474. package/dist/contract-functions/getSharesByAddress/getSharesByAddress.stories.d.ts.map +0 -1
  475. package/dist/contract-functions/getStakeAndBakeFee/__tests__/getStakeAndBakeFee.test.d.ts +0 -2
  476. package/dist/contract-functions/getStakeAndBakeFee/__tests__/getStakeAndBakeFee.test.d.ts.map +0 -1
  477. package/dist/contract-functions/getStakeAndBakeFee/getStakeAndBakeFee.stories.d.ts +0 -17
  478. package/dist/contract-functions/getStakeAndBakeFee/getStakeAndBakeFee.stories.d.ts.map +0 -1
  479. package/dist/contract-functions/signLbtcDestionationAddr/signLbtcDestionationAddr.stories.d.ts +0 -9
  480. package/dist/contract-functions/signLbtcDestionationAddr/signLbtcDestionationAddr.stories.d.ts.map +0 -1
  481. package/dist/contract-functions/signNetworkFee/signNetworkFee.stories.d.ts +0 -14
  482. package/dist/contract-functions/signNetworkFee/signNetworkFee.stories.d.ts.map +0 -1
  483. package/dist/contract-functions/signStakeAndBake/__tests__/signStakeAndBake.test.d.ts +0 -17
  484. package/dist/contract-functions/signStakeAndBake/__tests__/signStakeAndBake.test.d.ts.map +0 -1
  485. package/dist/contract-functions/signStakeAndBake/signStakeAndBake.stories.d.ts +0 -50
  486. package/dist/contract-functions/signStakeAndBake/signStakeAndBake.stories.d.ts.map +0 -1
  487. package/dist/contract-functions/unstakeLBTC/unstakeLBTC.stories.d.ts +0 -17
  488. package/dist/contract-functions/unstakeLBTC/unstakeLBTC.stories.d.ts.map +0 -1
  489. package/dist/defi/defi-registry.stories.d.ts +0 -18
  490. package/dist/defi/defi-registry.stories.d.ts.map +0 -1
  491. package/dist/metrics/get-lbtc-stats.stories.d.ts +0 -17
  492. package/dist/metrics/get-lbtc-stats.stories.d.ts.map +0 -1
  493. package/dist/metrics/get-positions-summary.stories.d.ts +0 -17
  494. package/dist/metrics/get-positions-summary.stories.d.ts.map +0 -1
  495. package/dist/tokens/cross-chain-addresses.stories.d.ts +0 -60
  496. package/dist/tokens/cross-chain-addresses.stories.d.ts.map +0 -1
  497. package/dist/tokens/denomination-utils.stories.d.ts +0 -62
  498. package/dist/tokens/denomination-utils.stories.d.ts.map +0 -1
  499. package/dist/tokens/getLbtcContractAddresses.stories.d.ts +0 -59
  500. package/dist/tokens/getLbtcContractAddresses.stories.d.ts.map +0 -1
  501. package/dist/tokens/getTokenByAddress.stories.d.ts +0 -64
  502. package/dist/tokens/getTokenByAddress.stories.d.ts.map +0 -1
  503. package/dist/tokens/getTokenContractInfo.stories.d.ts +0 -52
  504. package/dist/tokens/getTokenContractInfo.stories.d.ts.map +0 -1
  505. package/dist/tokens/getTokenInfo.stories.d.ts +0 -42
  506. package/dist/tokens/getTokenInfo.stories.d.ts.map +0 -1
  507. package/dist/tokens/isUpgradedContract.stories.d.ts +0 -50
  508. package/dist/tokens/isUpgradedContract.stories.d.ts.map +0 -1
  509. package/dist/vaults/lib/metrics/get-vault-apy.stories.d.ts +0 -14
  510. package/dist/vaults/lib/metrics/get-vault-apy.stories.d.ts.map +0 -1
  511. package/dist/vaults/lib/metrics/get-vault-points.stories.d.ts +0 -14
  512. package/dist/vaults/lib/metrics/get-vault-points.stories.d.ts.map +0 -1
  513. package/dist/vaults/lib/metrics/get-vault-tvl.stories.d.ts +0 -14
  514. package/dist/vaults/lib/metrics/get-vault-tvl.stories.d.ts.map +0 -1
  515. package/dist/vaults/lib/ops/cancel-withdraw.stories.d.ts +0 -14
  516. package/dist/vaults/lib/ops/cancel-withdraw.stories.d.ts.map +0 -1
  517. package/dist/vaults/lib/ops/deposit.stories.d.ts +0 -14
  518. package/dist/vaults/lib/ops/deposit.stories.d.ts.map +0 -1
  519. package/dist/vaults/lib/ops/get-vault-deposits.stories.d.ts +0 -14
  520. package/dist/vaults/lib/ops/get-vault-deposits.stories.d.ts.map +0 -1
  521. package/dist/vaults/lib/ops/get-vault-withdrawals.stories.d.ts +0 -14
  522. package/dist/vaults/lib/ops/get-vault-withdrawals.stories.d.ts.map +0 -1
  523. package/dist/vaults/lib/ops/withdraw.stories.d.ts +0 -14
  524. package/dist/vaults/lib/ops/withdraw.stories.d.ts.map +0 -1
  525. package/src/api-functions/generateDepositBtcAddress/generateDepositBtcAddress.stories.tsx +0 -70
  526. package/src/api-functions/generateDepositBtcAddress/generateDepositBtcAddress.ts +0 -235
  527. package/src/api-functions/generateDepositBtcAddress/index.ts +0 -1
  528. package/src/api-functions/get-badges-by-address/get-badges-by-address.ts +0 -13
  529. package/src/api-functions/get-badges-by-address/index.ts +0 -1
  530. package/src/api-functions/getDepositBtcAddress/getDepositBtcAddress.stories.tsx +0 -58
  531. package/src/api-functions/getDepositBtcAddress/getDepositBtcAddress.test.ts +0 -265
  532. package/src/api-functions/getDepositBtcAddress/getDepositBtcAddress.ts +0 -166
  533. package/src/api-functions/getDepositBtcAddress/getDepositBtcAddresses.stories.tsx +0 -57
  534. package/src/api-functions/getDepositBtcAddress/index.ts +0 -1
  535. package/src/api-functions/getDepositBtcAddress/make-request.ts +0 -59
  536. package/src/api-functions/getDepositBtcAddress/types.ts +0 -106
  537. package/src/api-functions/getDepositsByAddress/getDepositsByAddress.stories.tsx +0 -50
  538. package/src/api-functions/getDepositsByAddress/getDepositsByAddress.ts +0 -502
  539. package/src/api-functions/getDepositsByAddress/index.ts +0 -1
  540. package/src/api-functions/getLBTCExchangeRate/get-exchange-ratio.stories.tsx +0 -47
  541. package/src/api-functions/getLBTCExchangeRate/get-exchange-ratio.ts +0 -59
  542. package/src/api-functions/getLBTCExchangeRate/getLBTCExchangeRate.stories.tsx +0 -54
  543. package/src/api-functions/getLBTCExchangeRate/getLBTCExchangeRate.ts +0 -72
  544. package/src/api-functions/getLBTCExchangeRate/index.ts +0 -2
  545. package/src/api-functions/getNetworkFeeSignature/getNetworkFeeSignature.stories.tsx +0 -58
  546. package/src/api-functions/getNetworkFeeSignature/getNetworkFeeSignature.ts +0 -98
  547. package/src/api-functions/getNetworkFeeSignature/index.ts +0 -1
  548. package/src/api-functions/getPointsByAddress/getPointsByAddress.stories.tsx +0 -50
  549. package/src/api-functions/getPointsByAddress/getPointsByAddress.ts +0 -304
  550. package/src/api-functions/getPointsByAddress/index.ts +0 -1
  551. package/src/api-functions/getUnstakesByAddress/getUnstakesByAddress.stories.tsx +0 -50
  552. package/src/api-functions/getUnstakesByAddress/getUnstakesByAddress.ts +0 -368
  553. package/src/api-functions/getUnstakesByAddress/index.ts +0 -1
  554. package/src/api-functions/getUserStakeAndBakeSignature/getUserStakeAndBakeSignature.stories.tsx +0 -69
  555. package/src/api-functions/getUserStakeAndBakeSignature/getUserStakeAndBakeSignature.ts +0 -91
  556. package/src/api-functions/getUserStakeAndBakeSignature/index.ts +0 -1
  557. package/src/api-functions/index.ts +0 -11
  558. package/src/api-functions/setReferral/index.ts +0 -1
  559. package/src/api-functions/setReferral/setReferral.ts +0 -61
  560. package/src/api-functions/storeNetworkFeeSignature/index.ts +0 -1
  561. package/src/api-functions/storeNetworkFeeSignature/storeNetworkFeeSignature.stories.tsx +0 -56
  562. package/src/api-functions/storeNetworkFeeSignature/storeNetworkFeeSignature.ts +0 -65
  563. package/src/api-functions/storeStakeAndBakeSignature/index.ts +0 -1
  564. package/src/api-functions/storeStakeAndBakeSignature/storeStakeAndBakeSignature.stories.tsx +0 -56
  565. package/src/api-functions/storeStakeAndBakeSignature/storeStakeAndBakeSignature.ts +0 -61
  566. package/src/bridge/abi/CCIP_BRIDGE_ADAPTER_ABI.json +0 -704
  567. package/src/bridge/abi/CCIP_ROUTER_ABI.json +0 -702
  568. package/src/bridge/abi/OFT_BRIDGE_ADAPTER_ABI.json +0 -912
  569. package/src/bridge/index.ts +0 -16
  570. package/src/bridge/lib/bridge.stories.tsx +0 -89
  571. package/src/bridge/lib/bridge.ts +0 -115
  572. package/src/bridge/lib/ccip-bridge.stories.tsx +0 -90
  573. package/src/bridge/lib/ccip-bridge.ts +0 -214
  574. package/src/bridge/lib/ccip-config.ts +0 -54
  575. package/src/bridge/lib/config.ts +0 -384
  576. package/src/bridge/lib/oft-bridge.stories.tsx +0 -89
  577. package/src/bridge/lib/oft-bridge.ts +0 -217
  578. package/src/clients/evm-signer-adapter.ts +0 -313
  579. package/src/clients/public-client.ts +0 -53
  580. package/src/clients/rpc-url-config.ts +0 -57
  581. package/src/clients/wallet-client.ts +0 -34
  582. package/src/common/api-config.ts +0 -48
  583. package/src/common/blockchain-identifier.ts +0 -217
  584. package/src/common/chains.stories.tsx +0 -67
  585. package/src/common/chains.ts +0 -436
  586. package/src/common/constants.ts +0 -1
  587. package/src/common/contract-info.ts +0 -9
  588. package/src/common/feature-config.ts +0 -18
  589. package/src/common/parameters.ts +0 -89
  590. package/src/contract-functions/approveLBTC/approveLBTC.stories.tsx +0 -78
  591. package/src/contract-functions/approveLBTC/approveLBTC.ts +0 -66
  592. package/src/contract-functions/approveLBTC/index.ts +0 -1
  593. package/src/contract-functions/approveToken/approveToken.ts +0 -126
  594. package/src/contract-functions/approveToken/index.ts +0 -1
  595. package/src/contract-functions/claimLBTC/claimLBTC.stories.tsx +0 -81
  596. package/src/contract-functions/claimLBTC/claimLBTC.ts +0 -159
  597. package/src/contract-functions/claimLBTC/index.ts +0 -1
  598. package/src/contract-functions/claimUnstakeRedeem/claimUnstakeRedeem.ts +0 -95
  599. package/src/contract-functions/claimUnstakeRedeem/index.ts +0 -1
  600. package/src/contract-functions/deposit/depositToken.stories.tsx +0 -82
  601. package/src/contract-functions/deposit/depositToken.ts +0 -214
  602. package/src/contract-functions/deposit/index.ts +0 -1
  603. package/src/contract-functions/getBasculeDepositStatus/decodeBasculeDepositStatus.ts +0 -170
  604. package/src/contract-functions/getBasculeDepositStatus/getBasculeDepositStatus.stories.tsx +0 -61
  605. package/src/contract-functions/getBasculeDepositStatus/getBasculeDepositStatus.ts +0 -211
  606. package/src/contract-functions/getBasculeDepositStatus/index.ts +0 -2
  607. package/src/contract-functions/getLBTCMintingFee/getLBTCMintingFee.stories.tsx +0 -60
  608. package/src/contract-functions/getLBTCMintingFee/getLBTCMintingFee.ts +0 -193
  609. package/src/contract-functions/getLBTCMintingFee/index.ts +0 -1
  610. package/src/contract-functions/getLBTCTotalSupply/getLBTCTotalSupply.stories.tsx +0 -50
  611. package/src/contract-functions/getLBTCTotalSupply/getLBTCTotalSupply.ts +0 -40
  612. package/src/contract-functions/getLBTCTotalSupply/index.ts +0 -1
  613. package/src/contract-functions/getPermitNonce/getPermitNonce.stories.tsx +0 -55
  614. package/src/contract-functions/getPermitNonce/getPermitNonce.ts +0 -50
  615. package/src/contract-functions/getPermitNonce/index.ts +0 -1
  616. package/src/contract-functions/getShareValue/getShareValue.stories.tsx +0 -56
  617. package/src/contract-functions/getShareValue/getShareValue.ts +0 -59
  618. package/src/contract-functions/getShareValue/index.ts +0 -1
  619. package/src/contract-functions/getSharesByAddress/getSharesByAddress.stories.tsx +0 -65
  620. package/src/contract-functions/getSharesByAddress/getSharesByAddress.ts +0 -86
  621. package/src/contract-functions/getSharesByAddress/index.ts +0 -4
  622. package/src/contract-functions/getStakeAndBakeFee/__tests__/getStakeAndBakeFee.test.ts +0 -167
  623. package/src/contract-functions/getStakeAndBakeFee/getStakeAndBakeFee.stories.tsx +0 -180
  624. package/src/contract-functions/getStakeAndBakeFee/getStakeAndBakeFee.tsx +0 -101
  625. package/src/contract-functions/getStakeAndBakeFee/index.ts +0 -1
  626. package/src/contract-functions/index.ts +0 -21
  627. package/src/contract-functions/signLbtcDestionationAddr/index.ts +0 -1
  628. package/src/contract-functions/signLbtcDestionationAddr/signLbtcDestinationAddr.ts +0 -32
  629. package/src/contract-functions/signLbtcDestionationAddr/signLbtcDestionationAddr.stories.tsx +0 -63
  630. package/src/contract-functions/signNetworkFee/getTypedData.ts +0 -41
  631. package/src/contract-functions/signNetworkFee/index.ts +0 -1
  632. package/src/contract-functions/signNetworkFee/signNetworkFee.stories.tsx +0 -93
  633. package/src/contract-functions/signNetworkFee/signNetworkFee.ts +0 -106
  634. package/src/contract-functions/signStakeAndBake/__tests__/signStakeAndBake.test.ts +0 -887
  635. package/src/contract-functions/signStakeAndBake/handleApprove.ts +0 -81
  636. package/src/contract-functions/signStakeAndBake/handlePermit.ts +0 -28
  637. package/src/contract-functions/signStakeAndBake/index.ts +0 -2
  638. package/src/contract-functions/signStakeAndBake/signStakeAndBake.stories.tsx +0 -201
  639. package/src/contract-functions/signStakeAndBake/signStakeAndBake.ts +0 -159
  640. package/src/contract-functions/signStakeAndBake/typed-data-builder.ts +0 -137
  641. package/src/contract-functions/signStakeAndBake/utils.ts +0 -61
  642. package/src/contract-functions/signStakeAndBake/validation.ts +0 -124
  643. package/src/contract-functions/unstakeLBTC/index.ts +0 -1
  644. package/src/contract-functions/unstakeLBTC/unstakeLBTC.stories.tsx +0 -91
  645. package/src/contract-functions/unstakeLBTC/unstakeLBTC.ts +0 -396
  646. package/src/debug-api/btc-script-to-address.ts +0 -20
  647. package/src/debug-api/btc-tx-info.ts +0 -32
  648. package/src/debug-api/evm-by-btc-address.ts +0 -26
  649. package/src/debug-api/index.ts +0 -3
  650. package/src/defi/README.md +0 -501
  651. package/src/defi/defi-registry.stories.tsx +0 -526
  652. package/src/defi/defi-registry.ts +0 -179
  653. package/src/defi/index.ts +0 -5
  654. package/src/index.ts +0 -84
  655. package/src/metrics/get-additional-rewards.ts +0 -69
  656. package/src/metrics/get-lbtc-apy.ts +0 -74
  657. package/src/metrics/get-lbtc-stats.stories.tsx +0 -56
  658. package/src/metrics/get-lbtc-stats.ts +0 -59
  659. package/src/metrics/get-positions-summary.stories.tsx +0 -57
  660. package/src/metrics/get-positions-summary.ts +0 -132
  661. package/src/stories/arg-types.ts +0 -37
  662. package/src/stories/components/Button/Button.css +0 -10
  663. package/src/stories/components/Button/Button.tsx +0 -50
  664. package/src/stories/components/Button/index.ts +0 -1
  665. package/src/stories/components/CodeBlock/CodeBlock.tsx +0 -26
  666. package/src/stories/components/CodeBlock/CodeBlockStyles.css +0 -3
  667. package/src/stories/components/CodeBlock/index.ts +0 -1
  668. package/src/stories/components/ConnectButton/connect-button.tsx +0 -247
  669. package/src/stories/components/ConnectButton/index.ts +0 -1
  670. package/src/stories/components/Spinner/Spinner.tsx +0 -27
  671. package/src/stories/components/Spinner/index.ts +0 -1
  672. package/src/stories/components/decorators/function-type.tsx +0 -63
  673. package/src/stories/components/decorators/index.ts +0 -2
  674. package/src/stories/components/decorators/wagmi-decorator.tsx +0 -91
  675. package/src/stories/components/error-block.tsx +0 -21
  676. package/src/stories/constants.ts +0 -3
  677. package/src/stories/hooks/useConnection.ts +0 -62
  678. package/src/stories/hooks/useQuery.ts +0 -56
  679. package/src/tokens/abi/ASSET_ROUTER_ABI.ts +0 -1966
  680. package/src/tokens/abi/BRIDGE_TOKEN_ADAPTER_ABI.ts +0 -1405
  681. package/src/tokens/abi/BTCK_ABI.ts +0 -1092
  682. package/src/tokens/abi/KATANA_BASCULE_ABI.ts +0 -653
  683. package/src/tokens/abi/LBTC_ABI.json +0 -1761
  684. package/src/tokens/abi/LBTC_ABI.ts +0 -1761
  685. package/src/tokens/abi/LBTC_BASCULE_ABI.json +0 -850
  686. package/src/tokens/abi/NATIVE_LBTC_ABI.ts +0 -1147
  687. package/src/tokens/abi/STLBTC_ABI.ts +0 -1062
  688. package/src/tokens/cross-chain-addresses.stories.tsx +0 -235
  689. package/src/tokens/denomination-utils.stories.tsx +0 -175
  690. package/src/tokens/getLbtcContractAddresses.stories.tsx +0 -157
  691. package/src/tokens/getTokenByAddress.stories.tsx +0 -171
  692. package/src/tokens/getTokenContractInfo.stories.tsx +0 -147
  693. package/src/tokens/getTokenInfo.stories.tsx +0 -132
  694. package/src/tokens/isUpgradedContract.stories.tsx +0 -123
  695. package/src/tokens/lbtc-addresses.ts +0 -18
  696. package/src/tokens/token-addresses.ts +0 -428
  697. package/src/tokens/tokens.ts +0 -235
  698. package/src/tokens/types.ts +0 -80
  699. package/src/utils/array.ts +0 -31
  700. package/src/utils/block.ts +0 -23
  701. package/src/utils/env.ts +0 -20
  702. package/src/utils/err.ts +0 -83
  703. package/src/utils/gas.ts +0 -36
  704. package/src/utils/hex.ts +0 -9
  705. package/src/utils/numbers.ts +0 -8
  706. package/src/utils/pagination.ts +0 -70
  707. package/src/utils/satoshi.ts +0 -25
  708. package/src/utils/time.ts +0 -12
  709. package/src/utils/transaction-executor.ts +0 -299
  710. package/src/vaults/abi/SILO_VAULT_SPENDER_ABI.json +0 -793
  711. package/src/vaults/abi/VEDA_VAULT_ABI.json +0 -452
  712. package/src/vaults/abi/VEDA_VAULT_ACCOUNTANT_ABI.json +0 -591
  713. package/src/vaults/abi/VEDA_VAULT_BASE_ASSET_ABI.json +0 -296
  714. package/src/vaults/abi/VEDA_VAULT_BORING_WITHDRAW_QUEUE_ABI.json +0 -502
  715. package/src/vaults/abi/VEDA_VAULT_LENS_ABI.json +0 -175
  716. package/src/vaults/abi/VEDA_VAULT_SPENDER_ABI.json +0 -408
  717. package/src/vaults/abi/VEDA_VAULT_TELLER_ABI.json +0 -700
  718. package/src/vaults/abi/index.ts +0 -4
  719. package/src/vaults/index.ts +0 -46
  720. package/src/vaults/lib/config.ts +0 -203
  721. package/src/vaults/lib/metrics/get-vault-apy.stories.tsx +0 -57
  722. package/src/vaults/lib/metrics/get-vault-apy.ts +0 -176
  723. package/src/vaults/lib/metrics/get-vault-points.stories.tsx +0 -59
  724. package/src/vaults/lib/metrics/get-vault-points.ts +0 -74
  725. package/src/vaults/lib/metrics/get-vault-tvl.stories.tsx +0 -57
  726. package/src/vaults/lib/metrics/get-vault-tvl.ts +0 -121
  727. package/src/vaults/lib/ops/cancel-withdraw.stories.tsx +0 -79
  728. package/src/vaults/lib/ops/deposit.stories.tsx +0 -81
  729. package/src/vaults/lib/ops/deposit.ts +0 -152
  730. package/src/vaults/lib/ops/get-vault-deposits.stories.tsx +0 -64
  731. package/src/vaults/lib/ops/get-vault-deposits.ts +0 -209
  732. package/src/vaults/lib/ops/get-vault-withdrawals.stories.tsx +0 -66
  733. package/src/vaults/lib/ops/get-vault-withdrawals.ts +0 -349
  734. package/src/vaults/lib/ops/withdraw.stories.tsx +0 -81
  735. package/src/vaults/lib/ops/withdraw.ts +0 -225
  736. package/src/vite-env.d.ts +0 -1
@@ -0,0 +1,15 @@
1
+ import type { IEnvParam } from '../../common/parameters';
2
+ export interface GetDepositAddressReferrerParams extends IEnvParam {
3
+ address: string;
4
+ }
5
+ export interface DepositAddressReferrerResult {
6
+ hasDepositAddress: boolean;
7
+ referrer?: string;
8
+ }
9
+ /**
10
+ * Fetch the referrer associated with a previously generated BTC deposit address.
11
+ *
12
+ * @param params - Address lookup parameters
13
+ */
14
+ export declare function getDepositAddressReferrer({ address, env, }: GetDepositAddressReferrerParams): Promise<DepositAddressReferrerResult>;
15
+ //# sourceMappingURL=getDepositAddressReferrer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDepositAddressReferrer.d.ts","sourceRoot":"","sources":["../../../src/api-functions/getDepositAddressReferrer/getDepositAddressReferrer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAOzD,MAAM,WAAW,+BAAgC,SAAQ,SAAS;IAChE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,4BAA4B;IAC3C,iBAAiB,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAsB,yBAAyB,CAAC,EAC9C,OAAO,EACP,GAAG,GACJ,EAAE,+BAA+B,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAUzE"}
@@ -0,0 +1,2 @@
1
+ export * from './getDepositAddressReferrer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api-functions/getDepositAddressReferrer/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -4,7 +4,7 @@ import type { IGetDepositBtcAddressesParameters, IGetDepositBtcAddressParameters
4
4
  *
5
5
  * @throws {Error} - Throws an error if no address found or the provided chain id is not supported.
6
6
  */
7
- export declare function getDepositBtcAddress({ address, chainId, env, partnerId, token, }: IGetDepositBtcAddressParameters): Promise<string>;
7
+ export declare function getDepositBtcAddress({ address, chainId, env, partnerId, token: tokenParam, }: IGetDepositBtcAddressParameters): Promise<string>;
8
8
  /**
9
9
  * Returns the addresses for depositing BTC by given parameters.
10
10
  * @throws {Error} - Throws an error if chain id is not supported.
@@ -1 +1 @@
1
- {"version":3,"file":"getDepositBtcAddress.d.ts","sourceRoot":"","sources":["../../../src/api-functions/getDepositBtcAddress/getDepositBtcAddress.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,iCAAiC,EACjC,+BAA+B,EAChC,MAAM,SAAS,CAAC;AAEjB;;;;GAIG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,OAAO,EACP,OAAO,EACP,GAAG,EACH,SAAS,EACT,KAAkB,GACnB,EAAE,+BAA+B,mBAwHjC;AAED;;;GAGG;AACH,wBAAsB,sBAAsB,CAC1C,UAAU,EAAE,iCAAiC,4DAI9C"}
1
+ {"version":3,"file":"getDepositBtcAddress.d.ts","sourceRoot":"","sources":["../../../src/api-functions/getDepositBtcAddress/getDepositBtcAddress.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,iCAAiC,EACjC,+BAA+B,EAChC,MAAM,SAAS,CAAC;AAEjB;;;;GAIG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,OAAO,EACP,OAAO,EACP,GAAG,EACH,SAAS,EACT,KAAK,EAAE,UAAuB,GAC/B,EAAE,+BAA+B,mBAyHjC;AAED;;;GAGG;AACH,wBAAsB,sBAAsB,CAC1C,UAAU,EAAE,iCAAiC,4DAI9C"}
@@ -31,6 +31,9 @@ export interface IgetLBTCExchangeRateResponse {
31
31
  /**
32
32
  * Retrieves the exchange rate for LBTC.
33
33
  *
34
+ * @deprecated This API endpoint is deprecated and will be removed in a future version.
35
+ * The exchange rate is now always 1:1 as LBTC is a rebasing token.
36
+ *
34
37
  * @param {IgetLBTCExchangeRateParams} parameters - The parameters.
35
38
  * @param {BigNumber.Value} parameters.amount - The optional amount to be exchanged.
36
39
  * @param {ChainId} parameters.chainId - The optional chain id.
@@ -1 +1 @@
1
- {"version":3,"file":"getLBTCExchangeRate.d.ts","sourceRoot":"","sources":["../../../src/api-functions/getLBTCExchangeRate/getLBTCExchangeRate.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,cAAc,CAAC;AAIrC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAOpD,MAAM,WAAW,0BAA2B,SAAQ,SAAS;IAC3D;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,wBAAsB,mBAAmB,CAAC,EACxC,GAAG,EACH,OAA0B,EAC1B,MAAqB,GACtB,EAAE,0BAA0B,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAcpE"}
1
+ {"version":3,"file":"getLBTCExchangeRate.d.ts","sourceRoot":"","sources":["../../../src/api-functions/getLBTCExchangeRate/getLBTCExchangeRate.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,cAAc,CAAC;AAIrC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAOpD,MAAM,WAAW,0BAA2B,SAAQ,SAAS;IAC3D;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,mBAAmB,CAAC,EACxC,GAAG,EACH,OAA0B,EAC1B,MAAqB,GACtB,EAAE,0BAA0B,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAcpE"}
@@ -27,6 +27,14 @@ export interface IGetNetworkFeeSignatureMappedResponse {
27
27
  * The auto mint is delayed
28
28
  */
29
29
  isDelayed: boolean;
30
+ /**
31
+ * Serialized signature when available
32
+ */
33
+ signature?: string;
34
+ /**
35
+ * Serialized typed data associated with the signature when available
36
+ */
37
+ typedData?: string;
30
38
  }
31
39
  /**
32
40
  * Returns the expiration date and the flag signature exists
@@ -1 +1 @@
1
- {"version":3,"file":"getNetworkFeeSignature.d.ts","sourceRoot":"","sources":["../../../src/api-functions/getNetworkFeeSignature/getNetworkFeeSignature.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAiBD,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,wBAAsB,sBAAsB,CAAC,EAC3C,OAAO,EACP,OAAO,EACP,GAAG,EACH,YAAY,GACb,EAAE,6BAA6B,GAAG,OAAO,CAAC,qCAAqC,CAAC,CA8BhF"}
1
+ {"version":3,"file":"getNetworkFeeSignature.d.ts","sourceRoot":"","sources":["../../../src/api-functions/getNetworkFeeSignature/getNetworkFeeSignature.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAyBD,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,wBAAsB,sBAAsB,CAAC,EAC3C,OAAO,EACP,OAAO,EACP,GAAG,EACH,YAAY,GACb,EAAE,6BAA6B,GAAG,OAAO,CAAC,qCAAqC,CAAC,CAgChF"}
@@ -17,6 +17,10 @@ export interface ISetReferralParams extends IEnvParam {
17
17
  * The typed data object used to generate the signature if using a network fee authorization signature.
18
18
  */
19
19
  eip712Data?: string;
20
+ /**
21
+ * The public key (required for Starknet).
22
+ */
23
+ pubKey?: string;
20
24
  }
21
25
  /**
22
26
  * Set a referral code.
@@ -25,5 +29,5 @@ export interface ISetReferralParams extends IEnvParam {
25
29
  * @returns {Promise<void>} Nothing.
26
30
  * @exception {Error}
27
31
  */
28
- export declare function setReferral({ address, signature, eip712Data, referrerCode, env, }: ISetReferralParams): Promise<void>;
32
+ export declare function setReferral({ address, signature, eip712Data, referrerCode, pubKey, env, }: ISetReferralParams): Promise<void>;
29
33
  //# sourceMappingURL=setReferral.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setReferral.d.ts","sourceRoot":"","sources":["../../../src/api-functions/setReferral/setReferral.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAKpD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;GAMG;AACH,wBAAsB,WAAW,CAAC,EAChC,OAAO,EACP,SAAS,EACT,UAAU,EACV,YAAY,EACZ,GAAG,GACJ,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAmBpC"}
1
+ {"version":3,"file":"setReferral.d.ts","sourceRoot":"","sources":["../../../src/api-functions/setReferral/setReferral.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAKpD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAsB,WAAW,CAAC,EAChC,OAAO,EACP,SAAS,EACT,UAAU,EACV,YAAY,EACZ,MAAM,EACN,GAAG,GACJ,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAoBpC"}
@@ -13,6 +13,10 @@ export interface IStoreNetworkFeeSignatureParams extends IEnvParam {
13
13
  * Destination address
14
14
  */
15
15
  address: string;
16
+ /**
17
+ * Token address (required to distinguish LBTC vs BTC.b signatures)
18
+ */
19
+ tokenAddress?: string;
16
20
  }
17
21
  /**
18
22
  * Authorize network fee
@@ -25,5 +29,5 @@ export interface IStoreNetworkFeeSignatureParams extends IEnvParam {
25
29
  *
26
30
  * @returns {Promise<IStoreNetworkFeeSignatureResponse>}
27
31
  */
28
- export declare function storeNetworkFeeSignature({ signature, typedData, address, env, }: IStoreNetworkFeeSignatureParams): Promise<IStoreNetworkFeeSignatureStatus>;
32
+ export declare function storeNetworkFeeSignature({ signature, typedData, address, env, tokenAddress, }: IStoreNetworkFeeSignatureParams): Promise<IStoreNetworkFeeSignatureStatus>;
29
33
  //# sourceMappingURL=storeNetworkFeeSignature.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storeNetworkFeeSignature.d.ts","sourceRoot":"","sources":["../../../src/api-functions/storeNetworkFeeSignature/storeNetworkFeeSignature.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,MAAM,MAAM,+BAA+B,GAAG,SAAS,CAAC;AAMxD,MAAM,WAAW,+BAAgC,SAAQ,SAAS;IAChE;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,wBAAwB,CAAC,EAC7C,SAAS,EACT,SAAS,EACT,OAAO,EACP,GAAG,GACJ,EAAE,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAqB5E"}
1
+ {"version":3,"file":"storeNetworkFeeSignature.d.ts","sourceRoot":"","sources":["../../../src/api-functions/storeNetworkFeeSignature/storeNetworkFeeSignature.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,MAAM,MAAM,+BAA+B,GAAG,SAAS,CAAC;AAMxD,MAAM,WAAW,+BAAgC,SAAQ,SAAS;IAChE;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,wBAAwB,CAAC,EAC7C,SAAS,EACT,SAAS,EACT,OAAO,EACP,GAAG,EACH,YAAY,GACb,EAAE,+BAA+B,GAAG,OAAO,CAAC,+BAA+B,CAAC,CA0B5E"}
@@ -11,20 +11,20 @@ export declare const BRIDGE_EXPLORER_URL_MAP: {
11
11
  CCIP: string;
12
12
  OFT: string;
13
13
  };
14
- export declare const CCIP_BRIDGE_CHAINS: (1 | 8453 | 56 | 747474 | 146 | 43113 | 84532 | 17000 | 129399 | 11155111)[];
14
+ export declare const CCIP_BRIDGE_CHAINS: (1 | 8453 | 84532 | 56 | 43113 | 747474 | 129399 | 146 | 11155111 | 17000)[];
15
15
  export type CCIPBridgeChain = (typeof CCIP_BRIDGE_CHAINS)[number];
16
- export declare const OFT_BRIDGE_CHAINS: (1 | 80094 | 21000000 | 42793 | 1923 | 239 | 80084 | 11155111)[];
17
- export declare const BRIDGE_CHAINS: (1 | 8453 | 80094 | 56 | 21000000 | 42793 | 747474 | 146 | 1923 | 239 | 43113 | 84532 | 80084 | 17000 | 129399 | 11155111)[];
16
+ export declare const OFT_BRIDGE_CHAINS: (1 | 80094 | 80084 | 21000000 | 42793 | 1923 | 239 | 11155111)[];
17
+ export declare const BRIDGE_CHAINS: (1 | 8453 | 84532 | 56 | 43113 | 80094 | 80084 | 21000000 | 42793 | 747474 | 129399 | 146 | 1923 | 239 | 11155111 | 17000)[];
18
18
  export type BridgeChain = CCIPBridgeChain | OFTBridgeChain;
19
19
  export declare const OFT_GAS_LIMIT = 90000;
20
20
  export declare const OFT_HI_GAS_LIMIT = 200000;
21
- export declare const OFT_HI_GAS_LIMIT_CHAINS: (80094 | 21000000 | 42793 | 2818 | 146 | 239 | 80084 | 2810)[];
21
+ export declare const OFT_HI_GAS_LIMIT_CHAINS: (80094 | 80084 | 21000000 | 42793 | 2818 | 146 | 239 | 2810)[];
22
22
  export type OFTBridgeChain = (typeof OFT_BRIDGE_CHAINS)[number];
23
23
  type BridgeInfo = {
24
24
  type: BridgeType;
25
25
  contract: ContractInfo;
26
26
  };
27
- export declare const BRIDGES: Map<"[from:1, to: 1]" | "[from:1, to: 8453]" | "[from:1, to: 56]" | "[from:1, to: 747474]" | "[from:1, to: 146]" | "[from:1, to: 43113]" | "[from:1, to: 84532]" | "[from:1, to: 17000]" | "[from:1, to: 129399]" | "[from:1, to: 11155111]" | "[from:8453, to: 1]" | "[from:8453, to: 8453]" | "[from:8453, to: 56]" | "[from:8453, to: 747474]" | "[from:8453, to: 146]" | "[from:8453, to: 43113]" | "[from:8453, to: 84532]" | "[from:8453, to: 17000]" | "[from:8453, to: 129399]" | "[from:8453, to: 11155111]" | "[from:56, to: 1]" | "[from:56, to: 8453]" | "[from:56, to: 56]" | "[from:56, to: 747474]" | "[from:56, to: 146]" | "[from:56, to: 43113]" | "[from:56, to: 84532]" | "[from:56, to: 17000]" | "[from:56, to: 129399]" | "[from:56, to: 11155111]" | "[from:747474, to: 1]" | "[from:747474, to: 8453]" | "[from:747474, to: 56]" | "[from:747474, to: 747474]" | "[from:747474, to: 146]" | "[from:747474, to: 43113]" | "[from:747474, to: 84532]" | "[from:747474, to: 17000]" | "[from:747474, to: 129399]" | "[from:747474, to: 11155111]" | "[from:146, to: 1]" | "[from:146, to: 8453]" | "[from:146, to: 56]" | "[from:146, to: 747474]" | "[from:146, to: 146]" | "[from:146, to: 43113]" | "[from:146, to: 84532]" | "[from:146, to: 17000]" | "[from:146, to: 129399]" | "[from:146, to: 11155111]" | "[from:43113, to: 1]" | "[from:43113, to: 8453]" | "[from:43113, to: 56]" | "[from:43113, to: 747474]" | "[from:43113, to: 146]" | "[from:43113, to: 43113]" | "[from:43113, to: 84532]" | "[from:43113, to: 17000]" | "[from:43113, to: 129399]" | "[from:43113, to: 11155111]" | "[from:84532, to: 1]" | "[from:84532, to: 8453]" | "[from:84532, to: 56]" | "[from:84532, to: 747474]" | "[from:84532, to: 146]" | "[from:84532, to: 43113]" | "[from:84532, to: 84532]" | "[from:84532, to: 17000]" | "[from:84532, to: 129399]" | "[from:84532, to: 11155111]" | "[from:17000, to: 1]" | "[from:17000, to: 8453]" | "[from:17000, to: 56]" | "[from:17000, to: 747474]" | "[from:17000, to: 146]" | "[from:17000, to: 43113]" | "[from:17000, to: 84532]" | "[from:17000, to: 17000]" | "[from:17000, to: 129399]" | "[from:17000, to: 11155111]" | "[from:129399, to: 1]" | "[from:129399, to: 8453]" | "[from:129399, to: 56]" | "[from:129399, to: 747474]" | "[from:129399, to: 146]" | "[from:129399, to: 43113]" | "[from:129399, to: 84532]" | "[from:129399, to: 17000]" | "[from:129399, to: 129399]" | "[from:129399, to: 11155111]" | "[from:11155111, to: 1]" | "[from:11155111, to: 8453]" | "[from:11155111, to: 56]" | "[from:11155111, to: 747474]" | "[from:11155111, to: 146]" | "[from:11155111, to: 43113]" | "[from:11155111, to: 84532]" | "[from:11155111, to: 17000]" | "[from:11155111, to: 129399]" | "[from:11155111, to: 11155111]" | "[from:1, to: 80094]" | "[from:1, to: 21000000]" | "[from:1, to: 42793]" | "[from:1, to: 1923]" | "[from:1, to: 239]" | "[from:1, to: 80084]" | "[from:80094, to: 1]" | "[from:80094, to: 80094]" | "[from:80094, to: 21000000]" | "[from:80094, to: 42793]" | "[from:80094, to: 1923]" | "[from:80094, to: 239]" | "[from:80094, to: 80084]" | "[from:80094, to: 11155111]" | "[from:21000000, to: 1]" | "[from:21000000, to: 80094]" | "[from:21000000, to: 21000000]" | "[from:21000000, to: 42793]" | "[from:21000000, to: 1923]" | "[from:21000000, to: 239]" | "[from:21000000, to: 80084]" | "[from:21000000, to: 11155111]" | "[from:42793, to: 1]" | "[from:42793, to: 80094]" | "[from:42793, to: 21000000]" | "[from:42793, to: 42793]" | "[from:42793, to: 1923]" | "[from:42793, to: 239]" | "[from:42793, to: 80084]" | "[from:42793, to: 11155111]" | "[from:1923, to: 1]" | "[from:1923, to: 80094]" | "[from:1923, to: 21000000]" | "[from:1923, to: 42793]" | "[from:1923, to: 1923]" | "[from:1923, to: 239]" | "[from:1923, to: 80084]" | "[from:1923, to: 11155111]" | "[from:239, to: 1]" | "[from:239, to: 80094]" | "[from:239, to: 21000000]" | "[from:239, to: 42793]" | "[from:239, to: 1923]" | "[from:239, to: 239]" | "[from:239, to: 80084]" | "[from:239, to: 11155111]" | "[from:80084, to: 1]" | "[from:80084, to: 80094]" | "[from:80084, to: 21000000]" | "[from:80084, to: 42793]" | "[from:80084, to: 1923]" | "[from:80084, to: 239]" | "[from:80084, to: 80084]" | "[from:80084, to: 11155111]" | "[from:11155111, to: 80094]" | "[from:11155111, to: 21000000]" | "[from:11155111, to: 42793]" | "[from:11155111, to: 1923]" | "[from:11155111, to: 239]" | "[from:11155111, to: 80084]" | "[from:8453, to: 80094]" | "[from:8453, to: 21000000]" | "[from:8453, to: 42793]" | "[from:8453, to: 1923]" | "[from:8453, to: 239]" | "[from:8453, to: 80084]" | "[from:80094, to: 8453]" | "[from:80094, to: 56]" | "[from:80094, to: 747474]" | "[from:80094, to: 146]" | "[from:80094, to: 43113]" | "[from:80094, to: 84532]" | "[from:80094, to: 17000]" | "[from:80094, to: 129399]" | "[from:56, to: 80094]" | "[from:56, to: 21000000]" | "[from:56, to: 42793]" | "[from:56, to: 1923]" | "[from:56, to: 239]" | "[from:56, to: 80084]" | "[from:21000000, to: 8453]" | "[from:21000000, to: 56]" | "[from:21000000, to: 747474]" | "[from:21000000, to: 146]" | "[from:21000000, to: 43113]" | "[from:21000000, to: 84532]" | "[from:21000000, to: 17000]" | "[from:21000000, to: 129399]" | "[from:42793, to: 8453]" | "[from:42793, to: 56]" | "[from:42793, to: 747474]" | "[from:42793, to: 146]" | "[from:42793, to: 43113]" | "[from:42793, to: 84532]" | "[from:42793, to: 17000]" | "[from:42793, to: 129399]" | "[from:747474, to: 80094]" | "[from:747474, to: 21000000]" | "[from:747474, to: 42793]" | "[from:747474, to: 1923]" | "[from:747474, to: 239]" | "[from:747474, to: 80084]" | "[from:146, to: 80094]" | "[from:146, to: 21000000]" | "[from:146, to: 42793]" | "[from:146, to: 1923]" | "[from:146, to: 239]" | "[from:146, to: 80084]" | "[from:1923, to: 8453]" | "[from:1923, to: 56]" | "[from:1923, to: 747474]" | "[from:1923, to: 146]" | "[from:1923, to: 43113]" | "[from:1923, to: 84532]" | "[from:1923, to: 17000]" | "[from:1923, to: 129399]" | "[from:239, to: 8453]" | "[from:239, to: 56]" | "[from:239, to: 747474]" | "[from:239, to: 146]" | "[from:239, to: 43113]" | "[from:239, to: 84532]" | "[from:239, to: 17000]" | "[from:239, to: 129399]" | "[from:43113, to: 80094]" | "[from:43113, to: 21000000]" | "[from:43113, to: 42793]" | "[from:43113, to: 1923]" | "[from:43113, to: 239]" | "[from:43113, to: 80084]" | "[from:84532, to: 80094]" | "[from:84532, to: 21000000]" | "[from:84532, to: 42793]" | "[from:84532, to: 1923]" | "[from:84532, to: 239]" | "[from:84532, to: 80084]" | "[from:80084, to: 8453]" | "[from:80084, to: 56]" | "[from:80084, to: 747474]" | "[from:80084, to: 146]" | "[from:80084, to: 43113]" | "[from:80084, to: 84532]" | "[from:80084, to: 17000]" | "[from:80084, to: 129399]" | "[from:17000, to: 80094]" | "[from:17000, to: 21000000]" | "[from:17000, to: 42793]" | "[from:17000, to: 1923]" | "[from:17000, to: 239]" | "[from:17000, to: 80084]" | "[from:129399, to: 80094]" | "[from:129399, to: 21000000]" | "[from:129399, to: 42793]" | "[from:129399, to: 1923]" | "[from:129399, to: 239]" | "[from:129399, to: 80084]", BridgeInfo>;
27
+ export declare const BRIDGES: Map<"[from:1, to: 1]" | "[from:1, to: 8453]" | "[from:1, to: 84532]" | "[from:1, to: 56]" | "[from:1, to: 43113]" | "[from:1, to: 747474]" | "[from:1, to: 129399]" | "[from:1, to: 146]" | "[from:1, to: 11155111]" | "[from:1, to: 17000]" | "[from:8453, to: 1]" | "[from:8453, to: 8453]" | "[from:8453, to: 84532]" | "[from:8453, to: 56]" | "[from:8453, to: 43113]" | "[from:8453, to: 747474]" | "[from:8453, to: 129399]" | "[from:8453, to: 146]" | "[from:8453, to: 11155111]" | "[from:8453, to: 17000]" | "[from:84532, to: 1]" | "[from:84532, to: 8453]" | "[from:84532, to: 84532]" | "[from:84532, to: 56]" | "[from:84532, to: 43113]" | "[from:84532, to: 747474]" | "[from:84532, to: 129399]" | "[from:84532, to: 146]" | "[from:84532, to: 11155111]" | "[from:84532, to: 17000]" | "[from:56, to: 1]" | "[from:56, to: 8453]" | "[from:56, to: 84532]" | "[from:56, to: 56]" | "[from:56, to: 43113]" | "[from:56, to: 747474]" | "[from:56, to: 129399]" | "[from:56, to: 146]" | "[from:56, to: 11155111]" | "[from:56, to: 17000]" | "[from:43113, to: 1]" | "[from:43113, to: 8453]" | "[from:43113, to: 84532]" | "[from:43113, to: 56]" | "[from:43113, to: 43113]" | "[from:43113, to: 747474]" | "[from:43113, to: 129399]" | "[from:43113, to: 146]" | "[from:43113, to: 11155111]" | "[from:43113, to: 17000]" | "[from:747474, to: 1]" | "[from:747474, to: 8453]" | "[from:747474, to: 84532]" | "[from:747474, to: 56]" | "[from:747474, to: 43113]" | "[from:747474, to: 747474]" | "[from:747474, to: 129399]" | "[from:747474, to: 146]" | "[from:747474, to: 11155111]" | "[from:747474, to: 17000]" | "[from:129399, to: 1]" | "[from:129399, to: 8453]" | "[from:129399, to: 84532]" | "[from:129399, to: 56]" | "[from:129399, to: 43113]" | "[from:129399, to: 747474]" | "[from:129399, to: 129399]" | "[from:129399, to: 146]" | "[from:129399, to: 11155111]" | "[from:129399, to: 17000]" | "[from:146, to: 1]" | "[from:146, to: 8453]" | "[from:146, to: 84532]" | "[from:146, to: 56]" | "[from:146, to: 43113]" | "[from:146, to: 747474]" | "[from:146, to: 129399]" | "[from:146, to: 146]" | "[from:146, to: 11155111]" | "[from:146, to: 17000]" | "[from:11155111, to: 1]" | "[from:11155111, to: 8453]" | "[from:11155111, to: 84532]" | "[from:11155111, to: 56]" | "[from:11155111, to: 43113]" | "[from:11155111, to: 747474]" | "[from:11155111, to: 129399]" | "[from:11155111, to: 146]" | "[from:11155111, to: 11155111]" | "[from:11155111, to: 17000]" | "[from:17000, to: 1]" | "[from:17000, to: 8453]" | "[from:17000, to: 84532]" | "[from:17000, to: 56]" | "[from:17000, to: 43113]" | "[from:17000, to: 747474]" | "[from:17000, to: 129399]" | "[from:17000, to: 146]" | "[from:17000, to: 11155111]" | "[from:17000, to: 17000]" | "[from:1, to: 80094]" | "[from:1, to: 80084]" | "[from:1, to: 21000000]" | "[from:1, to: 42793]" | "[from:1, to: 1923]" | "[from:1, to: 239]" | "[from:80094, to: 1]" | "[from:80094, to: 80094]" | "[from:80094, to: 80084]" | "[from:80094, to: 21000000]" | "[from:80094, to: 42793]" | "[from:80094, to: 1923]" | "[from:80094, to: 239]" | "[from:80094, to: 11155111]" | "[from:80084, to: 1]" | "[from:80084, to: 80094]" | "[from:80084, to: 80084]" | "[from:80084, to: 21000000]" | "[from:80084, to: 42793]" | "[from:80084, to: 1923]" | "[from:80084, to: 239]" | "[from:80084, to: 11155111]" | "[from:21000000, to: 1]" | "[from:21000000, to: 80094]" | "[from:21000000, to: 80084]" | "[from:21000000, to: 21000000]" | "[from:21000000, to: 42793]" | "[from:21000000, to: 1923]" | "[from:21000000, to: 239]" | "[from:21000000, to: 11155111]" | "[from:42793, to: 1]" | "[from:42793, to: 80094]" | "[from:42793, to: 80084]" | "[from:42793, to: 21000000]" | "[from:42793, to: 42793]" | "[from:42793, to: 1923]" | "[from:42793, to: 239]" | "[from:42793, to: 11155111]" | "[from:1923, to: 1]" | "[from:1923, to: 80094]" | "[from:1923, to: 80084]" | "[from:1923, to: 21000000]" | "[from:1923, to: 42793]" | "[from:1923, to: 1923]" | "[from:1923, to: 239]" | "[from:1923, to: 11155111]" | "[from:239, to: 1]" | "[from:239, to: 80094]" | "[from:239, to: 80084]" | "[from:239, to: 21000000]" | "[from:239, to: 42793]" | "[from:239, to: 1923]" | "[from:239, to: 239]" | "[from:239, to: 11155111]" | "[from:11155111, to: 80094]" | "[from:11155111, to: 80084]" | "[from:11155111, to: 21000000]" | "[from:11155111, to: 42793]" | "[from:11155111, to: 1923]" | "[from:11155111, to: 239]" | "[from:8453, to: 80094]" | "[from:8453, to: 80084]" | "[from:8453, to: 21000000]" | "[from:8453, to: 42793]" | "[from:8453, to: 1923]" | "[from:8453, to: 239]" | "[from:84532, to: 80094]" | "[from:84532, to: 80084]" | "[from:84532, to: 21000000]" | "[from:84532, to: 42793]" | "[from:84532, to: 1923]" | "[from:84532, to: 239]" | "[from:56, to: 80094]" | "[from:56, to: 80084]" | "[from:56, to: 21000000]" | "[from:56, to: 42793]" | "[from:56, to: 1923]" | "[from:56, to: 239]" | "[from:43113, to: 80094]" | "[from:43113, to: 80084]" | "[from:43113, to: 21000000]" | "[from:43113, to: 42793]" | "[from:43113, to: 1923]" | "[from:43113, to: 239]" | "[from:80094, to: 8453]" | "[from:80094, to: 84532]" | "[from:80094, to: 56]" | "[from:80094, to: 43113]" | "[from:80094, to: 747474]" | "[from:80094, to: 129399]" | "[from:80094, to: 146]" | "[from:80094, to: 17000]" | "[from:80084, to: 8453]" | "[from:80084, to: 84532]" | "[from:80084, to: 56]" | "[from:80084, to: 43113]" | "[from:80084, to: 747474]" | "[from:80084, to: 129399]" | "[from:80084, to: 146]" | "[from:80084, to: 17000]" | "[from:21000000, to: 8453]" | "[from:21000000, to: 84532]" | "[from:21000000, to: 56]" | "[from:21000000, to: 43113]" | "[from:21000000, to: 747474]" | "[from:21000000, to: 129399]" | "[from:21000000, to: 146]" | "[from:21000000, to: 17000]" | "[from:42793, to: 8453]" | "[from:42793, to: 84532]" | "[from:42793, to: 56]" | "[from:42793, to: 43113]" | "[from:42793, to: 747474]" | "[from:42793, to: 129399]" | "[from:42793, to: 146]" | "[from:42793, to: 17000]" | "[from:747474, to: 80094]" | "[from:747474, to: 80084]" | "[from:747474, to: 21000000]" | "[from:747474, to: 42793]" | "[from:747474, to: 1923]" | "[from:747474, to: 239]" | "[from:129399, to: 80094]" | "[from:129399, to: 80084]" | "[from:129399, to: 21000000]" | "[from:129399, to: 42793]" | "[from:129399, to: 1923]" | "[from:129399, to: 239]" | "[from:146, to: 80094]" | "[from:146, to: 80084]" | "[from:146, to: 21000000]" | "[from:146, to: 42793]" | "[from:146, to: 1923]" | "[from:146, to: 239]" | "[from:1923, to: 8453]" | "[from:1923, to: 84532]" | "[from:1923, to: 56]" | "[from:1923, to: 43113]" | "[from:1923, to: 747474]" | "[from:1923, to: 129399]" | "[from:1923, to: 146]" | "[from:1923, to: 17000]" | "[from:239, to: 8453]" | "[from:239, to: 84532]" | "[from:239, to: 56]" | "[from:239, to: 43113]" | "[from:239, to: 747474]" | "[from:239, to: 129399]" | "[from:239, to: 146]" | "[from:239, to: 17000]" | "[from:17000, to: 80094]" | "[from:17000, to: 80084]" | "[from:17000, to: 21000000]" | "[from:17000, to: 42793]" | "[from:17000, to: 1923]" | "[from:17000, to: 239]", BridgeInfo>;
28
28
  /** Gets the bridge information */
29
29
  export declare const getBridgeInfo: (from: BridgeChain, to: BridgeChain) => BridgeInfo | undefined;
30
30
  export {};
@@ -0,0 +1,155 @@
1
+ /**
2
+ * BTC Actions
3
+ *
4
+ * Provides factory methods for Bitcoin operations (stake, stakeAndDeploy, deposit).
5
+ * This is the user-facing API for BTC operations.
6
+ *
7
+ * @example
8
+ * ```typescript
9
+ * import { createLombardSDK, Chain, AssetId, Env } from '@lombard.finance/sdk';
10
+ *
11
+ * const sdk = await createLombardSDK({
12
+ * env: Env.prod,
13
+ * providers: { evm: () => window.ethereum },
14
+ * });
15
+ *
16
+ * const stake = sdk.chain.btc.stake({
17
+ * assetOut: AssetId.LBTC,
18
+ * destChain: Chain.ETHEREUM,
19
+ * });
20
+ *
21
+ * await stake.prepare({ amount: '0.1', recipient: '0x...' });
22
+ * await stake.authorize();
23
+ * const address = await stake.generateDepositAddress();
24
+ * ```
25
+ *
26
+ * @module chains/btc/BtcActions
27
+ */
28
+ import type { LombardConfig } from '../../config/types';
29
+ import type { BtcDeposit as IBtcDeposit, BtcDepositParams } from './actions/deposit/types';
30
+ import type { BtcDepositAndDeploy as IBtcDepositAndDeploy, BtcDepositAndDeployParams } from './actions/depositAndDeploy/types';
31
+ import type { BtcStake as IBtcStake, BtcStakeParams } from './actions/stake/types';
32
+ import type { BtcStakeAndDeploy as IBtcStakeAndDeploy, BtcStakeAndDeployParams } from './actions/stakeAndDeploy/types';
33
+ /**
34
+ * BTC Actions
35
+ *
36
+ * User-facing class for Bitcoin operations.
37
+ * Created via btcActions(config) factory function.
38
+ */
39
+ export declare class BtcActions {
40
+ private readonly ctx;
41
+ constructor(config: LombardConfig);
42
+ /**
43
+ * Stake BTC → LBTC
44
+ *
45
+ * Creates a stake operation for converting BTC to LBTC on a destination chain.
46
+ * Supports all destination chains: EVM, Solana, Sui, and Starknet.
47
+ *
48
+ * @param params - Stake parameters
49
+ * @returns BtcStake instance
50
+ *
51
+ * @example
52
+ * ```typescript
53
+ * const stake = btc.stake({
54
+ * assetOut: AssetId.LBTC,
55
+ * destChain: Chain.ETHEREUM,
56
+ * });
57
+ *
58
+ * await stake.prepare({ amount: '0.1', recipient: '0x...' });
59
+ * await stake.authorize();
60
+ * const address = await stake.generateDepositAddress();
61
+ * ```
62
+ */
63
+ stake(params: BtcStakeParams): IBtcStake;
64
+ /**
65
+ * Stake and Deploy BTC → LBTC + auto-deploy ("Stake and Bake")
66
+ *
67
+ * Creates an atomic operation that:
68
+ * 1. Converts BTC to LBTC
69
+ * 2. Automatically deposits LBTC to the specified DeFi vault
70
+ *
71
+ * @param params - StakeAndDeploy parameters including protocol/vault
72
+ * @returns BtcStakeAndDeploy instance
73
+ *
74
+ * @example
75
+ * ```typescript
76
+ * const action = btc.stakeAndDeploy({
77
+ * assetOut: AssetId.LBTC,
78
+ * destChain: Chain.ETHEREUM,
79
+ * protocol: DeployProtocol.Veda,
80
+ * });
81
+ *
82
+ * await action.prepare({ amount: '0.1', recipient: '0x...' });
83
+ * await action.authorizeDeposit();
84
+ * const address = await action.generateDepositAddress();
85
+ * ```
86
+ */
87
+ stakeAndDeploy(params: BtcStakeAndDeployParams): IBtcStakeAndDeploy;
88
+ /**
89
+ * Deposit BTC for custody (BTC → BTC.b)
90
+ *
91
+ * Creates a deposit operation for custodying BTC with BTC.b minting.
92
+ * This is for custody without staking. For staking (BTC → LBTC), use stake().
93
+ *
94
+ * @param params - Deposit parameters
95
+ * @returns BtcDeposit instance
96
+ *
97
+ * @example
98
+ * ```typescript
99
+ * const deposit = btc.deposit({
100
+ * assetOut: AssetId.BTCb,
101
+ * destChain: Chain.AVALANCHE,
102
+ * });
103
+ *
104
+ * await deposit.prepare({ amount: '0.1', recipient: '0x...' });
105
+ * await deposit.authorizeFee();
106
+ * const address = await deposit.generateDepositAddress();
107
+ * ```
108
+ */
109
+ deposit(params: BtcDepositParams): IBtcDeposit;
110
+ /**
111
+ * Deposit and Deploy BTC → BTC.b + auto-deploy to vault
112
+ *
113
+ * Creates an atomic operation that:
114
+ * 1. Converts BTC to BTC.b (wrapped BTC)
115
+ * 2. Automatically deposits BTC.b to the specified DeFi vault (e.g., Silo on Avalanche)
116
+ *
117
+ * This is similar to stakeAndDeploy but for protocols that accept BTC.b instead of LBTC.
118
+ *
119
+ * @param params - DepositAndDeploy parameters including protocol/vault
120
+ * @returns BtcDepositAndDeploy instance
121
+ *
122
+ * @example
123
+ * ```typescript
124
+ * const action = btc.depositAndDeploy({
125
+ * assetOut: AssetId.BTCb,
126
+ * destChain: Chain.AVALANCHE,
127
+ * protocol: DeployProtocol.Silo,
128
+ * });
129
+ *
130
+ * await action.prepare({ amount: '0.1', recipient: '0x...' });
131
+ * await action.authorizeDeposit();
132
+ * const address = await action.generateDepositAddress();
133
+ * ```
134
+ */
135
+ depositAndDeploy(params: BtcDepositAndDeployParams): IBtcDepositAndDeploy;
136
+ }
137
+ /**
138
+ * Create BTC actions from config
139
+ *
140
+ * @internal This factory is for internal use. Use createLombardSDK() instead:
141
+ *
142
+ * @example
143
+ * ```typescript
144
+ * const sdk = await createLombardSDK({ env: Env.prod, providers: { ... } });
145
+ * const stake = sdk.chain.btc.stake({ destChain: Chain.ETHEREUM, assetOut: AssetId.LBTC });
146
+ * const deposit = sdk.chain.btc.deposit({ destChain: Chain.AVALANCHE, assetOut: AssetId.BTCb });
147
+ * const stakeAndDeploy = sdk.chain.btc.stakeAndDeploy({
148
+ * destChain: Chain.AVALANCHE,
149
+ * assetOut: AssetId.BTCb,
150
+ * protocol: DeployProtocol.Silo,
151
+ * });
152
+ * ```
153
+ */
154
+ export declare function btcActions(config: LombardConfig): BtcActions;
155
+ //# sourceMappingURL=BtcActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BtcActions.d.ts","sourceRoot":"","sources":["../../../src/chains/btc/BtcActions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAIxD,OAAO,KAAK,EACV,UAAU,IAAI,WAAW,EACzB,gBAAgB,EACjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EACV,mBAAmB,IAAI,oBAAoB,EAC3C,yBAAyB,EAC1B,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EACV,QAAQ,IAAI,SAAS,EACrB,cAAc,EACf,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EACV,iBAAiB,IAAI,kBAAkB,EACvC,uBAAuB,EACxB,MAAM,gCAAgC,CAAC;AAExC;;;;;GAKG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAiB;gBAEzB,MAAM,EAAE,aAAa;IAIjC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,MAAM,EAAE,cAAc,GAAG,SAAS;IAIxC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,cAAc,CAAC,MAAM,EAAE,uBAAuB,GAAG,kBAAkB;IAInE;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,OAAO,CAAC,MAAM,EAAE,gBAAgB,GAAG,WAAW;IAI9C;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,gBAAgB,CAAC,MAAM,EAAE,yBAAyB,GAAG,oBAAoB;CAG1E;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAE5D"}
@@ -0,0 +1,83 @@
1
+ /**
2
+ * BTC Deposit Action
3
+ *
4
+ * Handles BTC deposit operations for custody without staking.
5
+ * Currently supports EVM destination chains.
6
+ *
7
+ * Fee authorization is ONLY required for Ethereum mainnet.
8
+ * Other chains use address confirmation signing.
9
+ *
10
+ * @module chains/btc/actions/deposit/BtcDeposit
11
+ */
12
+ import type { z } from 'zod';
13
+ import type { ChainId } from '../../../../common/chains';
14
+ import type { BtcCoreContext } from '../../../../shared/context';
15
+ import type { DepositEventMap } from '../../../../shared/events';
16
+ import type { MonitorProgress } from '../../../../shared/monitoring';
17
+ import { BaseBtcAction, type StatusConfig, type StepDefinition } from '../shared';
18
+ import { BtcActionStatus, type BtcDeposit as IBtcDeposit, type BtcDepositParams, type BtcDepositPrepareParams } from './types';
19
+ /**
20
+ * BTC Deposit Action
21
+ *
22
+ * Handles BTC deposit to custody with BTC.b minting on destination chain.
23
+ * This is for custody without staking. For staking (BTC → LBTC), use BtcStake.
24
+ *
25
+ * @example
26
+ * ```typescript
27
+ * const deposit = new BtcDeposit(ctx, {
28
+ * assetOut: AssetId.BTCb,
29
+ * destChain: Chain.AVALANCHE,
30
+ * });
31
+ *
32
+ * await deposit.prepare({ amount: '0.1', recipient: '0x...' });
33
+ * await deposit.authorizeFee();
34
+ * const address = await deposit.generateDepositAddress();
35
+ * ```
36
+ */
37
+ export declare class BtcDeposit extends BaseBtcAction<DepositEventMap, BtcActionStatus, BtcDepositParams> implements IBtcDeposit {
38
+ private readonly chainId;
39
+ private readonly authState;
40
+ /** Fee auth config - null if not required for this destination */
41
+ private feeAuthConfig;
42
+ constructor(ctx: BtcCoreContext, params: BtcDepositParams);
43
+ protected getAddressSchema(): z.ZodType<string>;
44
+ protected getStatusConfig(): StatusConfig<BtcActionStatus>;
45
+ protected getInitialSteps(): StepDefinition;
46
+ protected isAuthorized(): boolean;
47
+ protected getChainId(): ChainId;
48
+ /**
49
+ * Get the minting fee for this deposit (in BTC)
50
+ * Available after prepare() when fee authorization is required
51
+ */
52
+ get mintingFee(): string | undefined;
53
+ protected getDepositAddressParams(): {
54
+ address: string;
55
+ chainId: ChainId;
56
+ signature: string;
57
+ token: string;
58
+ eip712Data: string | undefined;
59
+ partnerId: string | undefined;
60
+ referrerCode: string | undefined;
61
+ };
62
+ /**
63
+ * Override to ensure we have a signature before generating deposit address.
64
+ *
65
+ * When fee auth exists on server but signature isn't available locally,
66
+ * we fall back to signing the destination address.
67
+ */
68
+ generateDepositAddress(): Promise<string>;
69
+ /**
70
+ * Get expected token for this action (BTCb by default for BTC Deposit)
71
+ */
72
+ protected getExpectedToken(): string;
73
+ protected getAuthRequiredMessage(): string;
74
+ prepare(params: BtcDepositPrepareParams): Promise<void>;
75
+ authorizeFee(): Promise<void>;
76
+ confirmAddress(): Promise<void>;
77
+ execute(): Promise<{
78
+ depositAddress: string;
79
+ txHash?: string;
80
+ }>;
81
+ monitorDeposit(): Promise<MonitorProgress | undefined>;
82
+ }
83
+ //# sourceMappingURL=BtcDeposit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BtcDeposit.d.ts","sourceRoot":"","sources":["../../../../../src/chains/btc/actions/deposit/BtcDeposit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAGzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAEL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,cAAc,EACpB,MAAM,WAAW,CAAC;AAQnB,OAAO,EACL,eAAe,EACf,KAAK,UAAU,IAAI,WAAW,EAC9B,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC7B,MAAM,SAAS,CAAC;AAkBjB;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,UACX,SAAQ,aAAa,CAAC,eAAe,EAAE,eAAe,EAAE,gBAAgB,CACxE,YAAW,WAAW;IAEtB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA6C;IAEvE,kEAAkE;IAClE,OAAO,CAAC,aAAa,CAAqC;gBAE9C,GAAG,EAAE,cAAc,EAAE,MAAM,EAAE,gBAAgB;IA4CzD,SAAS,CAAC,gBAAgB,IAAI,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;IAI/C,SAAS,CAAC,eAAe,IAAI,YAAY,CAAC,eAAe,CAAC;IAQ1D,SAAS,CAAC,eAAe,IAAI,cAAc;IAQ3C,SAAS,CAAC,YAAY,IAAI,OAAO;IAIjC,SAAS,CAAC,UAAU,IAAI,OAAO;IAI/B;;;OAGG;IACH,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAEnC;IAED,SAAS,CAAC,uBAAuB;;;;;;;;;IAajC;;;;;OAKG;IACG,sBAAsB,IAAI,OAAO,CAAC,MAAM,CAAC;IAe/C;;OAEG;IACH,SAAS,CAAC,gBAAgB,IAAI,MAAM;IAIpC,SAAS,CAAC,sBAAsB,IAAI,MAAM;IAUpC,OAAO,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;IA+FvD,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAsC7B,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IA8B/B,OAAO,IAAI,OAAO,CAAC;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAI/D,cAAc,IAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC;CAG7D"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * EVM Chain Configuration for BTC Deposit
3
+ *
4
+ * BTC Deposit: BTC → BTC.b (wrapped BTC without yield)
5
+ * For staking (BTC → LBTC), use BtcStake instead.
6
+ *
7
+ * Supported chains are derived from ASSET_CATALOG - single source of truth.
8
+ *
9
+ * Fee authorization is ONLY required for Ethereum mainnet.
10
+ * Other chains use address confirmation signing.
11
+ *
12
+ * @module chains/btc/actions/deposit/config/evm
13
+ */
14
+ import type { DepositChainConfig } from './types';
15
+ /**
16
+ * EVM deposit configuration
17
+ *
18
+ * BTC Deposit produces BTC.b (wrapped BTC without yield).
19
+ * Supported chains are derived from ASSET_CATALOG[AssetId.BTCb].deployments.
20
+ */
21
+ export declare const evmDepositConfig: DepositChainConfig;
22
+ //# sourceMappingURL=evm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../../../../../../src/chains/btc/actions/deposit/config/evm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAmBH,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,SAAS,CAAC;AAqGxE;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,kBA0D9B,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * BTC Deposit Chain Configuration Registry
3
+ *
4
+ * BTC Deposit: BTC → BTC.b (wrapped BTC without yield)
5
+ *
6
+ * @module chains/btc/actions/deposit/config
7
+ */
8
+ import type { AssetId, Chain, Env } from '../../../../../core';
9
+ export type { DepositChainConfig, DepositFeeAuthConfig, DepositRouteDefinition, FeeAuthResult, SignatureResult, StoredFeeSignature, } from './types';
10
+ /**
11
+ * All deposit configs (currently only EVM)
12
+ */
13
+ export declare const depositConfig: import("./types").DepositChainConfig;
14
+ /**
15
+ * Check if destination chain is supported
16
+ */
17
+ export declare function isDestChainSupported(chain: Chain): boolean;
18
+ /**
19
+ * Check if assetOut is supported for BTC Deposit
20
+ * BTC Deposit should only produce BTC.b
21
+ */
22
+ export declare function isAssetOutSupported(assetOut: AssetId): boolean;
23
+ /**
24
+ * Check if route is available for given source chain and environment
25
+ */
26
+ export declare function isRouteAvailable(sourceChain: Chain | undefined, env: Env): boolean;
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/chains/btc/actions/deposit/config/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAG/D,YAAY,EACV,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EACb,eAAe,EACf,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,aAAa,sCAAmB,CAAC;AAE9C;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAE1D;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO,CAE9D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,KAAK,GAAG,SAAS,EAC9B,GAAG,EAAE,GAAG,GACP,OAAO,CAMT"}
@@ -0,0 +1,90 @@
1
+ /**
2
+ * BTC Deposit Chain Configuration Types
3
+ *
4
+ * @module chains/btc/actions/deposit/config/types
5
+ */
6
+ import type { z } from 'zod';
7
+ import type { AssetId, Chain, Env } from '../../../../../core';
8
+ import type { BtcCoreContext } from '../../../../../shared/context';
9
+ /**
10
+ * Stored fee signature result
11
+ */
12
+ export interface StoredFeeSignature {
13
+ hasSignature: boolean;
14
+ signature?: string;
15
+ typedData?: string;
16
+ }
17
+ /**
18
+ * Fee authorization result
19
+ */
20
+ export interface FeeAuthResult {
21
+ signature: string;
22
+ typedData?: string;
23
+ }
24
+ /**
25
+ * Signature result for address confirmation
26
+ */
27
+ export interface SignatureResult {
28
+ signature: string;
29
+ typedData?: string;
30
+ }
31
+ /**
32
+ * Route definition for deposit configs
33
+ */
34
+ export interface DepositRouteDefinition {
35
+ sourceChains: Chain[];
36
+ envs: Env[];
37
+ }
38
+ /**
39
+ * Fee authorization configuration
40
+ *
41
+ * When present, ALL methods are guaranteed to exist.
42
+ * Used for chains that require fee authorization (e.g., Ethereum mainnet).
43
+ */
44
+ export interface DepositFeeAuthConfig {
45
+ /**
46
+ * Get the minting fee for this chain (in BTC)
47
+ * Called in prepare() when fee authorization is needed
48
+ */
49
+ getMintingFee: (ctx: BtcCoreContext, chainId: unknown) => Promise<string>;
50
+ /**
51
+ * Try to restore a stored fee signature (resume flow)
52
+ */
53
+ restoreFeeSignature: (ctx: BtcCoreContext, chainId: unknown, address: string) => Promise<StoredFeeSignature | null>;
54
+ /**
55
+ * Authorize fee (EIP-712 signing)
56
+ */
57
+ authorizeFee: (ctx: BtcCoreContext, params: {
58
+ chainId: unknown;
59
+ recipient: string;
60
+ fee: string;
61
+ }) => Promise<FeeAuthResult>;
62
+ }
63
+ /**
64
+ * Deposit chain configuration
65
+ *
66
+ * BTC Deposit produces BTC.b (wrapped BTC without yield).
67
+ * Fee authorization is only required for Ethereum mainnet.
68
+ * Other chains use address confirmation signing.
69
+ */
70
+ export interface DepositChainConfig {
71
+ chainType: 'evm';
72
+ routes: DepositRouteDefinition[];
73
+ destChains: Chain[];
74
+ /** Supported output assets - BTC Deposit should only produce BTC.b */
75
+ supportedAssetsOut: AssetId[];
76
+ addressSchema: z.ZodString;
77
+ /**
78
+ * Get fee authorization config for a destination chain
79
+ *
80
+ * Returns DepositFeeAuthConfig if fee auth is required (Ethereum mainnet),
81
+ * null otherwise (address confirmation will be used instead).
82
+ */
83
+ getFeeAuthConfig: (destChain: Chain) => DepositFeeAuthConfig | null;
84
+ /**
85
+ * Sign destination address confirmation
86
+ * Used for non-fee-auth chains
87
+ */
88
+ signDestination: (ctx: BtcCoreContext, recipient: string, chainId: unknown) => Promise<SignatureResult>;
89
+ }
90
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/chains/btc/actions/deposit/config/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,KAAK,EAAE,CAAC;IACtB,IAAI,EAAE,GAAG,EAAE,CAAC;CACb;AAED;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,aAAa,EAAE,CAAC,GAAG,EAAE,cAAc,EAAE,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAE1E;;OAEG;IACH,mBAAmB,EAAE,CACnB,GAAG,EAAE,cAAc,EACnB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,MAAM,KACZ,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;IAExC;;OAEG;IACH,YAAY,EAAE,CACZ,GAAG,EAAE,cAAc,EACnB,MAAM,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,KACzD,OAAO,CAAC,aAAa,CAAC,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,KAAK,CAAC;IACjB,MAAM,EAAE,sBAAsB,EAAE,CAAC;IACjC,UAAU,EAAE,KAAK,EAAE,CAAC;IACpB,sEAAsE;IACtE,kBAAkB,EAAE,OAAO,EAAE,CAAC;IAC9B,aAAa,EAAE,CAAC,CAAC,SAAS,CAAC;IAE3B;;;;;OAKG;IACH,gBAAgB,EAAE,CAAC,SAAS,EAAE,KAAK,KAAK,oBAAoB,GAAG,IAAI,CAAC;IAEpE;;;OAGG;IACH,eAAe,EAAE,CACf,GAAG,EAAE,cAAc,EACnB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,OAAO,KACb,OAAO,CAAC,eAAe,CAAC,CAAC;CAC/B"}