@plutonlabs/sdk 0.0.11-beta → 0.0.13-beta

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 (152) hide show
  1. package/dist/common/consts/index.d.ts.map +1 -1
  2. package/dist/common/consts/index.js.map +1 -1
  3. package/dist/common/enums/index.d.ts +2 -2
  4. package/dist/common/index.d.ts +4 -4
  5. package/dist/common/interfaces/IChain.d.ts +1 -1
  6. package/dist/common/utils/index.d.ts +2 -2
  7. package/dist/index.d.ts +8 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +11 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts.map +1 -1
  12. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js.map +1 -1
  13. package/dist/modules/chainsync/domain/dto/index.d.ts +0 -1
  14. package/dist/modules/chainsync/domain/dto/index.d.ts.map +1 -1
  15. package/dist/modules/chainsync/domain/dto/index.js +0 -1
  16. package/dist/modules/chainsync/domain/dto/index.js.map +1 -1
  17. package/dist/modules/index.d.ts.map +1 -1
  18. package/dist/modules/index.js.map +1 -1
  19. package/dist/modules/network/domain/dto/index.d.ts.map +1 -1
  20. package/dist/modules/network/domain/dto/index.js.map +1 -1
  21. package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts +1 -1
  22. package/dist/modules/network/domain/dto/network_tokens_view.dto.d.ts +19 -7
  23. package/dist/modules/network/domain/dto/network_tokens_view.dto.d.ts.map +1 -1
  24. package/dist/modules/network/domain/dto/network_tokens_view.dto.js +2 -2
  25. package/dist/modules/network/domain/dto/network_tokens_view.dto.js.map +1 -1
  26. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts.map +1 -1
  27. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js.map +1 -1
  28. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts.map +1 -1
  29. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js.map +1 -1
  30. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts +13 -13
  31. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts.map +1 -1
  32. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js +1 -1
  33. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js.map +1 -1
  34. package/dist/modules/quote/domain/dto/index.d.ts +3 -3
  35. package/dist/modules/quote/domain/dto/quote/index.d.ts +15 -16
  36. package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
  37. package/dist/modules/quote/domain/dto/quote/index.js +0 -1
  38. package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
  39. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +1 -6
  40. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -1
  41. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js +4 -8
  42. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -1
  43. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts +18 -0
  44. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts.map +1 -0
  45. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js +44 -0
  46. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js.map +1 -0
  47. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +1 -9
  48. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -1
  49. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +2 -2
  50. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -1
  51. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts +2 -2
  52. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts.map +1 -1
  53. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js +3 -3
  54. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js.map +1 -1
  55. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts +0 -9
  56. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts.map +1 -1
  57. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js +0 -57
  58. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js.map +1 -1
  59. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts +6 -1
  60. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts.map +1 -1
  61. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js +5 -6
  62. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -1
  63. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts +2 -1
  64. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts.map +1 -1
  65. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js +5 -8
  66. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js.map +1 -1
  67. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +13 -0
  68. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
  69. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +13 -21
  70. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
  71. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts +1 -0
  72. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts.map +1 -1
  73. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js +4 -7
  74. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js.map +1 -1
  75. package/dist/modules/quote/domain/dto/refund/index.d.ts +4 -4
  76. package/dist/modules/quote/domain/dto/refund/index.d.ts.map +1 -1
  77. package/dist/modules/quote/domain/dto/refund/index.js +2 -2
  78. package/dist/modules/quote/domain/dto/refund/index.js.map +1 -1
  79. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_request.dto.d.ts → quote_refund_request.dto.d.ts} +3 -3
  80. package/dist/modules/quote/domain/dto/refund/quote_refund_request.dto.d.ts.map +1 -0
  81. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_request.dto.js → quote_refund_request.dto.js} +9 -7
  82. package/dist/modules/quote/domain/dto/refund/quote_refund_request.dto.js.map +1 -0
  83. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_response.dto.d.ts → quote_refund_response.dto.d.ts} +4 -4
  84. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.d.ts.map +1 -0
  85. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.js +37 -0
  86. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.js.map +1 -0
  87. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts +1 -1
  88. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js +1 -1
  89. package/dist/modules/quote/domain/index.d.ts +2 -2
  90. package/dist/modules/swap/domain/dto/index.d.ts +3 -3
  91. package/dist/modules/swap/domain/dto/index.d.ts.map +1 -1
  92. package/dist/modules/swap/domain/dto/index.js +3 -3
  93. package/dist/modules/swap/domain/dto/index.js.map +1 -1
  94. package/dist/modules/swap/domain/dto/{token_swap_output_estimate_response.dto.d.ts → swap_estimate_response.dto.d.ts} +2 -2
  95. package/dist/modules/swap/domain/dto/swap_estimate_response.dto.d.ts.map +1 -0
  96. package/dist/modules/swap/domain/dto/{token_swap_output_estimate_response.dto.js → swap_estimate_response.dto.js} +5 -5
  97. package/dist/modules/swap/domain/dto/swap_estimate_response.dto.js.map +1 -0
  98. package/dist/modules/swap/domain/dto/{token_swap_request.dto.d.ts → swap_request.dto.d.ts} +3 -3
  99. package/dist/modules/swap/domain/dto/swap_request.dto.d.ts.map +1 -0
  100. package/dist/modules/swap/domain/dto/{token_swap_request.dto.js → swap_request.dto.js} +7 -7
  101. package/dist/modules/swap/domain/dto/swap_request.dto.js.map +1 -0
  102. package/dist/modules/swap/domain/dto/{token_swap_response.dto.d.ts → swap_response.dto.d.ts} +2 -2
  103. package/dist/modules/swap/domain/dto/swap_response.dto.d.ts.map +1 -0
  104. package/dist/modules/swap/domain/dto/{token_swap_response.dto.js → swap_response.dto.js} +7 -7
  105. package/dist/modules/swap/domain/dto/swap_response.dto.js.map +1 -0
  106. package/dist/modules/swap/index.d.ts +1 -1
  107. package/dist/modules/token/domain/dto/index.d.ts +1 -1
  108. package/dist/modules/token/domain/dto/index.d.ts.map +1 -1
  109. package/dist/modules/token/domain/dto/index.js +1 -1
  110. package/dist/modules/token/domain/dto/index.js.map +1 -1
  111. package/dist/modules/token/domain/dto/token.dto.d.ts +15 -14
  112. package/dist/modules/token/domain/dto/token.dto.d.ts.map +1 -1
  113. package/dist/modules/token/domain/dto/token.dto.js +19 -10
  114. package/dist/modules/token/domain/dto/token.dto.js.map +1 -1
  115. package/dist/modules/token/domain/dto/token.find.dto.d.ts +29 -0
  116. package/dist/modules/token/domain/dto/token.find.dto.d.ts.map +1 -0
  117. package/dist/modules/token/domain/dto/{network_contract_find_token.dto.js → token.find.dto.js} +13 -18
  118. package/dist/modules/token/domain/dto/token.find.dto.js.map +1 -0
  119. package/dist/modules/token/domain/dto/token.update.dto.d.ts +27 -23
  120. package/dist/modules/token/domain/dto/token.update.dto.d.ts.map +1 -1
  121. package/dist/modules/token/domain/dto/token.update.dto.js +15 -17
  122. package/dist/modules/token/domain/dto/token.update.dto.js.map +1 -1
  123. package/dist/modules/token/domain/dto/token_find.dto.d.ts +29 -0
  124. package/dist/modules/token/domain/dto/token_find.dto.d.ts.map +1 -0
  125. package/dist/modules/token/domain/dto/token_find.dto.js +41 -0
  126. package/dist/modules/token/domain/dto/token_find.dto.js.map +1 -0
  127. package/dist/seed-data/index.d.ts +1 -0
  128. package/dist/seed-data/index.d.ts.map +1 -0
  129. package/dist/seed-data/index.js +2 -0
  130. package/dist/seed-data/index.js.map +1 -0
  131. package/dist/seed-data/networks_seed.json +47 -0
  132. package/dist/seed-data/pluton_contracts_seed.json +1312 -0
  133. package/dist/seed-data/tokens_seed.json +119 -0
  134. package/package.json +28 -25
  135. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts +0 -31
  136. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts.map +0 -1
  137. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js +0 -53
  138. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js.map +0 -1
  139. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts.map +0 -1
  140. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js.map +0 -1
  141. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts.map +0 -1
  142. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js +0 -7
  143. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js.map +0 -1
  144. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts.map +0 -1
  145. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js.map +0 -1
  146. package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts.map +0 -1
  147. package/dist/modules/swap/domain/dto/token_swap_request.dto.js.map +0 -1
  148. package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts.map +0 -1
  149. package/dist/modules/swap/domain/dto/token_swap_response.dto.js.map +0 -1
  150. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts +0 -27
  151. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts.map +0 -1
  152. package/dist/modules/token/domain/dto/network_contract_find_token.dto.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/seed-data/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,47 @@
