@cryptorubic/web3 0.15.0-alpha-rub-1045.0 → 1.0.0-alpha-rub-1044.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 (224) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -1
  3. package/src/index.d.ts +130 -22
  4. package/src/index.js +130 -20
  5. package/src/lib/adapter/adapters/adapter-bitcoin/bitcoin-adapter.d.ts +38 -0
  6. package/src/lib/adapter/adapters/{bitcoin-adapter.js → adapter-bitcoin/bitcoin-adapter.js} +35 -13
  7. package/src/lib/adapter/adapters/adapter-bitcoin/models/btc-send-tx-params.d.ts +5 -0
  8. package/src/lib/adapter/adapters/adapter-bitcoin/models/btc-web3-private-models/bitcoin-psbt-encoded-config.d.ts +5 -0
  9. package/src/lib/adapter/adapters/adapter-bitcoin/models/btc-web3-private-models/bitcoin-psbt-encoded-config.js +2 -0
  10. package/src/lib/adapter/adapters/adapter-bitcoin/models/btc-web3-private-models/bitcoin-trade-types.d.ts +7 -0
  11. package/src/lib/adapter/adapters/adapter-bitcoin/models/btc-web3-private-models/bitcoin-trade-types.js +2 -0
  12. package/src/lib/adapter/adapters/adapter-bitcoin/models/btc-web3-private-models/bitcoin-transfer-encoded-config.d.ts +6 -0
  13. package/src/lib/adapter/adapters/adapter-bitcoin/models/btc-web3-private-models/bitcoin-transfer-encoded-config.js +2 -0
  14. package/src/lib/adapter/adapters/adapter-bitcoin/signer/bitcoin-adapter-signer.d.ts +17 -0
  15. package/src/lib/adapter/adapters/adapter-bitcoin/signer/bitcoin-adapter-signer.js +131 -0
  16. package/src/lib/adapter/adapters/adapter-evm/constants/proxy-hash-errors.d.ts +4 -0
  17. package/src/lib/adapter/adapters/adapter-evm/constants/proxy-hash-errors.js +705 -0
  18. package/src/lib/adapter/adapters/adapter-evm/evm-adapter.d.ts +120 -0
  19. package/src/lib/adapter/adapters/{evm-adapter.js → adapter-evm/evm-adapter.js} +215 -87
  20. package/src/lib/adapter/adapters/adapter-evm/models/evm-send-tx-params.d.ts +38 -0
  21. package/src/lib/adapter/adapters/adapter-evm/models/evm-send-tx-params.js +2 -0
  22. package/src/lib/adapter/adapters/adapter-evm/signer/evm-adapter-signer.d.ts +53 -0
  23. package/src/lib/adapter/adapters/adapter-evm/signer/evm-adapter-signer.js +268 -0
  24. package/src/lib/adapter/adapters/adapter-evm/utils/parse-evm-error.d.ts +12 -0
  25. package/src/lib/adapter/adapters/adapter-evm/utils/parse-evm-error.js +70 -0
  26. package/src/lib/adapter/adapters/adapter-solana/models/solana-send-tx-params.d.ts +16 -0
  27. package/src/lib/adapter/adapters/adapter-solana/models/solana-send-tx-params.js +2 -0
  28. package/src/lib/adapter/adapters/{utils → adapter-solana/services}/solana-tokens-service.d.ts +1 -1
  29. package/src/lib/adapter/adapters/{utils → adapter-solana/services}/solana-tokens-service.js +2 -2
  30. package/src/lib/adapter/adapters/adapter-solana/signer/solana-adapter-signer.d.ts +17 -0
  31. package/src/lib/adapter/adapters/adapter-solana/signer/solana-adapter-signer.js +87 -0
  32. package/src/lib/adapter/adapters/{solana-adapter.d.ts → adapter-solana/solana-adapter.d.ts} +25 -15
  33. package/src/lib/adapter/adapters/{solana-adapter.js → adapter-solana/solana-adapter.js} +60 -38
  34. package/src/lib/adapter/adapters/adapter-sui/models/sui-send-tx-params.d.ts +8 -0
  35. package/src/lib/adapter/adapters/adapter-sui/models/sui-send-tx-params.js +2 -0
  36. package/src/lib/adapter/adapters/adapter-sui/signer/sui-adapter-signer.d.ts +17 -0
  37. package/src/lib/adapter/adapters/adapter-sui/signer/sui-adapter-signer.js +55 -0
  38. package/src/lib/adapter/adapters/adapter-sui/sui-adapter.d.ts +32 -0
  39. package/src/lib/adapter/adapters/{sui-adapter.js → adapter-sui/sui-adapter.js} +45 -9
  40. package/src/lib/adapter/adapters/adapter-ton/models/ton-send-tx-params.d.ts +26 -0
  41. package/src/lib/adapter/adapters/adapter-ton/models/ton-send-tx-params.js +2 -0
  42. package/src/lib/adapter/adapters/{utils → adapter-ton/services}/ton-api.service.d.ts +4 -4
  43. package/src/lib/adapter/adapters/adapter-ton/signer/ton-adapter-signer.d.ts +43 -0
  44. package/src/lib/adapter/adapters/adapter-ton/signer/ton-adapter-signer.js +166 -0
  45. package/src/lib/adapter/adapters/adapter-ton/ton-adapter.d.ts +32 -0
  46. package/src/lib/adapter/adapters/adapter-ton/ton-adapter.js +104 -0
  47. package/src/lib/adapter/adapters/adapter-tron/models/tron-send-tx-params.d.ts +13 -0
  48. package/src/lib/adapter/adapters/adapter-tron/models/tron-send-tx-params.js +2 -0
  49. package/src/lib/adapter/adapters/adapter-tron/models/tron-web-provider.d.ts +4 -0
  50. package/src/lib/adapter/adapters/adapter-tron/models/tron-web-provider.js +2 -0
  51. package/src/lib/adapter/adapters/adapter-tron/signer/tron-adapter-signer.d.ts +17 -0
  52. package/src/lib/adapter/adapters/adapter-tron/signer/tron-adapter-signer.js +57 -0
  53. package/src/lib/adapter/adapters/adapter-tron/tron-adapter.d.ts +57 -0
  54. package/src/lib/adapter/adapters/{tron-adapter.js → adapter-tron/tron-adapter.js} +131 -66
  55. package/src/lib/adapter/adapters/adapter-tron/utils/parse-tron-error.d.ts +2 -0
  56. package/src/lib/adapter/adapters/adapter-tron/utils/parse-tron-error.js +20 -0
  57. package/src/lib/adapter/adapters/common/abstract-adapter.d.ts +84 -0
  58. package/src/lib/adapter/adapters/common/abstract-adapter.js +82 -0
  59. package/src/lib/adapter/adapters/common/signer/abstract-adapter-signer.d.ts +22 -0
  60. package/src/lib/adapter/adapters/common/signer/abstract-adapter-signer.js +42 -0
  61. package/src/lib/adapter/adapters/models/approve-adapter.d.ts +12 -8
  62. package/src/lib/adapter/adapters/models/approve-adapter.js +1 -1
  63. package/src/lib/adapter/adapters/models/basic-transaction-options.d.ts +1 -1
  64. package/src/lib/adapter/adapters/models/evm-web3-public-models/batch-call.d.ts +5 -0
  65. package/src/lib/adapter/adapters/models/evm-web3-public-models/batch-call.js +2 -0
  66. package/src/lib/adapter/adapters/models/evm-web3-public-models/evm-call.d.ts +4 -0
  67. package/src/lib/adapter/adapters/models/evm-web3-public-models/evm-call.js +2 -0
  68. package/src/lib/adapter/adapters/models/evm-web3-public-models/evm-multicall-response.d.ts +4 -0
  69. package/src/lib/adapter/adapters/models/evm-web3-public-models/evm-multicall-response.js +2 -0
  70. package/src/lib/adapter/adapters/models/evm-web3-public-models/gas-price-viem.d.ts +18 -0
  71. package/src/lib/adapter/adapters/models/evm-web3-public-models/gas-price-viem.js +2 -0
  72. package/src/lib/adapter/adapters/models/evm-web3-public-models/gas-price.js +2 -0
  73. package/src/lib/adapter/adapters/models/evm-web3-public-models/permit2-contract-types.d.ts +10 -0
  74. package/src/lib/adapter/adapters/models/evm-web3-public-models/permit2-contract-types.js +2 -0
  75. package/src/lib/adapter/adapters/models/evm-web3-public-models/rpc-response.d.ts +5 -0
  76. package/src/lib/adapter/adapters/models/evm-web3-public-models/rpc-response.js +2 -0
  77. package/src/lib/adapter/adapters/models/old-features-models/contract-params.d.ts +23 -0
  78. package/src/lib/adapter/adapters/models/old-features-models/contract-params.js +2 -0
  79. package/src/lib/adapter/adapters/models/old-features-models/encode-transaction-options.d.ts +32 -0
  80. package/src/lib/adapter/adapters/models/old-features-models/encode-transaction-options.js +2 -0
  81. package/src/lib/adapter/adapters/models/old-features-models/is-deflation-token.d.ts +6 -0
  82. package/src/lib/adapter/adapters/models/old-features-models/is-deflation-token.js +2 -0
  83. package/src/lib/adapter/adapters/models/old-features-models/non-evm-chain-address-correct-response.d.ts +5 -0
  84. package/src/lib/adapter/adapters/models/old-features-models/non-evm-chain-address-correct-response.js +2 -0
  85. package/src/lib/adapter/adapters/models/old-features-models/swap-transaction-options.d.ts +65 -0
  86. package/src/lib/adapter/adapters/models/old-features-models/swap-transaction-options.js +2 -0
  87. package/src/lib/adapter/adapters/models/status-manager-models/tx-status-data.d.ts +8 -0
  88. package/src/lib/adapter/adapters/models/status-manager-models/tx-status-data.js +2 -0
  89. package/src/lib/adapter/adapters/models/web3-public-models/contract-multicall-response.d.ts +5 -0
  90. package/src/lib/adapter/adapters/models/web3-public-models/contract-multicall-response.js +2 -0
  91. package/src/lib/adapter/adapters/models/web3-public-models/method-data.d.ts +4 -0
  92. package/src/lib/adapter/adapters/models/web3-public-models/method-data.js +2 -0
  93. package/src/lib/adapter/adapters/models/web3-public-models/supported-token-field.d.ts +1 -0
  94. package/src/lib/adapter/adapters/models/web3-public-models/supported-token-field.js +2 -0
  95. package/src/lib/adapter/adapters/models/web3-public-models/tx-status.d.ts +10 -0
  96. package/src/lib/adapter/adapters/models/web3-public-models/tx-status.js +12 -0
  97. package/src/lib/adapter/adapters/utils/errors.d.ts +2 -0
  98. package/src/lib/adapter/adapters/utils/errors.js +10 -0
  99. package/src/lib/adapter/adapters/utils/options.d.ts +10 -0
  100. package/src/lib/adapter/adapters/utils/options.js +59 -0
  101. package/src/lib/adapter/adapters/utils/waitFor.d.ts +1 -0
  102. package/src/lib/adapter/adapters/utils/waitFor.js +6 -0
  103. package/src/lib/adapter/blockchain-adapter-factory.service.d.ts +15 -13
  104. package/src/lib/adapter/blockchain-adapter-factory.service.js +44 -61
  105. package/src/lib/adapter/constants/chain-configs/chain-configs.js +65 -56
  106. package/src/lib/adapter/constants/models/env-type.d.ts +1 -0
  107. package/src/lib/adapter/constants/models/env-type.js +2 -0
  108. package/src/lib/adapter/constants/models/solana-web3.d.ts +1 -1
  109. package/src/lib/adapter/constants/rubic-api-link-mapping.d.ts +2 -0
  110. package/src/lib/adapter/constants/rubic-api-link-mapping.js +16 -0
  111. package/src/lib/adapter/constants/viem-blockchain-mapping.js +2 -2
  112. package/src/lib/adapter/models/create-factory-params.d.ts +23 -0
  113. package/src/lib/adapter/models/create-factory-params.js +2 -0
  114. package/src/lib/errors/blockchain/deflation-token.error.d.ts +11 -0
  115. package/src/lib/errors/blockchain/deflation-token.error.js +16 -0
  116. package/src/lib/errors/blockchain/healthcheck.error.d.ts +8 -0
  117. package/src/lib/errors/blockchain/healthcheck.error.js +15 -0
  118. package/src/lib/errors/blockchain/invalid-address.error.d.ts +8 -0
  119. package/src/lib/errors/blockchain/invalid-address.error.js +15 -0
  120. package/src/lib/errors/blockchain/low-gas.error.d.ts +7 -0
  121. package/src/lib/errors/blockchain/low-gas.error.js +14 -0
  122. package/src/lib/errors/blockchain/transaction-reverted.error.d.ts +7 -0
  123. package/src/lib/errors/blockchain/transaction-reverted.error.js +14 -0
  124. package/src/lib/errors/blockchain/tron-insufficient-native-balance.d.ts +7 -0
  125. package/src/lib/errors/blockchain/tron-insufficient-native-balance.js +14 -0
  126. package/src/lib/errors/blockchain/tron-transaction-expired.d.ts +7 -0
  127. package/src/lib/errors/blockchain/tron-transaction-expired.js +14 -0
  128. package/src/lib/errors/blockchain/user-reject.error.d.ts +7 -0
  129. package/src/lib/errors/blockchain/user-reject.error.js +14 -0
  130. package/src/lib/errors/blockchain/wrong-from-address.error.d.ts +7 -0
  131. package/src/lib/errors/blockchain/wrong-from-address.error.js +14 -0
  132. package/src/lib/errors/blockchain/wrong-receiver-address.error.d.ts +7 -0
  133. package/src/lib/errors/blockchain/wrong-receiver-address.error.js +14 -0
  134. package/src/lib/errors/common/timeout.error.d.ts +4 -0
  135. package/src/lib/errors/common/timeout.error.js +12 -0
  136. package/src/lib/errors/common/tx-reverted-in-chain.error.d.ts +4 -0
  137. package/src/lib/errors/common/tx-reverted-in-chain.error.js +11 -0
  138. package/src/lib/errors/cross-chain/cross-chain-is-unavailable.error.d.ts +7 -0
  139. package/src/lib/errors/cross-chain/cross-chain-is-unavailable.error.js +14 -0
  140. package/src/lib/errors/cross-chain/insufficient-funds-gas-price-value.error.d.ts +7 -0
  141. package/src/lib/errors/cross-chain/insufficient-funds-gas-price-value.error.js +14 -0
  142. package/src/lib/errors/cross-chain/low-to-slippage.error.d.ts +6 -0
  143. package/src/lib/errors/cross-chain/low-to-slippage.error.js +10 -0
  144. package/src/lib/errors/cross-chain/max-gas-price-overflow.error.d.ts +8 -0
  145. package/src/lib/errors/cross-chain/max-gas-price-overflow.error.js +15 -0
  146. package/src/lib/errors/cross-chain/too-low-amount.error.d.ts +7 -0
  147. package/src/lib/errors/cross-chain/too-low-amount.error.js +14 -0
  148. package/src/lib/errors/cross-chain/unsupported-receiver-address.error.d.ts +4 -0
  149. package/src/lib/errors/cross-chain/unsupported-receiver-address.error.js +11 -0
  150. package/src/lib/errors/cross-chain/updated-rates-error.d.ts +10 -0
  151. package/src/lib/errors/cross-chain/updated-rates-error.js +17 -0
  152. package/src/lib/errors/models/rubic-api-error.d.ts +21 -0
  153. package/src/lib/errors/models/rubic-api-error.js +2 -0
  154. package/src/lib/errors/on-chain/on-chain-is-unavailable.error.d.ts +7 -0
  155. package/src/lib/errors/on-chain/on-chain-is-unavailable.error.js +14 -0
  156. package/src/lib/errors/proxy/unapproved-contract-error.d.ts +8 -0
  157. package/src/lib/errors/proxy/unapproved-contract-error.js +15 -0
  158. package/src/lib/errors/proxy/unapproved-method-error.d.ts +8 -0
  159. package/src/lib/errors/proxy/unapproved-method-error.js +15 -0
  160. package/src/lib/errors/proxy/unlisted-error.d.ts +9 -0
  161. package/src/lib/errors/proxy/unlisted-error.js +16 -0
  162. package/src/lib/errors/rubic-sdk.error.d.ts +6 -0
  163. package/src/lib/errors/rubic-sdk.error.js +13 -0
  164. package/src/lib/errors/swap/bridgers-pair-is-unavailable.error.d.ts +7 -0
  165. package/src/lib/errors/swap/bridgers-pair-is-unavailable.error.js +14 -0
  166. package/src/lib/errors/swap/failed-to-check-for-transaction-receipt.error.d.ts +8 -0
  167. package/src/lib/errors/swap/failed-to-check-for-transaction-receipt.error.js +15 -0
  168. package/src/lib/errors/swap/insufficient-funds-oneinch.error.d.ts +9 -0
  169. package/src/lib/errors/swap/insufficient-funds-oneinch.error.js +15 -0
  170. package/src/lib/errors/swap/insufficient-funds.error.d.ts +11 -0
  171. package/src/lib/errors/swap/insufficient-funds.error.js +18 -0
  172. package/src/lib/errors/swap/insufficient-liquidity.error.d.ts +7 -0
  173. package/src/lib/errors/swap/insufficient-liquidity.error.js +14 -0
  174. package/src/lib/errors/swap/lifi-pair-is-unavailable.error.d.ts +7 -0
  175. package/src/lib/errors/swap/lifi-pair-is-unavailable.error.js +14 -0
  176. package/src/lib/errors/swap/low-slippage-deflationary-token.error.d.ts +7 -0
  177. package/src/lib/errors/swap/low-slippage-deflationary-token.error.js +14 -0
  178. package/src/lib/errors/swap/low-slippage.error.d.ts +8 -0
  179. package/src/lib/errors/swap/low-slippage.error.js +15 -0
  180. package/src/lib/errors/swap/max-amount.error.d.ts +7 -0
  181. package/src/lib/errors/swap/max-amount.error.js +14 -0
  182. package/src/lib/errors/swap/max-decimals.error.d.ts +5 -0
  183. package/src/lib/errors/swap/max-decimals.error.js +12 -0
  184. package/src/lib/errors/swap/min-amount.error.d.ts +7 -0
  185. package/src/lib/errors/swap/min-amount.error.js +14 -0
  186. package/src/lib/errors/swap/no-linked-account-erros.d.ts +4 -0
  187. package/src/lib/errors/swap/no-linked-account-erros.js +11 -0
  188. package/src/lib/errors/swap/not-supported-blockchain.d.ts +8 -0
  189. package/src/lib/errors/swap/not-supported-blockchain.js +15 -0
  190. package/src/lib/errors/swap/not-supported-region.d.ts +7 -0
  191. package/src/lib/errors/swap/not-supported-region.js +14 -0
  192. package/src/lib/errors/swap/not-supported-tokens.error.d.ts +7 -0
  193. package/src/lib/errors/swap/not-supported-tokens.error.js +14 -0
  194. package/src/lib/errors/swap/not-whitelisted-provider.error.d.ts +10 -0
  195. package/src/lib/errors/swap/not-whitelisted-provider.error.js +17 -0
  196. package/src/lib/errors/swap/simulation-failed.error.d.ts +6 -0
  197. package/src/lib/errors/swap/simulation-failed.error.js +12 -0
  198. package/src/lib/errors/swap/swap-error-on-provider-side.d.ts +7 -0
  199. package/src/lib/errors/swap/swap-error-on-provider-side.js +14 -0
  200. package/src/lib/errors/swap/swap-request.error.d.ts +7 -0
  201. package/src/lib/errors/swap/swap-request.error.js +14 -0
  202. package/src/lib/errors/swap/trade-expired.error.d.ts +4 -0
  203. package/src/lib/errors/swap/trade-expired.error.js +11 -0
  204. package/src/lib/errors/swap/unnecessary-approve.error.d.ts +7 -0
  205. package/src/lib/errors/swap/unnecessary-approve.error.js +14 -0
  206. package/src/lib/errors/swap/wallet-not-connected.error.d.ts +8 -0
  207. package/src/lib/errors/swap/wallet-not-connected.error.js +15 -0
  208. package/src/lib/errors/swap/wrong-network.error.d.ts +10 -0
  209. package/src/lib/errors/swap/wrong-network.error.js +16 -0
  210. package/src/lib/utils/constants/web3-pure-store.js +10 -5
  211. package/src/lib/utils/models/evm-transaction-config.d.ts +2 -0
  212. package/src/lib/utils/web3-types/zcash-web3-pure.d.ts +5 -0
  213. package/src/lib/utils/web3-types/zcash-web3-pure.js +17 -0
  214. package/src/lib/adapter/adapters/abstract-adapter.d.ts +0 -23
  215. package/src/lib/adapter/adapters/abstract-adapter.js +0 -59
  216. package/src/lib/adapter/adapters/bitcoin-adapter.d.ts +0 -18
  217. package/src/lib/adapter/adapters/evm-adapter.d.ts +0 -59
  218. package/src/lib/adapter/adapters/sui-adapter.d.ts +0 -17
  219. package/src/lib/adapter/adapters/ton-adapter.d.ts +0 -22
  220. package/src/lib/adapter/adapters/ton-adapter.js +0 -100
  221. package/src/lib/adapter/adapters/tron-adapter.d.ts +0 -37
  222. /package/src/lib/adapter/adapters/{models/gas-price.js → adapter-bitcoin/models/btc-send-tx-params.js} +0 -0
  223. /package/src/lib/adapter/adapters/{utils → adapter-ton/services}/ton-api.service.js +0 -0
  224. /package/src/lib/adapter/adapters/models/{gas-price.d.ts → evm-web3-public-models/gas-price.d.ts} +0 -0
