@plutonlabs/sdk 0.0.12-beta → 0.0.14-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 (162) 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/index.d.ts.map +1 -1
  14. package/dist/modules/index.js.map +1 -1
  15. package/dist/modules/network/domain/dto/index.d.ts.map +1 -1
  16. package/dist/modules/network/domain/dto/index.js.map +1 -1
  17. package/dist/modules/network/domain/dto/network.dto.d.ts +13 -1
  18. package/dist/modules/network/domain/dto/network.dto.d.ts.map +1 -1
  19. package/dist/modules/network/domain/dto/network.dto.js +8 -1
  20. package/dist/modules/network/domain/dto/network.dto.js.map +1 -1
  21. package/dist/modules/network/domain/dto/network_provider.dto.d.ts +1 -1
  22. package/dist/modules/network/domain/dto/network_provider.dto.d.ts.map +1 -1
  23. package/dist/modules/network/domain/dto/network_provider.dto.js.map +1 -1
  24. package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts +20 -19
  25. package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts.map +1 -1
  26. package/dist/modules/network/domain/dto/network_provider.update.dto.js +4 -15
  27. package/dist/modules/network/domain/dto/network_provider.update.dto.js.map +1 -1
  28. package/dist/modules/network/domain/dto/network_tokens_view.dto.d.ts +19 -7
  29. package/dist/modules/network/domain/dto/network_tokens_view.dto.d.ts.map +1 -1
  30. package/dist/modules/network/domain/dto/network_tokens_view.dto.js +4 -2
  31. package/dist/modules/network/domain/dto/network_tokens_view.dto.js.map +1 -1
  32. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts.map +1 -1
  33. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js.map +1 -1
  34. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts.map +1 -1
  35. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js.map +1 -1
  36. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts +13 -13
  37. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts.map +1 -1
  38. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js +1 -1
  39. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js.map +1 -1
  40. package/dist/modules/quote/domain/dto/index.d.ts +3 -3
  41. package/dist/modules/quote/domain/dto/quote/index.d.ts +15 -16
  42. package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
  43. package/dist/modules/quote/domain/dto/quote/index.js +0 -1
  44. package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
  45. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +1 -6
  46. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -1
  47. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js +4 -8
  48. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -1
  49. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts +18 -0
  50. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts.map +1 -0
  51. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js +44 -0
  52. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js.map +1 -0
  53. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +1 -9
  54. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -1
  55. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +2 -2
  56. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -1
  57. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts +2 -2
  58. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts.map +1 -1
  59. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js +3 -3
  60. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js.map +1 -1
  61. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts +0 -9
  62. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts.map +1 -1
  63. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js +0 -57
  64. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js.map +1 -1
  65. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts +6 -1
  66. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts.map +1 -1
  67. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js +5 -6
  68. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -1
  69. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts +2 -1
  70. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts.map +1 -1
  71. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js +5 -8
  72. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js.map +1 -1
  73. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +13 -0
  74. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
  75. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +13 -21
  76. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
  77. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts +1 -0
  78. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts.map +1 -1
  79. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js +4 -7
  80. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js.map +1 -1
  81. package/dist/modules/quote/domain/dto/refund/index.d.ts +4 -4
  82. package/dist/modules/quote/domain/dto/refund/index.d.ts.map +1 -1
  83. package/dist/modules/quote/domain/dto/refund/index.js +2 -2
  84. package/dist/modules/quote/domain/dto/refund/index.js.map +1 -1
  85. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_request.dto.d.ts → quote_refund_request.dto.d.ts} +3 -3
  86. package/dist/modules/quote/domain/dto/refund/quote_refund_request.dto.d.ts.map +1 -0
  87. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_request.dto.js → quote_refund_request.dto.js} +9 -7
  88. package/dist/modules/quote/domain/dto/refund/quote_refund_request.dto.js.map +1 -0
  89. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_response.dto.d.ts → quote_refund_response.dto.d.ts} +4 -4
  90. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.d.ts.map +1 -0
  91. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.js +37 -0
  92. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.js.map +1 -0
  93. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts +1 -1
  94. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js +1 -1
  95. package/dist/modules/quote/domain/index.d.ts +2 -2
  96. package/dist/modules/swap/domain/dto/index.d.ts +3 -3
  97. package/dist/modules/swap/domain/dto/index.d.ts.map +1 -1
  98. package/dist/modules/swap/domain/dto/index.js +3 -3
  99. package/dist/modules/swap/domain/dto/index.js.map +1 -1
  100. package/dist/modules/swap/domain/dto/{token_swap_output_estimate_response.dto.d.ts → swap_estimate_response.dto.d.ts} +2 -2
  101. package/dist/modules/swap/domain/dto/swap_estimate_response.dto.d.ts.map +1 -0
  102. package/dist/modules/swap/domain/dto/{token_swap_output_estimate_response.dto.js → swap_estimate_response.dto.js} +5 -5
  103. package/dist/modules/swap/domain/dto/swap_estimate_response.dto.js.map +1 -0
  104. package/dist/modules/swap/domain/dto/{token_swap_request.dto.d.ts → swap_request.dto.d.ts} +3 -3
  105. package/dist/modules/swap/domain/dto/swap_request.dto.d.ts.map +1 -0
  106. package/dist/modules/swap/domain/dto/{token_swap_request.dto.js → swap_request.dto.js} +7 -7
  107. package/dist/modules/swap/domain/dto/swap_request.dto.js.map +1 -0
  108. package/dist/modules/swap/domain/dto/{token_swap_response.dto.d.ts → swap_response.dto.d.ts} +2 -2
  109. package/dist/modules/swap/domain/dto/swap_response.dto.d.ts.map +1 -0
  110. package/dist/modules/swap/domain/dto/{token_swap_response.dto.js → swap_response.dto.js} +7 -7
  111. package/dist/modules/swap/domain/dto/swap_response.dto.js.map +1 -0
  112. package/dist/modules/swap/index.d.ts +1 -1
  113. package/dist/modules/token/domain/dto/index.d.ts +1 -1
  114. package/dist/modules/token/domain/dto/index.d.ts.map +1 -1
  115. package/dist/modules/token/domain/dto/index.js +1 -1
  116. package/dist/modules/token/domain/dto/index.js.map +1 -1
  117. package/dist/modules/token/domain/dto/token.dto.d.ts +15 -14
  118. package/dist/modules/token/domain/dto/token.dto.d.ts.map +1 -1
  119. package/dist/modules/token/domain/dto/token.dto.js +20 -11
  120. package/dist/modules/token/domain/dto/token.dto.js.map +1 -1
  121. package/dist/modules/token/domain/dto/token.find.dto.d.ts +29 -0
  122. package/dist/modules/token/domain/dto/token.find.dto.d.ts.map +1 -0
  123. package/dist/modules/token/domain/dto/{network_contract_find_token.dto.js → token.find.dto.js} +9 -10
  124. package/dist/modules/token/domain/dto/token.find.dto.js.map +1 -0
  125. package/dist/modules/token/domain/dto/token.update.dto.d.ts +27 -23
  126. package/dist/modules/token/domain/dto/token.update.dto.d.ts.map +1 -1
  127. package/dist/modules/token/domain/dto/token.update.dto.js +16 -18
  128. package/dist/modules/token/domain/dto/token.update.dto.js.map +1 -1
  129. package/dist/modules/token/domain/dto/token_find.dto.d.ts +29 -0
  130. package/dist/modules/token/domain/dto/token_find.dto.d.ts.map +1 -0
  131. package/dist/modules/token/domain/dto/token_find.dto.js +41 -0
  132. package/dist/modules/token/domain/dto/token_find.dto.js.map +1 -0
  133. package/dist/seed/networks_seed.json +86 -0
  134. package/dist/seed/pluton_contracts_seed.json +1302 -0
  135. package/dist/seed/tokens_seed.json +145 -0
  136. package/dist/seed-data/index.d.ts +1 -0
  137. package/dist/seed-data/index.d.ts.map +1 -0
  138. package/dist/seed-data/index.js +2 -0
  139. package/dist/seed-data/index.js.map +1 -0
  140. package/dist/seed-data/networks_seed.json +47 -0
  141. package/dist/seed-data/pluton_contracts_seed.json +1312 -0
  142. package/dist/seed-data/tokens_seed.json +119 -0
  143. package/package.json +4 -1
  144. package/Readme.md +0 -1
  145. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts +0 -31
  146. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts.map +0 -1
  147. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js +0 -53
  148. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js.map +0 -1
  149. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts.map +0 -1
  150. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js.map +0 -1
  151. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts.map +0 -1
  152. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js +0 -7
  153. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js.map +0 -1
  154. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts.map +0 -1
  155. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js.map +0 -1
  156. package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts.map +0 -1
  157. package/dist/modules/swap/domain/dto/token_swap_request.dto.js.map +0 -1
  158. package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts.map +0 -1
  159. package/dist/modules/swap/domain/dto/token_swap_response.dto.js.map +0 -1
  160. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts +0 -29
  161. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts.map +0 -1
  162. package/dist/modules/token/domain/dto/network_contract_find_token.dto.js.map +0 -1