1
+ [
2
+ {
3
+ "name": "Ethereum",
4
+ "img": "https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/ETH/icon.svg",
5
+ "coinType": 60,
6
+ "chainId": 1,
7
+ "lastParsedBlock": 0,
8
+ "confirmationCount": 2,
9
+ "isActive": false
10
+ },
11
+ {
12
+ "name": "Arbitrum",
13
+ "img": "https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/ARBITRUM/icon.svg",
14
+ "coinType": 9001,
15
+ "chainId": 42161,
16
+ "lastParsedBlock": 0,
17
+ "confirmationCount": 10,
18
+ "isActive": true
19
+ },
20
+ {
21
+ "name": "Base",
22
+ "img": "https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/BASE/icon.svg",
23
+ "coinType": 8453,
24
+ "chainId": 8453,
25
+ "lastParsedBlock": 0,
26
+ "confirmationCount": 3,
27
+ "isActive": true
28
+ },
29
+ {
30
+ "name": "Mantle",
31
+ "img": "https://cryptologos.cc/logos/mantle-mnt-logo.svg",
32
+ "coinType": 5000,
33
+ "chainId": 5000,
34
+ "lastParsedBlock": 0,
35
+ "confirmationCount": 3,
36
+ "isActive": false
37
+ },
38
+ {
39
+ "name": "TON",
40
+ "img": "https://raw.githubusercontent.com/rango-exchange/assets/main/blockchains/TON/icon.svg",
41
+ "coinType": 607,
42
+ "chainId": 0,
43
+ "lastParsedBlock": 0,
44
+ "confirmationCount": 1,
45
+ "isActive": false
46
+ }
47
+ ]