@@ -0,0 +1,705 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.proxyHashErrors = void 0;
4
+ exports.proxyHashErrors = [
5
+ {
6
+ text: 'CannotAuthoriseSelf',
7
+ hash: '0xa9cefcae'
8
+ },
9
+ {
10
+ text: 'OnlyContractOwner',
11
+ hash: '0x277d76f8'
12
+ },
13
+ {
14
+ text: 'CannotAuthoriseSelf',
15
+ hash: '0xa9cefcae'
16
+ },
17
+ {
18
+ text: 'InvalidContract',
19
+ hash: '0x6eefed20'
20
+ },
21
+ {
22
+ text: 'UnAuthorized',
23
+ hash: '0xbe245983'
24
+ },
25
+ {
26
+ text: 'CalldataEmptyButInitNotZero',
27
+ hash: '0x42200566'
28
+ },
29
+ {
30
+ text: 'FacetAddressIsNotZero',
31
+ hash: '0x79c9df22'
32
+ },
33
+ {
34
+ text: 'FacetAddressIsZero',
35
+ hash: '0xc68ec83a'
36
+ },
37
+ {
38
+ text: 'FacetContainsNoCode',
39
+ hash: '0xe3500600'
40
+ },
41
+ {
42
+ text: 'FunctionAlreadyExists',
43
+ hash: '0xa023275d'
44
+ },
45
+ {
46
+ text: 'FunctionDoesNotExist',
47
+ hash: '0xa9ad62f8'
48
+ },
49
+ {
50
+ text: 'FunctionIsImmutable',
51
+ hash: '0xc3c5ec37'
52
+ },
53
+ {
54
+ text: 'IncorrectFacetCutAction',
55
+ hash: '0xe548e6b5'
56
+ },
57
+ {
58
+ text: 'InitReverted',
59
+ hash: '0xc53ebed5'
60
+ },
61
+ {
62
+ text: 'InitZeroButCalldataNotEmpty',
63
+ hash: '0x98116860'
64
+ },
65
+ {
66
+ text: 'NoSelectorsInFace',
67
+ hash: '0x7bc55950'
68
+ },
69
+ {
70
+ text: 'OnlyContractOwner',
71
+ hash: '0x277d76f8'
72
+ },
73
+ {
74
+ text: 'AlreadyInitialized',
75
+ hash: '0x0dc149f0'
76
+ },
77
+ {
78
+ text: 'FeeTooHigh',
79
+ hash: '0xcd4e6167'
80
+ },
81
+ {
82
+ text: 'InvalidFee',
83
+ hash: '0x58d620b3'
84
+ },
85
+ {
86
+ text: 'OnlyContractOwner',
87
+ hash: '0x277d76f8'
88
+ },
89
+ {
90
+ text: 'ReentrancyError',
91
+ hash: '0x29f745a7'
92
+ },
93
+ {
94
+ text: 'ShareTooHigh',
95
+ hash: '0x2a07fc4c'
96
+ },
97
+ {
98
+ text: 'TokenAddressIsZero',
99
+ hash: '0xdc2e5e8d'
100
+ },
101
+ {
102
+ text: 'UnAuthorized',
103
+ hash: '0xbe245983'
104
+ },
105
+ {
106
+ text: 'ZeroAddress',
107
+ hash: '0xd92e233d'
108
+ },
109
+ {
110
+ text: 'CannotBridgeToSameNetwork',
111
+ hash: '0x4ac09ad3'
112
+ },
113
+ {
114
+ text: 'ContractCallNotAllowed',
115
+ hash: '0x94539804'
116
+ },
117
+ {
118
+ text: 'CumulativeSlippageTooHigh',
119
+ hash: '0x65ec4880'
120
+ },
121
+ {
122
+ text: 'InformationMismatch',
123
+ hash: '0x50dc905c'
124
+ },
125
+ {
126
+ text: 'InsufficientBalance',
127
+ hash: '0xf4d678b8'
128
+ },
129
+ {
130
+ text: 'InvalidAmount',
131
+ hash: '0x2c5211c6'
132
+ },
133
+ {
134
+ text: 'InvalidContract',
135
+ hash: '0x6eefed20'
136
+ },
137
+ {
138
+ text: 'InvalidReceiver',
139
+ hash: '0x1e4ec46b'
140
+ },
141
+ {
142
+ text: 'LengthMissmatch',
143
+ hash: '0xd4e105db'
144
+ },
145
+ {
146
+ text: 'NativeAssetTransferFailed',
147
+ hash: '0x5a046737'
148
+ },
149
+ {
150
+ text: 'NoSwapDataProvided',
151
+ hash: '0x0503c3ed'
152
+ },
153
+ {
154
+ text: 'NoSwapFromZeroBalance',
155
+ hash: '0xe46e079c'
156
+ },
157
+ {
158
+ text: 'NoTransferToNullAddress',
159
+ hash: '0x21f74345'
160
+ },
161
+ {
162
+ text: 'NullAddrIsNotAValidSpender',
163
+ hash: '0x63ba9bff'
164
+ },
165
+ {
166
+ text: 'NullAddrIsNotAnERC20Token',
167
+ hash: '0xd1bebf0c'
168
+ },
169
+ {
170
+ text: 'OnlyContractOwner',
171
+ hash: '0x277d76f8'
172
+ },
173
+ {
174
+ text: 'ReentrancyError',
175
+ hash: '0x29f745a7'
176
+ },
177
+ {
178
+ text: 'SliceOutOfBounds',
179
+ hash: '0x3b99b53d'
180
+ },
181
+ {
182
+ text: 'SliceOverflow',
183
+ hash: '0x47aaf07a'
184
+ },
185
+ {
186
+ text: 'UnAuthorized',
187
+ hash: '0xbe245983'
188
+ },
189
+ {
190
+ text: 'ContractCallNotAllowed',
191
+ hash: '0x94539804'
192
+ },
193
+ {
194
+ text: 'CumulativeSlippageTooHigh',
195
+ hash: '0x65ec4880'
196
+ },
197
+ {
198
+ text: 'InsufficientBalance',
199
+ hash: '0xf4d678b8'
200
+ },
201
+ {
202
+ text: 'InvalidAmount',
203
+ hash: '0x2c5211c6'
204
+ },
205
+ {
206
+ text: 'InvalidContract',
207
+ hash: '0x6eefed20'
208
+ },
209
+ {
210
+ text: 'InvalidReceiver',
211
+ hash: '0x1e4ec46b'
212
+ },
213
+ {
214
+ text: 'NativeAssetTransferFailed',
215
+ hash: '0x5a046737'
216
+ },
217
+ {
218
+ text: 'NoSwapDataProvided',
219
+ hash: '0x0503c3ed'
220
+ },
221
+ {
222
+ text: 'NoSwapFromZeroBalance',
223
+ hash: '0xe46e079c'
224
+ },
225
+ {
226
+ text: 'NoTransferToNullAddress',
227
+ hash: '0x21f74345'
228
+ },
229
+ {
230
+ text: 'NullAddrIsNotAValidSpender',
231
+ hash: '0x63ba9bff'
232
+ },
233
+ {
234
+ text: 'NullAddrIsNotAnERC20Token',
235
+ hash: '0xd1bebf0c'
236
+ },
237
+ {
238
+ text: 'ReentrancyError',
239
+ hash: '0x29f745a7'
240
+ },
241
+ {
242
+ text: 'SliceOutOfBounds',
243
+ hash: '0x3b99b53d'
244
+ },
245
+ {
246
+ text: 'SliceOverflow',
247
+ hash: '0x47aaf07a'
248
+ },
249
+ {
250
+ text: 'UnAuthorized',
251
+ hash: '0xbe245983'
252
+ },
253
+ {
254
+ text: 'AlreadyInitialized',
255
+ hash: '0x0dc149f0'
256
+ },
257
+ {
258
+ text: 'CannotBridgeToSameNetwork',
259
+ hash: '0x4ac09ad3'
260
+ },
261
+ {
262
+ text: 'ContractCallNotAllowed',
263
+ hash: '0x94539804'
264
+ },
265
+ {
266
+ text: 'CumulativeSlippageTooHigh',
267
+ hash: '0x65ec4880'
268
+ },
269
+ {
270
+ text: 'InformationMismatch',
271
+ hash: '0x50dc905c'
272
+ },
273
+ {
274
+ text: 'InsufficientBalance',
275
+ hash: '0xf4d678b8'
276
+ },
277
+ {
278
+ text: 'InvalidAmount',
279
+ hash: '0x2c5211c6'
280
+ },
281
+ {
282
+ text: 'InvalidConfig',
283
+ hash: '0x35be3ac8'
284
+ },
285
+ {
286
+ text: 'InvalidContract',
287
+ hash: '0x6eefed20'
288
+ },
289
+ {
290
+ text: 'InvalidReceiver',
291
+ hash: '0x1e4ec46b'
292
+ },
293
+ {
294
+ text: 'InvalidRouter',
295
+ hash: '0x466d7fef'
296
+ },
297
+ {
298
+ text: 'NativeAssetTransferFailed',
299
+ hash: '0x5a046737'
300
+ },
301
+ {
302
+ text: 'NoSwapDataProvided',
303
+ hash: '0x0503c3ed'
304
+ },
305
+ {
306
+ text: 'NoSwapFromZeroBalance',
307
+ hash: '0xe46e079c'
308
+ },
309
+ {
310
+ text: 'NoTransferToNullAddress',
311
+ hash: '0x21f74345'
312
+ },
313
+ {
314
+ text: 'NotInitialized',
315
+ hash: '0x87138d5c'
316
+ },
317
+ {
318
+ text: 'NullAddrIsNotAValidSpender',
319
+ hash: '0x63ba9bff'
320
+ },
321
+ {
322
+ text: 'NullAddrIsNotAnERC20Token',
323
+ hash: '0xd1bebf0c'
324
+ },
325
+ {
326
+ text: 'OnlyContractOwner',
327
+ hash: '0x277d76f8'
328
+ },
329
+ {
330
+ text: 'ReentrancyError',
331
+ hash: '0x29f745a7'
332
+ },
333
+ {
334
+ text: 'SliceOutOfBounds',
335
+ hash: '0x3b99b53d'
336
+ },
337
+ {
338
+ text: 'SliceOverflow',
339
+ hash: '0x47aaf07a'
340
+ },
341
+ {
342
+ text: 'UnAuthorized',
343
+ hash: '0xbe245983'
344
+ },
345
+ {
346
+ text: 'NewOwnerMustNotBeSelf',
347
+ hash: '0xbf1ea9fb'
348
+ },
349
+ {
350
+ text: 'NoNullOwner',
351
+ hash: '0x1beca374'
352
+ },
353
+ {
354
+ text: 'NoPendingOwnershipTransfer',
355
+ hash: '0x75cdea12'
356
+ },
357
+ {
358
+ text: 'NotPendingOwner',
359
+ hash: '0x1853971c'
360
+ },
361
+ {
362
+ text: 'OnlyContractOwner',
363
+ hash: '0x277d76f8'
364
+ },
365
+ {
366
+ text: 'OnlyContractOwner',
367
+ hash: '0x277d76f8'
368
+ },
369
+ {
370
+ text: 'AlreadyInitialized',
371
+ hash: '0x0dc149f0'
372
+ },
373
+ {
374
+ text: 'CannotBridgeToSameNetwork',
375
+ hash: '0x4ac09ad3'
376
+ },
377
+ {
378
+ text: 'ContractCallNotAllowed',
379
+ hash: '0x94539804'
380
+ },
381
+ {
382
+ text: 'CumulativeSlippageTooHigh',
383
+ hash: '0x65ec4880'
384
+ },
385
+ {
386
+ text: 'InformationMismatch',
387
+ hash: '0x50dc905c'
388
+ },
389
+ {
390
+ text: 'InsufficientBalance',
391
+ hash: '0xf4d678b8'
392
+ },
393
+ {
394
+ text: 'InvalidAmount',
395
+ hash: '0x2c5211c6'
396
+ },
397
+ {
398
+ text: 'InvalidConfig',
399
+ hash: '0x35be3ac8'
400
+ },
401
+ {
402
+ text: 'InvalidContract',
403
+ hash: '0x6eefed20'
404
+ },
405
+ {
406
+ text: 'InvalidReceiver',
407
+ hash: '0x1e4ec46b'
408
+ },
409
+ {
410
+ text: 'InvalidStargateRouter',
411
+ hash: '0x1aba923d'
412
+ },
413
+ {
414
+ text: 'NativeAssetNotSupported',
415
+ hash: '0x5ded5997'
416
+ },
417
+ {
418
+ text: 'NativeAssetTransferFailed',
419
+ hash: '0x5a046737'
420
+ },
421
+ {
422
+ text: 'NoSwapDataProvided',
423
+ hash: '0x0503c3ed'
424
+ },
425
+ {
426
+ text: 'NoSwapFromZeroBalance',
427
+ hash: '0xe46e079c'
428
+ },
429
+ {
430
+ text: 'NoTransferToNullAddress',
431
+ hash: '0x21f74345'
432
+ },
433
+ {
434
+ text: 'NotInitialized',
435
+ hash: '0x87138d5c'
436
+ },
437
+ {
438
+ text: 'NullAddrIsNotAValidSpender',
439
+ hash: '0x63ba9bff'
440
+ },
441
+ {
442
+ text: 'NullAddrIsNotAnERC20Token',
443
+ hash: '0xd1bebf0c'
444
+ },
445
+ {
446
+ text: 'OnlyContractOwner',
447
+ hash: '0x277d76f8'
448
+ },
449
+ {
450
+ text: 'ReentrancyError',
451
+ hash: '0x29f745a7'
452
+ },
453
+ {
454
+ text: 'SliceOutOfBounds',
455
+ hash: '0x3b99b53d'
456
+ },
457
+ {
458
+ text: 'SliceOverflow',
459
+ hash: '0x47aaf07a'
460
+ },
461
+ {
462
+ text: 'UnAuthorized',
463
+ hash: '0xbe245983'
464
+ },
465
+ {
466
+ text: 'UnknownLayerZeroChain',
467
+ hash: '0x7c152fe3'
468
+ },
469
+ {
470
+ text: 'UnknownStargatePool',
471
+ hash: '0x59c64529'
472
+ },
473
+ {
474
+ text: 'CannotBridgeToSameNetwork',
475
+ hash: '0x4ac09ad3'
476
+ },
477
+ {
478
+ text: 'ContractCallNotAllowed',
479
+ hash: '0x94539804'
480
+ },
481
+ {
482
+ text: 'CumulativeSlippageTooHigh',
483
+ hash: '0x65ec4880'
484
+ },
485
+ {
486
+ text: 'InformationMismatch',
487
+ hash: '0x50dc905c'
488
+ },
489
+ {
490
+ text: 'InsufficientBalance',
491
+ hash: '0xf4d678b8'
492
+ },
493
+ {
494
+ text: 'InvalidAmount',
495
+ hash: '0x2c5211c6'
496
+ },
497
+ {
498
+ text: 'InvalidContract',
499
+ hash: '0x6eefed20'
500
+ },
501
+ {
502
+ text: 'InvalidReceiver',
503
+ hash: '0x1e4ec46b'
504
+ },
505
+ {
506
+ text: 'NativeAssetTransferFailed',
507
+ hash: '0x5a046737'
508
+ },
509
+ {
510
+ text: 'NoSwapDataProvided',
511
+ hash: '0x0503c3ed'
512
+ },
513
+ {
514
+ text: 'NoSwapFromZeroBalance',
515
+ hash: '0xe46e079c'
516
+ },
517
+ {
518
+ text: 'NoTransferToNullAddress',
519
+ hash: '0x21f74345'
520
+ },
521
+ {
522
+ text: 'NullAddrIsNotAValidSpender',
523
+ hash: '0x63ba9bff'
524
+ },
525
+ {
526
+ text: 'NullAddrIsNotAnERC20Token',
527
+ hash: '0xd1bebf0c'
528
+ },
529
+ {
530
+ text: 'ReentrancyError',
531
+ hash: '0x29f745a7'
532
+ },
533
+ {
534
+ text: 'SliceOutOfBounds',
535
+ hash: '0x3b99b53d'
536
+ },
537
+ {
538
+ text: 'SliceOverflow',
539
+ hash: '0x47aaf07a'
540
+ },
541
+ {
542
+ text: 'UnAuthorized',
543
+ hash: '0xbe245983'
544
+ },
545
+ {
546
+ text: 'InsufficientBalance',
547
+ hash: '0xf4d678b8'
548
+ },
549
+ {
550
+ text: 'NativeAssetTransferFailed',
551
+ hash: '0x5a046737'
552
+ },
553
+ {
554
+ text: 'NoTransferToNullAddress',
555
+ hash: '0x21f74345'
556
+ },
557
+ {
558
+ text: 'NotAContract',
559
+ hash: '0x09ee12d5'
560
+ },
561
+ {
562
+ text: 'NullAddrIsNotAnERC20Token',
563
+ hash: '0xd1bebf0c'
564
+ },
565
+ {
566
+ text: 'UnAuthorized',
567
+ hash: '0xbe245983'
568
+ },
569
+ {
570
+ text: 'WithdrawFailed',
571
+ hash: '0x750b219c'
572
+ },
573
+ {
574
+ text: 'CannotBridgeToSameNetwork',
575
+ hash: '0x4ac09ad3'
576
+ },
577
+ {
578
+ text: 'ContractCallNotAllowed',
579
+ hash: '0x94539804'
580
+ },
581
+ {
582
+ text: 'CumulativeSlippageTooHigh',
583
+ hash: '0x65ec4880'
584
+ },
585
+ {
586
+ text: 'InformationMismatch',
587
+ hash: '0x50dc905c'
588
+ },
589
+ {
590
+ text: 'InsufficientBalance',
591
+ hash: '0xf4d678b8'
592
+ },
593
+ {
594
+ text: 'InvalidAmount',
595
+ hash: '0x2c5211c6'
596
+ },
597
+ {
598
+ text: 'InvalidContract',
599
+ hash: '0x6eefed20'
600
+ },
601
+ {
602
+ text: 'InvalidReceiver',
603
+ hash: '0x1e4ec46b'
604
+ },
605
+ {
606
+ text: 'NativeAssetTransferFailed',
607
+ hash: '0x5a046737'
608
+ },
609
+ {
610
+ text: 'NoSwapDataProvided',
611
+ hash: '0x0503c3ed'
612
+ },
613
+ {
614
+ text: 'NoSwapFromZeroBalance',
615
+ hash: '0xe46e079c'
616
+ },
617
+ {
618
+ text: 'NoTransferToNullAddress',
619
+ hash: '0x21f74345'
620
+ },
621
+ {
622
+ text: 'NullAddrIsNotAValidSpender',
623
+ hash: '0x63ba9bff'
624
+ },
625
+ {
626
+ text: 'NullAddrIsNotAnERC20Token',
627
+ hash: '0xd1bebf0c'
628
+ },
629
+ {
630
+ text: 'ReentrancyError',
631
+ hash: '0x29f745a7'
632
+ },
633
+ {
634
+ text: 'SliceOutOfBounds',
635
+ hash: '0x3b99b53d'
636
+ },
637
+ {
638
+ text: 'SliceOverflow',
639
+ hash: '0x47aaf07a'
640
+ },
641
+ {
642
+ text: 'UnAuthorized',
643
+ hash: '0xbe245983'
644
+ },
645
+ {
646
+ text: 'AddressOutOfBounds',
647
+ hash: '0x8f95a28a'
648
+ },
649
+ {
650
+ text: 'SliceOutOfBounds',
651
+ hash: '0x3b99b53d'
652
+ },
653
+ {
654
+ text: 'SliceOverflow',
655
+ hash: '0x47aaf07a'
656
+ },
657
+ {
658
+ text: 'UintOutOfBounds',
659
+ hash: '0x85ec83f8'
660
+ },
661
+ {
662
+ text: 'CalldataEmptyButInitNotZero',
663
+ hash: '0x42200566'
664
+ },
665
+ {
666
+ text: 'FacetAddressIsNotZero',
667
+ hash: '0x79c9df22'
668
+ },
669
+ {
670
+ text: 'FacetAddressIsZero',
671
+ hash: '0xc68ec83a'
672
+ },
673
+ {
674
+ text: 'FacetContainsNoCode',
675
+ hash: '0xe3500600'
676
+ },
677
+ {
678
+ text: 'FunctionAlreadyExists',
679
+ hash: '0xa023275d'
680
+ },
681
+ {
682
+ text: 'FunctionDoesNotExist',
683
+ hash: '0xa9ad62f8'
684
+ },
685
+ {
686
+ text: 'FunctionIsImmutable',
687
+ hash: '0xc3c5ec37'
688
+ },
689
+ {
690
+ text: 'IncorrectFacetCutAction',
691
+ hash: '0xe548e6b5'
692
+ },
693
+ {
694
+ text: 'InitReverted',
695
+ hash: '0xc53ebed5'
696
+ },
697
+ {
698
+ text: 'InitZeroButCalldataNotEmpty',
699
+ hash: '0x98116860'
700
+ },
701
+ {
702
+ text: 'NoSelectorsInFace',
703
+ hash: '0x7bc55950'
704
+ }
705
+ ];