@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,1761 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "inputs": [
9
- {
10
- "internalType": "uint256",
11
- "name": "dustLimit",
12
- "type": "uint256"
13
- }
14
- ],
15
- "name": "AmountBelowDustLimit",
16
- "type": "error"
17
- },
18
- {
19
- "inputs": [
20
- {
21
- "internalType": "uint256",
22
- "name": "fee",
23
- "type": "uint256"
24
- }
25
- ],
26
- "name": "AmountLessThanCommission",
27
- "type": "error"
28
- },
29
- {
30
- "inputs": [],
31
- "name": "ECDSAInvalidSignature",
32
- "type": "error"
33
- },
34
- {
35
- "inputs": [
36
- {
37
- "internalType": "uint256",
38
- "name": "length",
39
- "type": "uint256"
40
- }
41
- ],
42
- "name": "ECDSAInvalidSignatureLength",
43
- "type": "error"
44
- },
45
- {
46
- "inputs": [
47
- {
48
- "internalType": "bytes32",
49
- "name": "s",
50
- "type": "bytes32"
51
- }
52
- ],
53
- "name": "ECDSAInvalidSignatureS",
54
- "type": "error"
55
- },
56
- {
57
- "inputs": [
58
- {
59
- "internalType": "address",
60
- "name": "spender",
61
- "type": "address"
62
- },
63
- {
64
- "internalType": "uint256",
65
- "name": "allowance",
66
- "type": "uint256"
67
- },
68
- {
69
- "internalType": "uint256",
70
- "name": "needed",
71
- "type": "uint256"
72
- }
73
- ],
74
- "name": "ERC20InsufficientAllowance",
75
- "type": "error"
76
- },
77
- {
78
- "inputs": [
79
- {
80
- "internalType": "address",
81
- "name": "sender",
82
- "type": "address"
83
- },
84
- {
85
- "internalType": "uint256",
86
- "name": "balance",
87
- "type": "uint256"
88
- },
89
- {
90
- "internalType": "uint256",
91
- "name": "needed",
92
- "type": "uint256"
93
- }
94
- ],
95
- "name": "ERC20InsufficientBalance",
96
- "type": "error"
97
- },
98
- {
99
- "inputs": [
100
- {
101
- "internalType": "address",
102
- "name": "approver",
103
- "type": "address"
104
- }
105
- ],
106
- "name": "ERC20InvalidApprover",
107
- "type": "error"
108
- },
109
- {
110
- "inputs": [
111
- {
112
- "internalType": "address",
113
- "name": "receiver",
114
- "type": "address"
115
- }
116
- ],
117
- "name": "ERC20InvalidReceiver",
118
- "type": "error"
119
- },
120
- {
121
- "inputs": [
122
- {
123
- "internalType": "address",
124
- "name": "sender",
125
- "type": "address"
126
- }
127
- ],
128
- "name": "ERC20InvalidSender",
129
- "type": "error"
130
- },
131
- {
132
- "inputs": [
133
- {
134
- "internalType": "address",
135
- "name": "spender",
136
- "type": "address"
137
- }
138
- ],
139
- "name": "ERC20InvalidSpender",
140
- "type": "error"
141
- },
142
- {
143
- "inputs": [
144
- {
145
- "internalType": "uint256",
146
- "name": "deadline",
147
- "type": "uint256"
148
- }
149
- ],
150
- "name": "ERC2612ExpiredSignature",
151
- "type": "error"
152
- },
153
- {
154
- "inputs": [
155
- {
156
- "internalType": "address",
157
- "name": "signer",
158
- "type": "address"
159
- },
160
- {
161
- "internalType": "address",
162
- "name": "owner",
163
- "type": "address"
164
- }
165
- ],
166
- "name": "ERC2612InvalidSigner",
167
- "type": "error"
168
- },
169
- {
170
- "inputs": [],
171
- "name": "EnforcedPause",
172
- "type": "error"
173
- },
174
- {
175
- "inputs": [],
176
- "name": "ExpectedPause",
177
- "type": "error"
178
- },
179
- {
180
- "inputs": [],
181
- "name": "FeeGreaterThanAmount",
182
- "type": "error"
183
- },
184
- {
185
- "inputs": [
186
- {
187
- "internalType": "address",
188
- "name": "account",
189
- "type": "address"
190
- },
191
- {
192
- "internalType": "uint256",
193
- "name": "currentNonce",
194
- "type": "uint256"
195
- }
196
- ],
197
- "name": "InvalidAccountNonce",
198
- "type": "error"
199
- },
200
- {
201
- "inputs": [],
202
- "name": "InvalidDustFeeRate",
203
- "type": "error"
204
- },
205
- {
206
- "inputs": [],
207
- "name": "InvalidInitialization",
208
- "type": "error"
209
- },
210
- {
211
- "inputs": [],
212
- "name": "InvalidInputLength",
213
- "type": "error"
214
- },
215
- {
216
- "inputs": [],
217
- "name": "InvalidUserSignature",
218
- "type": "error"
219
- },
220
- {
221
- "inputs": [],
222
- "name": "KnownDestination",
223
- "type": "error"
224
- },
225
- {
226
- "inputs": [],
227
- "name": "NotInitializing",
228
- "type": "error"
229
- },
230
- {
231
- "inputs": [
232
- {
233
- "internalType": "address",
234
- "name": "owner",
235
- "type": "address"
236
- }
237
- ],
238
- "name": "OwnableInvalidOwner",
239
- "type": "error"
240
- },
241
- {
242
- "inputs": [
243
- {
244
- "internalType": "address",
245
- "name": "account",
246
- "type": "address"
247
- }
248
- ],
249
- "name": "OwnableUnauthorizedAccount",
250
- "type": "error"
251
- },
252
- {
253
- "inputs": [],
254
- "name": "PayloadAlreadyUsed",
255
- "type": "error"
256
- },
257
- {
258
- "inputs": [],
259
- "name": "ReentrancyGuardReentrantCall",
260
- "type": "error"
261
- },
262
- {
263
- "inputs": [],
264
- "name": "ScriptPubkeyUnsupported",
265
- "type": "error"
266
- },
267
- {
268
- "inputs": [
269
- {
270
- "internalType": "address",
271
- "name": "account",
272
- "type": "address"
273
- }
274
- ],
275
- "name": "UnauthorizedAccount",
276
- "type": "error"
277
- },
278
- {
279
- "inputs": [
280
- {
281
- "internalType": "bytes4",
282
- "name": "action",
283
- "type": "bytes4"
284
- }
285
- ],
286
- "name": "UnexpectedAction",
287
- "type": "error"
288
- },
289
- {
290
- "inputs": [],
291
- "name": "UnknownDestination",
292
- "type": "error"
293
- },
294
- {
295
- "inputs": [
296
- {
297
- "internalType": "uint256",
298
- "name": "fromChainId",
299
- "type": "uint256"
300
- },
301
- {
302
- "internalType": "address",
303
- "name": "fromContract",
304
- "type": "address"
305
- }
306
- ],
307
- "name": "UnknownOriginContract",
308
- "type": "error"
309
- },
310
- {
311
- "inputs": [
312
- {
313
- "internalType": "uint256",
314
- "name": "expiry",
315
- "type": "uint256"
316
- }
317
- ],
318
- "name": "UserSignatureExpired",
319
- "type": "error"
320
- },
321
- {
322
- "inputs": [],
323
- "name": "WithdrawalsDisabled",
324
- "type": "error"
325
- },
326
- {
327
- "inputs": [],
328
- "name": "WrongChainId",
329
- "type": "error"
330
- },
331
- {
332
- "inputs": [],
333
- "name": "ZeroAddress",
334
- "type": "error"
335
- },
336
- {
337
- "inputs": [],
338
- "name": "ZeroAddress",
339
- "type": "error"
340
- },
341
- {
342
- "inputs": [],
343
- "name": "ZeroAmount",
344
- "type": "error"
345
- },
346
- {
347
- "inputs": [],
348
- "name": "ZeroChainId",
349
- "type": "error"
350
- },
351
- {
352
- "inputs": [],
353
- "name": "ZeroContractHash",
354
- "type": "error"
355
- },
356
- {
357
- "inputs": [],
358
- "name": "ZeroFee",
359
- "type": "error"
360
- },
361
- {
362
- "anonymous": false,
363
- "inputs": [
364
- {
365
- "indexed": true,
366
- "internalType": "address",
367
- "name": "owner",
368
- "type": "address"
369
- },
370
- {
371
- "indexed": true,
372
- "internalType": "address",
373
- "name": "spender",
374
- "type": "address"
375
- },
376
- {
377
- "indexed": false,
378
- "internalType": "uint256",
379
- "name": "value",
380
- "type": "uint256"
381
- }
382
- ],
383
- "name": "Approval",
384
- "type": "event"
385
- },
386
- {
387
- "anonymous": false,
388
- "inputs": [
389
- {
390
- "indexed": true,
391
- "internalType": "address",
392
- "name": "prevVal",
393
- "type": "address"
394
- },
395
- {
396
- "indexed": true,
397
- "internalType": "address",
398
- "name": "newVal",
399
- "type": "address"
400
- }
401
- ],
402
- "name": "BasculeChanged",
403
- "type": "event"
404
- },
405
- {
406
- "anonymous": false,
407
- "inputs": [
408
- {
409
- "indexed": true,
410
- "internalType": "address",
411
- "name": "prevVal",
412
- "type": "address"
413
- },
414
- {
415
- "indexed": true,
416
- "internalType": "address",
417
- "name": "newVal",
418
- "type": "address"
419
- }
420
- ],
421
- "name": "BridgeChanged",
422
- "type": "event"
423
- },
424
- {
425
- "anonymous": false,
426
- "inputs": [
427
- {
428
- "indexed": true,
429
- "internalType": "uint64",
430
- "name": "prevValue",
431
- "type": "uint64"
432
- },
433
- {
434
- "indexed": true,
435
- "internalType": "uint64",
436
- "name": "newValue",
437
- "type": "uint64"
438
- }
439
- ],
440
- "name": "BurnCommissionChanged",
441
- "type": "event"
442
- },
443
- {
444
- "anonymous": false,
445
- "inputs": [
446
- {
447
- "indexed": true,
448
- "internalType": "address",
449
- "name": "claimer",
450
- "type": "address"
451
- },
452
- {
453
- "indexed": false,
454
- "internalType": "bool",
455
- "name": "isClaimer",
456
- "type": "bool"
457
- }
458
- ],
459
- "name": "ClaimerUpdated",
460
- "type": "event"
461
- },
462
- {
463
- "anonymous": false,
464
- "inputs": [
465
- {
466
- "indexed": true,
467
- "internalType": "address",
468
- "name": "prevVal",
469
- "type": "address"
470
- },
471
- {
472
- "indexed": true,
473
- "internalType": "address",
474
- "name": "newVal",
475
- "type": "address"
476
- }
477
- ],
478
- "name": "ConsortiumChanged",
479
- "type": "event"
480
- },
481
- {
482
- "anonymous": false,
483
- "inputs": [
484
- {
485
- "indexed": true,
486
- "internalType": "uint256",
487
- "name": "oldRate",
488
- "type": "uint256"
489
- },
490
- {
491
- "indexed": true,
492
- "internalType": "uint256",
493
- "name": "newRate",
494
- "type": "uint256"
495
- }
496
- ],
497
- "name": "DustFeeRateChanged",
498
- "type": "event"
499
- },
500
- {
501
- "anonymous": false,
502
- "inputs": [],
503
- "name": "EIP712DomainChanged",
504
- "type": "event"
505
- },
506
- {
507
- "anonymous": false,
508
- "inputs": [
509
- {
510
- "indexed": true,
511
- "internalType": "uint256",
512
- "name": "oldFee",
513
- "type": "uint256"
514
- },
515
- {
516
- "indexed": true,
517
- "internalType": "uint256",
518
- "name": "newFee",
519
- "type": "uint256"
520
- }
521
- ],
522
- "name": "FeeChanged",
523
- "type": "event"
524
- },
525
- {
526
- "anonymous": false,
527
- "inputs": [
528
- {
529
- "indexed": true,
530
- "internalType": "uint256",
531
- "name": "fee",
532
- "type": "uint256"
533
- },
534
- {
535
- "indexed": false,
536
- "internalType": "bytes",
537
- "name": "userSignature",
538
- "type": "bytes"
539
- }
540
- ],
541
- "name": "FeeCharged",
542
- "type": "event"
543
- },
544
- {
545
- "anonymous": false,
546
- "inputs": [
547
- {
548
- "indexed": false,
549
- "internalType": "uint64",
550
- "name": "version",
551
- "type": "uint64"
552
- }
553
- ],
554
- "name": "Initialized",
555
- "type": "event"
556
- },
557
- {
558
- "anonymous": false,
559
- "inputs": [
560
- {
561
- "indexed": true,
562
- "internalType": "address",
563
- "name": "recipient",
564
- "type": "address"
565
- },
566
- {
567
- "indexed": true,
568
- "internalType": "bytes32",
569
- "name": "payloadHash",
570
- "type": "bytes32"
571
- },
572
- {
573
- "indexed": false,
574
- "internalType": "bytes",
575
- "name": "payload",
576
- "type": "bytes"
577
- }
578
- ],
579
- "name": "MintProofConsumed",
580
- "type": "event"
581
- },
582
- {
583
- "anonymous": false,
584
- "inputs": [
585
- {
586
- "indexed": true,
587
- "internalType": "address",
588
- "name": "minter",
589
- "type": "address"
590
- },
591
- {
592
- "indexed": false,
593
- "internalType": "bool",
594
- "name": "isMinter",
595
- "type": "bool"
596
- }
597
- ],
598
- "name": "MinterUpdated",
599
- "type": "event"
600
- },
601
- {
602
- "anonymous": false,
603
- "inputs": [
604
- {
605
- "indexed": false,
606
- "internalType": "string",
607
- "name": "name",
608
- "type": "string"
609
- },
610
- {
611
- "indexed": false,
612
- "internalType": "string",
613
- "name": "symbol",
614
- "type": "string"
615
- }
616
- ],
617
- "name": "NameAndSymbolChanged",
618
- "type": "event"
619
- },
620
- {
621
- "anonymous": false,
622
- "inputs": [
623
- {
624
- "indexed": true,
625
- "internalType": "address",
626
- "name": "previousOwner",
627
- "type": "address"
628
- },
629
- {
630
- "indexed": true,
631
- "internalType": "address",
632
- "name": "newOwner",
633
- "type": "address"
634
- }
635
- ],
636
- "name": "OwnershipTransferStarted",
637
- "type": "event"
638
- },
639
- {
640
- "anonymous": false,
641
- "inputs": [
642
- {
643
- "indexed": true,
644
- "internalType": "address",
645
- "name": "previousOwner",
646
- "type": "address"
647
- },
648
- {
649
- "indexed": true,
650
- "internalType": "address",
651
- "name": "newOwner",
652
- "type": "address"
653
- }
654
- ],
655
- "name": "OwnershipTransferred",
656
- "type": "event"
657
- },
658
- {
659
- "anonymous": false,
660
- "inputs": [
661
- {
662
- "indexed": false,
663
- "internalType": "address",
664
- "name": "account",
665
- "type": "address"
666
- }
667
- ],
668
- "name": "Paused",
669
- "type": "event"
670
- },
671
- {
672
- "anonymous": false,
673
- "inputs": [
674
- {
675
- "indexed": true,
676
- "internalType": "address",
677
- "name": "previousPauser",
678
- "type": "address"
679
- },
680
- {
681
- "indexed": true,
682
- "internalType": "address",
683
- "name": "newPauser",
684
- "type": "address"
685
- }
686
- ],
687
- "name": "PauserRoleTransferred",
688
- "type": "event"
689
- },
690
- {
691
- "anonymous": false,
692
- "inputs": [
693
- {
694
- "indexed": true,
695
- "internalType": "address",
696
- "name": "from",
697
- "type": "address"
698
- },
699
- {
700
- "indexed": true,
701
- "internalType": "address",
702
- "name": "to",
703
- "type": "address"
704
- },
705
- {
706
- "indexed": false,
707
- "internalType": "uint256",
708
- "name": "value",
709
- "type": "uint256"
710
- }
711
- ],
712
- "name": "Transfer",
713
- "type": "event"
714
- },
715
- {
716
- "anonymous": false,
717
- "inputs": [
718
- {
719
- "indexed": true,
720
- "internalType": "address",
721
- "name": "prevValue",
722
- "type": "address"
723
- },
724
- {
725
- "indexed": true,
726
- "internalType": "address",
727
- "name": "newValue",
728
- "type": "address"
729
- }
730
- ],
731
- "name": "TreasuryAddressChanged",
732
- "type": "event"
733
- },
734
- {
735
- "anonymous": false,
736
- "inputs": [
737
- {
738
- "indexed": false,
739
- "internalType": "address",
740
- "name": "account",
741
- "type": "address"
742
- }
743
- ],
744
- "name": "Unpaused",
745
- "type": "event"
746
- },
747
- {
748
- "anonymous": false,
749
- "inputs": [
750
- {
751
- "indexed": true,
752
- "internalType": "address",
753
- "name": "fromAddress",
754
- "type": "address"
755
- },
756
- {
757
- "indexed": false,
758
- "internalType": "bytes",
759
- "name": "scriptPubKey",
760
- "type": "bytes"
761
- },
762
- {
763
- "indexed": false,
764
- "internalType": "uint256",
765
- "name": "amount",
766
- "type": "uint256"
767
- }
768
- ],
769
- "name": "UnstakeRequest",
770
- "type": "event"
771
- },
772
- {
773
- "anonymous": false,
774
- "inputs": [
775
- {
776
- "indexed": false,
777
- "internalType": "bool",
778
- "name": "",
779
- "type": "bool"
780
- }
781
- ],
782
- "name": "WithdrawalsEnabled",
783
- "type": "event"
784
- },
785
- {
786
- "inputs": [],
787
- "name": "Bascule",
788
- "outputs": [
789
- {
790
- "internalType": "contract IBascule",
791
- "name": "",
792
- "type": "address"
793
- }
794
- ],
795
- "stateMutability": "view",
796
- "type": "function"
797
- },
798
- {
799
- "inputs": [],
800
- "name": "DOMAIN_SEPARATOR",
801
- "outputs": [
802
- {
803
- "internalType": "bytes32",
804
- "name": "",
805
- "type": "bytes32"
806
- }
807
- ],
808
- "stateMutability": "view",
809
- "type": "function"
810
- },
811
- {
812
- "inputs": [],
813
- "name": "acceptOwnership",
814
- "outputs": [],
815
- "stateMutability": "nonpayable",
816
- "type": "function"
817
- },
818
- {
819
- "inputs": [
820
- {
821
- "internalType": "address",
822
- "name": "newClaimer",
823
- "type": "address"
824
- }
825
- ],
826
- "name": "addClaimer",
827
- "outputs": [],
828
- "stateMutability": "nonpayable",
829
- "type": "function"
830
- },
831
- {
832
- "inputs": [
833
- {
834
- "internalType": "address",
835
- "name": "newMinter",
836
- "type": "address"
837
- }
838
- ],
839
- "name": "addMinter",
840
- "outputs": [],
841
- "stateMutability": "nonpayable",
842
- "type": "function"
843
- },
844
- {
845
- "inputs": [
846
- {
847
- "internalType": "address",
848
- "name": "owner",
849
- "type": "address"
850
- },
851
- {
852
- "internalType": "address",
853
- "name": "spender",
854
- "type": "address"
855
- }
856
- ],
857
- "name": "allowance",
858
- "outputs": [
859
- {
860
- "internalType": "uint256",
861
- "name": "",
862
- "type": "uint256"
863
- }
864
- ],
865
- "stateMutability": "view",
866
- "type": "function"
867
- },
868
- {
869
- "inputs": [
870
- {
871
- "internalType": "address",
872
- "name": "spender",
873
- "type": "address"
874
- },
875
- {
876
- "internalType": "uint256",
877
- "name": "value",
878
- "type": "uint256"
879
- }
880
- ],
881
- "name": "approve",
882
- "outputs": [
883
- {
884
- "internalType": "bool",
885
- "name": "",
886
- "type": "bool"
887
- }
888
- ],
889
- "stateMutability": "nonpayable",
890
- "type": "function"
891
- },
892
- {
893
- "inputs": [
894
- {
895
- "internalType": "address",
896
- "name": "account",
897
- "type": "address"
898
- }
899
- ],
900
- "name": "balanceOf",
901
- "outputs": [
902
- {
903
- "internalType": "uint256",
904
- "name": "",
905
- "type": "uint256"
906
- }
907
- ],
908
- "stateMutability": "view",
909
- "type": "function"
910
- },
911
- {
912
- "inputs": [
913
- {
914
- "internalType": "address[]",
915
- "name": "to",
916
- "type": "address[]"
917
- },
918
- {
919
- "internalType": "uint256[]",
920
- "name": "amount",
921
- "type": "uint256[]"
922
- }
923
- ],
924
- "name": "batchMint",
925
- "outputs": [],
926
- "stateMutability": "nonpayable",
927
- "type": "function"
928
- },
929
- {
930
- "inputs": [
931
- {
932
- "internalType": "bytes[]",
933
- "name": "payload",
934
- "type": "bytes[]"
935
- },
936
- {
937
- "internalType": "bytes[]",
938
- "name": "proof",
939
- "type": "bytes[]"
940
- }
941
- ],
942
- "name": "batchMint",
943
- "outputs": [],
944
- "stateMutability": "nonpayable",
945
- "type": "function"
946
- },
947
- {
948
- "inputs": [
949
- {
950
- "internalType": "bytes[]",
951
- "name": "mintPayload",
952
- "type": "bytes[]"
953
- },
954
- {
955
- "internalType": "bytes[]",
956
- "name": "proof",
957
- "type": "bytes[]"
958
- },
959
- {
960
- "internalType": "bytes[]",
961
- "name": "feePayload",
962
- "type": "bytes[]"
963
- },
964
- {
965
- "internalType": "bytes[]",
966
- "name": "userSignature",
967
- "type": "bytes[]"
968
- }
969
- ],
970
- "name": "batchMintWithFee",
971
- "outputs": [],
972
- "stateMutability": "nonpayable",
973
- "type": "function"
974
- },
975
- {
976
- "inputs": [
977
- {
978
- "internalType": "uint256",
979
- "name": "amount",
980
- "type": "uint256"
981
- }
982
- ],
983
- "name": "burn",
984
- "outputs": [],
985
- "stateMutability": "nonpayable",
986
- "type": "function"
987
- },
988
- {
989
- "inputs": [
990
- {
991
- "internalType": "address",
992
- "name": "from",
993
- "type": "address"
994
- },
995
- {
996
- "internalType": "uint256",
997
- "name": "amount",
998
- "type": "uint256"
999
- }
1000
- ],
1001
- "name": "burn",
1002
- "outputs": [],
1003
- "stateMutability": "nonpayable",
1004
- "type": "function"
1005
- },
1006
- {
1007
- "inputs": [
1008
- {
1009
- "internalType": "bytes",
1010
- "name": "scriptPubkey",
1011
- "type": "bytes"
1012
- },
1013
- {
1014
- "internalType": "uint256",
1015
- "name": "amount",
1016
- "type": "uint256"
1017
- }
1018
- ],
1019
- "name": "calcUnstakeRequestAmount",
1020
- "outputs": [
1021
- {
1022
- "internalType": "uint256",
1023
- "name": "amountAfterFee",
1024
- "type": "uint256"
1025
- },
1026
- {
1027
- "internalType": "bool",
1028
- "name": "isAboveDust",
1029
- "type": "bool"
1030
- }
1031
- ],
1032
- "stateMutability": "view",
1033
- "type": "function"
1034
- },
1035
- {
1036
- "inputs": [
1037
- {
1038
- "internalType": "address",
1039
- "name": "newVal",
1040
- "type": "address"
1041
- }
1042
- ],
1043
- "name": "changeBascule",
1044
- "outputs": [],
1045
- "stateMutability": "nonpayable",
1046
- "type": "function"
1047
- },
1048
- {
1049
- "inputs": [
1050
- {
1051
- "internalType": "address",
1052
- "name": "newBridge",
1053
- "type": "address"
1054
- }
1055
- ],
1056
- "name": "changeBridge",
1057
- "outputs": [],
1058
- "stateMutability": "nonpayable",
1059
- "type": "function"
1060
- },
1061
- {
1062
- "inputs": [
1063
- {
1064
- "internalType": "uint64",
1065
- "name": "newValue",
1066
- "type": "uint64"
1067
- }
1068
- ],
1069
- "name": "changeBurnCommission",
1070
- "outputs": [],
1071
- "stateMutability": "nonpayable",
1072
- "type": "function"
1073
- },
1074
- {
1075
- "inputs": [
1076
- {
1077
- "internalType": "address",
1078
- "name": "newVal",
1079
- "type": "address"
1080
- }
1081
- ],
1082
- "name": "changeConsortium",
1083
- "outputs": [],
1084
- "stateMutability": "nonpayable",
1085
- "type": "function"
1086
- },
1087
- {
1088
- "inputs": [
1089
- {
1090
- "internalType": "uint256",
1091
- "name": "newRate",
1092
- "type": "uint256"
1093
- }
1094
- ],
1095
- "name": "changeDustFeeRate",
1096
- "outputs": [],
1097
- "stateMutability": "nonpayable",
1098
- "type": "function"
1099
- },
1100
- {
1101
- "inputs": [
1102
- {
1103
- "internalType": "string",
1104
- "name": "name_",
1105
- "type": "string"
1106
- },
1107
- {
1108
- "internalType": "string",
1109
- "name": "symbol_",
1110
- "type": "string"
1111
- }
1112
- ],
1113
- "name": "changeNameAndSymbol",
1114
- "outputs": [],
1115
- "stateMutability": "nonpayable",
1116
- "type": "function"
1117
- },
1118
- {
1119
- "inputs": [
1120
- {
1121
- "internalType": "address",
1122
- "name": "newValue",
1123
- "type": "address"
1124
- }
1125
- ],
1126
- "name": "changeTreasuryAddress",
1127
- "outputs": [],
1128
- "stateMutability": "nonpayable",
1129
- "type": "function"
1130
- },
1131
- {
1132
- "inputs": [],
1133
- "name": "consortium",
1134
- "outputs": [
1135
- {
1136
- "internalType": "address",
1137
- "name": "",
1138
- "type": "address"
1139
- }
1140
- ],
1141
- "stateMutability": "view",
1142
- "type": "function"
1143
- },
1144
- {
1145
- "inputs": [],
1146
- "name": "decimals",
1147
- "outputs": [
1148
- {
1149
- "internalType": "uint8",
1150
- "name": "",
1151
- "type": "uint8"
1152
- }
1153
- ],
1154
- "stateMutability": "view",
1155
- "type": "function"
1156
- },
1157
- {
1158
- "inputs": [],
1159
- "name": "eip712Domain",
1160
- "outputs": [
1161
- {
1162
- "internalType": "bytes1",
1163
- "name": "fields",
1164
- "type": "bytes1"
1165
- },
1166
- {
1167
- "internalType": "string",
1168
- "name": "name",
1169
- "type": "string"
1170
- },
1171
- {
1172
- "internalType": "string",
1173
- "name": "version",
1174
- "type": "string"
1175
- },
1176
- {
1177
- "internalType": "uint256",
1178
- "name": "chainId",
1179
- "type": "uint256"
1180
- },
1181
- {
1182
- "internalType": "address",
1183
- "name": "verifyingContract",
1184
- "type": "address"
1185
- },
1186
- {
1187
- "internalType": "bytes32",
1188
- "name": "salt",
1189
- "type": "bytes32"
1190
- },
1191
- {
1192
- "internalType": "uint256[]",
1193
- "name": "extensions",
1194
- "type": "uint256[]"
1195
- }
1196
- ],
1197
- "stateMutability": "view",
1198
- "type": "function"
1199
- },
1200
- {
1201
- "inputs": [],
1202
- "name": "getBurnCommission",
1203
- "outputs": [
1204
- {
1205
- "internalType": "uint64",
1206
- "name": "",
1207
- "type": "uint64"
1208
- }
1209
- ],
1210
- "stateMutability": "view",
1211
- "type": "function"
1212
- },
1213
- {
1214
- "inputs": [],
1215
- "name": "getDustFeeRate",
1216
- "outputs": [
1217
- {
1218
- "internalType": "uint256",
1219
- "name": "",
1220
- "type": "uint256"
1221
- }
1222
- ],
1223
- "stateMutability": "view",
1224
- "type": "function"
1225
- },
1226
- {
1227
- "inputs": [],
1228
- "name": "getMintFee",
1229
- "outputs": [
1230
- {
1231
- "internalType": "uint256",
1232
- "name": "",
1233
- "type": "uint256"
1234
- }
1235
- ],
1236
- "stateMutability": "view",
1237
- "type": "function"
1238
- },
1239
- {
1240
- "inputs": [],
1241
- "name": "getTreasury",
1242
- "outputs": [
1243
- {
1244
- "internalType": "address",
1245
- "name": "",
1246
- "type": "address"
1247
- }
1248
- ],
1249
- "stateMutability": "view",
1250
- "type": "function"
1251
- },
1252
- {
1253
- "inputs": [
1254
- {
1255
- "internalType": "address",
1256
- "name": "consortium_",
1257
- "type": "address"
1258
- },
1259
- {
1260
- "internalType": "uint64",
1261
- "name": "burnCommission_",
1262
- "type": "uint64"
1263
- },
1264
- {
1265
- "internalType": "address",
1266
- "name": "owner_",
1267
- "type": "address"
1268
- }
1269
- ],
1270
- "name": "initialize",
1271
- "outputs": [],
1272
- "stateMutability": "nonpayable",
1273
- "type": "function"
1274
- },
1275
- {
1276
- "inputs": [
1277
- {
1278
- "internalType": "address",
1279
- "name": "claimer",
1280
- "type": "address"
1281
- }
1282
- ],
1283
- "name": "isClaimer",
1284
- "outputs": [
1285
- {
1286
- "internalType": "bool",
1287
- "name": "",
1288
- "type": "bool"
1289
- }
1290
- ],
1291
- "stateMutability": "view",
1292
- "type": "function"
1293
- },
1294
- {
1295
- "inputs": [
1296
- {
1297
- "internalType": "address",
1298
- "name": "minter",
1299
- "type": "address"
1300
- }
1301
- ],
1302
- "name": "isMinter",
1303
- "outputs": [
1304
- {
1305
- "internalType": "bool",
1306
- "name": "",
1307
- "type": "bool"
1308
- }
1309
- ],
1310
- "stateMutability": "view",
1311
- "type": "function"
1312
- },
1313
- {
1314
- "inputs": [
1315
- {
1316
- "internalType": "address",
1317
- "name": "to",
1318
- "type": "address"
1319
- },
1320
- {
1321
- "internalType": "uint256",
1322
- "name": "amount",
1323
- "type": "uint256"
1324
- }
1325
- ],
1326
- "name": "mint",
1327
- "outputs": [],
1328
- "stateMutability": "nonpayable",
1329
- "type": "function"
1330
- },
1331
- {
1332
- "inputs": [
1333
- {
1334
- "internalType": "bytes",
1335
- "name": "payload",
1336
- "type": "bytes"
1337
- },
1338
- {
1339
- "internalType": "bytes",
1340
- "name": "proof",
1341
- "type": "bytes"
1342
- }
1343
- ],
1344
- "name": "mint",
1345
- "outputs": [],
1346
- "stateMutability": "nonpayable",
1347
- "type": "function"
1348
- },
1349
- {
1350
- "inputs": [
1351
- {
1352
- "internalType": "bytes",
1353
- "name": "mintPayload",
1354
- "type": "bytes"
1355
- },
1356
- {
1357
- "internalType": "bytes",
1358
- "name": "proof",
1359
- "type": "bytes"
1360
- },
1361
- {
1362
- "internalType": "bytes",
1363
- "name": "feePayload",
1364
- "type": "bytes"
1365
- },
1366
- {
1367
- "internalType": "bytes",
1368
- "name": "userSignature",
1369
- "type": "bytes"
1370
- }
1371
- ],
1372
- "name": "mintWithFee",
1373
- "outputs": [],
1374
- "stateMutability": "nonpayable",
1375
- "type": "function"
1376
- },
1377
- {
1378
- "inputs": [],
1379
- "name": "name",
1380
- "outputs": [
1381
- {
1382
- "internalType": "string",
1383
- "name": "",
1384
- "type": "string"
1385
- }
1386
- ],
1387
- "stateMutability": "view",
1388
- "type": "function"
1389
- },
1390
- {
1391
- "inputs": [
1392
- {
1393
- "internalType": "address",
1394
- "name": "owner",
1395
- "type": "address"
1396
- }
1397
- ],
1398
- "name": "nonces",
1399
- "outputs": [
1400
- {
1401
- "internalType": "uint256",
1402
- "name": "",
1403
- "type": "uint256"
1404
- }
1405
- ],
1406
- "stateMutability": "view",
1407
- "type": "function"
1408
- },
1409
- {
1410
- "inputs": [],
1411
- "name": "owner",
1412
- "outputs": [
1413
- {
1414
- "internalType": "address",
1415
- "name": "",
1416
- "type": "address"
1417
- }
1418
- ],
1419
- "stateMutability": "view",
1420
- "type": "function"
1421
- },
1422
- {
1423
- "inputs": [],
1424
- "name": "pause",
1425
- "outputs": [],
1426
- "stateMutability": "nonpayable",
1427
- "type": "function"
1428
- },
1429
- {
1430
- "inputs": [],
1431
- "name": "paused",
1432
- "outputs": [
1433
- {
1434
- "internalType": "bool",
1435
- "name": "",
1436
- "type": "bool"
1437
- }
1438
- ],
1439
- "stateMutability": "view",
1440
- "type": "function"
1441
- },
1442
- {
1443
- "inputs": [],
1444
- "name": "pauser",
1445
- "outputs": [
1446
- {
1447
- "internalType": "address",
1448
- "name": "",
1449
- "type": "address"
1450
- }
1451
- ],
1452
- "stateMutability": "view",
1453
- "type": "function"
1454
- },
1455
- {
1456
- "inputs": [],
1457
- "name": "pendingOwner",
1458
- "outputs": [
1459
- {
1460
- "internalType": "address",
1461
- "name": "",
1462
- "type": "address"
1463
- }
1464
- ],
1465
- "stateMutability": "view",
1466
- "type": "function"
1467
- },
1468
- {
1469
- "inputs": [
1470
- {
1471
- "internalType": "address",
1472
- "name": "owner",
1473
- "type": "address"
1474
- },
1475
- {
1476
- "internalType": "address",
1477
- "name": "spender",
1478
- "type": "address"
1479
- },
1480
- {
1481
- "internalType": "uint256",
1482
- "name": "value",
1483
- "type": "uint256"
1484
- },
1485
- {
1486
- "internalType": "uint256",
1487
- "name": "deadline",
1488
- "type": "uint256"
1489
- },
1490
- {
1491
- "internalType": "uint8",
1492
- "name": "v",
1493
- "type": "uint8"
1494
- },
1495
- {
1496
- "internalType": "bytes32",
1497
- "name": "r",
1498
- "type": "bytes32"
1499
- },
1500
- {
1501
- "internalType": "bytes32",
1502
- "name": "s",
1503
- "type": "bytes32"
1504
- }
1505
- ],
1506
- "name": "permit",
1507
- "outputs": [],
1508
- "stateMutability": "nonpayable",
1509
- "type": "function"
1510
- },
1511
- {
1512
- "inputs": [
1513
- {
1514
- "internalType": "bytes",
1515
- "name": "scriptPubkey",
1516
- "type": "bytes"
1517
- },
1518
- {
1519
- "internalType": "uint256",
1520
- "name": "amount",
1521
- "type": "uint256"
1522
- }
1523
- ],
1524
- "name": "redeem",
1525
- "outputs": [],
1526
- "stateMutability": "nonpayable",
1527
- "type": "function"
1528
- },
1529
- {
1530
- "inputs": [],
1531
- "name": "reinitialize",
1532
- "outputs": [],
1533
- "stateMutability": "nonpayable",
1534
- "type": "function"
1535
- },
1536
- {
1537
- "inputs": [
1538
- {
1539
- "internalType": "address",
1540
- "name": "oldClaimer",
1541
- "type": "address"
1542
- }
1543
- ],
1544
- "name": "removeClaimer",
1545
- "outputs": [],
1546
- "stateMutability": "nonpayable",
1547
- "type": "function"
1548
- },
1549
- {
1550
- "inputs": [
1551
- {
1552
- "internalType": "address",
1553
- "name": "oldMinter",
1554
- "type": "address"
1555
- }
1556
- ],
1557
- "name": "removeMinter",
1558
- "outputs": [],
1559
- "stateMutability": "nonpayable",
1560
- "type": "function"
1561
- },
1562
- {
1563
- "inputs": [],
1564
- "name": "renounceOwnership",
1565
- "outputs": [],
1566
- "stateMutability": "nonpayable",
1567
- "type": "function"
1568
- },
1569
- {
1570
- "inputs": [
1571
- {
1572
- "internalType": "uint256",
1573
- "name": "fee",
1574
- "type": "uint256"
1575
- }
1576
- ],
1577
- "name": "setMintFee",
1578
- "outputs": [],
1579
- "stateMutability": "nonpayable",
1580
- "type": "function"
1581
- },
1582
- {
1583
- "inputs": [],
1584
- "name": "symbol",
1585
- "outputs": [
1586
- {
1587
- "internalType": "string",
1588
- "name": "",
1589
- "type": "string"
1590
- }
1591
- ],
1592
- "stateMutability": "view",
1593
- "type": "function"
1594
- },
1595
- {
1596
- "inputs": [],
1597
- "name": "toggleWithdrawals",
1598
- "outputs": [],
1599
- "stateMutability": "nonpayable",
1600
- "type": "function"
1601
- },
1602
- {
1603
- "inputs": [],
1604
- "name": "totalSupply",
1605
- "outputs": [
1606
- {
1607
- "internalType": "uint256",
1608
- "name": "",
1609
- "type": "uint256"
1610
- }
1611
- ],
1612
- "stateMutability": "view",
1613
- "type": "function"
1614
- },
1615
- {
1616
- "inputs": [
1617
- {
1618
- "internalType": "address",
1619
- "name": "to",
1620
- "type": "address"
1621
- },
1622
- {
1623
- "internalType": "uint256",
1624
- "name": "value",
1625
- "type": "uint256"
1626
- }
1627
- ],
1628
- "name": "transfer",
1629
- "outputs": [
1630
- {
1631
- "internalType": "bool",
1632
- "name": "",
1633
- "type": "bool"
1634
- }
1635
- ],
1636
- "stateMutability": "nonpayable",
1637
- "type": "function"
1638
- },
1639
- {
1640
- "inputs": [
1641
- {
1642
- "internalType": "address",
1643
- "name": "from",
1644
- "type": "address"
1645
- },
1646
- {
1647
- "internalType": "address",
1648
- "name": "to",
1649
- "type": "address"
1650
- },
1651
- {
1652
- "internalType": "uint256",
1653
- "name": "value",
1654
- "type": "uint256"
1655
- }
1656
- ],
1657
- "name": "transferFrom",
1658
- "outputs": [
1659
- {
1660
- "internalType": "bool",
1661
- "name": "",
1662
- "type": "bool"
1663
- }
1664
- ],
1665
- "stateMutability": "nonpayable",
1666
- "type": "function"
1667
- },
1668
- {
1669
- "inputs": [
1670
- {
1671
- "internalType": "address",
1672
- "name": "newOwner",
1673
- "type": "address"
1674
- }
1675
- ],
1676
- "name": "transferOwnership",
1677
- "outputs": [],
1678
- "stateMutability": "nonpayable",
1679
- "type": "function"
1680
- },
1681
- {
1682
- "inputs": [
1683
- {
1684
- "internalType": "address",
1685
- "name": "newPauser",
1686
- "type": "address"
1687
- }
1688
- ],
1689
- "name": "transferPauserRole",
1690
- "outputs": [],
1691
- "stateMutability": "nonpayable",
1692
- "type": "function"
1693
- },
1694
- {
1695
- "inputs": [],
1696
- "name": "unpause",
1697
- "outputs": [],
1698
- "stateMutability": "nonpayable",
1699
- "type": "function"
1700
- },
1701
- {
1702
- "inputs": [
1703
- {
1704
- "components": [
1705
- {
1706
- "internalType": "uint256",
1707
- "name": "fromChain",
1708
- "type": "uint256"
1709
- },
1710
- {
1711
- "internalType": "address",
1712
- "name": "fromContract",
1713
- "type": "address"
1714
- },
1715
- {
1716
- "internalType": "uint256",
1717
- "name": "toChain",
1718
- "type": "uint256"
1719
- },
1720
- {
1721
- "internalType": "address",
1722
- "name": "toContract",
1723
- "type": "address"
1724
- },
1725
- {
1726
- "internalType": "address",
1727
- "name": "recipient",
1728
- "type": "address"
1729
- },
1730
- {
1731
- "internalType": "uint64",
1732
- "name": "amount",
1733
- "type": "uint64"
1734
- },
1735
- {
1736
- "internalType": "bytes32",
1737
- "name": "uniqueActionData",
1738
- "type": "bytes32"
1739
- }
1740
- ],
1741
- "internalType": "struct Actions.DepositBridgeAction",
1742
- "name": "action",
1743
- "type": "tuple"
1744
- },
1745
- {
1746
- "internalType": "bytes32",
1747
- "name": "",
1748
- "type": "bytes32"
1749
- },
1750
- {
1751
- "internalType": "bytes",
1752
- "name": "",
1753
- "type": "bytes"
1754
- }
1755
- ],
1756
- "name": "withdraw",
1757
- "outputs": [],
1758
- "stateMutability": "nonpayable",
1759
- "type": "function"
1760
- }
1761
- ]