@@ -0,0 +1,145 @@
1
+ [
2
+ {
3
+ "name": "Ether",
4
+ "symbol": "ETH",
5
+ "address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
6
+ "decimals": 18,
7
+ "img": "https://cryptologos.cc/logos/ethereum-eth-logo.svg",
8
+ "coinType": 9001,
9
+ "chainId": 42161,
10
+ "isNative": true,
11
+ "isBase": false
12
+ },
13
+ {
14
+ "name": "Tether USD",
15
+ "symbol": "USDT",
16
+ "address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
17
+ "decimals": 6,
18
+ "img": "https://cryptologos.cc/logos/tether-usdt-logo.svg",
19
+ "coinType": 9001,
20
+ "chainId": 42161,
21
+ "isNative": false,
22
+ "isBase": true
23
+ },
24
+ {
25
+ "name": "US Dollor Coin",
26
+ "symbol": "USDC",
27
+ "address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
28
+ "decimals": 6,
29
+ "img": "https://cryptologos.cc/logos/usd-coin-usdc-logo.svg",
30
+ "coinType": 9001,
31
+ "chainId": 42161,
32
+ "isNative": false,
33
+ "isBase": false
34
+ },
35
+ {
36
+ "name": "Wrapped BTC",
37
+ "symbol": "WBTC",
38
+ "address": "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f",
39
+ "decimals": 8,
40
+ "img": "https://logotyp.us/file/wrapped-bitcoin.svg",
41
+ "coinType": 9001,
42
+ "chainId": 42161,
43
+ "isNative": false,
44
+ "isBase": false
45
+ },
46
+ {
47
+ "name": "Ether",
48
+ "symbol": "ETH",
49
+ "address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
50
+ "decimals": 18,
51
+ "img": "https://cryptologos.cc/logos/ethereum-eth-logo.svg",
52
+ "coinType": 8453,
53
+ "chainId": 8453,
54
+ "isNative": true,
55
+ "isBase": false
56
+ },
57
+ {
58
+ "name": "Tether USD",
59
+ "symbol": "USDT",
60
+ "address": "0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2",
61
+ "decimals": 6,
62
+ "img": "https://cryptologos.cc/logos/tether-usdt-logo.svg",
63
+ "coinType": 8453,
64
+ "chainId": 8453,
65
+ "isNative": false,
66
+ "isBase": true
67
+ },
68
+ {
69
+ "name": "US Dollor Coin",
70
+ "symbol": "USDC",
71
+ "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
72
+ "decimals": 6,
73
+ "img": "https://cryptologos.cc/logos/usd-coin-usdc-logo.svg",
74
+ "coinType": 8453,
75
+ "chainId": 8453,
76
+ "isNative": false,
77
+ "isBase": false
78
+ },
79
+ {
80
+ "name": "Brett",
81
+ "symbol": "BRETT",
82
+ "address": "0x532f27101965dd16442E59d40670FaF5eBB142E4",
83
+ "decimals": 18,
84
+ "img": "https://cryptologos.cc/logos/based-brett-brett-logo.svg",
85
+ "coinType": 8453,
86
+ "chainId": 8453,
87
+ "isNative": false,
88
+ "isBase": false
89
+ },
90
+ {
91
+ "name": "Wrapped ETH",
92
+ "symbol": "WETH",
93
+ "address": "0x4200000000000000000000000000000000000006",
94
+ "decimals": 18,
95
+ "img": "https://zengo.com/wp-content/uploads/wETH_desktop.svg",
96
+ "coinType": 8453,
97
+ "chainId": 8453,
98
+ "isNative": false,
99
+ "isBase": false
100
+ },
101
+ {
102
+ "name": "Mantle",
103
+ "symbol": "MNT",
104
+ "address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
105
+ "decimals": 18,
106
+ "img": "https://cryptologos.cc/logos/ethereum-eth-logo.svg",
107
+ "coinType": 8453,
108
+ "chainId": 8453,
109
+ "isNative": true,
110
+ "isBase": false
111
+ },
112
+ {
113
+ "name": "Tether USD",
114
+ "symbol": "USDT",
115
+ "address": "0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE",
116
+ "decimals": 6,
117
+ "img": "https://cryptologos.cc/logos/tether-usdt-logo.svg",
118
+ "coinType": 5000,
119
+ "chainId": 5000,
120
+ "isNative": false,
121
+ "isBase": true
122
+ },
123
+ {
124
+ "name": "US Dollor Coin",
125
+ "symbol": "USDC",
126
+ "address": "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9",
127
+ "decimals": 6,
128
+ "img": "https://cryptologos.cc/logos/usd-coin-usdc-logo.svg",
129
+ "coinType": 5000,
130
+ "chainId": 5000,
131
+ "isNative": false,
132
+ "isBase": false
133
+ },
134
+ {
135
+ "name": "Wrapped Bridged ETH",
136
+ "symbol": "WETH",
137
+ "address": "0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111",
138
+ "decimals": 18,
139
+ "img": "https://zengo.com/wp-content/uploads/wETH_desktop.svg",
140
+ "coinType": 5000,
141
+ "chainId": 5000,
142
+ "isNative": false,
143
+ "isBase": false
144
+ }
145
+ ]
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/seed-data/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -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
+ ]