@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
@@ -1,1092 +0,0 @@
1
- export default [
2
- { inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
3
- { inputs: [], name: 'AccessControlBadConfirmation', type: 'error' },
4
- {
5
- inputs: [{ internalType: 'uint48', name: 'schedule', type: 'uint48' }],
6
- name: 'AccessControlEnforcedDefaultAdminDelay',
7
- type: 'error',
8
- },
9
- { inputs: [], name: 'AccessControlEnforcedDefaultAdminRules', type: 'error' },
10
- {
11
- inputs: [
12
- { internalType: 'address', name: 'defaultAdmin', type: 'address' },
13
- ],
14
- name: 'AccessControlInvalidDefaultAdmin',
15
- type: 'error',
16
- },
17
- {
18
- inputs: [
19
- { internalType: 'address', name: 'account', type: 'address' },
20
- { internalType: 'bytes32', name: 'neededRole', type: 'bytes32' },
21
- ],
22
- name: 'AccessControlUnauthorizedAccount',
23
- type: 'error',
24
- },
25
- { inputs: [], name: 'Actions_ZeroAddress', type: 'error' },
26
- {
27
- inputs: [{ internalType: 'uint256', name: 'dustLimit', type: 'uint256' }],
28
- name: 'AmountBelowDustLimit',
29
- type: 'error',
30
- },
31
- {
32
- inputs: [{ internalType: 'uint256', name: 'fee', type: 'uint256' }],
33
- name: 'AmountLessThanCommission',
34
- type: 'error',
35
- },
36
- { inputs: [], name: 'ECDSAInvalidSignature', type: 'error' },
37
- {
38
- inputs: [{ internalType: 'uint256', name: 'length', type: 'uint256' }],
39
- name: 'ECDSAInvalidSignatureLength',
40
- type: 'error',
41
- },
42
- {
43
- inputs: [{ internalType: 'bytes32', name: 's', type: 'bytes32' }],
44
- name: 'ECDSAInvalidSignatureS',
45
- type: 'error',
46
- },
47
- {
48
- inputs: [
49
- { internalType: 'address', name: 'spender', type: 'address' },
50
- { internalType: 'uint256', name: 'allowance', type: 'uint256' },
51
- { internalType: 'uint256', name: 'needed', type: 'uint256' },
52
- ],
53
- name: 'ERC20InsufficientAllowance',
54
- type: 'error',
55
- },
56
- {
57
- inputs: [
58
- { internalType: 'address', name: 'sender', type: 'address' },
59
- { internalType: 'uint256', name: 'balance', type: 'uint256' },
60
- { internalType: 'uint256', name: 'needed', type: 'uint256' },
61
- ],
62
- name: 'ERC20InsufficientBalance',
63
- type: 'error',
64
- },
65
- {
66
- inputs: [{ internalType: 'address', name: 'approver', type: 'address' }],
67
- name: 'ERC20InvalidApprover',
68
- type: 'error',
69
- },
70
- {
71
- inputs: [{ internalType: 'address', name: 'receiver', type: 'address' }],
72
- name: 'ERC20InvalidReceiver',
73
- type: 'error',
74
- },
75
- {
76
- inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
77
- name: 'ERC20InvalidSender',
78
- type: 'error',
79
- },
80
- {
81
- inputs: [{ internalType: 'address', name: 'spender', type: 'address' }],
82
- name: 'ERC20InvalidSpender',
83
- type: 'error',
84
- },
85
- {
86
- inputs: [{ internalType: 'uint256', name: 'deadline', type: 'uint256' }],
87
- name: 'ERC2612ExpiredSignature',
88
- type: 'error',
89
- },
90
- {
91
- inputs: [
92
- { internalType: 'address', name: 'signer', type: 'address' },
93
- { internalType: 'address', name: 'owner', type: 'address' },
94
- ],
95
- name: 'ERC2612InvalidSigner',
96
- type: 'error',
97
- },
98
- { inputs: [], name: 'EnforcedPause', type: 'error' },
99
- { inputs: [], name: 'ExpectedPause', type: 'error' },
100
- { inputs: [], name: 'FeeGreaterThanAmount', type: 'error' },
101
- {
102
- inputs: [
103
- { internalType: 'address', name: 'account', type: 'address' },
104
- { internalType: 'uint256', name: 'currentNonce', type: 'uint256' },
105
- ],
106
- name: 'InvalidAccountNonce',
107
- type: 'error',
108
- },
109
- {
110
- inputs: [
111
- { internalType: 'address', name: 'expected', type: 'address' },
112
- { internalType: 'address', name: 'got', type: 'address' },
113
- ],
114
- name: 'InvalidDestinationToken',
115
- type: 'error',
116
- },
117
- { inputs: [], name: 'InvalidDustFeeRate', type: 'error' },
118
- { inputs: [], name: 'InvalidInitialization', type: 'error' },
119
- { inputs: [], name: 'InvalidInputLength', type: 'error' },
120
- { inputs: [], name: 'InvalidMintAmount', type: 'error' },
121
- {
122
- inputs: [
123
- { internalType: 'uint256', name: 'expected', type: 'uint256' },
124
- { internalType: 'uint256', name: 'actual', type: 'uint256' },
125
- ],
126
- name: 'InvalidPayloadSize',
127
- type: 'error',
128
- },
129
- { inputs: [], name: 'InvalidUserSignature', type: 'error' },
130
- { inputs: [], name: 'NotInitializing', type: 'error' },
131
- { inputs: [], name: 'PayloadAlreadyUsed', type: 'error' },
132
- { inputs: [], name: 'ReentrancyGuardReentrantCall', type: 'error' },
133
- {
134
- inputs: [
135
- { internalType: 'uint8', name: 'bits', type: 'uint8' },
136
- { internalType: 'uint256', name: 'value', type: 'uint256' },
137
- ],
138
- name: 'SafeCastOverflowedUintDowncast',
139
- type: 'error',
140
- },
141
- { inputs: [], name: 'ScriptPubkeyUnsupported', type: 'error' },
142
- {
143
- inputs: [{ internalType: 'bytes4', name: 'action', type: 'bytes4' }],
144
- name: 'UnexpectedAction',
145
- type: 'error',
146
- },
147
- {
148
- inputs: [{ internalType: 'uint256', name: 'expiry', type: 'uint256' }],
149
- name: 'UserSignatureExpired',
150
- type: 'error',
151
- },
152
- { inputs: [], name: 'WithdrawalsDisabled', type: 'error' },
153
- { inputs: [], name: 'WrongChainId', type: 'error' },
154
- { inputs: [], name: 'ZeroAddress', type: 'error' },
155
- { inputs: [], name: 'ZeroAmount', type: 'error' },
156
- { inputs: [], name: 'ZeroFee', type: 'error' },
157
- {
158
- anonymous: false,
159
- inputs: [
160
- {
161
- indexed: true,
162
- internalType: 'address',
163
- name: 'owner',
164
- type: 'address',
165
- },
166
- {
167
- indexed: true,
168
- internalType: 'address',
169
- name: 'spender',
170
- type: 'address',
171
- },
172
- {
173
- indexed: false,
174
- internalType: 'uint256',
175
- name: 'value',
176
- type: 'uint256',
177
- },
178
- ],
179
- name: 'Approval',
180
- type: 'event',
181
- },
182
- {
183
- anonymous: false,
184
- inputs: [
185
- {
186
- indexed: true,
187
- internalType: 'address',
188
- name: 'prevVal',
189
- type: 'address',
190
- },
191
- {
192
- indexed: true,
193
- internalType: 'address',
194
- name: 'newVal',
195
- type: 'address',
196
- },
197
- ],
198
- name: 'BasculeChanged',
199
- type: 'event',
200
- },
201
- {
202
- anonymous: false,
203
- inputs: [
204
- {
205
- indexed: true,
206
- internalType: 'bytes32',
207
- name: 'payloadHash',
208
- type: 'bytes32',
209
- },
210
- { indexed: false, internalType: 'bytes', name: 'payload', type: 'bytes' },
211
- ],
212
- name: 'BatchMintSkipped',
213
- type: 'event',
214
- },
215
- {
216
- anonymous: false,
217
- inputs: [
218
- {
219
- indexed: true,
220
- internalType: 'uint64',
221
- name: 'prevValue',
222
- type: 'uint64',
223
- },
224
- {
225
- indexed: true,
226
- internalType: 'uint64',
227
- name: 'newValue',
228
- type: 'uint64',
229
- },
230
- ],
231
- name: 'BurnCommissionChanged',
232
- type: 'event',
233
- },
234
- {
235
- anonymous: false,
236
- inputs: [
237
- {
238
- indexed: true,
239
- internalType: 'address',
240
- name: 'prevVal',
241
- type: 'address',
242
- },
243
- {
244
- indexed: true,
245
- internalType: 'address',
246
- name: 'newVal',
247
- type: 'address',
248
- },
249
- ],
250
- name: 'ConsortiumChanged',
251
- type: 'event',
252
- },
253
- {
254
- anonymous: false,
255
- inputs: [],
256
- name: 'DefaultAdminDelayChangeCanceled',
257
- type: 'event',
258
- },
259
- {
260
- anonymous: false,
261
- inputs: [
262
- {
263
- indexed: false,
264
- internalType: 'uint48',
265
- name: 'newDelay',
266
- type: 'uint48',
267
- },
268
- {
269
- indexed: false,
270
- internalType: 'uint48',
271
- name: 'effectSchedule',
272
- type: 'uint48',
273
- },
274
- ],
275
- name: 'DefaultAdminDelayChangeScheduled',
276
- type: 'event',
277
- },
278
- {
279
- anonymous: false,
280
- inputs: [],
281
- name: 'DefaultAdminTransferCanceled',
282
- type: 'event',
283
- },
284
- {
285
- anonymous: false,
286
- inputs: [
287
- {
288
- indexed: true,
289
- internalType: 'address',
290
- name: 'newAdmin',
291
- type: 'address',
292
- },
293
- {
294
- indexed: false,
295
- internalType: 'uint48',
296
- name: 'acceptSchedule',
297
- type: 'uint48',
298
- },
299
- ],
300
- name: 'DefaultAdminTransferScheduled',
301
- type: 'event',
302
- },
303
- {
304
- anonymous: false,
305
- inputs: [
306
- {
307
- indexed: true,
308
- internalType: 'uint256',
309
- name: 'oldRate',
310
- type: 'uint256',
311
- },
312
- {
313
- indexed: true,
314
- internalType: 'uint256',
315
- name: 'newRate',
316
- type: 'uint256',
317
- },
318
- ],
319
- name: 'DustFeeRateChanged',
320
- type: 'event',
321
- },
322
- { anonymous: false, inputs: [], name: 'EIP712DomainChanged', type: 'event' },
323
- {
324
- anonymous: false,
325
- inputs: [
326
- {
327
- indexed: true,
328
- internalType: 'uint256',
329
- name: 'oldFee',
330
- type: 'uint256',
331
- },
332
- {
333
- indexed: true,
334
- internalType: 'uint256',
335
- name: 'newFee',
336
- type: 'uint256',
337
- },
338
- ],
339
- name: 'FeeChanged',
340
- type: 'event',
341
- },
342
- {
343
- anonymous: false,
344
- inputs: [
345
- { indexed: true, internalType: 'uint256', name: 'fee', type: 'uint256' },
346
- {
347
- indexed: false,
348
- internalType: 'bytes',
349
- name: 'userSignature',
350
- type: 'bytes',
351
- },
352
- ],
353
- name: 'FeeCharged',
354
- type: 'event',
355
- },
356
- {
357
- anonymous: false,
358
- inputs: [
359
- {
360
- indexed: false,
361
- internalType: 'uint64',
362
- name: 'version',
363
- type: 'uint64',
364
- },
365
- ],
366
- name: 'Initialized',
367
- type: 'event',
368
- },
369
- {
370
- anonymous: false,
371
- inputs: [
372
- {
373
- indexed: true,
374
- internalType: 'address',
375
- name: 'recipient',
376
- type: 'address',
377
- },
378
- {
379
- indexed: true,
380
- internalType: 'bytes32',
381
- name: 'payloadHash',
382
- type: 'bytes32',
383
- },
384
- { indexed: false, internalType: 'bytes', name: 'payload', type: 'bytes' },
385
- ],
386
- name: 'MintProofConsumed',
387
- type: 'event',
388
- },
389
- {
390
- anonymous: false,
391
- inputs: [
392
- { indexed: false, internalType: 'string', name: 'name', type: 'string' },
393
- {
394
- indexed: false,
395
- internalType: 'string',
396
- name: 'symbol',
397
- type: 'string',
398
- },
399
- ],
400
- name: 'NameAndSymbolChanged',
401
- type: 'event',
402
- },
403
- {
404
- anonymous: false,
405
- inputs: [
406
- {
407
- indexed: false,
408
- internalType: 'address',
409
- name: 'account',
410
- type: 'address',
411
- },
412
- ],
413
- name: 'Paused',
414
- type: 'event',
415
- },
416
- {
417
- anonymous: false,
418
- inputs: [
419
- { indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
420
- {
421
- indexed: true,
422
- internalType: 'bytes32',
423
- name: 'previousAdminRole',
424
- type: 'bytes32',
425
- },
426
- {
427
- indexed: true,
428
- internalType: 'bytes32',
429
- name: 'newAdminRole',
430
- type: 'bytes32',
431
- },
432
- ],
433
- name: 'RoleAdminChanged',
434
- type: 'event',
435
- },
436
- {
437
- anonymous: false,
438
- inputs: [
439
- { indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
440
- {
441
- indexed: true,
442
- internalType: 'address',
443
- name: 'account',
444
- type: 'address',
445
- },
446
- {
447
- indexed: true,
448
- internalType: 'address',
449
- name: 'sender',
450
- type: 'address',
451
- },
452
- ],
453
- name: 'RoleGranted',
454
- type: 'event',
455
- },
456
- {
457
- anonymous: false,
458
- inputs: [
459
- { indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
460
- {
461
- indexed: true,
462
- internalType: 'address',
463
- name: 'account',
464
- type: 'address',
465
- },
466
- {
467
- indexed: true,
468
- internalType: 'address',
469
- name: 'sender',
470
- type: 'address',
471
- },
472
- ],
473
- name: 'RoleRevoked',
474
- type: 'event',
475
- },
476
- {
477
- anonymous: false,
478
- inputs: [
479
- { indexed: true, internalType: 'address', name: 'from', type: 'address' },
480
- { indexed: true, internalType: 'address', name: 'to', type: 'address' },
481
- {
482
- indexed: false,
483
- internalType: 'uint256',
484
- name: 'value',
485
- type: 'uint256',
486
- },
487
- ],
488
- name: 'Transfer',
489
- type: 'event',
490
- },
491
- {
492
- anonymous: false,
493
- inputs: [
494
- {
495
- indexed: true,
496
- internalType: 'address',
497
- name: 'prevValue',
498
- type: 'address',
499
- },
500
- {
501
- indexed: true,
502
- internalType: 'address',
503
- name: 'newValue',
504
- type: 'address',
505
- },
506
- ],
507
- name: 'TreasuryAddressChanged',
508
- type: 'event',
509
- },
510
- {
511
- anonymous: false,
512
- inputs: [
513
- {
514
- indexed: false,
515
- internalType: 'address',
516
- name: 'account',
517
- type: 'address',
518
- },
519
- ],
520
- name: 'Unpaused',
521
- type: 'event',
522
- },
523
- {
524
- anonymous: false,
525
- inputs: [
526
- {
527
- indexed: true,
528
- internalType: 'address',
529
- name: 'fromAddress',
530
- type: 'address',
531
- },
532
- {
533
- indexed: false,
534
- internalType: 'bytes',
535
- name: 'scriptPubKey',
536
- type: 'bytes',
537
- },
538
- {
539
- indexed: false,
540
- internalType: 'uint256',
541
- name: 'amount',
542
- type: 'uint256',
543
- },
544
- ],
545
- name: 'UnstakeRequest',
546
- type: 'event',
547
- },
548
- {
549
- anonymous: false,
550
- inputs: [{ indexed: false, internalType: 'bool', name: '', type: 'bool' }],
551
- name: 'WithdrawalsEnabled',
552
- type: 'event',
553
- },
554
- {
555
- inputs: [],
556
- name: 'Bascule',
557
- outputs: [{ internalType: 'contract IBascule', name: '', type: 'address' }],
558
- stateMutability: 'view',
559
- type: 'function',
560
- },
561
- {
562
- inputs: [],
563
- name: 'CLAIMER_ROLE',
564
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
565
- stateMutability: 'view',
566
- type: 'function',
567
- },
568
- {
569
- inputs: [],
570
- name: 'DEFAULT_ADMIN_ROLE',
571
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
572
- stateMutability: 'view',
573
- type: 'function',
574
- },
575
- {
576
- inputs: [],
577
- name: 'DOMAIN_SEPARATOR',
578
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
579
- stateMutability: 'view',
580
- type: 'function',
581
- },
582
- {
583
- inputs: [],
584
- name: 'MINTER_ROLE',
585
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
586
- stateMutability: 'view',
587
- type: 'function',
588
- },
589
- {
590
- inputs: [],
591
- name: 'OPERATOR_ROLE',
592
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
593
- stateMutability: 'view',
594
- type: 'function',
595
- },
596
- {
597
- inputs: [],
598
- name: 'PAUSER_ROLE',
599
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
600
- stateMutability: 'view',
601
- type: 'function',
602
- },
603
- {
604
- inputs: [],
605
- name: 'acceptDefaultAdminTransfer',
606
- outputs: [],
607
- stateMutability: 'nonpayable',
608
- type: 'function',
609
- },
610
- {
611
- inputs: [
612
- { internalType: 'address', name: 'owner', type: 'address' },
613
- { internalType: 'address', name: 'spender', type: 'address' },
614
- ],
615
- name: 'allowance',
616
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
617
- stateMutability: 'view',
618
- type: 'function',
619
- },
620
- {
621
- inputs: [
622
- { internalType: 'address', name: 'spender', type: 'address' },
623
- { internalType: 'uint256', name: 'value', type: 'uint256' },
624
- ],
625
- name: 'approve',
626
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
627
- stateMutability: 'nonpayable',
628
- type: 'function',
629
- },
630
- {
631
- inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
632
- name: 'balanceOf',
633
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
634
- stateMutability: 'view',
635
- type: 'function',
636
- },
637
- {
638
- inputs: [
639
- { internalType: 'address[]', name: 'to', type: 'address[]' },
640
- { internalType: 'uint256[]', name: 'amount', type: 'uint256[]' },
641
- ],
642
- name: 'batchMint',
643
- outputs: [],
644
- stateMutability: 'nonpayable',
645
- type: 'function',
646
- },
647
- {
648
- inputs: [
649
- { internalType: 'bytes[]', name: 'payload', type: 'bytes[]' },
650
- { internalType: 'bytes[]', name: 'proof', type: 'bytes[]' },
651
- ],
652
- name: 'batchMintV1',
653
- outputs: [],
654
- stateMutability: 'nonpayable',
655
- type: 'function',
656
- },
657
- {
658
- inputs: [
659
- { internalType: 'bytes[]', name: 'mintPayload', type: 'bytes[]' },
660
- { internalType: 'bytes[]', name: 'proof', type: 'bytes[]' },
661
- { internalType: 'bytes[]', name: 'feePayload', type: 'bytes[]' },
662
- { internalType: 'bytes[]', name: 'userSignature', type: 'bytes[]' },
663
- ],
664
- name: 'batchMintV1WithFee',
665
- outputs: [],
666
- stateMutability: 'nonpayable',
667
- type: 'function',
668
- },
669
- {
670
- inputs: [{ internalType: 'address', name: 'newAdmin', type: 'address' }],
671
- name: 'beginDefaultAdminTransfer',
672
- outputs: [],
673
- stateMutability: 'nonpayable',
674
- type: 'function',
675
- },
676
- {
677
- inputs: [{ internalType: 'uint256', name: 'amount', type: 'uint256' }],
678
- name: 'burn',
679
- outputs: [],
680
- stateMutability: 'nonpayable',
681
- type: 'function',
682
- },
683
- {
684
- inputs: [
685
- { internalType: 'address', name: 'from', type: 'address' },
686
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
687
- ],
688
- name: 'burn',
689
- outputs: [],
690
- stateMutability: 'nonpayable',
691
- type: 'function',
692
- },
693
- {
694
- inputs: [
695
- { internalType: 'bytes', name: 'scriptPubkey', type: 'bytes' },
696
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
697
- ],
698
- name: 'calcUnstakeRequestAmount',
699
- outputs: [
700
- { internalType: 'uint256', name: 'amountAfterFee', type: 'uint256' },
701
- { internalType: 'bool', name: 'isAboveDust', type: 'bool' },
702
- ],
703
- stateMutability: 'view',
704
- type: 'function',
705
- },
706
- {
707
- inputs: [],
708
- name: 'cancelDefaultAdminTransfer',
709
- outputs: [],
710
- stateMutability: 'nonpayable',
711
- type: 'function',
712
- },
713
- {
714
- inputs: [{ internalType: 'address', name: 'newVal', type: 'address' }],
715
- name: 'changeBascule',
716
- outputs: [],
717
- stateMutability: 'nonpayable',
718
- type: 'function',
719
- },
720
- {
721
- inputs: [{ internalType: 'uint64', name: 'newValue', type: 'uint64' }],
722
- name: 'changeBurnCommission',
723
- outputs: [],
724
- stateMutability: 'nonpayable',
725
- type: 'function',
726
- },
727
- {
728
- inputs: [{ internalType: 'address', name: 'newVal', type: 'address' }],
729
- name: 'changeConsortium',
730
- outputs: [],
731
- stateMutability: 'nonpayable',
732
- type: 'function',
733
- },
734
- {
735
- inputs: [{ internalType: 'uint48', name: 'newDelay', type: 'uint48' }],
736
- name: 'changeDefaultAdminDelay',
737
- outputs: [],
738
- stateMutability: 'nonpayable',
739
- type: 'function',
740
- },
741
- {
742
- inputs: [{ internalType: 'uint256', name: 'newRate', type: 'uint256' }],
743
- name: 'changeDustFeeRate',
744
- outputs: [],
745
- stateMutability: 'nonpayable',
746
- type: 'function',
747
- },
748
- {
749
- inputs: [
750
- { internalType: 'string', name: 'name_', type: 'string' },
751
- { internalType: 'string', name: 'symbol_', type: 'string' },
752
- ],
753
- name: 'changeNameAndSymbol',
754
- outputs: [],
755
- stateMutability: 'nonpayable',
756
- type: 'function',
757
- },
758
- {
759
- inputs: [{ internalType: 'address', name: 'newValue', type: 'address' }],
760
- name: 'changeTreasuryAddress',
761
- outputs: [],
762
- stateMutability: 'nonpayable',
763
- type: 'function',
764
- },
765
- {
766
- inputs: [],
767
- name: 'consortium',
768
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
769
- stateMutability: 'view',
770
- type: 'function',
771
- },
772
- {
773
- inputs: [],
774
- name: 'decimals',
775
- outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
776
- stateMutability: 'view',
777
- type: 'function',
778
- },
779
- {
780
- inputs: [],
781
- name: 'defaultAdmin',
782
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
783
- stateMutability: 'view',
784
- type: 'function',
785
- },
786
- {
787
- inputs: [],
788
- name: 'defaultAdminDelay',
789
- outputs: [{ internalType: 'uint48', name: '', type: 'uint48' }],
790
- stateMutability: 'view',
791
- type: 'function',
792
- },
793
- {
794
- inputs: [],
795
- name: 'defaultAdminDelayIncreaseWait',
796
- outputs: [{ internalType: 'uint48', name: '', type: 'uint48' }],
797
- stateMutability: 'view',
798
- type: 'function',
799
- },
800
- {
801
- inputs: [],
802
- name: 'eip712Domain',
803
- outputs: [
804
- { internalType: 'bytes1', name: 'fields', type: 'bytes1' },
805
- { internalType: 'string', name: 'name', type: 'string' },
806
- { internalType: 'string', name: 'version', type: 'string' },
807
- { internalType: 'uint256', name: 'chainId', type: 'uint256' },
808
- { internalType: 'address', name: 'verifyingContract', type: 'address' },
809
- { internalType: 'bytes32', name: 'salt', type: 'bytes32' },
810
- { internalType: 'uint256[]', name: 'extensions', type: 'uint256[]' },
811
- ],
812
- stateMutability: 'view',
813
- type: 'function',
814
- },
815
- {
816
- inputs: [],
817
- name: 'getBurnCommission',
818
- outputs: [{ internalType: 'uint64', name: '', type: 'uint64' }],
819
- stateMutability: 'view',
820
- type: 'function',
821
- },
822
- {
823
- inputs: [],
824
- name: 'getDustFeeRate',
825
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
826
- stateMutability: 'view',
827
- type: 'function',
828
- },
829
- {
830
- inputs: [],
831
- name: 'getMintFee',
832
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
833
- stateMutability: 'view',
834
- type: 'function',
835
- },
836
- {
837
- inputs: [{ internalType: 'bytes32', name: 'role', type: 'bytes32' }],
838
- name: 'getRoleAdmin',
839
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
840
- stateMutability: 'view',
841
- type: 'function',
842
- },
843
- {
844
- inputs: [],
845
- name: 'getTreasury',
846
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
847
- stateMutability: 'view',
848
- type: 'function',
849
- },
850
- {
851
- inputs: [
852
- { internalType: 'bytes32', name: 'role', type: 'bytes32' },
853
- { internalType: 'address', name: 'account', type: 'address' },
854
- ],
855
- name: 'grantRole',
856
- outputs: [],
857
- stateMutability: 'nonpayable',
858
- type: 'function',
859
- },
860
- {
861
- inputs: [
862
- { internalType: 'bytes32', name: 'role', type: 'bytes32' },
863
- { internalType: 'address', name: 'account', type: 'address' },
864
- ],
865
- name: 'hasRole',
866
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
867
- stateMutability: 'view',
868
- type: 'function',
869
- },
870
- {
871
- inputs: [
872
- { internalType: 'address', name: 'consortium_', type: 'address' },
873
- { internalType: 'uint64', name: 'burnCommission_', type: 'uint64' },
874
- { internalType: 'address', name: 'treasury', type: 'address' },
875
- { internalType: 'address', name: 'initialOwner', type: 'address' },
876
- { internalType: 'uint48', name: 'initialOwnerDelay', type: 'uint48' },
877
- ],
878
- name: 'initialize',
879
- outputs: [],
880
- stateMutability: 'nonpayable',
881
- type: 'function',
882
- },
883
- {
884
- inputs: [{ internalType: 'bytes32', name: 'payloadHash', type: 'bytes32' }],
885
- name: 'isPayloadUsed',
886
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
887
- stateMutability: 'view',
888
- type: 'function',
889
- },
890
- {
891
- inputs: [
892
- { internalType: 'address', name: 'to', type: 'address' },
893
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
894
- ],
895
- name: 'mint',
896
- outputs: [],
897
- stateMutability: 'nonpayable',
898
- type: 'function',
899
- },
900
- {
901
- inputs: [
902
- { internalType: 'bytes', name: 'payload', type: 'bytes' },
903
- { internalType: 'bytes', name: 'proof', type: 'bytes' },
904
- ],
905
- name: 'mintV1',
906
- outputs: [],
907
- stateMutability: 'nonpayable',
908
- type: 'function',
909
- },
910
- {
911
- inputs: [
912
- { internalType: 'bytes', name: 'mintPayload', type: 'bytes' },
913
- { internalType: 'bytes', name: 'proof', type: 'bytes' },
914
- { internalType: 'bytes', name: 'feePayload', type: 'bytes' },
915
- { internalType: 'bytes', name: 'userSignature', type: 'bytes' },
916
- ],
917
- name: 'mintV1WithFee',
918
- outputs: [],
919
- stateMutability: 'nonpayable',
920
- type: 'function',
921
- },
922
- {
923
- inputs: [],
924
- name: 'name',
925
- outputs: [{ internalType: 'string', name: '', type: 'string' }],
926
- stateMutability: 'view',
927
- type: 'function',
928
- },
929
- {
930
- inputs: [{ internalType: 'address', name: 'owner', type: 'address' }],
931
- name: 'nonces',
932
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
933
- stateMutability: 'view',
934
- type: 'function',
935
- },
936
- {
937
- inputs: [],
938
- name: 'owner',
939
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
940
- stateMutability: 'view',
941
- type: 'function',
942
- },
943
- {
944
- inputs: [],
945
- name: 'pause',
946
- outputs: [],
947
- stateMutability: 'nonpayable',
948
- type: 'function',
949
- },
950
- {
951
- inputs: [],
952
- name: 'paused',
953
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
954
- stateMutability: 'view',
955
- type: 'function',
956
- },
957
- {
958
- inputs: [],
959
- name: 'pendingDefaultAdmin',
960
- outputs: [
961
- { internalType: 'address', name: 'newAdmin', type: 'address' },
962
- { internalType: 'uint48', name: 'schedule', type: 'uint48' },
963
- ],
964
- stateMutability: 'view',
965
- type: 'function',
966
- },
967
- {
968
- inputs: [],
969
- name: 'pendingDefaultAdminDelay',
970
- outputs: [
971
- { internalType: 'uint48', name: 'newDelay', type: 'uint48' },
972
- { internalType: 'uint48', name: 'schedule', type: 'uint48' },
973
- ],
974
- stateMutability: 'view',
975
- type: 'function',
976
- },
977
- {
978
- inputs: [
979
- { internalType: 'address', name: 'owner', type: 'address' },
980
- { internalType: 'address', name: 'spender', type: 'address' },
981
- { internalType: 'uint256', name: 'value', type: 'uint256' },
982
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
983
- { internalType: 'uint8', name: 'v', type: 'uint8' },
984
- { internalType: 'bytes32', name: 'r', type: 'bytes32' },
985
- { internalType: 'bytes32', name: 's', type: 'bytes32' },
986
- ],
987
- name: 'permit',
988
- outputs: [],
989
- stateMutability: 'nonpayable',
990
- type: 'function',
991
- },
992
- {
993
- inputs: [
994
- { internalType: 'bytes', name: 'scriptPubkey', type: 'bytes' },
995
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
996
- ],
997
- name: 'redeem',
998
- outputs: [],
999
- stateMutability: 'nonpayable',
1000
- type: 'function',
1001
- },
1002
- {
1003
- inputs: [
1004
- { internalType: 'bytes32', name: 'role', type: 'bytes32' },
1005
- { internalType: 'address', name: 'account', type: 'address' },
1006
- ],
1007
- name: 'renounceRole',
1008
- outputs: [],
1009
- stateMutability: 'nonpayable',
1010
- type: 'function',
1011
- },
1012
- {
1013
- inputs: [
1014
- { internalType: 'bytes32', name: 'role', type: 'bytes32' },
1015
- { internalType: 'address', name: 'account', type: 'address' },
1016
- ],
1017
- name: 'revokeRole',
1018
- outputs: [],
1019
- stateMutability: 'nonpayable',
1020
- type: 'function',
1021
- },
1022
- {
1023
- inputs: [],
1024
- name: 'rollbackDefaultAdminDelay',
1025
- outputs: [],
1026
- stateMutability: 'nonpayable',
1027
- type: 'function',
1028
- },
1029
- {
1030
- inputs: [{ internalType: 'uint256', name: 'fee', type: 'uint256' }],
1031
- name: 'setMintFee',
1032
- outputs: [],
1033
- stateMutability: 'nonpayable',
1034
- type: 'function',
1035
- },
1036
- {
1037
- inputs: [{ internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' }],
1038
- name: 'supportsInterface',
1039
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1040
- stateMutability: 'view',
1041
- type: 'function',
1042
- },
1043
- {
1044
- inputs: [],
1045
- name: 'symbol',
1046
- outputs: [{ internalType: 'string', name: '', type: 'string' }],
1047
- stateMutability: 'view',
1048
- type: 'function',
1049
- },
1050
- {
1051
- inputs: [],
1052
- name: 'toggleWithdrawals',
1053
- outputs: [],
1054
- stateMutability: 'nonpayable',
1055
- type: 'function',
1056
- },
1057
- {
1058
- inputs: [],
1059
- name: 'totalSupply',
1060
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1061
- stateMutability: 'view',
1062
- type: 'function',
1063
- },
1064
- {
1065
- inputs: [
1066
- { internalType: 'address', name: 'to', type: 'address' },
1067
- { internalType: 'uint256', name: 'value', type: 'uint256' },
1068
- ],
1069
- name: 'transfer',
1070
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1071
- stateMutability: 'nonpayable',
1072
- type: 'function',
1073
- },
1074
- {
1075
- inputs: [
1076
- { internalType: 'address', name: 'from', type: 'address' },
1077
- { internalType: 'address', name: 'to', type: 'address' },
1078
- { internalType: 'uint256', name: 'value', type: 'uint256' },
1079
- ],
1080
- name: 'transferFrom',
1081
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1082
- stateMutability: 'nonpayable',
1083
- type: 'function',
1084
- },
1085
- {
1086
- inputs: [],
1087
- name: 'unpause',
1088
- outputs: [],
1089
- stateMutability: 'nonpayable',
1090
- type: 'function',
1091
- },
1092
- ] as const;