@bitgo-beta/sdk-coin-tao 1.0.1-alpha.14 → 1.0.1-alpha.141

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 (87) hide show
  1. package/.mocharc.yml +1 -1
  2. package/CHANGELOG.md +212 -0
  3. package/dist/src/index.d.ts +1 -0
  4. package/dist/src/index.d.ts.map +1 -1
  5. package/dist/src/index.js +2 -1
  6. package/dist/src/lib/constants.d.ts +11 -0
  7. package/dist/src/lib/constants.d.ts.map +1 -0
  8. package/dist/src/lib/constants.js +14 -0
  9. package/dist/src/lib/iface.d.ts +14 -335
  10. package/dist/src/lib/iface.d.ts.map +1 -1
  11. package/dist/src/lib/iface.js +1 -126
  12. package/dist/src/lib/index.d.ts +9 -9
  13. package/dist/src/lib/index.d.ts.map +1 -1
  14. package/dist/src/lib/index.js +30 -51
  15. package/dist/src/lib/moveStakeBuilder.d.ts +84 -0
  16. package/dist/src/lib/moveStakeBuilder.d.ts.map +1 -0
  17. package/dist/src/lib/moveStakeBuilder.js +182 -0
  18. package/dist/src/lib/moveStakeTransaction.d.ts +10 -0
  19. package/dist/src/lib/moveStakeTransaction.d.ts.map +1 -0
  20. package/dist/src/lib/moveStakeTransaction.js +77 -0
  21. package/dist/src/lib/stakingBuilder.d.ts +63 -0
  22. package/dist/src/lib/stakingBuilder.d.ts.map +1 -0
  23. package/dist/src/lib/stakingBuilder.js +133 -0
  24. package/dist/src/lib/tokenTransferBuilder.d.ts +74 -0
  25. package/dist/src/lib/tokenTransferBuilder.d.ts.map +1 -0
  26. package/dist/src/lib/tokenTransferBuilder.js +154 -0
  27. package/dist/src/lib/tokenTransferTransaction.d.ts +10 -0
  28. package/dist/src/lib/tokenTransferTransaction.d.ts.map +1 -0
  29. package/dist/src/lib/tokenTransferTransaction.js +77 -0
  30. package/dist/src/lib/transactionBuilderFactory.d.ts +10 -4
  31. package/dist/src/lib/transactionBuilderFactory.d.ts.map +1 -1
  32. package/dist/src/lib/transactionBuilderFactory.js +33 -8
  33. package/dist/src/lib/transferBuilder.d.ts +2 -7
  34. package/dist/src/lib/transferBuilder.d.ts.map +1 -1
  35. package/dist/src/lib/transferBuilder.js +8 -3
  36. package/dist/src/lib/unstakeBuilder.d.ts +66 -0
  37. package/dist/src/lib/unstakeBuilder.d.ts.map +1 -0
  38. package/dist/src/lib/unstakeBuilder.js +136 -0
  39. package/dist/src/lib/utils.d.ts +5 -264
  40. package/dist/src/lib/utils.d.ts.map +1 -1
  41. package/dist/src/lib/utils.js +15 -480
  42. package/dist/src/register.d.ts.map +1 -1
  43. package/dist/src/register.js +5 -1
  44. package/dist/src/resources/index.d.ts +1 -1
  45. package/dist/src/resources/index.js +2 -2
  46. package/dist/src/resources/mainnet.d.ts +12 -1
  47. package/dist/src/resources/mainnet.d.ts.map +1 -1
  48. package/dist/src/resources/mainnet.js +14 -3
  49. package/dist/src/resources/testnet.d.ts +13 -0
  50. package/dist/src/resources/testnet.d.ts.map +1 -0
  51. package/dist/src/resources/testnet.js +16 -0
  52. package/dist/src/tao.d.ts +19 -6
  53. package/dist/src/tao.d.ts.map +1 -1
  54. package/dist/src/tao.js +43 -81
  55. package/dist/src/taoToken.d.ts +19 -0
  56. package/dist/src/taoToken.d.ts.map +1 -0
  57. package/dist/src/taoToken.js +52 -0
  58. package/package.json +10 -18
  59. package/.gitignore +0 -3
  60. package/.prettierignore +0 -2
  61. package/dist/src/lib/errors.d.ts +0 -8
  62. package/dist/src/lib/errors.d.ts.map +0 -1
  63. package/dist/src/lib/errors.js +0 -19
  64. package/dist/src/lib/iface_utils.d.ts +0 -59
  65. package/dist/src/lib/iface_utils.d.ts.map +0 -1
  66. package/dist/src/lib/iface_utils.js +0 -92
  67. package/dist/src/lib/keyPair.d.ts +0 -38
  68. package/dist/src/lib/keyPair.d.ts.map +0 -1
  69. package/dist/src/lib/keyPair.js +0 -117
  70. package/dist/src/lib/nativeTransferBuilder.d.ts +0 -84
  71. package/dist/src/lib/nativeTransferBuilder.d.ts.map +0 -1
  72. package/dist/src/lib/nativeTransferBuilder.js +0 -219
  73. package/dist/src/lib/singletonRegistry.d.ts +0 -7
  74. package/dist/src/lib/singletonRegistry.d.ts.map +0 -1
  75. package/dist/src/lib/singletonRegistry.js +0 -20
  76. package/dist/src/lib/transaction.d.ts +0 -83
  77. package/dist/src/lib/transaction.d.ts.map +0 -1
  78. package/dist/src/lib/transaction.js +0 -610
  79. package/dist/src/lib/transactionBuilder.d.ts +0 -131
  80. package/dist/src/lib/transactionBuilder.d.ts.map +0 -1
  81. package/dist/src/lib/transactionBuilder.js +0 -351
  82. package/dist/src/lib/txnSchema.d.ts +0 -15
  83. package/dist/src/lib/txnSchema.d.ts.map +0 -1
  84. package/dist/src/lib/txnSchema.js +0 -117
  85. package/dist/src/resources/westend.d.ts +0 -2
  86. package/dist/src/resources/westend.d.ts.map +0 -1
  87. package/dist/src/resources/westend.js +0 -5
