@yaswap/wallet-core 2.0.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 (563) hide show
  1. package/CHANGELOG.md +804 -0
  2. package/README.md +163 -0
  3. package/dist/package.json +76 -0
  4. package/dist/src/build.config.d.ts +46 -0
  5. package/dist/src/build.config.js +237 -0
  6. package/dist/src/build.config.js.map +1 -0
  7. package/dist/src/factory/client/clients.d.ts +11 -0
  8. package/dist/src/factory/client/clients.js +119 -0
  9. package/dist/src/factory/client/clients.js.map +1 -0
  10. package/dist/src/factory/client/evm.d.ts +6 -0
  11. package/dist/src/factory/client/evm.js +71 -0
  12. package/dist/src/factory/client/evm.js.map +1 -0
  13. package/dist/src/factory/client/index.d.ts +11 -0
  14. package/dist/src/factory/client/index.js +38 -0
  15. package/dist/src/factory/client/index.js.map +1 -0
  16. package/dist/src/factory/client/nft.d.ts +4 -0
  17. package/dist/src/factory/client/nft.js +26 -0
  18. package/dist/src/factory/client/nft.js.map +1 -0
  19. package/dist/src/factory/index.d.ts +3 -0
  20. package/dist/src/factory/index.js +7 -0
  21. package/dist/src/factory/index.js.map +1 -0
  22. package/dist/src/factory/settings.d.ts +4 -0
  23. package/dist/src/factory/settings.js +27 -0
  24. package/dist/src/factory/settings.js.map +1 -0
  25. package/dist/src/factory/swap/index.d.ts +4 -0
  26. package/dist/src/factory/swap/index.js +66 -0
  27. package/dist/src/factory/swap/index.js.map +1 -0
  28. package/dist/src/index.d.ts +1619 -0
  29. package/dist/src/index.js +38 -0
  30. package/dist/src/index.js.map +1 -0
  31. package/dist/src/index.test.d.ts +1 -0
  32. package/dist/src/index.test.js +187 -0
  33. package/dist/src/index.test.js.map +1 -0
  34. package/dist/src/nameResolvers/nameResolver.d.ts +7 -0
  35. package/dist/src/nameResolvers/nameResolver.js +3 -0
  36. package/dist/src/nameResolvers/nameResolver.js.map +1 -0
  37. package/dist/src/nameResolvers/uns.d.ts +12 -0
  38. package/dist/src/nameResolvers/uns.js +83 -0
  39. package/dist/src/nameResolvers/uns.js.map +1 -0
  40. package/dist/src/nameResolvers/uns.test.d.ts +1 -0
  41. package/dist/src/nameResolvers/uns.test.js +29 -0
  42. package/dist/src/nameResolvers/uns.test.js.map +1 -0
  43. package/dist/src/store/actions/acceptTermsAndConditions.d.ts +4 -0
  44. package/dist/src/store/actions/acceptTermsAndConditions.js +17 -0
  45. package/dist/src/store/actions/acceptTermsAndConditions.js.map +1 -0
  46. package/dist/src/store/actions/acceptTermsAndConditions.test.d.ts +1 -0
  47. package/dist/src/store/actions/acceptTermsAndConditions.test.js +22 -0
  48. package/dist/src/store/actions/acceptTermsAndConditions.test.js.map +1 -0
  49. package/dist/src/store/actions/accounts/createAccount.d.ts +7 -0
  50. package/dist/src/store/actions/accounts/createAccount.js +27 -0
  51. package/dist/src/store/actions/accounts/createAccount.js.map +1 -0
  52. package/dist/src/store/actions/accounts/createAccount.test.d.ts +1 -0
  53. package/dist/src/store/actions/accounts/createAccount.test.js +29 -0
  54. package/dist/src/store/actions/accounts/createAccount.test.js.map +1 -0
  55. package/dist/src/store/actions/accounts/index.d.ts +5 -0
  56. package/dist/src/store/actions/accounts/index.js +9 -0
  57. package/dist/src/store/actions/accounts/index.js.map +1 -0
  58. package/dist/src/store/actions/accounts/removeAccount.d.ts +7 -0
  59. package/dist/src/store/actions/accounts/removeAccount.js +12 -0
  60. package/dist/src/store/actions/accounts/removeAccount.js.map +1 -0
  61. package/dist/src/store/actions/accounts/removeAccount.test.d.ts +1 -0
  62. package/dist/src/store/actions/accounts/removeAccount.test.js +53 -0
  63. package/dist/src/store/actions/accounts/removeAccount.test.js.map +1 -0
  64. package/dist/src/store/actions/accounts/toggleAccount.d.ts +8 -0
  65. package/dist/src/store/actions/accounts/toggleAccount.js +19 -0
  66. package/dist/src/store/actions/accounts/toggleAccount.js.map +1 -0
  67. package/dist/src/store/actions/accounts/toggleAccount.test.d.ts +1 -0
  68. package/dist/src/store/actions/accounts/toggleAccount.test.js +44 -0
  69. package/dist/src/store/actions/accounts/toggleAccount.test.js.map +1 -0
  70. package/dist/src/store/actions/accounts/toggleBlockchain.d.ts +9 -0
  71. package/dist/src/store/actions/accounts/toggleBlockchain.js +14 -0
  72. package/dist/src/store/actions/accounts/toggleBlockchain.js.map +1 -0
  73. package/dist/src/store/actions/accounts/updateAccount.d.ts +26 -0
  74. package/dist/src/store/actions/accounts/updateAccount.js +14 -0
  75. package/dist/src/store/actions/accounts/updateAccount.js.map +1 -0
  76. package/dist/src/store/actions/addCustomToken.d.ts +12 -0
  77. package/dist/src/store/actions/addCustomToken.js +12 -0
  78. package/dist/src/store/actions/addCustomToken.js.map +1 -0
  79. package/dist/src/store/actions/addCustomToken.test.d.ts +1 -0
  80. package/dist/src/store/actions/addCustomToken.test.js +59 -0
  81. package/dist/src/store/actions/addCustomToken.test.js.map +1 -0
  82. package/dist/src/store/actions/addExternalConnection.d.ts +9 -0
  83. package/dist/src/store/actions/addExternalConnection.js +13 -0
  84. package/dist/src/store/actions/addExternalConnection.js.map +1 -0
  85. package/dist/src/store/actions/addExternalConnection.test.d.ts +1 -0
  86. package/dist/src/store/actions/addExternalConnection.test.js +100 -0
  87. package/dist/src/store/actions/addExternalConnection.test.js.map +1 -0
  88. package/dist/src/store/actions/analytics.d.ts +21 -0
  89. package/dist/src/store/actions/analytics.js +58 -0
  90. package/dist/src/store/actions/analytics.js.map +1 -0
  91. package/dist/src/store/actions/analytics.test.d.ts +1 -0
  92. package/dist/src/store/actions/analytics.test.js +33 -0
  93. package/dist/src/store/actions/analytics.test.js.map +1 -0
  94. package/dist/src/store/actions/changeActiveNetwork.d.ts +5 -0
  95. package/dist/src/store/actions/changeActiveNetwork.js +13 -0
  96. package/dist/src/store/actions/changeActiveNetwork.js.map +1 -0
  97. package/dist/src/store/actions/changeActiveWalletId.d.ts +5 -0
  98. package/dist/src/store/actions/changeActiveWalletId.js +11 -0
  99. package/dist/src/store/actions/changeActiveWalletId.js.map +1 -0
  100. package/dist/src/store/actions/changeActiveWalletId.test.d.ts +1 -0
  101. package/dist/src/store/actions/changeActiveWalletId.test.js +40 -0
  102. package/dist/src/store/actions/changeActiveWalletId.test.js.map +1 -0
  103. package/dist/src/store/actions/changePassword.d.ts +4 -0
  104. package/dist/src/store/actions/changePassword.js +13 -0
  105. package/dist/src/store/actions/changePassword.js.map +1 -0
  106. package/dist/src/store/actions/changePassword.test.d.ts +1 -0
  107. package/dist/src/store/actions/changePassword.test.js +22 -0
  108. package/dist/src/store/actions/changePassword.test.js.map +1 -0
  109. package/dist/src/store/actions/checkPendingActions.d.ts +5 -0
  110. package/dist/src/store/actions/checkPendingActions.js +25 -0
  111. package/dist/src/store/actions/checkPendingActions.js.map +1 -0
  112. package/dist/src/store/actions/clearErrorLog.d.ts +2 -0
  113. package/dist/src/store/actions/clearErrorLog.js +10 -0
  114. package/dist/src/store/actions/clearErrorLog.js.map +1 -0
  115. package/dist/src/store/actions/createWallet.d.ts +7 -0
  116. package/dist/src/store/actions/createWallet.js +90 -0
  117. package/dist/src/store/actions/createWallet.js.map +1 -0
  118. package/dist/src/store/actions/createWallet.test.d.ts +1 -0
  119. package/dist/src/store/actions/createWallet.test.js +41 -0
  120. package/dist/src/store/actions/createWallet.test.js.map +1 -0
  121. package/dist/src/store/actions/customChainSettings.d.ts +15 -0
  122. package/dist/src/store/actions/customChainSettings.js +37 -0
  123. package/dist/src/store/actions/customChainSettings.js.map +1 -0
  124. package/dist/src/store/actions/disableAssets.d.ts +7 -0
  125. package/dist/src/store/actions/disableAssets.js +28 -0
  126. package/dist/src/store/actions/disableAssets.js.map +1 -0
  127. package/dist/src/store/actions/disableEthereumInjection.d.ts +2 -0
  128. package/dist/src/store/actions/disableEthereumInjection.js +11 -0
  129. package/dist/src/store/actions/disableEthereumInjection.js.map +1 -0
  130. package/dist/src/store/actions/disableEthereumInjection.test.d.ts +1 -0
  131. package/dist/src/store/actions/disableEthereumInjection.test.js +24 -0
  132. package/dist/src/store/actions/disableEthereumInjection.test.js.map +1 -0
  133. package/dist/src/store/actions/enableAssets.d.ts +7 -0
  134. package/dist/src/store/actions/enableAssets.js +65 -0
  135. package/dist/src/store/actions/enableAssets.js.map +1 -0
  136. package/dist/src/store/actions/enableAssets.test.d.ts +1 -0
  137. package/dist/src/store/actions/enableAssets.test.js +37 -0
  138. package/dist/src/store/actions/enableAssets.test.js.map +1 -0
  139. package/dist/src/store/actions/enableDisableAssets.test.d.ts +1 -0
  140. package/dist/src/store/actions/enableDisableAssets.test.js +79 -0
  141. package/dist/src/store/actions/enableDisableAssets.test.js.map +1 -0
  142. package/dist/src/store/actions/enableEthereumInjection.d.ts +2 -0
  143. package/dist/src/store/actions/enableEthereumInjection.js +11 -0
  144. package/dist/src/store/actions/enableEthereumInjection.js.map +1 -0
  145. package/dist/src/store/actions/exportPrivateKey.d.ts +9 -0
  146. package/dist/src/store/actions/exportPrivateKey.js +12 -0
  147. package/dist/src/store/actions/exportPrivateKey.js.map +1 -0
  148. package/dist/src/store/actions/exportPrivateKey.test.d.ts +1 -0
  149. package/dist/src/store/actions/exportPrivateKey.test.js +36 -0
  150. package/dist/src/store/actions/exportPrivateKey.test.js.map +1 -0
  151. package/dist/src/store/actions/fetchTokenDetails.d.ts +11 -0
  152. package/dist/src/store/actions/fetchTokenDetails.js +22 -0
  153. package/dist/src/store/actions/fetchTokenDetails.js.map +1 -0
  154. package/dist/src/store/actions/forgetDappConnections.d.ts +2 -0
  155. package/dist/src/store/actions/forgetDappConnections.js +11 -0
  156. package/dist/src/store/actions/forgetDappConnections.js.map +1 -0
  157. package/dist/src/store/actions/getLockForAsset.d.ts +8 -0
  158. package/dist/src/store/actions/getLockForAsset.js +34 -0
  159. package/dist/src/store/actions/getLockForAsset.js.map +1 -0
  160. package/dist/src/store/actions/getQuotes.d.ts +13 -0
  161. package/dist/src/store/actions/getQuotes.js +70 -0
  162. package/dist/src/store/actions/getQuotes.js.map +1 -0
  163. package/dist/src/store/actions/getQuotes.test.d.ts +1 -0
  164. package/dist/src/store/actions/getQuotes.test.js +30 -0
  165. package/dist/src/store/actions/getQuotes.test.js.map +1 -0
  166. package/dist/src/store/actions/getUnusedAddresses.d.ts +8 -0
  167. package/dist/src/store/actions/getUnusedAddresses.js +51 -0
  168. package/dist/src/store/actions/getUnusedAddresses.js.map +1 -0
  169. package/dist/src/store/actions/hardware-wallet/getLedgerAccounts.d.ts +16 -0
  170. package/dist/src/store/actions/hardware-wallet/getLedgerAccounts.js +57 -0
  171. package/dist/src/store/actions/hardware-wallet/getLedgerAccounts.js.map +1 -0
  172. package/dist/src/store/actions/hardware-wallet/index.d.ts +1 -0
  173. package/dist/src/store/actions/hardware-wallet/index.js +5 -0
  174. package/dist/src/store/actions/hardware-wallet/index.js.map +1 -0
  175. package/dist/src/store/actions/index.d.ts +47 -0
  176. package/dist/src/store/actions/index.js +51 -0
  177. package/dist/src/store/actions/index.js.map +1 -0
  178. package/dist/src/store/actions/initializeAddresses.d.ts +6 -0
  179. package/dist/src/store/actions/initializeAddresses.js +26 -0
  180. package/dist/src/store/actions/initializeAddresses.js.map +1 -0
  181. package/dist/src/store/actions/initializeAddresses.test.d.ts +1 -0
  182. package/dist/src/store/actions/initializeAddresses.test.js +58 -0
  183. package/dist/src/store/actions/initializeAddresses.test.js.map +1 -0
  184. package/dist/src/store/actions/lockWallet.d.ts +2 -0
  185. package/dist/src/store/actions/lockWallet.js +11 -0
  186. package/dist/src/store/actions/lockWallet.js.map +1 -0
  187. package/dist/src/store/actions/lockWallet.test.d.ts +1 -0
  188. package/dist/src/store/actions/lockWallet.test.js +24 -0
  189. package/dist/src/store/actions/lockWallet.test.js.map +1 -0
  190. package/dist/src/store/actions/logError.d.ts +3 -0
  191. package/dist/src/store/actions/logError.js +10 -0
  192. package/dist/src/store/actions/logError.js.map +1 -0
  193. package/dist/src/store/actions/logError.test.d.ts +1 -0
  194. package/dist/src/store/actions/logError.test.js +27 -0
  195. package/dist/src/store/actions/logError.test.js.map +1 -0
  196. package/dist/src/store/actions/newSwap.d.ts +12 -0
  197. package/dist/src/store/actions/newSwap.js +34 -0
  198. package/dist/src/store/actions/newSwap.js.map +1 -0
  199. package/dist/src/store/actions/performNextAction/index.d.ts +7 -0
  200. package/dist/src/store/actions/performNextAction/index.js +65 -0
  201. package/dist/src/store/actions/performNextAction/index.js.map +1 -0
  202. package/dist/src/store/actions/performNextAction/send.d.ts +7 -0
  203. package/dist/src/store/actions/performNextAction/send.js +54 -0
  204. package/dist/src/store/actions/performNextAction/send.js.map +1 -0
  205. package/dist/src/store/actions/performNextAction/sendNFT.d.ts +7 -0
  206. package/dist/src/store/actions/performNextAction/sendNFT.js +50 -0
  207. package/dist/src/store/actions/performNextAction/sendNFT.js.map +1 -0
  208. package/dist/src/store/actions/performNextAction/utils.d.ts +11 -0
  209. package/dist/src/store/actions/performNextAction/utils.js +42 -0
  210. package/dist/src/store/actions/performNextAction/utils.js.map +1 -0
  211. package/dist/src/store/actions/proxyMutation.d.ts +5 -0
  212. package/dist/src/store/actions/proxyMutation.js +9 -0
  213. package/dist/src/store/actions/proxyMutation.js.map +1 -0
  214. package/dist/src/store/actions/removeCustomToken.d.ts +7 -0
  215. package/dist/src/store/actions/removeCustomToken.js +11 -0
  216. package/dist/src/store/actions/removeCustomToken.js.map +1 -0
  217. package/dist/src/store/actions/retrySwap.d.ts +5 -0
  218. package/dist/src/store/actions/retrySwap.js +23 -0
  219. package/dist/src/store/actions/retrySwap.js.map +1 -0
  220. package/dist/src/store/actions/sendNFTTransaction.d.ts +4 -0
  221. package/dist/src/store/actions/sendNFTTransaction.js +47 -0
  222. package/dist/src/store/actions/sendNFTTransaction.js.map +1 -0
  223. package/dist/src/store/actions/sendTransaction.d.ts +17 -0
  224. package/dist/src/store/actions/sendTransaction.js +51 -0
  225. package/dist/src/store/actions/sendTransaction.js.map +1 -0
  226. package/dist/src/store/actions/sendTransaction.test.d.ts +1 -0
  227. package/dist/src/store/actions/sendTransaction.test.js +80 -0
  228. package/dist/src/store/actions/sendTransaction.test.js.map +1 -0
  229. package/dist/src/store/actions/setEthereumInjectionChain.d.ts +5 -0
  230. package/dist/src/store/actions/setEthereumInjectionChain.js +11 -0
  231. package/dist/src/store/actions/setEthereumInjectionChain.js.map +1 -0
  232. package/dist/src/store/actions/setEthereumInjectionChain.test.d.ts +1 -0
  233. package/dist/src/store/actions/setEthereumInjectionChain.test.js +20 -0
  234. package/dist/src/store/actions/setEthereumInjectionChain.test.js.map +1 -0
  235. package/dist/src/store/actions/setWhatsNewModalVersion.d.ts +4 -0
  236. package/dist/src/store/actions/setWhatsNewModalVersion.js +10 -0
  237. package/dist/src/store/actions/setWhatsNewModalVersion.js.map +1 -0
  238. package/dist/src/store/actions/setWhatsNewModalVersion.test.d.ts +1 -0
  239. package/dist/src/store/actions/setWhatsNewModalVersion.test.js +24 -0
  240. package/dist/src/store/actions/setWhatsNewModalVersion.test.js.map +1 -0
  241. package/dist/src/store/actions/showNotification.d.ts +2 -0
  242. package/dist/src/store/actions/showNotification.js +10 -0
  243. package/dist/src/store/actions/showNotification.js.map +1 -0
  244. package/dist/src/store/actions/toggleExperiment.d.ts +5 -0
  245. package/dist/src/store/actions/toggleExperiment.js +10 -0
  246. package/dist/src/store/actions/toggleExperiment.js.map +1 -0
  247. package/dist/src/store/actions/toggleExperiment.test.d.ts +1 -0
  248. package/dist/src/store/actions/toggleExperiment.test.js +34 -0
  249. package/dist/src/store/actions/toggleExperiment.test.js.map +1 -0
  250. package/dist/src/store/actions/toggleNFTStarred.d.ts +8 -0
  251. package/dist/src/store/actions/toggleNFTStarred.js +10 -0
  252. package/dist/src/store/actions/toggleNFTStarred.js.map +1 -0
  253. package/dist/src/store/actions/unlockWallet.d.ts +4 -0
  254. package/dist/src/store/actions/unlockWallet.js +22 -0
  255. package/dist/src/store/actions/unlockWallet.js.map +1 -0
  256. package/dist/src/store/actions/updateAccountBalance.d.ts +7 -0
  257. package/dist/src/store/actions/updateAccountBalance.js +29 -0
  258. package/dist/src/store/actions/updateAccountBalance.js.map +1 -0
  259. package/dist/src/store/actions/updateBalances.d.ts +9 -0
  260. package/dist/src/store/actions/updateBalances.js +169 -0
  261. package/dist/src/store/actions/updateBalances.js.map +1 -0
  262. package/dist/src/store/actions/updateBalances.test.d.ts +1 -0
  263. package/dist/src/store/actions/updateBalances.test.js +43 -0
  264. package/dist/src/store/actions/updateBalances.test.js.map +1 -0
  265. package/dist/src/store/actions/updateCurrenciesInfo.d.ts +5 -0
  266. package/dist/src/store/actions/updateCurrenciesInfo.js +14 -0
  267. package/dist/src/store/actions/updateCurrenciesInfo.js.map +1 -0
  268. package/dist/src/store/actions/updateFees.d.ts +6 -0
  269. package/dist/src/store/actions/updateFees.js +16 -0
  270. package/dist/src/store/actions/updateFees.js.map +1 -0
  271. package/dist/src/store/actions/updateFees.test.d.ts +1 -0
  272. package/dist/src/store/actions/updateFees.test.js +86 -0
  273. package/dist/src/store/actions/updateFees.test.js.map +1 -0
  274. package/dist/src/store/actions/updateFiatRates.d.ts +5 -0
  275. package/dist/src/store/actions/updateFiatRates.js +15 -0
  276. package/dist/src/store/actions/updateFiatRates.js.map +1 -0
  277. package/dist/src/store/actions/updateFiatRates.test.d.ts +1 -0
  278. package/dist/src/store/actions/updateFiatRates.test.js +43 -0
  279. package/dist/src/store/actions/updateFiatRates.test.js.map +1 -0
  280. package/dist/src/store/actions/updateMarketData.d.ts +8 -0
  281. package/dist/src/store/actions/updateMarketData.js +28 -0
  282. package/dist/src/store/actions/updateMarketData.js.map +1 -0
  283. package/dist/src/store/actions/updateMarketData.test.d.ts +1 -0
  284. package/dist/src/store/actions/updateMarketData.test.js +49 -0
  285. package/dist/src/store/actions/updateMarketData.test.js.map +1 -0
  286. package/dist/src/store/actions/updateNFTs.d.ts +7 -0
  287. package/dist/src/store/actions/updateNFTs.js +39 -0
  288. package/dist/src/store/actions/updateNFTs.js.map +1 -0
  289. package/dist/src/store/actions/updateNFTs.test.d.ts +1 -0
  290. package/dist/src/store/actions/updateNFTs.test.js +32 -0
  291. package/dist/src/store/actions/updateNFTs.test.js.map +1 -0
  292. package/dist/src/store/actions/updateTransactionFee.d.ts +11 -0
  293. package/dist/src/store/actions/updateTransactionFee.js +81 -0
  294. package/dist/src/store/actions/updateTransactionFee.js.map +1 -0
  295. package/dist/src/store/broker/notification.d.ts +4 -0
  296. package/dist/src/store/broker/notification.js +84 -0
  297. package/dist/src/store/broker/notification.js.map +1 -0
  298. package/dist/src/store/getters.d.ts +59 -0
  299. package/dist/src/store/getters.js +350 -0
  300. package/dist/src/store/getters.js.map +1 -0
  301. package/dist/src/store/index.d.ts +3524 -0
  302. package/dist/src/store/index.js +24 -0
  303. package/dist/src/store/index.js.map +1 -0
  304. package/dist/src/store/migrations/10_analytics_settings.d.ts +4 -0
  305. package/dist/src/store/migrations/10_analytics_settings.js +19 -0
  306. package/dist/src/store/migrations/10_analytics_settings.js.map +1 -0
  307. package/dist/src/store/migrations/11_12_rsk_legacy_derivation_path.d.ts +8 -0
  308. package/dist/src/store/migrations/11_12_rsk_legacy_derivation_path.js +22 -0
  309. package/dist/src/store/migrations/11_12_rsk_legacy_derivation_path.js.map +1 -0
  310. package/dist/src/store/migrations/13_rsk_fish_token.d.ts +4 -0
  311. package/dist/src/store/migrations/13_rsk_fish_token.js +19 -0
  312. package/dist/src/store/migrations/13_rsk_fish_token.js.map +1 -0
  313. package/dist/src/store/migrations/14_account_set_derivation_path.d.ts +4 -0
  314. package/dist/src/store/migrations/14_account_set_derivation_path.js +56 -0
  315. package/dist/src/store/migrations/14_account_set_derivation_path.js.map +1 -0
  316. package/dist/src/store/migrations/15_accounts_chains_set_enabled.d.ts +4 -0
  317. package/dist/src/store/migrations/15_accounts_chains_set_enabled.js +25 -0
  318. package/dist/src/store/migrations/15_accounts_chains_set_enabled.js.map +1 -0
  319. package/dist/src/store/migrations/16_enable_terra_chain.d.ts +4 -0
  320. package/dist/src/store/migrations/16_enable_terra_chain.js +10 -0
  321. package/dist/src/store/migrations/16_enable_terra_chain.js.map +1 -0
  322. package/dist/src/store/migrations/17_remove_injection_enabled.d.ts +4 -0
  323. package/dist/src/store/migrations/17_remove_injection_enabled.js +12 -0
  324. package/dist/src/store/migrations/17_remove_injection_enabled.js.map +1 -0
  325. package/dist/src/store/migrations/18_enable_avalanche_chain.d.ts +4 -0
  326. package/dist/src/store/migrations/18_enable_avalanche_chain.js +10 -0
  327. package/dist/src/store/migrations/18_enable_avalanche_chain.js.map +1 -0
  328. package/dist/src/store/migrations/19_remove_existing_ledger_accounts.d.ts +4 -0
  329. package/dist/src/store/migrations/19_remove_existing_ledger_accounts.js +25 -0
  330. package/dist/src/store/migrations/19_remove_existing_ledger_accounts.js.map +1 -0
  331. package/dist/src/store/migrations/19_remove_existing_ledger_accounts.state.pre.json +1944 -0
  332. package/dist/src/store/migrations/19_remove_existing_ledger_accounts_test.d.ts +1 -0
  333. package/dist/src/store/migrations/19_remove_existing_ledger_accounts_test.js +7 -0
  334. package/dist/src/store/migrations/19_remove_existing_ledger_accounts_test.js.map +1 -0
  335. package/dist/src/store/migrations/1_first_migration.d.ts +4 -0
  336. package/dist/src/store/migrations/1_first_migration.js +11 -0
  337. package/dist/src/store/migrations/1_first_migration.js.map +1 -0
  338. package/dist/src/store/migrations/20_fix_accounts.d.ts +4 -0
  339. package/dist/src/store/migrations/20_fix_accounts.js +68 -0
  340. package/dist/src/store/migrations/20_fix_accounts.js.map +1 -0
  341. package/dist/src/store/migrations/21_enable_solana_chain.d.ts +4 -0
  342. package/dist/src/store/migrations/21_enable_solana_chain.js +10 -0
  343. package/dist/src/store/migrations/21_enable_solana_chain.js.map +1 -0
  344. package/dist/src/store/migrations/22_enable_optimism_chain.d.ts +4 -0
  345. package/dist/src/store/migrations/22_enable_optimism_chain.js +10 -0
  346. package/dist/src/store/migrations/22_enable_optimism_chain.js.map +1 -0
  347. package/dist/src/store/migrations/2_set_default_assets.d.ts +4 -0
  348. package/dist/src/store/migrations/2_set_default_assets.js +20 -0
  349. package/dist/src/store/migrations/2_set_default_assets.js.map +1 -0
  350. package/dist/src/store/migrations/3_add_network_custom_tokens.d.ts +4 -0
  351. package/dist/src/store/migrations/3_add_network_custom_tokens.js +21 -0
  352. package/dist/src/store/migrations/3_add_network_custom_tokens.js.map +1 -0
  353. package/dist/src/store/migrations/4_fix_rsk_token_injected_asset.d.ts +4 -0
  354. package/dist/src/store/migrations/4_fix_rsk_token_injected_asset.js +15 -0
  355. package/dist/src/store/migrations/4_fix_rsk_token_injected_asset.js.map +1 -0
  356. package/dist/src/store/migrations/5_multiple_account_support.d.ts +4 -0
  357. package/dist/src/store/migrations/5_multiple_account_support.js +96 -0
  358. package/dist/src/store/migrations/5_multiple_account_support.js.map +1 -0
  359. package/dist/src/store/migrations/6_use_ledger_live_default.d.ts +4 -0
  360. package/dist/src/store/migrations/6_use_ledger_live_default.js +11 -0
  361. package/dist/src/store/migrations/6_use_ledger_live_default.js.map +1 -0
  362. package/dist/src/store/migrations/7_multi_provider_swaps.d.ts +4 -0
  363. package/dist/src/store/migrations/7_multi_provider_swaps.js +27 -0
  364. package/dist/src/store/migrations/7_multi_provider_swaps.js.map +1 -0
  365. package/dist/src/store/migrations/8_remove_use_ledger_live.d.ts +4 -0
  366. package/dist/src/store/migrations/8_remove_use_ledger_live.js +12 -0
  367. package/dist/src/store/migrations/8_remove_use_ledger_live.js.map +1 -0
  368. package/dist/src/store/migrations/9_inject_ethereum_asset_chain.d.ts +4 -0
  369. package/dist/src/store/migrations/9_inject_ethereum_asset_chain.js +14 -0
  370. package/dist/src/store/migrations/9_inject_ethereum_asset_chain.js.map +1 -0
  371. package/dist/src/store/migrations/before_after_migration_script.test.d.ts +1 -0
  372. package/dist/src/store/migrations/before_after_migration_script.test.js +92 -0
  373. package/dist/src/store/migrations/before_after_migration_script.test.js.map +1 -0
  374. package/dist/src/store/migrations/enable_chain.d.ts +3 -0
  375. package/dist/src/store/migrations/enable_chain.js +71 -0
  376. package/dist/src/store/migrations/enable_chain.js.map +1 -0
  377. package/dist/src/store/migrations/index.d.ts +5 -0
  378. package/dist/src/store/migrations/index.js +78 -0
  379. package/dist/src/store/migrations/index.js.map +1 -0
  380. package/dist/src/store/migrations/migration_script.test.d.ts +1 -0
  381. package/dist/src/store/migrations/migration_script.test.js +59 -0
  382. package/dist/src/store/migrations/migration_script.test.js.map +1 -0
  383. package/dist/src/store/mutations.d.ts +209 -0
  384. package/dist/src/store/mutations.js +348 -0
  385. package/dist/src/store/mutations.js.map +1 -0
  386. package/dist/src/store/state.d.ts +3 -0
  387. package/dist/src/store/state.js +46 -0
  388. package/dist/src/store/state.js.map +1 -0
  389. package/dist/src/store/types.d.ts +249 -0
  390. package/dist/src/store/types.js +64 -0
  391. package/dist/src/store/types.js.map +1 -0
  392. package/dist/src/store/utils.d.ts +38 -0
  393. package/dist/src/store/utils.js +194 -0
  394. package/dist/src/store/utils.js.map +1 -0
  395. package/dist/src/swaps/EvmSwapProvider.d.ts +32 -0
  396. package/dist/src/swaps/EvmSwapProvider.js +118 -0
  397. package/dist/src/swaps/EvmSwapProvider.js.map +1 -0
  398. package/dist/src/swaps/SwapProvider.d.ts +35 -0
  399. package/dist/src/swaps/SwapProvider.js +89 -0
  400. package/dist/src/swaps/SwapProvider.js.map +1 -0
  401. package/dist/src/swaps/astroport/AstroportSwapProvider.d.ts +67 -0
  402. package/dist/src/swaps/astroport/AstroportSwapProvider.js +251 -0
  403. package/dist/src/swaps/astroport/AstroportSwapProvider.js.map +1 -0
  404. package/dist/src/swaps/astroport/info.json +7 -0
  405. package/dist/src/swaps/astroport/queries.d.ts +108 -0
  406. package/dist/src/swaps/astroport/queries.js +227 -0
  407. package/dist/src/swaps/astroport/queries.js.map +1 -0
  408. package/dist/src/swaps/debridge/DeBridgeSwapProvider.d.ts +98 -0
  409. package/dist/src/swaps/debridge/DeBridgeSwapProvider.js +553 -0
  410. package/dist/src/swaps/debridge/DeBridgeSwapProvider.js.map +1 -0
  411. package/dist/src/swaps/debridge/abi/DeBridgeGate.json +1958 -0
  412. package/dist/src/swaps/debridge/abi/SignatureVerifier.json +925 -0
  413. package/dist/src/swaps/debridge/info.json +13 -0
  414. package/dist/src/swaps/fastbtc/FastBTCDepositSwapProvider.d.ts +103 -0
  415. package/dist/src/swaps/fastbtc/FastBTCDepositSwapProvider.js +292 -0
  416. package/dist/src/swaps/fastbtc/FastBTCDepositSwapProvider.js.map +1 -0
  417. package/dist/src/swaps/fastbtc/FastBTCWithdrawSwapProvider.d.ts +108 -0
  418. package/dist/src/swaps/fastbtc/FastBTCWithdrawSwapProvider.js +306 -0
  419. package/dist/src/swaps/fastbtc/FastBTCWithdrawSwapProvider.js.map +1 -0
  420. package/dist/src/swaps/fastbtc/fastBtcBridgeContract.d.ts +19 -0
  421. package/dist/src/swaps/fastbtc/fastBtcBridgeContract.js +24 -0
  422. package/dist/src/swaps/fastbtc/fastBtcBridgeContract.js.map +1 -0
  423. package/dist/src/swaps/fastbtc/info.json +7 -0
  424. package/dist/src/swaps/hop/HopSwapProvider.d.ts +124 -0
  425. package/dist/src/swaps/hop/HopSwapProvider.js +479 -0
  426. package/dist/src/swaps/hop/HopSwapProvider.js.map +1 -0
  427. package/dist/src/swaps/hop/info.json +12 -0
  428. package/dist/src/swaps/hop/queries.d.ts +2 -0
  429. package/dist/src/swaps/hop/queries.js +61 -0
  430. package/dist/src/swaps/hop/queries.js.map +1 -0
  431. package/dist/src/swaps/jupiter/JupiterSwapProvider.d.ts +46 -0
  432. package/dist/src/swaps/jupiter/JupiterSwapProvider.js +189 -0
  433. package/dist/src/swaps/jupiter/JupiterSwapProvider.js.map +1 -0
  434. package/dist/src/swaps/jupiter/info.json +7 -0
  435. package/dist/src/swaps/lifi/LifiSwapProvider.d.ts +76 -0
  436. package/dist/src/swaps/lifi/LifiSwapProvider.js +313 -0
  437. package/dist/src/swaps/lifi/LifiSwapProvider.js.map +1 -0
  438. package/dist/src/swaps/lifi/info.json +7 -0
  439. package/dist/src/swaps/liquality/LiqualitySwapProvider.d.ts +104 -0
  440. package/dist/src/swaps/liquality/LiqualitySwapProvider.js +704 -0
  441. package/dist/src/swaps/liquality/LiqualitySwapProvider.js.map +1 -0
  442. package/dist/src/swaps/liquality/info.json +7 -0
  443. package/dist/src/swaps/liqualityboost/liqualityBoostERC20toNative/LiqualityBoostERC20toNative.d.ts +124 -0
  444. package/dist/src/swaps/liqualityboost/liqualityBoostERC20toNative/LiqualityBoostERC20toNative.js +239 -0
  445. package/dist/src/swaps/liqualityboost/liqualityBoostERC20toNative/LiqualityBoostERC20toNative.js.map +1 -0
  446. package/dist/src/swaps/liqualityboost/liqualityBoostERC20toNative/info.json +7 -0
  447. package/dist/src/swaps/liqualityboost/liqualityBoostNativeToERC20/LiqualityBoostNativeToERC20.d.ts +52 -0
  448. package/dist/src/swaps/liqualityboost/liqualityBoostNativeToERC20/LiqualityBoostNativeToERC20.js +213 -0
  449. package/dist/src/swaps/liqualityboost/liqualityBoostNativeToERC20/LiqualityBoostNativeToERC20.js.map +1 -0
  450. package/dist/src/swaps/liqualityboost/liqualityBoostNativeToERC20/info.json +7 -0
  451. package/dist/src/swaps/liqualityboost/types.d.ts +17 -0
  452. package/dist/src/swaps/liqualityboost/types.js +3 -0
  453. package/dist/src/swaps/liqualityboost/types.js.map +1 -0
  454. package/dist/src/swaps/oneinch/OneinchSwapProvider.d.ts +86 -0
  455. package/dist/src/swaps/oneinch/OneinchSwapProvider.js +369 -0
  456. package/dist/src/swaps/oneinch/OneinchSwapProvider.js.map +1 -0
  457. package/dist/src/swaps/oneinch/info.json +13 -0
  458. package/dist/src/swaps/sovryn/SovrynSwapProvider.d.ts +110 -0
  459. package/dist/src/swaps/sovryn/SovrynSwapProvider.js +369 -0
  460. package/dist/src/swaps/sovryn/SovrynSwapProvider.js.map +1 -0
  461. package/dist/src/swaps/sovryn/info.json +7 -0
  462. package/dist/src/swaps/teleswap/TeleSwapSwapProvider.d.ts +167 -0
  463. package/dist/src/swaps/teleswap/TeleSwapSwapProvider.js +874 -0
  464. package/dist/src/swaps/teleswap/TeleSwapSwapProvider.js.map +1 -0
  465. package/dist/src/swaps/teleswap/info.json +7 -0
  466. package/dist/src/swaps/thorchain/ThorchainSwapProvider.d.ts +194 -0
  467. package/dist/src/swaps/thorchain/ThorchainSwapProvider.js +534 -0
  468. package/dist/src/swaps/thorchain/ThorchainSwapProvider.js.map +1 -0
  469. package/dist/src/swaps/thorchain/info.json +7 -0
  470. package/dist/src/swaps/types.d.ts +87 -0
  471. package/dist/src/swaps/types.js +9 -0
  472. package/dist/src/swaps/types.js.map +1 -0
  473. package/dist/src/swaps/uniswap/UniswapSwapProvider.d.ts +117 -0
  474. package/dist/src/swaps/uniswap/UniswapSwapProvider.js +438 -0
  475. package/dist/src/swaps/uniswap/UniswapSwapProvider.js.map +1 -0
  476. package/dist/src/swaps/uniswap/info.json +7 -0
  477. package/dist/src/swaps/utils.d.ts +92 -0
  478. package/dist/src/swaps/utils.js +57 -0
  479. package/dist/src/swaps/utils.js.map +1 -0
  480. package/dist/src/tsconfig.json +30 -0
  481. package/dist/src/types.d.ts +29 -0
  482. package/dist/src/types.js +3 -0
  483. package/dist/src/types.js.map +1 -0
  484. package/dist/src/utils/accounts.d.ts +16 -0
  485. package/dist/src/utils/accounts.js +89 -0
  486. package/dist/src/utils/accounts.js.map +1 -0
  487. package/dist/src/utils/address.d.ts +8 -0
  488. package/dist/src/utils/address.js +17 -0
  489. package/dist/src/utils/address.js.map +1 -0
  490. package/dist/src/utils/address.test.d.ts +1 -0
  491. package/dist/src/utils/address.test.js +12 -0
  492. package/dist/src/utils/address.test.js.map +1 -0
  493. package/dist/src/utils/asset.d.ts +22 -0
  494. package/dist/src/utils/asset.js +198 -0
  495. package/dist/src/utils/asset.js.map +1 -0
  496. package/dist/src/utils/asset.test.d.ts +1 -0
  497. package/dist/src/utils/asset.test.js +42 -0
  498. package/dist/src/utils/asset.test.js.map +1 -0
  499. package/dist/src/utils/chainify.d.ts +3 -0
  500. package/dist/src/utils/chainify.js +41 -0
  501. package/dist/src/utils/chainify.js.map +1 -0
  502. package/dist/src/utils/coinFormatter.d.ts +13 -0
  503. package/dist/src/utils/coinFormatter.js +58 -0
  504. package/dist/src/utils/coinFormatter.js.map +1 -0
  505. package/dist/src/utils/crypto.d.ts +6 -0
  506. package/dist/src/utils/crypto.js +70 -0
  507. package/dist/src/utils/crypto.js.map +1 -0
  508. package/dist/src/utils/cryptoassets.d.ts +5 -0
  509. package/dist/src/utils/cryptoassets.js +26 -0
  510. package/dist/src/utils/cryptoassets.js.map +1 -0
  511. package/dist/src/utils/derivationPath.d.ts +6 -0
  512. package/dist/src/utils/derivationPath.js +75 -0
  513. package/dist/src/utils/derivationPath.js.map +1 -0
  514. package/dist/src/utils/derivationPath.spec.d.ts +1 -0
  515. package/dist/src/utils/derivationPath.spec.js +37 -0
  516. package/dist/src/utils/derivationPath.spec.js.map +1 -0
  517. package/dist/src/utils/export.d.ts +5 -0
  518. package/dist/src/utils/export.js +24 -0
  519. package/dist/src/utils/export.js.map +1 -0
  520. package/dist/src/utils/fees.d.ts +43 -0
  521. package/dist/src/utils/fees.js +222 -0
  522. package/dist/src/utils/fees.js.map +1 -0
  523. package/dist/src/utils/fees.test.d.ts +1 -0
  524. package/dist/src/utils/fees.test.js +40 -0
  525. package/dist/src/utils/fees.test.js.map +1 -0
  526. package/dist/src/utils/fetchTokenDetails.d.ts +1 -0
  527. package/dist/src/utils/fetchTokenDetails.js +19 -0
  528. package/dist/src/utils/fetchTokenDetails.js.map +1 -0
  529. package/dist/src/utils/history.d.ts +66 -0
  530. package/dist/src/utils/history.js +135 -0
  531. package/dist/src/utils/history.js.map +1 -0
  532. package/dist/src/utils/isTransactionNotFoundError.d.ts +1 -0
  533. package/dist/src/utils/isTransactionNotFoundError.js +16 -0
  534. package/dist/src/utils/isTransactionNotFoundError.js.map +1 -0
  535. package/dist/src/utils/ledger.d.ts +12 -0
  536. package/dist/src/utils/ledger.js +38 -0
  537. package/dist/src/utils/ledger.js.map +1 -0
  538. package/dist/src/utils/moment.d.ts +2 -0
  539. package/dist/src/utils/moment.js +8 -0
  540. package/dist/src/utils/moment.js.map +1 -0
  541. package/dist/src/utils/networks.d.ts +10 -0
  542. package/dist/src/utils/networks.js +43 -0
  543. package/dist/src/utils/networks.js.map +1 -0
  544. package/dist/src/utils/parseTokenTx.d.ts +2 -0
  545. package/dist/src/utils/parseTokenTx.js +10 -0
  546. package/dist/src/utils/parseTokenTx.js.map +1 -0
  547. package/dist/src/utils/quotes.d.ts +5 -0
  548. package/dist/src/utils/quotes.js +20 -0
  549. package/dist/src/utils/quotes.js.map +1 -0
  550. package/dist/src/utils/quotes.test.d.ts +1 -0
  551. package/dist/src/utils/quotes.test.js +85 -0
  552. package/dist/src/utils/quotes.test.js.map +1 -0
  553. package/dist/src/utils/timeline.d.ts +71 -0
  554. package/dist/src/utils/timeline.js +176 -0
  555. package/dist/src/utils/timeline.js.map +1 -0
  556. package/dist/src/walletOptions/defaultOptions.d.ts +3 -0
  557. package/dist/src/walletOptions/defaultOptions.js +36 -0
  558. package/dist/src/walletOptions/defaultOptions.js.map +1 -0
  559. package/dist/src/walletOptions/index.d.ts +7 -0
  560. package/dist/src/walletOptions/index.js +11 -0
  561. package/dist/src/walletOptions/index.js.map +1 -0
  562. package/dist/tsconfig.tsbuildinfo +1 -0
  563. package/package.json +76 -0