package/.mocharc.yml CHANGED
@@ -1,4 +1,4 @@
1
- require: 'ts-node/register'
1
+ require: 'tsx'
2
2
  timeout: '60000'
3
3
  reporter: 'min'
4
4
  reporter-option:
package/CHANGELOG.md CHANGED
@@ -3,6 +3,218 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.11.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.11.3...@bitgo/sdk-coin-tao@1.11.4) (2025-09-03)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **sdk-coin-tao:** handle subnetId as number ([18caa10](https://github.com/BitGo/BitGoJS/commit/18caa10f0b888462039b5b44c3b79124b4390bea))
11
+
12
+ ## [1.11.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.11.2...@bitgo/sdk-coin-tao@1.11.3) (2025-08-30)
13
+
14
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
15
+
16
+ ## [1.11.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.11.1...@bitgo/sdk-coin-tao@1.11.2) (2025-08-29)
17
+
18
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
19
+
20
+ ## [1.11.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.11.0...@bitgo/sdk-coin-tao@1.11.1) (2025-08-27)
21
+
22
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
23
+
24
+ # [1.11.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.10.2...@bitgo/sdk-coin-tao@1.11.0) (2025-08-22)
25
+
26
+ ### Features
27
+
28
+ - **root:** migrate ts-node -> tsx ([ea180b4](https://github.com/BitGo/BitGoJS/commit/ea180b43001d8e956196bc07b32798e3a7031eeb))
29
+
30
+ ## [1.10.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.10.1...@bitgo/sdk-coin-tao@1.10.2) (2025-08-22)
31
+
32
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
33
+
34
+ ## [1.10.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.10.0...@bitgo/sdk-coin-tao@1.10.1) (2025-08-19)
35
+
36
+ ### Bug Fixes
37
+
38
+ - **sdk-coin-tao:** fix toJson & explainTransaction for token transfers ([34a8175](https://github.com/BitGo/BitGoJS/commit/34a81751fd982a7ebd7449f8036d6d19b501780a))
39
+
40
+ # [1.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.9.0...@bitgo/sdk-coin-tao@1.10.0) (2025-08-14)
41
+
42
+ ### Features
43
+
44
+ - **sdk-coin-polyx:** add token builders ([6860780](https://github.com/BitGo/BitGoJS/commit/68607804efc1191ff396e05f20466526246b7d87))
45
+ - **sdk-coin-tao:** add tokenTransferBuilder ([43fc839](https://github.com/BitGo/BitGoJS/commit/43fc839f87e81d2592bcd249b14d7aef815a0927))
46
+
47
+ # [1.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.11...@bitgo/sdk-coin-tao@1.9.0) (2025-08-07)
48
+
49
+ ### Features
50
+
51
+ - add taoToken skeleton ([c3d65a2](https://github.com/BitGo/BitGoJS/commit/c3d65a29d8e4404e0157d8a8d825465f3c9cc693))
52
+
53
+ ## [1.8.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.10...@bitgo/sdk-coin-tao@1.8.11) (2025-07-31)
54
+
55
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
56
+
57
+ ## [1.8.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.9...@bitgo/sdk-coin-tao@1.8.10) (2025-07-30)
58
+
59
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
60
+
61
+ ## [1.8.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.7...@bitgo/sdk-coin-tao@1.8.9) (2025-07-25)
62
+
63
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
64
+
65
+ ## [1.8.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.7...@bitgo/sdk-coin-tao@1.8.8) (2025-07-23)
66
+
67
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
68
+
69
+ ## [1.8.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.6...@bitgo/sdk-coin-tao@1.8.7) (2025-07-15)
70
+
71
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
72
+
73
+ ## [1.8.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.5...@bitgo/sdk-coin-tao@1.8.6) (2025-07-10)
74
+
75
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
76
+
77
+ ## [1.8.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.4...@bitgo/sdk-coin-tao@1.8.5) (2025-07-03)
78
+
79
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
80
+
81
+ ## [1.8.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.3...@bitgo/sdk-coin-tao@1.8.4) (2025-06-25)
82
+
83
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
84
+
85
+ ## [1.8.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.2...@bitgo/sdk-coin-tao@1.8.3) (2025-06-24)
86
+
87
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
88
+
89
+ ## [1.8.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.1...@bitgo/sdk-coin-tao@1.8.2) (2025-06-18)
90
+
91
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
92
+
93
+ ## [1.8.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.0...@bitgo/sdk-coin-tao@1.8.1) (2025-06-10)
94
+
95
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
96
+
97
+ # [1.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.7.3...@bitgo/sdk-coin-tao@1.8.0) (2025-06-05)
98
+
99
+ ### Features
100
+
101
+ - **root:** support node 22 ([c4ad6af](https://github.com/BitGo/BitGoJS/commit/c4ad6af2e8896221417c303f0f6b84652b493216))
102
+
103
+ ## [1.7.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.7.2...@bitgo/sdk-coin-tao@1.7.3) (2025-06-02)
104
+
105
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
106
+
107
+ ## [1.7.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.7.1...@bitgo/sdk-coin-tao@1.7.2) (2025-05-28)
108
+
109
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
110
+
111
+ ## [1.7.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.7.0...@bitgo/sdk-coin-tao@1.7.1) (2025-05-22)
112
+
113
+ ### Bug Fixes
114
+
115
+ - remove empty space character at end of file names ([51bd0f5](https://github.com/BitGo/BitGoJS/commit/51bd0f56ca3275dcf980a21a20e7d94c8837ba42))
116
+
117
+ # [1.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.9...@bitgo/sdk-coin-tao@1.7.0) (2025-05-20)
118
+
119
+ ### Features
120
+
121
+ - **sdk-coin-polyx:** add transaction builders ([31c96bb](https://github.com/BitGo/BitGoJS/commit/31c96bbbce60b93e13208e3eab06bd144cfe57e4))
122
+
123
+ ## [1.6.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.8...@bitgo/sdk-coin-tao@1.6.9) (2025-05-07)
124
+
125
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
126
+
127
+ ## [1.6.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.7...@bitgo/sdk-coin-tao@1.6.8) (2025-04-29)
128
+
129
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
130
+
131
+ ## [1.6.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.6...@bitgo/sdk-coin-tao@1.6.7) (2025-04-25)
132
+
133
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
134
+
135
+ ## [1.6.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.5...@bitgo/sdk-coin-tao@1.6.6) (2025-04-15)
136
+
137
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
138
+
139
+ ## [1.6.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.4...@bitgo/sdk-coin-tao@1.6.5) (2025-04-04)
140
+
141
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
142
+
143
+ ## [1.6.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.3...@bitgo/sdk-coin-tao@1.6.4) (2025-04-02)
144
+
145
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
146
+
147
+ ## [1.6.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.2...@bitgo/sdk-coin-tao@1.6.3) (2025-03-28)
148
+
149
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
150
+
151
+ ## [1.6.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.1...@bitgo/sdk-coin-tao@1.6.2) (2025-03-20)
152
+
153
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
154
+
155
+ ## [1.6.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.0...@bitgo/sdk-coin-tao@1.6.1) (2025-03-18)
156
+
157
+ ### Bug Fixes
158
+
159
+ - **sdk-coin-tao:** prevent real api calls by using beforeEach for stubbing ([4415e0e](https://github.com/BitGo/BitGoJS/commit/4415e0e0348eb9f110a53dcbd393f8bd2e1e8619))
160
+
161
+ # [1.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.5.0...@bitgo/sdk-coin-tao@1.6.0) (2025-03-06)
162
+
163
+ ### Features
164
+
165
+ - **abstract-substrate:** add wrw for tao ([9f30890](https://github.com/BitGo/BitGoJS/commit/9f3089000330d47696ab057891cd8d1083004a2a))
166
+
167
+ # [1.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.3.1...@bitgo/sdk-coin-tao@1.5.0) (2025-03-04)
168
+
169
+ ### Bug Fixes
170
+
171
+ - **sdk-coin-tao:** allow consolidations ([0e374cf](https://github.com/BitGo/BitGoJS/commit/0e374cfabd366438cc2abfe9d0967854bf03cd03))
172
+ - **sdk-coin-tao:** change amount and netuid type to string ([bbb92aa](https://github.com/BitGo/BitGoJS/commit/bbb92aa3e9def1e6260a074761cdf4a38888ebd6))
173
+ - **sdk-coin-tao:** use tao builder not dot ([3ee7bfc](https://github.com/BitGo/BitGoJS/commit/3ee7bfc3fcf3d22d12d31b8104614b1b7996648c))
174
+
175
+ ### Features
176
+
177
+ - **sdk-coin-tao:** add staking builder ([0859b9d](https://github.com/BitGo/BitGoJS/commit/0859b9d099fc0ab9c651d0476bfd74dd48f08d45))
178
+ - **sdk-coin-tao:** add unstaking builder for TAO ([fe568b5](https://github.com/BitGo/BitGoJS/commit/fe568b5fda3d3e27cf2ced01581e52ede08ee58d))
179
+
180
+ # [1.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.3.1...@bitgo/sdk-coin-tao@1.4.0) (2025-02-26)
181
+
182
+ ### Bug Fixes
183
+
184
+ - **sdk-coin-tao:** allow consolidations ([0e374cf](https://github.com/BitGo/BitGoJS/commit/0e374cfabd366438cc2abfe9d0967854bf03cd03))
185
+
186
+ ### Features
187
+
188
+ - **sdk-coin-tao:** add staking builder ([0859b9d](https://github.com/BitGo/BitGoJS/commit/0859b9d099fc0ab9c651d0476bfd74dd48f08d45))
189
+ - **sdk-coin-tao:** add unstaking builder for TAO ([fe568b5](https://github.com/BitGo/BitGoJS/commit/fe568b5fda3d3e27cf2ced01581e52ede08ee58d))
190
+
191
+ ## [1.3.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.3.1...@bitgo/sdk-coin-tao@1.3.2) (2025-02-20)
192
+
193
+ ### Bug Fixes
194
+
195
+ - **sdk-coin-tao:** allow consolidations ([0e374cf](https://github.com/BitGo/BitGoJS/commit/0e374cfabd366438cc2abfe9d0967854bf03cd03))
196
+
197
+ ## [1.3.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.3.0...@bitgo/sdk-coin-tao@1.3.1) (2025-02-19)
198
+
199
+ **Note:** Version bump only for package @bitgo/sdk-coin-tao
200
+
201
+ # [1.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.2.0...@bitgo/sdk-coin-tao@1.3.0) (2025-02-11)
202
+
203
+ ### Bug Fixes
204
+
205
+ - **abstract-substrate:** fix abstract-substrate implementation ([1c986da](https://github.com/BitGo/BitGoJS/commit/1c986daa817353ca522c0e8e72e67a6dffa00fac))
206
+ - **sdk-coin-tao:** fix coinBuilderMap for tao ([b592e09](https://github.com/BitGo/BitGoJS/commit/b592e098544b447e946c1d4432a442f9bb1ab6d3))
207
+
208
+ ### Features
209
+
210
+ - **sdk-coin-tao:** add network to ttao ([79ad572](https://github.com/BitGo/BitGoJS/commit/79ad5722b1b3b4ee08119d3c9a71f881e74095dc))
211
+
212
+ # [1.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.1.0...@bitgo/sdk-coin-tao@1.2.0) (2025-02-05)
213
+
214
+ ### Features
215
+
216
+ - implement base transaction and transfer builders ([b342edd](https://github.com/BitGo/BitGoJS/commit/b342edd6f655b242c6c286d65941e9989a9e672e))
217
+
6
218
  # [1.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.0.4...@bitgo/sdk-coin-tao@1.1.0) (2025-01-28)
7
219
 
8
220
  ### Bug Fixes
@@ -2,4 +2,5 @@ export * from './lib';
2
2
  export * from './register';
3
3
  export * from './tao';
4
4
  export * from './ttao';
5
+ export * from './taoToken';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
package/dist/src/index.js CHANGED
@@ -18,4 +18,5 @@ __exportStar(require("./lib"), exports);
18
18
  __exportStar(require("./register"), exports);
19
19
  __exportStar(require("./tao"), exports);
20
20
  __exportStar(require("./ttao"), exports);
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHdDQUFzQjtBQUN0Qiw2Q0FBMkI7QUFDM0Isd0NBQXNCO0FBQ3RCLHlDQUF1QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliJztcbmV4cG9ydCAqIGZyb20gJy4vcmVnaXN0ZXInO1xuZXhwb3J0ICogZnJvbSAnLi90YW8nO1xuZXhwb3J0ICogZnJvbSAnLi90dGFvJztcbiJdfQ==
21
+ __exportStar(require("./taoToken"), exports);
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHdDQUFzQjtBQUN0Qiw2Q0FBMkI7QUFDM0Isd0NBQXNCO0FBQ3RCLHlDQUF1QjtBQUN2Qiw2Q0FBMkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYic7XG5leHBvcnQgKiBmcm9tICcuL3JlZ2lzdGVyJztcbmV4cG9ydCAqIGZyb20gJy4vdGFvJztcbmV4cG9ydCAqIGZyb20gJy4vdHRhbyc7XG5leHBvcnQgKiBmcm9tICcuL3Rhb1Rva2VuJztcbiJdfQ==
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Constants for TAO network operations
3
+ */
4
+ export declare const TAO_CONSTANTS: {
5
+ /**
6
+ * Maximum supported netuid value for TAO subnets
7
+ * Valid range is 0 to MAX_NETUID (inclusive)
8
+ */
9
+ readonly MAX_NETUID: 128;
10
+ };
11
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/lib/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,aAAa;IACxB;;;OAGG;;CAEK,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TAO_CONSTANTS = void 0;
4
+ /**
5
+ * Constants for TAO network operations
6
+ */
7
+ exports.TAO_CONSTANTS = {
8
+ /**
9
+ * Maximum supported netuid value for TAO subnets
10
+ * Valid range is 0 to MAX_NETUID (inclusive)
11
+ */
12
+ MAX_NETUID: 128,
13
+ };
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jb25zdGFudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUE7O0dBRUc7QUFDVSxRQUFBLGFBQWEsR0FBRztJQUMzQjs7O09BR0c7SUFDSCxVQUFVLEVBQUUsR0FBRztDQUNQLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIENvbnN0YW50cyBmb3IgVEFPIG5ldHdvcmsgb3BlcmF0aW9uc1xuICovXG5leHBvcnQgY29uc3QgVEFPX0NPTlNUQU5UUyA9IHtcbiAgLyoqXG4gICAqIE1heGltdW0gc3VwcG9ydGVkIG5ldHVpZCB2YWx1ZSBmb3IgVEFPIHN1Ym5ldHNcbiAgICogVmFsaWQgcmFuZ2UgaXMgMCB0byBNQVhfTkVUVUlEIChpbmNsdXNpdmUpXG4gICAqL1xuICBNQVhfTkVUVUlEOiAxMjgsXG59IGFzIGNvbnN0O1xuIl19
@@ -1,337 +1,16 @@
1
- import { TransactionType, TransactionExplanation as BaseTransactionExplanation } from '@bitgo-beta/sdk-core';
2
- import { PolkadotSpecNameType } from '@bitgo-beta/statics';
3
- import { BaseTxInfo, TypeRegistry, DecodedUnsignedTx } from '@substrate/txwrapper-core/lib/types';
4
- export { HexString } from '@polkadot/util/types';
5
- /**
6
- * Section names for the transaction methods.
7
- */
8
- export declare enum SectionNames {
9
- Proxy = "proxy",
10
- Staking = "staking"
11
- }
12
- /**
13
- * Method names for the transaction method. Names change based on the type of transaction e.g 'bond' for the staking transaction
14
- */
15
- export declare enum MethodNames {
16
- /**
17
- * Register a proxy account for the sender that is able to make calls on its behalf.
18
- *
19
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#addproxydelegate-multiaddress-proxy_type-kitchensinkruntimeproxytype-delay-u32
20
- */
21
- AddProxy = "addProxy",
22
- /**
23
- * Unregister a proxy account for the sender.
24
- *
25
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#removeproxydelegate-multiaddress-proxy_type-kitchensinkruntimeproxytype-delay-u32
26
- */
27
- RemoveProxy = "removeProxy",
28
- /**
29
- * Dispatch the given call from an account that the sender is authorised for through add_proxy.
30
- *
31
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#proxyreal-multiaddress-force_proxy_type-optionkitchensinkruntimeproxytype-call-call
32
- */
33
- Proxy = "proxy",
34
- /**
35
- * Take the origin account as a stash and lock up value of its balance. controller will be the account that controls it.
36
- *
37
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#bondcontroller-multiaddress-value-compactu128-payee-palletstakingrewarddestination
38
- */
39
- Bond = "bond",
40
- /**
41
- * Add some extra amount that have appeared in the stash free_balance into the balance up for staking.
42
- *
43
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#bondextramax_additional-compactu128
44
- */
45
- BondExtra = "bondExtra",
46
- /**
47
- * Transfer the entire transferable balance from the caller account.
48
- *
49
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#transferalldest-multiaddress-keep_alive-bool
50
- */
51
- TransferAll = "transferAll",
52
- /**
53
- * Same as the transfer call, but with a check that the transfer will not kill the origin account.
54
- *
55
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#transferkeepalivedest-multiaddress-value-compactu128
56
- */
57
- TransferKeepAlive = "transferKeepAlive",
58
- /**
59
- * Schedule a portion of the stash to be unlocked ready for transfer out after the bond period ends.
60
- *
61
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#unbondvalue-compactu128
62
- */
63
- Unbond = "unbond",
64
- /**
65
- * @deprecated Anonymous proxies were renamed to pure proxies.
66
- *
67
- * @see PureProxy
68
- * @see https://polkadot.polkassembly.io/referendum/84
69
- */
70
- Anonymous = "anonymous",
71
- /**
72
- * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize it with a proxy of proxy_type for origin sender.
73
- *
74
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#createpureproxy_type-kitchensinkruntimeproxytype-delay-u32-index-u16
75
- */
76
- PureProxy = "createPure",// Anonymous proxies were renamed to pure proxies
77
- /**
78
- * Send a batch of dispatch calls.
79
- *
80
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#batchcalls-veccall
81
- */
82
- Batch = "batch",
83
- /**
84
- * Send a batch of dispatch calls and atomically execute them. The whole transaction will rollback and fail if any of the calls failed.
85
- *
86
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#batchallcalls-veccall
87
- */
88
- BatchAll = "batchAll",
89
- /**
90
- * Declare no desire to either validate or nominate.
91
- *
92
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#chill
93
- */
94
- Chill = "chill",
95
- /**
96
- * Remove any unlocked chunks from the unlocking queue from our management.
97
- *
98
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#withdrawunbondednum_slashing_spans-u32
99
- */
100
- WithdrawUnbonded = "withdrawUnbonded",
101
- /**
102
- * Pay out all the stakers behind a single validator for a single era.
103
- *
104
- * @see https://polkadot.js.org/docs/substrate/extrinsics/#payoutstakersvalidator_stash-accountid32-era-u32
105
- */
106
- PayoutStakers = "payoutStakers"
107
- }
108
- /**
109
- * The transaction data returned from the toJson() function of a transaction
110
- */
111
- export interface TxData {
112
- id: string;
113
- sender: string;
114
- referenceBlock: string;
115
- blockNumber: number;
116
- genesisHash: string;
117
- nonce: number;
118
- specVersion: number;
119
- transactionVersion: number;
120
- chainName: string;
121
- method?: string;
122
- specName?: string;
123
- amount?: string;
124
- to?: string;
125
- tip?: number;
126
- eraPeriod?: number;
127
- controller?: string;
128
- payee?: string;
129
- owner?: string;
130
- proxyType?: string;
131
- delay?: string;
132
- forceProxyType?: ProxyType;
133
- index?: string;
134
- batchCalls?: BatchCallObject[];
135
- numSlashingSpans?: number;
136
- validatorStash?: string;
137
- claimEra?: string;
138
- keepAlive?: boolean;
139
- }
140
- /**
141
- * Transaction method specific args
142
- */
143
- export interface TransferArgs {
144
- dest: {
145
- id: string;
146
- };
147
- value: string;
148
- }
149
- /**
150
- * Transaction method specific args
151
- */
152
- export interface TransferAllArgs {
153
- dest: {
154
- id: string;
155
- };
156
- keepAlive: boolean;
157
- }
158
- /**
159
- * Transaction method specific args
160
- */
161
- export type StakeArgsPayee = 'Staked' | 'Stash' | 'Controller' | {
162
- Account: string;
163
- };
164
- /**
165
- * Transaction method specific args
166
- */
167
- export type StakeArgsPayeeRaw = {
168
- controller?: null;
169
- stash?: null;
170
- staked?: null;
171
- account?: string;
172
- };
173
- /**
174
- * Transaction method specific args
175
- */
176
- export interface StakeArgs {
177
- value: string;
178
- controller: {
179
- id: string;
180
- };
181
- payee: StakeArgsPayee;
182
- }
183
- export interface StakeMoreArgs {
184
- maxAdditional: string;
185
- }
186
- export interface StakeMoreCallArgs {
187
- max_additional: string;
188
- }
189
- export interface UnstakeArgs {
190
- value: string;
191
- }
192
- export interface WithdrawUnstakedArgs {
193
- numSlashingSpans: number;
194
- }
195
- export interface ClaimArgs {
196
- validatorStash: string;
197
- era: string;
198
- }
199
- /**
200
- * The types of proxies that can be setup and used
201
- * https://wiki.polkadot.network/docs/learn-proxies#proxy-types
202
- */
203
- export declare enum ProxyType {
204
- ANY = "Any",
205
- NON_TRANSFER = "NonTransfer",
206
- STAKING = "Staking",
207
- IDENTTITY_JUDGEMENT = "IdentityJudgement",
208
- CANCEL_PROXY = "CancelProxy"
209
- }
210
- /**
211
- * Transaction method specific args
212
- */
213
- export interface AddProxyArgs {
214
- delegate: string | AccountId;
215
- delay: string;
216
- proxyType: ProxyType;
217
- }
218
- /**
219
- * Transaction method specific args
220
- */
221
- export interface AddAnonymousProxyArgs {
222
- proxyType: ProxyType;
223
- index: string;
224
- delay: string;
225
- }
226
- /**
227
- * Transaction method specific args
228
- */
229
- export type BatchCallObject = {
230
- callIndex: string;
231
- args: Record<string, any> | AddProxyBatchCallArgs | AddAnonymousProxyBatchCallArgs | StakeBatchCallArgs | StakeMoreArgs | StakeMoreCallArgs | UnbondCallArgs;
232
- };
233
- export interface BatchArgs {
234
- calls: BatchCallObject[];
235
- }
236
- export interface AddAnonymousProxyBatchCallArgs {
237
- proxy_type: ProxyType;
238
- index: number;
239
- delay: number;
240
- }
241
- export interface AddProxyBatchCallArgs {
242
- delegate: string | AccountId;
243
- proxy_type: ProxyType;
244
- delay: number;
245
- }
246
- export type AccountId = {
247
- id: string;
248
- };
249
- export type StakeBatchCallPayeeStaked = {
250
- staked: null;
251
- };
252
- export type StakeBatchCallPayeeStash = {
253
- stash: null;
254
- };
255
- export type StakeBatchCallPayeeController = {
256
- controller: null;
257
- };
258
- export type StakeBatchCallPayeeAccount = {
259
- account: string;
260
- };
261
- export type StakeBatchCallPayee = StakeBatchCallPayeeStaked | StakeBatchCallPayeeStash | StakeBatchCallPayeeController | StakeBatchCallPayeeAccount;
262
- export interface StakeBatchCallArgs {
263
- value: string;
264
- controller?: {
265
- id: string;
266
- };
267
- payee: StakeBatchCallPayee;
268
- }
269
- export interface UnstakeBatchCallArgs {
270
- value: string;
271
- }
272
- export interface UnbondCallArgs {
273
- value: string;
274
- }
275
- /**
276
- * Transaction method specific args
277
- */
278
- export type ProxyCallArgs = {
279
- callIndex: string;
280
- args: TransferArgs;
281
- };
282
- /**
283
- * Transaction method specific args
284
- */
285
- export interface ProxyArgs {
286
- real: string | AccountId;
287
- forceProxyType: ProxyType;
288
- }
289
- /**
290
- * Decoded TxMethod from a transaction hex
291
- */
292
- export interface TxMethod {
293
- args: TransferArgs | TransferAllArgs | StakeArgs | StakeMoreArgs | AddProxyArgs | ProxyArgs | UnstakeArgs | AddAnonymousProxyArgs | BatchArgs | WithdrawUnstakedArgs | ClaimArgs;
294
- name: MethodNames;
295
- pallet: string;
296
- }
297
- /**
298
- * Modified unsigned transaction with a decoded method instead of a method hex
299
- */
300
- export interface DecodedTx extends Omit<DecodedUnsignedTx, 'method'> {
301
- method: TxMethod;
302
- }
303
- /**
304
- * Base transaction info shared across all types of transactions
305
- */
306
- export interface CreateBaseTxInfo {
307
- baseTxInfo: BaseTxInfo;
308
- options: {
309
- metadataRpc: `0x${string}`;
310
- registry: TypeRegistry;
311
- isImmortalEra?: boolean;
312
- };
313
- }
314
- export interface TransactionExplanation extends BaseTransactionExplanation {
315
- type: TransactionType;
316
- forceProxyType?: ProxyType;
317
- controller?: string;
318
- payee?: string;
319
- owner?: string;
320
- proxyType?: string;
321
- delay?: string;
322
- }
323
- export declare enum TransactionTypes {
324
- TRANSFER = "transfer",
325
- STAKING = "staking",
326
- ADDR_INIT = "addressInitialization",
327
- UNSTAKING = "unstaking"
328
- }
329
- export interface Material {
330
- genesisHash: string;
331
- chainName: string;
332
- specName: PolkadotSpecNameType;
333
- specVersion: number;
334
- txVersion: number;
335
- metadata: `0x${string}`;
1
+ import { Interface } from '@bitgo-beta/abstract-substrate';
2
+ export interface TransferStakeTxData extends Interface.TxData {
3
+ destinationColdkey: string;
4
+ hotkey: string;
5
+ originNetuid: string;
6
+ destinationNetuid: string;
7
+ alphaAmount: string;
8
+ }
9
+ export interface MoveStakeTxData extends Interface.TxData {
10
+ originHotkey: string;
11
+ destinationHotkey: string;
12
+ originNetuid: string;
13
+ destinationNetuid: string;
14
+ alphaAmount: string;
336
15
  }
337
16
  //# sourceMappingURL=iface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"iface.d.ts","sourceRoot":"","sources":["../../../src/lib/iface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,IAAI,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAC7G,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAElG,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD;;GAEG;AACH,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,oBAAY,WAAW;IACrB;;;;OAIG;IACH,QAAQ,aAAa;IACrB;;;;OAIG;IACH,WAAW,gBAAgB;IAC3B;;;;OAIG;IACH,KAAK,UAAU;IACf;;;;OAIG;IACH,IAAI,SAAS;IACb;;;;OAIG;IACH,SAAS,cAAc;IACvB;;;;OAIG;IACH,WAAW,gBAAgB;IAC3B;;;;OAIG;IACH,iBAAiB,sBAAsB;IACvC;;;;OAIG;IACH,MAAM,WAAW;IACjB;;;;;OAKG;IACH,SAAS,cAAc;IACvB;;;;OAIG;IACH,SAAS,eAAe,CAAE,iDAAiD;IAC3E;;;;OAIG;IACH,KAAK,UAAU;IACf;;;;OAIG;IACH,QAAQ,aAAa;IACrB;;;;OAIG;IACH,KAAK,UAAU;IACf;;;;OAIG;IACH,gBAAgB,qBAAqB;IACrC;;;;OAIG;IACH,aAAa,kBAAkB;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,E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