@@ -0,0 +1,1958 @@
1
+ {
2
+ "contractName": "DeBridgeGate",
3
+ "abi": [
4
+ {
5
+ "inputs": [],
6
+ "name": "AdminBadRole",
7
+ "type": "error"
8
+ },
9
+ {
10
+ "inputs": [],
11
+ "name": "AmountMismatch",
12
+ "type": "error"
13
+ },
14
+ {
15
+ "inputs": [],
16
+ "name": "AssetAlreadyExist",
17
+ "type": "error"
18
+ },
19
+ {
20
+ "inputs": [],
21
+ "name": "AssetNotConfirmed",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [],
26
+ "name": "DebridgeNotFound",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [],
31
+ "name": "DefiControllerBadRole",
32
+ "type": "error"
33
+ },
34
+ {
35
+ "inputs": [],
36
+ "name": "EthTransferFailed",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [],
41
+ "name": "FeeContractUpdaterBadRole",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "FeeNotPaid",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "FeeProxyBadRole",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "GovMonitoringBadRole",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "NotEnoughReserves",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [],
66
+ "name": "NotSupportedFixedFee",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "ProposedFeeTooHigh",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "SignatureInvalidV",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "SubmissionAmountNotConfirmed",
82
+ "type": "error"
83
+ },
84
+ {
85
+ "inputs": [],
86
+ "name": "SubmissionBlocked",
87
+ "type": "error"
88
+ },
89
+ {
90
+ "inputs": [],
91
+ "name": "SubmissionNotConfirmed",
92
+ "type": "error"
93
+ },
94
+ {
95
+ "inputs": [],
96
+ "name": "SubmissionUsed",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "TransferAmountNotCoverFees",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "TransferAmountTooHigh",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "WrongArgument",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "WrongArgumentLength",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "WrongAutoArgument",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [],
126
+ "name": "WrongTargedChain",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [],
131
+ "name": "ZeroAddress",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "anonymous": false,
136
+ "inputs": [
137
+ {
138
+ "indexed": false,
139
+ "internalType": "bytes32",
140
+ "name": "submissionId",
141
+ "type": "bytes32"
142
+ },
143
+ {
144
+ "indexed": true,
145
+ "internalType": "bool",
146
+ "name": "success",
147
+ "type": "bool"
148
+ },
149
+ {
150
+ "indexed": false,
151
+ "internalType": "address",
152
+ "name": "callProxy",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "AutoRequestExecuted",
157
+ "type": "event"
158
+ },
159
+ {
160
+ "anonymous": false,
161
+ "inputs": [
162
+ {
163
+ "indexed": false,
164
+ "internalType": "bytes32",
165
+ "name": "submissionId",
166
+ "type": "bytes32"
167
+ }
168
+ ],
169
+ "name": "Blocked",
170
+ "type": "event"
171
+ },
172
+ {
173
+ "anonymous": false,
174
+ "inputs": [
175
+ {
176
+ "indexed": false,
177
+ "internalType": "uint256",
178
+ "name": "variation",
179
+ "type": "uint256"
180
+ },
181
+ {
182
+ "indexed": false,
183
+ "internalType": "address",
184
+ "name": "callProxy",
185
+ "type": "address"
186
+ }
187
+ ],
188
+ "name": "CallProxyUpdated",
189
+ "type": "event"
190
+ },
191
+ {
192
+ "anonymous": false,
193
+ "inputs": [
194
+ {
195
+ "indexed": false,
196
+ "internalType": "uint256",
197
+ "name": "chainId",
198
+ "type": "uint256"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "bool",
203
+ "name": "isSupported",
204
+ "type": "bool"
205
+ }
206
+ ],
207
+ "name": "ChainSupportUpdated",
208
+ "type": "event"
209
+ },
210
+ {
211
+ "anonymous": false,
212
+ "inputs": [
213
+ {
214
+ "indexed": false,
215
+ "internalType": "uint256[]",
216
+ "name": "chainIds",
217
+ "type": "uint256[]"
218
+ }
219
+ ],
220
+ "name": "ChainsSupportUpdated",
221
+ "type": "event"
222
+ },
223
+ {
224
+ "anonymous": false,
225
+ "inputs": [
226
+ {
227
+ "indexed": false,
228
+ "internalType": "bytes32",
229
+ "name": "submissionId",
230
+ "type": "bytes32"
231
+ },
232
+ {
233
+ "indexed": true,
234
+ "internalType": "bytes32",
235
+ "name": "debridgeId",
236
+ "type": "bytes32"
237
+ },
238
+ {
239
+ "indexed": false,
240
+ "internalType": "uint256",
241
+ "name": "amount",
242
+ "type": "uint256"
243
+ },
244
+ {
245
+ "indexed": true,
246
+ "internalType": "address",
247
+ "name": "receiver",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "indexed": false,
252
+ "internalType": "uint256",
253
+ "name": "nonce",
254
+ "type": "uint256"
255
+ },
256
+ {
257
+ "indexed": true,
258
+ "internalType": "uint256",
259
+ "name": "chainIdFrom",
260
+ "type": "uint256"
261
+ },
262
+ {
263
+ "components": [
264
+ {
265
+ "internalType": "uint256",
266
+ "name": "executionFee",
267
+ "type": "uint256"
268
+ },
269
+ {
270
+ "internalType": "uint256",
271
+ "name": "flags",
272
+ "type": "uint256"
273
+ },
274
+ {
275
+ "internalType": "address",
276
+ "name": "fallbackAddress",
277
+ "type": "address"
278
+ },
279
+ {
280
+ "internalType": "bytes",
281
+ "name": "data",
282
+ "type": "bytes"
283
+ },
284
+ {
285
+ "internalType": "bytes",
286
+ "name": "nativeSender",
287
+ "type": "bytes"
288
+ }
289
+ ],
290
+ "indexed": false,
291
+ "internalType": "struct IDeBridgeGate.SubmissionAutoParamsFrom",
292
+ "name": "autoParams",
293
+ "type": "tuple"
294
+ },
295
+ {
296
+ "indexed": false,
297
+ "internalType": "bool",
298
+ "name": "isNativeToken",
299
+ "type": "bool"
300
+ }
301
+ ],
302
+ "name": "Claimed",
303
+ "type": "event"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": false,
310
+ "internalType": "uint256",
311
+ "name": "globalFixedNativeFee",
312
+ "type": "uint256"
313
+ }
314
+ ],
315
+ "name": "FixedNativeFeeAutoUpdated",
316
+ "type": "event"
317
+ },
318
+ {
319
+ "anonymous": false,
320
+ "inputs": [
321
+ {
322
+ "indexed": false,
323
+ "internalType": "uint256",
324
+ "name": "globalFixedNativeFee",
325
+ "type": "uint256"
326
+ },
327
+ {
328
+ "indexed": false,
329
+ "internalType": "uint256",
330
+ "name": "globalTransferFeeBps",
331
+ "type": "uint256"
332
+ }
333
+ ],
334
+ "name": "FixedNativeFeeUpdated",
335
+ "type": "event"
336
+ },
337
+ {
338
+ "anonymous": false,
339
+ "inputs": [
340
+ {
341
+ "indexed": false,
342
+ "internalType": "address",
343
+ "name": "sender",
344
+ "type": "address"
345
+ },
346
+ {
347
+ "indexed": true,
348
+ "internalType": "address",
349
+ "name": "tokenAddress",
350
+ "type": "address"
351
+ },
352
+ {
353
+ "indexed": true,
354
+ "internalType": "address",
355
+ "name": "receiver",
356
+ "type": "address"
357
+ },
358
+ {
359
+ "indexed": false,
360
+ "internalType": "uint256",
361
+ "name": "amount",
362
+ "type": "uint256"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "uint256",
367
+ "name": "paid",
368
+ "type": "uint256"
369
+ }
370
+ ],
371
+ "name": "Flash",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "inputs": [
377
+ {
378
+ "indexed": false,
379
+ "internalType": "bytes32",
380
+ "name": "debridgeId",
381
+ "type": "bytes32"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "address",
386
+ "name": "tokenAddress",
387
+ "type": "address"
388
+ },
389
+ {
390
+ "indexed": false,
391
+ "internalType": "bytes",
392
+ "name": "nativeAddress",
393
+ "type": "bytes"
394
+ },
395
+ {
396
+ "indexed": true,
397
+ "internalType": "uint256",
398
+ "name": "nativeChainId",
399
+ "type": "uint256"
400
+ },
401
+ {
402
+ "indexed": false,
403
+ "internalType": "uint256",
404
+ "name": "maxAmount",
405
+ "type": "uint256"
406
+ },
407
+ {
408
+ "indexed": false,
409
+ "internalType": "uint16",
410
+ "name": "minReservesBps",
411
+ "type": "uint16"
412
+ }
413
+ ],
414
+ "name": "PairAdded",
415
+ "type": "event"
416
+ },
417
+ {
418
+ "anonymous": false,
419
+ "inputs": [
420
+ {
421
+ "indexed": false,
422
+ "internalType": "address",
423
+ "name": "account",
424
+ "type": "address"
425
+ }
426
+ ],
427
+ "name": "Paused",
428
+ "type": "event"
429
+ },
430
+ {
431
+ "anonymous": false,
432
+ "inputs": [
433
+ {
434
+ "indexed": true,
435
+ "internalType": "bytes32",
436
+ "name": "role",
437
+ "type": "bytes32"
438
+ },
439
+ {
440
+ "indexed": true,
441
+ "internalType": "bytes32",
442
+ "name": "previousAdminRole",
443
+ "type": "bytes32"
444
+ },
445
+ {
446
+ "indexed": true,
447
+ "internalType": "bytes32",
448
+ "name": "newAdminRole",
449
+ "type": "bytes32"
450
+ }
451
+ ],
452
+ "name": "RoleAdminChanged",
453
+ "type": "event"
454
+ },
455
+ {
456
+ "anonymous": false,
457
+ "inputs": [
458
+ {
459
+ "indexed": true,
460
+ "internalType": "bytes32",
461
+ "name": "role",
462
+ "type": "bytes32"
463
+ },
464
+ {
465
+ "indexed": true,
466
+ "internalType": "address",
467
+ "name": "account",
468
+ "type": "address"
469
+ },
470
+ {
471
+ "indexed": true,
472
+ "internalType": "address",
473
+ "name": "sender",
474
+ "type": "address"
475
+ }
476
+ ],
477
+ "name": "RoleGranted",
478
+ "type": "event"
479
+ },
480
+ {
481
+ "anonymous": false,
482
+ "inputs": [
483
+ {
484
+ "indexed": true,
485
+ "internalType": "bytes32",
486
+ "name": "role",
487
+ "type": "bytes32"
488
+ },
489
+ {
490
+ "indexed": true,
491
+ "internalType": "address",
492
+ "name": "account",
493
+ "type": "address"
494
+ },
495
+ {
496
+ "indexed": true,
497
+ "internalType": "address",
498
+ "name": "sender",
499
+ "type": "address"
500
+ }
501
+ ],
502
+ "name": "RoleRevoked",
503
+ "type": "event"
504
+ },
505
+ {
506
+ "anonymous": false,
507
+ "inputs": [
508
+ {
509
+ "indexed": false,
510
+ "internalType": "bytes32",
511
+ "name": "submissionId",
512
+ "type": "bytes32"
513
+ },
514
+ {
515
+ "indexed": true,
516
+ "internalType": "bytes32",
517
+ "name": "debridgeId",
518
+ "type": "bytes32"
519
+ },
520
+ {
521
+ "indexed": false,
522
+ "internalType": "uint256",
523
+ "name": "amount",
524
+ "type": "uint256"
525
+ },
526
+ {
527
+ "indexed": false,
528
+ "internalType": "bytes",
529
+ "name": "receiver",
530
+ "type": "bytes"
531
+ },
532
+ {
533
+ "indexed": false,
534
+ "internalType": "uint256",
535
+ "name": "nonce",
536
+ "type": "uint256"
537
+ },
538
+ {
539
+ "indexed": true,
540
+ "internalType": "uint256",
541
+ "name": "chainIdTo",
542
+ "type": "uint256"
543
+ },
544
+ {
545
+ "indexed": false,
546
+ "internalType": "uint32",
547
+ "name": "referralCode",
548
+ "type": "uint32"
549
+ },
550
+ {
551
+ "components": [
552
+ {
553
+ "internalType": "uint256",
554
+ "name": "receivedAmount",
555
+ "type": "uint256"
556
+ },
557
+ {
558
+ "internalType": "uint256",
559
+ "name": "fixFee",
560
+ "type": "uint256"
561
+ },
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "transferFee",
565
+ "type": "uint256"
566
+ },
567
+ {
568
+ "internalType": "bool",
569
+ "name": "useAssetFee",
570
+ "type": "bool"
571
+ },
572
+ {
573
+ "internalType": "bool",
574
+ "name": "isNativeToken",
575
+ "type": "bool"
576
+ }
577
+ ],
578
+ "indexed": false,
579
+ "internalType": "struct IDeBridgeGate.FeeParams",
580
+ "name": "feeParams",
581
+ "type": "tuple"
582
+ },
583
+ {
584
+ "indexed": false,
585
+ "internalType": "bytes",
586
+ "name": "autoParams",
587
+ "type": "bytes"
588
+ },
589
+ {
590
+ "indexed": false,
591
+ "internalType": "address",
592
+ "name": "nativeSender",
593
+ "type": "address"
594
+ }
595
+ ],
596
+ "name": "Sent",
597
+ "type": "event"
598
+ },
599
+ {
600
+ "anonymous": false,
601
+ "inputs": [
602
+ {
603
+ "indexed": false,
604
+ "internalType": "bytes32",
605
+ "name": "submissionId",
606
+ "type": "bytes32"
607
+ }
608
+ ],
609
+ "name": "Unblocked",
610
+ "type": "event"
611
+ },
612
+ {
613
+ "anonymous": false,
614
+ "inputs": [
615
+ {
616
+ "indexed": false,
617
+ "internalType": "address",
618
+ "name": "account",
619
+ "type": "address"
620
+ }
621
+ ],
622
+ "name": "Unpaused",
623
+ "type": "event"
624
+ },
625
+ {
626
+ "anonymous": false,
627
+ "inputs": [
628
+ {
629
+ "indexed": false,
630
+ "internalType": "bytes32",
631
+ "name": "debridgeId",
632
+ "type": "bytes32"
633
+ },
634
+ {
635
+ "indexed": false,
636
+ "internalType": "uint256",
637
+ "name": "fee",
638
+ "type": "uint256"
639
+ }
640
+ ],
641
+ "name": "WithdrawnFee",
642
+ "type": "event"
643
+ },
644
+ {
645
+ "inputs": [],
646
+ "name": "BPS_DENOMINATOR",
647
+ "outputs": [
648
+ {
649
+ "internalType": "uint256",
650
+ "name": "",
651
+ "type": "uint256"
652
+ }
653
+ ],
654
+ "stateMutability": "view",
655
+ "type": "function"
656
+ },
657
+ {
658
+ "inputs": [],
659
+ "name": "DEFAULT_ADMIN_ROLE",
660
+ "outputs": [
661
+ {
662
+ "internalType": "bytes32",
663
+ "name": "",
664
+ "type": "bytes32"
665
+ }
666
+ ],
667
+ "stateMutability": "view",
668
+ "type": "function"
669
+ },
670
+ {
671
+ "inputs": [],
672
+ "name": "GOVMONITORING_ROLE",
673
+ "outputs": [
674
+ {
675
+ "internalType": "bytes32",
676
+ "name": "",
677
+ "type": "bytes32"
678
+ }
679
+ ],
680
+ "stateMutability": "view",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "uint256",
687
+ "name": "",
688
+ "type": "uint256"
689
+ }
690
+ ],
691
+ "name": "callProxyAddresses",
692
+ "outputs": [
693
+ {
694
+ "internalType": "address",
695
+ "name": "",
696
+ "type": "address"
697
+ }
698
+ ],
699
+ "stateMutability": "view",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [],
704
+ "name": "confirmationAggregator",
705
+ "outputs": [
706
+ {
707
+ "internalType": "address",
708
+ "name": "",
709
+ "type": "address"
710
+ }
711
+ ],
712
+ "stateMutability": "view",
713
+ "type": "function"
714
+ },
715
+ {
716
+ "inputs": [],
717
+ "name": "deBridgeTokenDeployer",
718
+ "outputs": [
719
+ {
720
+ "internalType": "address",
721
+ "name": "",
722
+ "type": "address"
723
+ }
724
+ ],
725
+ "stateMutability": "view",
726
+ "type": "function"
727
+ },
728
+ {
729
+ "inputs": [],
730
+ "name": "defiController",
731
+ "outputs": [
732
+ {
733
+ "internalType": "address",
734
+ "name": "",
735
+ "type": "address"
736
+ }
737
+ ],
738
+ "stateMutability": "view",
739
+ "type": "function"
740
+ },
741
+ {
742
+ "inputs": [],
743
+ "name": "excessConfirmations",
744
+ "outputs": [
745
+ {
746
+ "internalType": "uint8",
747
+ "name": "",
748
+ "type": "uint8"
749
+ }
750
+ ],
751
+ "stateMutability": "view",
752
+ "type": "function"
753
+ },
754
+ {
755
+ "inputs": [],
756
+ "name": "feeContractUpdater",
757
+ "outputs": [
758
+ {
759
+ "internalType": "address",
760
+ "name": "",
761
+ "type": "address"
762
+ }
763
+ ],
764
+ "stateMutability": "view",
765
+ "type": "function"
766
+ },
767
+ {
768
+ "inputs": [
769
+ {
770
+ "internalType": "address",
771
+ "name": "",
772
+ "type": "address"
773
+ }
774
+ ],
775
+ "name": "feeDiscount",
776
+ "outputs": [
777
+ {
778
+ "internalType": "uint16",
779
+ "name": "discountFixBps",
780
+ "type": "uint16"
781
+ },
782
+ {
783
+ "internalType": "uint16",
784
+ "name": "discountTransferBps",
785
+ "type": "uint16"
786
+ }
787
+ ],
788
+ "stateMutability": "view",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [],
793
+ "name": "feeProxy",
794
+ "outputs": [
795
+ {
796
+ "internalType": "address",
797
+ "name": "",
798
+ "type": "address"
799
+ }
800
+ ],
801
+ "stateMutability": "view",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [],
806
+ "name": "flashFeeBps",
807
+ "outputs": [
808
+ {
809
+ "internalType": "uint256",
810
+ "name": "",
811
+ "type": "uint256"
812
+ }
813
+ ],
814
+ "stateMutability": "view",
815
+ "type": "function"
816
+ },
817
+ {
818
+ "inputs": [
819
+ {
820
+ "internalType": "bytes32",
821
+ "name": "",
822
+ "type": "bytes32"
823
+ }
824
+ ],
825
+ "name": "getAmountThreshold",
826
+ "outputs": [
827
+ {
828
+ "internalType": "uint256",
829
+ "name": "",
830
+ "type": "uint256"
831
+ }
832
+ ],
833
+ "stateMutability": "view",
834
+ "type": "function"
835
+ },
836
+ {
837
+ "inputs": [
838
+ {
839
+ "internalType": "uint256",
840
+ "name": "",
841
+ "type": "uint256"
842
+ }
843
+ ],
844
+ "name": "getChainSupport",
845
+ "outputs": [
846
+ {
847
+ "internalType": "uint256",
848
+ "name": "fixedNativeFee",
849
+ "type": "uint256"
850
+ },
851
+ {
852
+ "internalType": "bool",
853
+ "name": "isSupported",
854
+ "type": "bool"
855
+ },
856
+ {
857
+ "internalType": "uint16",
858
+ "name": "transferFeeBps",
859
+ "type": "uint16"
860
+ }
861
+ ],
862
+ "stateMutability": "view",
863
+ "type": "function"
864
+ },
865
+ {
866
+ "inputs": [
867
+ {
868
+ "internalType": "bytes32",
869
+ "name": "",
870
+ "type": "bytes32"
871
+ }
872
+ ],
873
+ "name": "getDebridge",
874
+ "outputs": [
875
+ {
876
+ "internalType": "uint256",
877
+ "name": "chainId",
878
+ "type": "uint256"
879
+ },
880
+ {
881
+ "internalType": "uint256",
882
+ "name": "maxAmount",
883
+ "type": "uint256"
884
+ },
885
+ {
886
+ "internalType": "uint256",
887
+ "name": "balance",
888
+ "type": "uint256"
889
+ },
890
+ {
891
+ "internalType": "uint256",
892
+ "name": "lockedInStrategies",
893
+ "type": "uint256"
894
+ },
895
+ {
896
+ "internalType": "address",
897
+ "name": "tokenAddress",
898
+ "type": "address"
899
+ },
900
+ {
901
+ "internalType": "uint16",
902
+ "name": "minReservesBps",
903
+ "type": "uint16"
904
+ },
905
+ {
906
+ "internalType": "bool",
907
+ "name": "exist",
908
+ "type": "bool"
909
+ }
910
+ ],
911
+ "stateMutability": "view",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [
916
+ {
917
+ "internalType": "bytes32",
918
+ "name": "",
919
+ "type": "bytes32"
920
+ }
921
+ ],
922
+ "name": "getDebridgeFeeInfo",
923
+ "outputs": [
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "collectedFees",
927
+ "type": "uint256"
928
+ },
929
+ {
930
+ "internalType": "uint256",
931
+ "name": "withdrawnFees",
932
+ "type": "uint256"
933
+ }
934
+ ],
935
+ "stateMutability": "view",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [
940
+ {
941
+ "internalType": "address",
942
+ "name": "",
943
+ "type": "address"
944
+ }
945
+ ],
946
+ "name": "getNativeInfo",
947
+ "outputs": [
948
+ {
949
+ "internalType": "uint256",
950
+ "name": "nativeChainId",
951
+ "type": "uint256"
952
+ },
953
+ {
954
+ "internalType": "bytes",
955
+ "name": "nativeAddress",
956
+ "type": "bytes"
957
+ }
958
+ ],
959
+ "stateMutability": "view",
960
+ "type": "function"
961
+ },
962
+ {
963
+ "inputs": [
964
+ {
965
+ "internalType": "bytes32",
966
+ "name": "role",
967
+ "type": "bytes32"
968
+ }
969
+ ],
970
+ "name": "getRoleAdmin",
971
+ "outputs": [
972
+ {
973
+ "internalType": "bytes32",
974
+ "name": "",
975
+ "type": "bytes32"
976
+ }
977
+ ],
978
+ "stateMutability": "view",
979
+ "type": "function"
980
+ },
981
+ {
982
+ "inputs": [],
983
+ "name": "globalFixedNativeFee",
984
+ "outputs": [
985
+ {
986
+ "internalType": "uint256",
987
+ "name": "",
988
+ "type": "uint256"
989
+ }
990
+ ],
991
+ "stateMutability": "view",
992
+ "type": "function"
993
+ },
994
+ {
995
+ "inputs": [],
996
+ "name": "globalTransferFeeBps",
997
+ "outputs": [
998
+ {
999
+ "internalType": "uint16",
1000
+ "name": "",
1001
+ "type": "uint16"
1002
+ }
1003
+ ],
1004
+ "stateMutability": "view",
1005
+ "type": "function"
1006
+ },
1007
+ {
1008
+ "inputs": [
1009
+ {
1010
+ "internalType": "bytes32",
1011
+ "name": "role",
1012
+ "type": "bytes32"
1013
+ },
1014
+ {
1015
+ "internalType": "address",
1016
+ "name": "account",
1017
+ "type": "address"
1018
+ }
1019
+ ],
1020
+ "name": "grantRole",
1021
+ "outputs": [],
1022
+ "stateMutability": "nonpayable",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "bytes32",
1029
+ "name": "role",
1030
+ "type": "bytes32"
1031
+ },
1032
+ {
1033
+ "internalType": "address",
1034
+ "name": "account",
1035
+ "type": "address"
1036
+ }
1037
+ ],
1038
+ "name": "hasRole",
1039
+ "outputs": [
1040
+ {
1041
+ "internalType": "bool",
1042
+ "name": "",
1043
+ "type": "bool"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "bytes32",
1053
+ "name": "",
1054
+ "type": "bytes32"
1055
+ }
1056
+ ],
1057
+ "name": "isBlockedSubmission",
1058
+ "outputs": [
1059
+ {
1060
+ "internalType": "bool",
1061
+ "name": "",
1062
+ "type": "bool"
1063
+ }
1064
+ ],
1065
+ "stateMutability": "view",
1066
+ "type": "function"
1067
+ },
1068
+ {
1069
+ "inputs": [
1070
+ {
1071
+ "internalType": "bytes32",
1072
+ "name": "",
1073
+ "type": "bytes32"
1074
+ }
1075
+ ],
1076
+ "name": "isSubmissionUsed",
1077
+ "outputs": [
1078
+ {
1079
+ "internalType": "bool",
1080
+ "name": "",
1081
+ "type": "bool"
1082
+ }
1083
+ ],
1084
+ "stateMutability": "view",
1085
+ "type": "function"
1086
+ },
1087
+ {
1088
+ "inputs": [],
1089
+ "name": "nonce",
1090
+ "outputs": [
1091
+ {
1092
+ "internalType": "uint256",
1093
+ "name": "",
1094
+ "type": "uint256"
1095
+ }
1096
+ ],
1097
+ "stateMutability": "view",
1098
+ "type": "function"
1099
+ },
1100
+ {
1101
+ "inputs": [],
1102
+ "name": "paused",
1103
+ "outputs": [
1104
+ {
1105
+ "internalType": "bool",
1106
+ "name": "",
1107
+ "type": "bool"
1108
+ }
1109
+ ],
1110
+ "stateMutability": "view",
1111
+ "type": "function"
1112
+ },
1113
+ {
1114
+ "inputs": [
1115
+ {
1116
+ "internalType": "bytes32",
1117
+ "name": "role",
1118
+ "type": "bytes32"
1119
+ },
1120
+ {
1121
+ "internalType": "address",
1122
+ "name": "account",
1123
+ "type": "address"
1124
+ }
1125
+ ],
1126
+ "name": "renounceRole",
1127
+ "outputs": [],
1128
+ "stateMutability": "nonpayable",
1129
+ "type": "function"
1130
+ },
1131
+ {
1132
+ "inputs": [
1133
+ {
1134
+ "internalType": "bytes32",
1135
+ "name": "role",
1136
+ "type": "bytes32"
1137
+ },
1138
+ {
1139
+ "internalType": "address",
1140
+ "name": "account",
1141
+ "type": "address"
1142
+ }
1143
+ ],
1144
+ "name": "revokeRole",
1145
+ "outputs": [],
1146
+ "stateMutability": "nonpayable",
1147
+ "type": "function"
1148
+ },
1149
+ {
1150
+ "inputs": [],
1151
+ "name": "signatureVerifier",
1152
+ "outputs": [
1153
+ {
1154
+ "internalType": "address",
1155
+ "name": "",
1156
+ "type": "address"
1157
+ }
1158
+ ],
1159
+ "stateMutability": "view",
1160
+ "type": "function"
1161
+ },
1162
+ {
1163
+ "inputs": [
1164
+ {
1165
+ "internalType": "bytes4",
1166
+ "name": "interfaceId",
1167
+ "type": "bytes4"
1168
+ }
1169
+ ],
1170
+ "name": "supportsInterface",
1171
+ "outputs": [
1172
+ {
1173
+ "internalType": "bool",
1174
+ "name": "",
1175
+ "type": "bool"
1176
+ }
1177
+ ],
1178
+ "stateMutability": "view",
1179
+ "type": "function"
1180
+ },
1181
+ {
1182
+ "inputs": [],
1183
+ "name": "weth",
1184
+ "outputs": [
1185
+ {
1186
+ "internalType": "contract IWETH",
1187
+ "name": "",
1188
+ "type": "address"
1189
+ }
1190
+ ],
1191
+ "stateMutability": "view",
1192
+ "type": "function"
1193
+ },
1194
+ {
1195
+ "stateMutability": "payable",
1196
+ "type": "receive"
1197
+ },
1198
+ {
1199
+ "inputs": [
1200
+ {
1201
+ "internalType": "uint8",
1202
+ "name": "_excessConfirmations",
1203
+ "type": "uint8"
1204
+ },
1205
+ {
1206
+ "internalType": "address",
1207
+ "name": "_signatureVerifier",
1208
+ "type": "address"
1209
+ },
1210
+ {
1211
+ "internalType": "address",
1212
+ "name": "_confirmationAggregator",
1213
+ "type": "address"
1214
+ },
1215
+ {
1216
+ "internalType": "address",
1217
+ "name": "_callProxy",
1218
+ "type": "address"
1219
+ },
1220
+ {
1221
+ "internalType": "contract IWETH",
1222
+ "name": "_weth",
1223
+ "type": "address"
1224
+ },
1225
+ {
1226
+ "internalType": "address",
1227
+ "name": "_feeProxy",
1228
+ "type": "address"
1229
+ },
1230
+ {
1231
+ "internalType": "address",
1232
+ "name": "_deBridgeTokenDeployer",
1233
+ "type": "address"
1234
+ },
1235
+ {
1236
+ "internalType": "address",
1237
+ "name": "_defiController",
1238
+ "type": "address"
1239
+ }
1240
+ ],
1241
+ "name": "initialize",
1242
+ "outputs": [],
1243
+ "stateMutability": "nonpayable",
1244
+ "type": "function"
1245
+ },
1246
+ {
1247
+ "inputs": [
1248
+ {
1249
+ "internalType": "address",
1250
+ "name": "_tokenAddress",
1251
+ "type": "address"
1252
+ },
1253
+ {
1254
+ "internalType": "uint256",
1255
+ "name": "_amount",
1256
+ "type": "uint256"
1257
+ },
1258
+ {
1259
+ "internalType": "uint256",
1260
+ "name": "_chainIdTo",
1261
+ "type": "uint256"
1262
+ },
1263
+ {
1264
+ "internalType": "bytes",
1265
+ "name": "_receiver",
1266
+ "type": "bytes"
1267
+ },
1268
+ {
1269
+ "internalType": "bytes",
1270
+ "name": "_permit",
1271
+ "type": "bytes"
1272
+ },
1273
+ {
1274
+ "internalType": "bool",
1275
+ "name": "_useAssetFee",
1276
+ "type": "bool"
1277
+ },
1278
+ {
1279
+ "internalType": "uint32",
1280
+ "name": "_referralCode",
1281
+ "type": "uint32"
1282
+ },
1283
+ {
1284
+ "internalType": "bytes",
1285
+ "name": "_autoParams",
1286
+ "type": "bytes"
1287
+ }
1288
+ ],
1289
+ "name": "send",
1290
+ "outputs": [],
1291
+ "stateMutability": "payable",
1292
+ "type": "function"
1293
+ },
1294
+ {
1295
+ "inputs": [
1296
+ {
1297
+ "internalType": "bytes32",
1298
+ "name": "_debridgeId",
1299
+ "type": "bytes32"
1300
+ },
1301
+ {
1302
+ "internalType": "uint256",
1303
+ "name": "_amount",
1304
+ "type": "uint256"
1305
+ },
1306
+ {
1307
+ "internalType": "uint256",
1308
+ "name": "_chainIdFrom",
1309
+ "type": "uint256"
1310
+ },
1311
+ {
1312
+ "internalType": "address",
1313
+ "name": "_receiver",
1314
+ "type": "address"
1315
+ },
1316
+ {
1317
+ "internalType": "uint256",
1318
+ "name": "_nonce",
1319
+ "type": "uint256"
1320
+ },
1321
+ {
1322
+ "internalType": "bytes",
1323
+ "name": "_signatures",
1324
+ "type": "bytes"
1325
+ },
1326
+ {
1327
+ "internalType": "bytes",
1328
+ "name": "_autoParams",
1329
+ "type": "bytes"
1330
+ }
1331
+ ],
1332
+ "name": "claim",
1333
+ "outputs": [],
1334
+ "stateMutability": "nonpayable",
1335
+ "type": "function"
1336
+ },
1337
+ {
1338
+ "inputs": [
1339
+ {
1340
+ "internalType": "address",
1341
+ "name": "_tokenAddress",
1342
+ "type": "address"
1343
+ },
1344
+ {
1345
+ "internalType": "address",
1346
+ "name": "_receiver",
1347
+ "type": "address"
1348
+ },
1349
+ {
1350
+ "internalType": "uint256",
1351
+ "name": "_amount",
1352
+ "type": "uint256"
1353
+ },
1354
+ {
1355
+ "internalType": "bytes",
1356
+ "name": "_data",
1357
+ "type": "bytes"
1358
+ }
1359
+ ],
1360
+ "name": "flash",
1361
+ "outputs": [],
1362
+ "stateMutability": "nonpayable",
1363
+ "type": "function"
1364
+ },
1365
+ {
1366
+ "inputs": [
1367
+ {
1368
+ "internalType": "bytes",
1369
+ "name": "_nativeTokenAddress",
1370
+ "type": "bytes"
1371
+ },
1372
+ {
1373
+ "internalType": "uint256",
1374
+ "name": "_nativeChainId",
1375
+ "type": "uint256"
1376
+ },
1377
+ {
1378
+ "internalType": "string",
1379
+ "name": "_name",
1380
+ "type": "string"
1381
+ },
1382
+ {
1383
+ "internalType": "string",
1384
+ "name": "_symbol",
1385
+ "type": "string"
1386
+ },
1387
+ {
1388
+ "internalType": "uint8",
1389
+ "name": "_decimals",
1390
+ "type": "uint8"
1391
+ },
1392
+ {
1393
+ "internalType": "bytes",
1394
+ "name": "_signatures",
1395
+ "type": "bytes"
1396
+ }
1397
+ ],
1398
+ "name": "deployNewAsset",
1399
+ "outputs": [],
1400
+ "stateMutability": "nonpayable",
1401
+ "type": "function"
1402
+ },
1403
+ {
1404
+ "inputs": [
1405
+ {
1406
+ "internalType": "uint256",
1407
+ "name": "_globalFixedNativeFee",
1408
+ "type": "uint256"
1409
+ }
1410
+ ],
1411
+ "name": "autoUpdateFixedNativeFee",
1412
+ "outputs": [],
1413
+ "stateMutability": "nonpayable",
1414
+ "type": "function"
1415
+ },
1416
+ {
1417
+ "inputs": [
1418
+ {
1419
+ "internalType": "uint256[]",
1420
+ "name": "_supportedChainIds",
1421
+ "type": "uint256[]"
1422
+ },
1423
+ {
1424
+ "components": [
1425
+ {
1426
+ "internalType": "uint256",
1427
+ "name": "fixedNativeFee",
1428
+ "type": "uint256"
1429
+ },
1430
+ {
1431
+ "internalType": "bool",
1432
+ "name": "isSupported",
1433
+ "type": "bool"
1434
+ },
1435
+ {
1436
+ "internalType": "uint16",
1437
+ "name": "transferFeeBps",
1438
+ "type": "uint16"
1439
+ }
1440
+ ],
1441
+ "internalType": "struct IDeBridgeGate.ChainSupportInfo[]",
1442
+ "name": "_chainSupportInfo",
1443
+ "type": "tuple[]"
1444
+ }
1445
+ ],
1446
+ "name": "updateChainSupport",
1447
+ "outputs": [],
1448
+ "stateMutability": "nonpayable",
1449
+ "type": "function"
1450
+ },
1451
+ {
1452
+ "inputs": [
1453
+ {
1454
+ "internalType": "uint256",
1455
+ "name": "_globalFixedNativeFee",
1456
+ "type": "uint256"
1457
+ },
1458
+ {
1459
+ "internalType": "uint16",
1460
+ "name": "_globalTransferFeeBps",
1461
+ "type": "uint16"
1462
+ }
1463
+ ],
1464
+ "name": "updateGlobalFee",
1465
+ "outputs": [],
1466
+ "stateMutability": "nonpayable",
1467
+ "type": "function"
1468
+ },
1469
+ {
1470
+ "inputs": [
1471
+ {
1472
+ "internalType": "bytes32",
1473
+ "name": "_debridgeId",
1474
+ "type": "bytes32"
1475
+ },
1476
+ {
1477
+ "internalType": "uint256[]",
1478
+ "name": "_supportedChainIds",
1479
+ "type": "uint256[]"
1480
+ },
1481
+ {
1482
+ "internalType": "uint256[]",
1483
+ "name": "_assetFeesInfo",
1484
+ "type": "uint256[]"
1485
+ }
1486
+ ],
1487
+ "name": "updateAssetFixedFees",
1488
+ "outputs": [],
1489
+ "stateMutability": "nonpayable",
1490
+ "type": "function"
1491
+ },
1492
+ {
1493
+ "inputs": [
1494
+ {
1495
+ "internalType": "uint8",
1496
+ "name": "_excessConfirmations",
1497
+ "type": "uint8"
1498
+ }
1499
+ ],
1500
+ "name": "updateExcessConfirmations",
1501
+ "outputs": [],
1502
+ "stateMutability": "nonpayable",
1503
+ "type": "function"
1504
+ },
1505
+ {
1506
+ "inputs": [
1507
+ {
1508
+ "internalType": "uint256",
1509
+ "name": "_chainId",
1510
+ "type": "uint256"
1511
+ },
1512
+ {
1513
+ "internalType": "bool",
1514
+ "name": "_isSupported",
1515
+ "type": "bool"
1516
+ }
1517
+ ],
1518
+ "name": "setChainSupport",
1519
+ "outputs": [],
1520
+ "stateMutability": "nonpayable",
1521
+ "type": "function"
1522
+ },
1523
+ {
1524
+ "inputs": [
1525
+ {
1526
+ "internalType": "uint256",
1527
+ "name": "variation",
1528
+ "type": "uint256"
1529
+ },
1530
+ {
1531
+ "internalType": "address",
1532
+ "name": "_address",
1533
+ "type": "address"
1534
+ }
1535
+ ],
1536
+ "name": "setCallProxy",
1537
+ "outputs": [],
1538
+ "stateMutability": "nonpayable",
1539
+ "type": "function"
1540
+ },
1541
+ {
1542
+ "inputs": [
1543
+ {
1544
+ "internalType": "bytes32",
1545
+ "name": "_debridgeId",
1546
+ "type": "bytes32"
1547
+ },
1548
+ {
1549
+ "internalType": "uint256",
1550
+ "name": "_maxAmount",
1551
+ "type": "uint256"
1552
+ },
1553
+ {
1554
+ "internalType": "uint16",
1555
+ "name": "_minReservesBps",
1556
+ "type": "uint16"
1557
+ },
1558
+ {
1559
+ "internalType": "uint256",
1560
+ "name": "_amountThreshold",
1561
+ "type": "uint256"
1562
+ }
1563
+ ],
1564
+ "name": "updateAsset",
1565
+ "outputs": [],
1566
+ "stateMutability": "nonpayable",
1567
+ "type": "function"
1568
+ },
1569
+ {
1570
+ "inputs": [
1571
+ {
1572
+ "internalType": "address",
1573
+ "name": "_aggregator",
1574
+ "type": "address"
1575
+ }
1576
+ ],
1577
+ "name": "setAggregator",
1578
+ "outputs": [],
1579
+ "stateMutability": "nonpayable",
1580
+ "type": "function"
1581
+ },
1582
+ {
1583
+ "inputs": [
1584
+ {
1585
+ "internalType": "address",
1586
+ "name": "_verifier",
1587
+ "type": "address"
1588
+ }
1589
+ ],
1590
+ "name": "setSignatureVerifier",
1591
+ "outputs": [],
1592
+ "stateMutability": "nonpayable",
1593
+ "type": "function"
1594
+ },
1595
+ {
1596
+ "inputs": [
1597
+ {
1598
+ "internalType": "address",
1599
+ "name": "_deBridgeTokenDeployer",
1600
+ "type": "address"
1601
+ }
1602
+ ],
1603
+ "name": "setDeBridgeTokenDeployer",
1604
+ "outputs": [],
1605
+ "stateMutability": "nonpayable",
1606
+ "type": "function"
1607
+ },
1608
+ {
1609
+ "inputs": [
1610
+ {
1611
+ "internalType": "address",
1612
+ "name": "_defiController",
1613
+ "type": "address"
1614
+ }
1615
+ ],
1616
+ "name": "setDefiController",
1617
+ "outputs": [],
1618
+ "stateMutability": "nonpayable",
1619
+ "type": "function"
1620
+ },
1621
+ {
1622
+ "inputs": [
1623
+ {
1624
+ "internalType": "address",
1625
+ "name": "_value",
1626
+ "type": "address"
1627
+ }
1628
+ ],
1629
+ "name": "setFeeContractUpdater",
1630
+ "outputs": [],
1631
+ "stateMutability": "nonpayable",
1632
+ "type": "function"
1633
+ },
1634
+ {
1635
+ "inputs": [],
1636
+ "name": "pause",
1637
+ "outputs": [],
1638
+ "stateMutability": "nonpayable",
1639
+ "type": "function"
1640
+ },
1641
+ {
1642
+ "inputs": [],
1643
+ "name": "unpause",
1644
+ "outputs": [],
1645
+ "stateMutability": "nonpayable",
1646
+ "type": "function"
1647
+ },
1648
+ {
1649
+ "inputs": [
1650
+ {
1651
+ "internalType": "bytes32",
1652
+ "name": "_debridgeId",
1653
+ "type": "bytes32"
1654
+ }
1655
+ ],
1656
+ "name": "withdrawFee",
1657
+ "outputs": [],
1658
+ "stateMutability": "nonpayable",
1659
+ "type": "function"
1660
+ },
1661
+ {
1662
+ "inputs": [
1663
+ {
1664
+ "internalType": "address",
1665
+ "name": "_tokenAddress",
1666
+ "type": "address"
1667
+ },
1668
+ {
1669
+ "internalType": "uint256",
1670
+ "name": "_amount",
1671
+ "type": "uint256"
1672
+ }
1673
+ ],
1674
+ "name": "requestReserves",
1675
+ "outputs": [],
1676
+ "stateMutability": "nonpayable",
1677
+ "type": "function"
1678
+ },
1679
+ {
1680
+ "inputs": [
1681
+ {
1682
+ "internalType": "address",
1683
+ "name": "_tokenAddress",
1684
+ "type": "address"
1685
+ },
1686
+ {
1687
+ "internalType": "uint256",
1688
+ "name": "_amount",
1689
+ "type": "uint256"
1690
+ }
1691
+ ],
1692
+ "name": "returnReserves",
1693
+ "outputs": [],
1694
+ "stateMutability": "nonpayable",
1695
+ "type": "function"
1696
+ },
1697
+ {
1698
+ "inputs": [
1699
+ {
1700
+ "internalType": "address",
1701
+ "name": "_feeProxy",
1702
+ "type": "address"
1703
+ }
1704
+ ],
1705
+ "name": "setFeeProxy",
1706
+ "outputs": [],
1707
+ "stateMutability": "nonpayable",
1708
+ "type": "function"
1709
+ },
1710
+ {
1711
+ "inputs": [
1712
+ {
1713
+ "internalType": "bytes32[]",
1714
+ "name": "_submissionIds",
1715
+ "type": "bytes32[]"
1716
+ },
1717
+ {
1718
+ "internalType": "bool",
1719
+ "name": "isBlocked",
1720
+ "type": "bool"
1721
+ }
1722
+ ],
1723
+ "name": "blockSubmission",
1724
+ "outputs": [],
1725
+ "stateMutability": "nonpayable",
1726
+ "type": "function"
1727
+ },
1728
+ {
1729
+ "inputs": [
1730
+ {
1731
+ "internalType": "uint256",
1732
+ "name": "_flashFeeBps",
1733
+ "type": "uint256"
1734
+ }
1735
+ ],
1736
+ "name": "updateFlashFee",
1737
+ "outputs": [],
1738
+ "stateMutability": "nonpayable",
1739
+ "type": "function"
1740
+ },
1741
+ {
1742
+ "inputs": [
1743
+ {
1744
+ "internalType": "address",
1745
+ "name": "_address",
1746
+ "type": "address"
1747
+ },
1748
+ {
1749
+ "internalType": "uint16",
1750
+ "name": "_discountFixBps",
1751
+ "type": "uint16"
1752
+ },
1753
+ {
1754
+ "internalType": "uint16",
1755
+ "name": "_discountTransferBps",
1756
+ "type": "uint16"
1757
+ }
1758
+ ],
1759
+ "name": "updateFeeDiscount",
1760
+ "outputs": [],
1761
+ "stateMutability": "nonpayable",
1762
+ "type": "function"
1763
+ },
1764
+ {
1765
+ "inputs": [
1766
+ {
1767
+ "internalType": "address",
1768
+ "name": "_tokenAddress",
1769
+ "type": "address"
1770
+ }
1771
+ ],
1772
+ "name": "getDefiAvaliableReserves",
1773
+ "outputs": [
1774
+ {
1775
+ "internalType": "uint256",
1776
+ "name": "",
1777
+ "type": "uint256"
1778
+ }
1779
+ ],
1780
+ "stateMutability": "view",
1781
+ "type": "function"
1782
+ },
1783
+ {
1784
+ "inputs": [
1785
+ {
1786
+ "internalType": "uint256",
1787
+ "name": "_chainId",
1788
+ "type": "uint256"
1789
+ },
1790
+ {
1791
+ "internalType": "address",
1792
+ "name": "_tokenAddress",
1793
+ "type": "address"
1794
+ }
1795
+ ],
1796
+ "name": "getDebridgeId",
1797
+ "outputs": [
1798
+ {
1799
+ "internalType": "bytes32",
1800
+ "name": "",
1801
+ "type": "bytes32"
1802
+ }
1803
+ ],
1804
+ "stateMutability": "pure",
1805
+ "type": "function"
1806
+ },
1807
+ {
1808
+ "inputs": [
1809
+ {
1810
+ "internalType": "uint256",
1811
+ "name": "_chainId",
1812
+ "type": "uint256"
1813
+ },
1814
+ {
1815
+ "internalType": "bytes",
1816
+ "name": "_tokenAddress",
1817
+ "type": "bytes"
1818
+ }
1819
+ ],
1820
+ "name": "getbDebridgeId",
1821
+ "outputs": [
1822
+ {
1823
+ "internalType": "bytes32",
1824
+ "name": "",
1825
+ "type": "bytes32"
1826
+ }
1827
+ ],
1828
+ "stateMutability": "pure",
1829
+ "type": "function"
1830
+ },
1831
+ {
1832
+ "inputs": [
1833
+ {
1834
+ "internalType": "bytes32",
1835
+ "name": "_debridgeId",
1836
+ "type": "bytes32"
1837
+ },
1838
+ {
1839
+ "internalType": "uint256",
1840
+ "name": "_chainIdFrom",
1841
+ "type": "uint256"
1842
+ },
1843
+ {
1844
+ "internalType": "uint256",
1845
+ "name": "_amount",
1846
+ "type": "uint256"
1847
+ },
1848
+ {
1849
+ "internalType": "address",
1850
+ "name": "_receiver",
1851
+ "type": "address"
1852
+ },
1853
+ {
1854
+ "internalType": "uint256",
1855
+ "name": "_nonce",
1856
+ "type": "uint256"
1857
+ },
1858
+ {
1859
+ "components": [
1860
+ {
1861
+ "internalType": "uint256",
1862
+ "name": "executionFee",
1863
+ "type": "uint256"
1864
+ },
1865
+ {
1866
+ "internalType": "uint256",
1867
+ "name": "flags",
1868
+ "type": "uint256"
1869
+ },
1870
+ {
1871
+ "internalType": "address",
1872
+ "name": "fallbackAddress",
1873
+ "type": "address"
1874
+ },
1875
+ {
1876
+ "internalType": "bytes",
1877
+ "name": "data",
1878
+ "type": "bytes"
1879
+ },
1880
+ {
1881
+ "internalType": "bytes",
1882
+ "name": "nativeSender",
1883
+ "type": "bytes"
1884
+ }
1885
+ ],
1886
+ "internalType": "struct IDeBridgeGate.SubmissionAutoParamsFrom",
1887
+ "name": "autoParams",
1888
+ "type": "tuple"
1889
+ },
1890
+ {
1891
+ "internalType": "bool",
1892
+ "name": "hasAutoParams",
1893
+ "type": "bool"
1894
+ }
1895
+ ],
1896
+ "name": "getSubmissionIdFrom",
1897
+ "outputs": [
1898
+ {
1899
+ "internalType": "bytes32",
1900
+ "name": "",
1901
+ "type": "bytes32"
1902
+ }
1903
+ ],
1904
+ "stateMutability": "view",
1905
+ "type": "function"
1906
+ },
1907
+ {
1908
+ "inputs": [
1909
+ {
1910
+ "internalType": "address",
1911
+ "name": "currentTokenAddress",
1912
+ "type": "address"
1913
+ }
1914
+ ],
1915
+ "name": "getNativeTokenInfo",
1916
+ "outputs": [
1917
+ {
1918
+ "internalType": "uint256",
1919
+ "name": "nativeChainId",
1920
+ "type": "uint256"
1921
+ },
1922
+ {
1923
+ "internalType": "bytes",
1924
+ "name": "nativeAddress",
1925
+ "type": "bytes"
1926
+ }
1927
+ ],
1928
+ "stateMutability": "view",
1929
+ "type": "function"
1930
+ },
1931
+ {
1932
+ "inputs": [],
1933
+ "name": "getChainId",
1934
+ "outputs": [
1935
+ {
1936
+ "internalType": "uint256",
1937
+ "name": "cid",
1938
+ "type": "uint256"
1939
+ }
1940
+ ],
1941
+ "stateMutability": "view",
1942
+ "type": "function"
1943
+ },
1944
+ {
1945
+ "inputs": [],
1946
+ "name": "version",
1947
+ "outputs": [
1948
+ {
1949
+ "internalType": "uint256",
1950
+ "name": "",
1951
+ "type": "uint256"
1952
+ }
1953
+ ],
1954
+ "stateMutability": "pure",
1955
+ "type": "function"
1956
+ }
1957
+ ]
1958
+ }