@bitgo-beta/sdk-coin-dot 2.2.8-beta.15 → 2.2.8-beta.151
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.
- package/CHANGELOG.md +326 -0
- package/dist/src/dot.d.ts +24 -19
- package/dist/src/dot.d.ts.map +1 -1
- package/dist/src/dot.js +264 -80
- package/dist/src/lib/batchTransactionBuilder.d.ts.map +1 -1
- package/dist/src/lib/batchTransactionBuilder.js +1 -2
- package/dist/src/lib/iface.d.ts +1 -1
- package/dist/src/lib/iface.d.ts.map +1 -1
- package/dist/src/lib/iface.js +1 -1
- package/dist/src/lib/nativeTransferBuilder.js +3 -3
- package/dist/src/lib/stakingBuilder.d.ts.map +1 -1
- package/dist/src/lib/stakingBuilder.js +3 -4
- package/dist/src/lib/transaction.js +2 -2
- package/dist/src/lib/txnSchema.js +2 -2
- package/dist/src/lib/utils.d.ts.map +1 -1
- package/dist/src/lib/utils.js +6 -8
- package/dist/src/resources/index.d.ts +3 -0
- package/dist/src/resources/index.d.ts.map +1 -0
- package/dist/src/resources/index.js +15 -0
- package/dist/src/resources/mainnet.d.ts +2 -0
- package/dist/src/resources/mainnet.d.ts.map +1 -0
- package/dist/src/resources/mainnet.js +5 -0
- package/dist/src/resources/westend.d.ts +2 -0
- package/dist/src/resources/westend.d.ts.map +1 -0
- package/dist/src/resources/westend.js +5 -0
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,332 @@
|
|
|
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
|
+
# [3.15.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.15.0) (2023-10-20)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
11
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
12
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
13
|
+
- **sdk-coin-dot:** fix dot createBroadcastableSweepTransaction method for arrays of txns ([def85f8](https://github.com/BitGo/BitGoJS/commit/def85f840c93770c10d3f935eedc9df6833d93a7))
|
|
14
|
+
- **sdk-coin-dot:** fix dot txns to account for existential deposit and fee ([cfff91c](https://github.com/BitGo/BitGoJS/commit/cfff91c5c689ebf272d94abe7100833ec43a018f))
|
|
15
|
+
- **sdk-coin-dot:** fix dot unsigned sweep consolidation recovery txn ([7c4a782](https://github.com/BitGo/BitGoJS/commit/7c4a782d2804343872390f66ebb829c41b6146fb))
|
|
16
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
17
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
- **sdk-coin-dot:** add consolidation method for dot recovery ([a88633e](https://github.com/BitGo/BitGoJS/commit/a88633e27bd7ae33ab475ccea3e9385bea80b306))
|
|
22
|
+
- **sdk-coin-dot:** add lastScanIndex for consolidation support ([3a4ce9f](https://github.com/BitGo/BitGoJS/commit/3a4ce9f0c6505032491ea453b5b34e182cf41da1))
|
|
23
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
24
|
+
- **sdk-coin-dot:** add unit test for dot unsigned sweep consolidation recovery ([7ea5107](https://github.com/BitGo/BitGoJS/commit/7ea51076a7226b4b29ff6a07fbd8259214776239))
|
|
25
|
+
- **sdk-coin-dot:** create function to produce broadcastable dot sweep ([ad9c9c4](https://github.com/BitGo/BitGoJS/commit/ad9c9c4cc79639a5745e82f62566afa6db2b8c6d))
|
|
26
|
+
- **sdk-coin-dot:** fix dot sweep recovery format for ovc signing ([d73271b](https://github.com/BitGo/BitGoJS/commit/d73271bfcb806d980cd09db3828805b1ece8689d))
|
|
27
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
28
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
29
|
+
- **sdk-coin-sol:** create method to produce broadcastable sol sweep txn ([d69ca4e](https://github.com/BitGo/BitGoJS/commit/d69ca4ea0688c4cf7c738ca826a9231438bb49c5))
|
|
30
|
+
|
|
31
|
+
# [3.14.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.14.0) (2023-10-18)
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
36
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
37
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
38
|
+
- **sdk-coin-dot:** fix dot createBroadcastableSweepTransaction method for arrays of txns ([def85f8](https://github.com/BitGo/BitGoJS/commit/def85f840c93770c10d3f935eedc9df6833d93a7))
|
|
39
|
+
- **sdk-coin-dot:** fix dot txns to account for existential deposit and fee ([cfff91c](https://github.com/BitGo/BitGoJS/commit/cfff91c5c689ebf272d94abe7100833ec43a018f))
|
|
40
|
+
- **sdk-coin-dot:** fix dot unsigned sweep consolidation recovery txn ([7c4a782](https://github.com/BitGo/BitGoJS/commit/7c4a782d2804343872390f66ebb829c41b6146fb))
|
|
41
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
42
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
- **sdk-coin-dot:** add consolidation method for dot recovery ([a88633e](https://github.com/BitGo/BitGoJS/commit/a88633e27bd7ae33ab475ccea3e9385bea80b306))
|
|
47
|
+
- **sdk-coin-dot:** add lastScanIndex for consolidation support ([3a4ce9f](https://github.com/BitGo/BitGoJS/commit/3a4ce9f0c6505032491ea453b5b34e182cf41da1))
|
|
48
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
49
|
+
- **sdk-coin-dot:** add unit test for dot unsigned sweep consolidation recovery ([7ea5107](https://github.com/BitGo/BitGoJS/commit/7ea51076a7226b4b29ff6a07fbd8259214776239))
|
|
50
|
+
- **sdk-coin-dot:** create function to produce broadcastable dot sweep ([ad9c9c4](https://github.com/BitGo/BitGoJS/commit/ad9c9c4cc79639a5745e82f62566afa6db2b8c6d))
|
|
51
|
+
- **sdk-coin-dot:** fix dot sweep recovery format for ovc signing ([d73271b](https://github.com/BitGo/BitGoJS/commit/d73271bfcb806d980cd09db3828805b1ece8689d))
|
|
52
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
53
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
54
|
+
- **sdk-coin-sol:** create method to produce broadcastable sol sweep txn ([d69ca4e](https://github.com/BitGo/BitGoJS/commit/d69ca4ea0688c4cf7c738ca826a9231438bb49c5))
|
|
55
|
+
|
|
56
|
+
# [3.13.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.13.0) (2023-09-25)
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
61
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
62
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
63
|
+
- **sdk-coin-dot:** fix dot createBroadcastableSweepTransaction method for arrays of txns ([def85f8](https://github.com/BitGo/BitGoJS/commit/def85f840c93770c10d3f935eedc9df6833d93a7))
|
|
64
|
+
- **sdk-coin-dot:** fix dot txns to account for existential deposit and fee ([cfff91c](https://github.com/BitGo/BitGoJS/commit/cfff91c5c689ebf272d94abe7100833ec43a018f))
|
|
65
|
+
- **sdk-coin-dot:** fix dot unsigned sweep consolidation recovery txn ([7c4a782](https://github.com/BitGo/BitGoJS/commit/7c4a782d2804343872390f66ebb829c41b6146fb))
|
|
66
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
67
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
68
|
+
|
|
69
|
+
### Features
|
|
70
|
+
|
|
71
|
+
- **sdk-coin-dot:** add consolidation method for dot recovery ([a88633e](https://github.com/BitGo/BitGoJS/commit/a88633e27bd7ae33ab475ccea3e9385bea80b306))
|
|
72
|
+
- **sdk-coin-dot:** add lastScanIndex for consolidation support ([3a4ce9f](https://github.com/BitGo/BitGoJS/commit/3a4ce9f0c6505032491ea453b5b34e182cf41da1))
|
|
73
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
74
|
+
- **sdk-coin-dot:** add unit test for dot unsigned sweep consolidation recovery ([7ea5107](https://github.com/BitGo/BitGoJS/commit/7ea51076a7226b4b29ff6a07fbd8259214776239))
|
|
75
|
+
- **sdk-coin-dot:** create function to produce broadcastable dot sweep ([ad9c9c4](https://github.com/BitGo/BitGoJS/commit/ad9c9c4cc79639a5745e82f62566afa6db2b8c6d))
|
|
76
|
+
- **sdk-coin-dot:** fix dot sweep recovery format for ovc signing ([d73271b](https://github.com/BitGo/BitGoJS/commit/d73271bfcb806d980cd09db3828805b1ece8689d))
|
|
77
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
78
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
79
|
+
- **sdk-coin-sol:** create method to produce broadcastable sol sweep txn ([d69ca4e](https://github.com/BitGo/BitGoJS/commit/d69ca4ea0688c4cf7c738ca826a9231438bb49c5))
|
|
80
|
+
|
|
81
|
+
## [3.12.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.12.0...@bitgo/sdk-coin-dot@3.12.1) (2023-09-11)
|
|
82
|
+
|
|
83
|
+
### Bug Fixes
|
|
84
|
+
|
|
85
|
+
- **sdk-coin-dot:** fix dot unsigned sweep consolidation recovery txn ([7c4a782](https://github.com/BitGo/BitGoJS/commit/7c4a782d2804343872390f66ebb829c41b6146fb))
|
|
86
|
+
|
|
87
|
+
# [3.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.12.0) (2023-09-09)
|
|
88
|
+
|
|
89
|
+
### Bug Fixes
|
|
90
|
+
|
|
91
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
92
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
93
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
94
|
+
- **sdk-coin-dot:** fix dot createBroadcastableSweepTransaction method for arrays of txns ([def85f8](https://github.com/BitGo/BitGoJS/commit/def85f840c93770c10d3f935eedc9df6833d93a7))
|
|
95
|
+
- **sdk-coin-dot:** fix dot txns to account for existential deposit and fee ([cfff91c](https://github.com/BitGo/BitGoJS/commit/cfff91c5c689ebf272d94abe7100833ec43a018f))
|
|
96
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
97
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
98
|
+
|
|
99
|
+
### Features
|
|
100
|
+
|
|
101
|
+
- **sdk-coin-dot:** add consolidation method for dot recovery ([a88633e](https://github.com/BitGo/BitGoJS/commit/a88633e27bd7ae33ab475ccea3e9385bea80b306))
|
|
102
|
+
- **sdk-coin-dot:** add lastScanIndex for consolidation support ([3a4ce9f](https://github.com/BitGo/BitGoJS/commit/3a4ce9f0c6505032491ea453b5b34e182cf41da1))
|
|
103
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
104
|
+
- **sdk-coin-dot:** create function to produce broadcastable dot sweep ([ad9c9c4](https://github.com/BitGo/BitGoJS/commit/ad9c9c4cc79639a5745e82f62566afa6db2b8c6d))
|
|
105
|
+
- **sdk-coin-dot:** fix dot sweep recovery format for ovc signing ([d73271b](https://github.com/BitGo/BitGoJS/commit/d73271bfcb806d980cd09db3828805b1ece8689d))
|
|
106
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
107
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
108
|
+
- **sdk-coin-sol:** create method to produce broadcastable sol sweep txn ([d69ca4e](https://github.com/BitGo/BitGoJS/commit/d69ca4ea0688c4cf7c738ca826a9231438bb49c5))
|
|
109
|
+
|
|
110
|
+
# [3.11.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.11.0) (2023-09-09)
|
|
111
|
+
|
|
112
|
+
### Bug Fixes
|
|
113
|
+
|
|
114
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
115
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
116
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
117
|
+
- **sdk-coin-dot:** fix dot createBroadcastableSweepTransaction method for arrays of txns ([def85f8](https://github.com/BitGo/BitGoJS/commit/def85f840c93770c10d3f935eedc9df6833d93a7))
|
|
118
|
+
- **sdk-coin-dot:** fix dot txns to account for existential deposit and fee ([cfff91c](https://github.com/BitGo/BitGoJS/commit/cfff91c5c689ebf272d94abe7100833ec43a018f))
|
|
119
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
120
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
- **sdk-coin-dot:** add consolidation method for dot recovery ([a88633e](https://github.com/BitGo/BitGoJS/commit/a88633e27bd7ae33ab475ccea3e9385bea80b306))
|
|
125
|
+
- **sdk-coin-dot:** add lastScanIndex for consolidation support ([3a4ce9f](https://github.com/BitGo/BitGoJS/commit/3a4ce9f0c6505032491ea453b5b34e182cf41da1))
|
|
126
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
127
|
+
- **sdk-coin-dot:** create function to produce broadcastable dot sweep ([ad9c9c4](https://github.com/BitGo/BitGoJS/commit/ad9c9c4cc79639a5745e82f62566afa6db2b8c6d))
|
|
128
|
+
- **sdk-coin-dot:** fix dot sweep recovery format for ovc signing ([d73271b](https://github.com/BitGo/BitGoJS/commit/d73271bfcb806d980cd09db3828805b1ece8689d))
|
|
129
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
130
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
131
|
+
- **sdk-coin-sol:** create method to produce broadcastable sol sweep txn ([d69ca4e](https://github.com/BitGo/BitGoJS/commit/d69ca4ea0688c4cf7c738ca826a9231438bb49c5))
|
|
132
|
+
|
|
133
|
+
# [3.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.10.0) (2023-09-07)
|
|
134
|
+
|
|
135
|
+
### Bug Fixes
|
|
136
|
+
|
|
137
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
138
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
139
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
140
|
+
- **sdk-coin-dot:** fix dot createBroadcastableSweepTransaction method for arrays of txns ([def85f8](https://github.com/BitGo/BitGoJS/commit/def85f840c93770c10d3f935eedc9df6833d93a7))
|
|
141
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
142
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
143
|
+
|
|
144
|
+
### Features
|
|
145
|
+
|
|
146
|
+
- **sdk-coin-dot:** add consolidation method for dot recovery ([a88633e](https://github.com/BitGo/BitGoJS/commit/a88633e27bd7ae33ab475ccea3e9385bea80b306))
|
|
147
|
+
- **sdk-coin-dot:** add lastScanIndex for consolidation support ([3a4ce9f](https://github.com/BitGo/BitGoJS/commit/3a4ce9f0c6505032491ea453b5b34e182cf41da1))
|
|
148
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
149
|
+
- **sdk-coin-dot:** create function to produce broadcastable dot sweep ([ad9c9c4](https://github.com/BitGo/BitGoJS/commit/ad9c9c4cc79639a5745e82f62566afa6db2b8c6d))
|
|
150
|
+
- **sdk-coin-dot:** fix dot sweep recovery format for ovc signing ([d73271b](https://github.com/BitGo/BitGoJS/commit/d73271bfcb806d980cd09db3828805b1ece8689d))
|
|
151
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
152
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
153
|
+
- **sdk-coin-sol:** create method to produce broadcastable sol sweep txn ([d69ca4e](https://github.com/BitGo/BitGoJS/commit/d69ca4ea0688c4cf7c738ca826a9231438bb49c5))
|
|
154
|
+
|
|
155
|
+
# [3.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.9.0) (2023-09-05)
|
|
156
|
+
|
|
157
|
+
### Bug Fixes
|
|
158
|
+
|
|
159
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
160
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
161
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
162
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
163
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
164
|
+
|
|
165
|
+
### Features
|
|
166
|
+
|
|
167
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
168
|
+
- **sdk-coin-dot:** create function to produce broadcastable dot sweep ([ad9c9c4](https://github.com/BitGo/BitGoJS/commit/ad9c9c4cc79639a5745e82f62566afa6db2b8c6d))
|
|
169
|
+
- **sdk-coin-dot:** fix dot sweep recovery format for ovc signing ([d73271b](https://github.com/BitGo/BitGoJS/commit/d73271bfcb806d980cd09db3828805b1ece8689d))
|
|
170
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
171
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
172
|
+
- **sdk-coin-sol:** create method to produce broadcastable sol sweep txn ([d69ca4e](https://github.com/BitGo/BitGoJS/commit/d69ca4ea0688c4cf7c738ca826a9231438bb49c5))
|
|
173
|
+
|
|
174
|
+
# [3.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.8.0) (2023-09-01)
|
|
175
|
+
|
|
176
|
+
### Bug Fixes
|
|
177
|
+
|
|
178
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
179
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
180
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
181
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
182
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
183
|
+
|
|
184
|
+
### Features
|
|
185
|
+
|
|
186
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
187
|
+
- **sdk-coin-dot:** create function to produce broadcastable dot sweep ([ad9c9c4](https://github.com/BitGo/BitGoJS/commit/ad9c9c4cc79639a5745e82f62566afa6db2b8c6d))
|
|
188
|
+
- **sdk-coin-dot:** fix dot sweep recovery format for ovc signing ([d73271b](https://github.com/BitGo/BitGoJS/commit/d73271bfcb806d980cd09db3828805b1ece8689d))
|
|
189
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
190
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
191
|
+
|
|
192
|
+
# [3.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.7.0) (2023-08-29)
|
|
193
|
+
|
|
194
|
+
### Bug Fixes
|
|
195
|
+
|
|
196
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
197
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
198
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
199
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
200
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
201
|
+
|
|
202
|
+
### Features
|
|
203
|
+
|
|
204
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
205
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
206
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
207
|
+
|
|
208
|
+
# [3.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.6.0) (2023-08-25)
|
|
209
|
+
|
|
210
|
+
### Bug Fixes
|
|
211
|
+
|
|
212
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
213
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
214
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
215
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
216
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
217
|
+
|
|
218
|
+
### Features
|
|
219
|
+
|
|
220
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
221
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
222
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
223
|
+
|
|
224
|
+
# [3.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.5.0) (2023-08-24)
|
|
225
|
+
|
|
226
|
+
### Bug Fixes
|
|
227
|
+
|
|
228
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
229
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
230
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
231
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
232
|
+
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
|
|
233
|
+
|
|
234
|
+
### Features
|
|
235
|
+
|
|
236
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
237
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
238
|
+
- **sdk-coin-dot:** return ovc compatible format for dot sweep txns ([748f40c](https://github.com/BitGo/BitGoJS/commit/748f40c044fb047639b9e8a0ecab30c4692523b0))
|
|
239
|
+
|
|
240
|
+
# [3.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.4.0) (2023-08-16)
|
|
241
|
+
|
|
242
|
+
### Bug Fixes
|
|
243
|
+
|
|
244
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
245
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
246
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
247
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
248
|
+
|
|
249
|
+
### Features
|
|
250
|
+
|
|
251
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
252
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
253
|
+
|
|
254
|
+
# [3.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.2.0...@bitgo/sdk-coin-dot@3.3.0) (2023-08-16)
|
|
255
|
+
|
|
256
|
+
### Bug Fixes
|
|
257
|
+
|
|
258
|
+
- **sdk-coin-dot:** add logging to troublshoot DOT staking ([902558a](https://github.com/BitGo/BitGoJS/commit/902558a24c93ca8e7977bdbb370a24098aea775b))
|
|
259
|
+
- **sdk-coin-dot:** add logs to debug dot staking txn build failure ([eb929e3](https://github.com/BitGo/BitGoJS/commit/eb929e351a2330e820360c54541943ad67ba15eb))
|
|
260
|
+
- **sdk-coin-dot:** add more logs to debug Dot staking issue ([ccb9914](https://github.com/BitGo/BitGoJS/commit/ccb99143b7b1b875c7d81ebf3a90b966ab1cef8e))
|
|
261
|
+
- **sdk-coin-dot:** make controller optional for bond call ([a6f6a0d](https://github.com/BitGo/BitGoJS/commit/a6f6a0d96afdb663a7a096c4eb2caf9ca1649d63))
|
|
262
|
+
|
|
263
|
+
### Features
|
|
264
|
+
|
|
265
|
+
- **sdk-coin-dot:** add logs to debug DOT staking issue ([33c1a9c](https://github.com/BitGo/BitGoJS/commit/33c1a9c2d7051481f1afb993376a18d421170aa0))
|
|
266
|
+
- **sdk-coin-dot:** remove DOT console debug logging ([d4aad05](https://github.com/BitGo/BitGoJS/commit/d4aad0509a14bc0a89e8af7435353621044a1100))
|
|
267
|
+
|
|
268
|
+
# [3.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.0.3...@bitgo/sdk-coin-dot@3.2.0) (2023-08-04)
|
|
269
|
+
|
|
270
|
+
### Features
|
|
271
|
+
|
|
272
|
+
- **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
|
|
273
|
+
- **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
|
|
274
|
+
|
|
275
|
+
# [3.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.0.3...@bitgo/sdk-coin-dot@3.1.0) (2023-07-28)
|
|
276
|
+
|
|
277
|
+
### Features
|
|
278
|
+
|
|
279
|
+
- **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
|
|
280
|
+
- **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
|
|
281
|
+
|
|
282
|
+
## [3.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.0.2...@bitgo/sdk-coin-dot@3.0.3) (2023-07-18)
|
|
283
|
+
|
|
284
|
+
### Bug Fixes
|
|
285
|
+
|
|
286
|
+
- **sdk-core:** fix uploading unsigned sweep tx for sol, dot and ada ([ea85586](https://github.com/BitGo/BitGoJS/commit/ea855868adb781cbfdc73e92a81f9540b0d75c3b))
|
|
287
|
+
|
|
288
|
+
## [3.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.0.1...@bitgo/sdk-coin-dot@3.0.2) (2023-06-21)
|
|
289
|
+
|
|
290
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-dot
|
|
291
|
+
|
|
292
|
+
## [3.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@3.0.0...@bitgo/sdk-coin-dot@3.0.1) (2023-06-14)
|
|
293
|
+
|
|
294
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-dot
|
|
295
|
+
|
|
296
|
+
# [3.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@2.3.2...@bitgo/sdk-coin-dot@3.0.0) (2023-06-13)
|
|
297
|
+
|
|
298
|
+
### chore
|
|
299
|
+
|
|
300
|
+
- **statics:** refactor metadatarpc out ([f64607d](https://github.com/BitGo/BitGoJS/commit/f64607d35084fd783a82d9254447a9ea84bc2c6e))
|
|
301
|
+
|
|
302
|
+
### BREAKING CHANGES
|
|
303
|
+
|
|
304
|
+
- **statics:** metadatarpc no longer defined in statics
|
|
305
|
+
|
|
306
|
+
## [2.3.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@2.3.1...@bitgo/sdk-coin-dot@2.3.2) (2023-06-07)
|
|
307
|
+
|
|
308
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-dot
|
|
309
|
+
|
|
310
|
+
## [2.3.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@2.3.0...@bitgo/sdk-coin-dot@2.3.1) (2023-06-05)
|
|
311
|
+
|
|
312
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-dot
|
|
313
|
+
|
|
314
|
+
# [2.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@2.2.10...@bitgo/sdk-coin-dot@2.3.0) (2023-05-25)
|
|
315
|
+
|
|
316
|
+
### Features
|
|
317
|
+
|
|
318
|
+
- **root:** implement eddsa signing with commitment ([d67ac81](https://github.com/BitGo/BitGoJS/commit/d67ac81f5b77451de1e03eba3c93a9b0e11e7b7c))
|
|
319
|
+
|
|
320
|
+
## [2.2.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@2.2.9...@bitgo/sdk-coin-dot@2.2.10) (2023-05-17)
|
|
321
|
+
|
|
322
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-dot
|
|
323
|
+
|
|
324
|
+
## [2.2.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@2.2.8...@bitgo/sdk-coin-dot@2.2.9) (2023-05-10)
|
|
325
|
+
|
|
326
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-dot
|
|
327
|
+
|
|
328
|
+
## [2.2.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@2.2.7...@bitgo/sdk-coin-dot@2.2.8) (2023-05-03)
|
|
329
|
+
|
|
330
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-dot
|
|
331
|
+
|
|
6
332
|
## [2.2.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-dot@2.2.6...@bitgo/sdk-coin-dot@2.2.7) (2023-04-25)
|
|
7
333
|
|
|
8
334
|
**Note:** Version bump only for package @bitgo/sdk-coin-dot
|
package/dist/src/dot.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { BaseCoin, BitGoBase, Eddsa, ExplanationResult, KeyPair, MPCAlgorithm, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions as BaseSignTransactionOptions, UnsignedTransaction, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
|
|
2
|
+
import { BaseCoin, BitGoBase, Eddsa, ExplanationResult, KeyPair, MPCAlgorithm, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions as BaseSignTransactionOptions, UnsignedTransaction, VerifyAddressOptions, VerifyTransactionOptions, MPCTx, MPCRecoveryOptions, MPCConsolidationRecoveryOptions, MPCSweepTxs, MPCSweepRecoveryOptions, MPCTxs } from '@bitgo-beta/sdk-core';
|
|
3
3
|
import { BaseCoin as StaticsBaseCoin } from '@bitgo-beta/statics';
|
|
4
4
|
import { Interface } from './lib';
|
|
5
5
|
import { ApiPromise } from '@polkadot/api';
|
|
6
6
|
import { Material } from './lib/iface';
|
|
7
|
+
export declare const DEFAULT_SCAN_FACTOR = 20;
|
|
7
8
|
export interface SignTransactionOptions extends BaseSignTransactionOptions {
|
|
8
9
|
txPrebuild: TransactionPrebuild;
|
|
9
10
|
prv: string;
|
|
@@ -23,20 +24,6 @@ export interface VerifiedTransactionParameters {
|
|
|
23
24
|
txHex: string;
|
|
24
25
|
prv: string;
|
|
25
26
|
}
|
|
26
|
-
interface RecoveryOptions {
|
|
27
|
-
userKey?: string;
|
|
28
|
-
backupKey?: string;
|
|
29
|
-
bitgoKey: string;
|
|
30
|
-
recoveryDestination: string;
|
|
31
|
-
krsProvider?: string;
|
|
32
|
-
walletPassphrase?: string;
|
|
33
|
-
startingScanIndex?: number;
|
|
34
|
-
scan?: number;
|
|
35
|
-
}
|
|
36
|
-
interface DotTx {
|
|
37
|
-
serializedTx: string;
|
|
38
|
-
scanIndex: number;
|
|
39
|
-
}
|
|
40
27
|
export declare class Dot extends BaseCoin {
|
|
41
28
|
protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
|
|
42
29
|
readonly MAX_VALIDITY_DURATION = 2400;
|
|
@@ -136,18 +123,36 @@ export declare class Dot extends BaseCoin {
|
|
|
136
123
|
protected getMaterial(): Promise<Material>;
|
|
137
124
|
/**
|
|
138
125
|
* Builds a funds recovery transaction without BitGo
|
|
139
|
-
* @param {
|
|
126
|
+
* @param {MPCRecoveryOptions} params parameters needed to construct and
|
|
140
127
|
* (maybe) sign the transaction
|
|
141
128
|
*
|
|
142
|
-
* @returns {
|
|
129
|
+
* @returns {MPCTx} the serialized transaction hex string and index
|
|
143
130
|
* of the address being swept
|
|
144
131
|
*/
|
|
145
|
-
recover(params:
|
|
132
|
+
recover(params: MPCRecoveryOptions): Promise<MPCTx | MPCSweepTxs>;
|
|
133
|
+
/**
|
|
134
|
+
* Builds native DOT recoveries of receive addresses in batch without BitGo.
|
|
135
|
+
* Funds will be recovered to base address first. You need to initiate another sweep txn after that.
|
|
136
|
+
*
|
|
137
|
+
* @param {MPCConsolidationRecoveryOptions} params - options for consolidation recovery.
|
|
138
|
+
* @param {string} [params.startingScanIndex] - receive address index to start scanning from. default to 1 (inclusive).
|
|
139
|
+
* @param {string} [params.endingScanIndex] - receive address index to end scanning at. default to startingScanIndex + 20 (exclusive).
|
|
140
|
+
*/
|
|
141
|
+
recoverConsolidations(params: MPCConsolidationRecoveryOptions): Promise<MPCTxs | MPCSweepTxs>;
|
|
142
|
+
/**
|
|
143
|
+
* Creates funds sweep recovery transaction(s) without BitGo
|
|
144
|
+
*
|
|
145
|
+
* @param {MPCSweepRecoveryOptions} params parameters needed to combine the signatures
|
|
146
|
+
* and transactions to create broadcastable transactions
|
|
147
|
+
*
|
|
148
|
+
* @returns {MPCTx[]} array of the serialized transaction hex strings and indices
|
|
149
|
+
* of the addresses being swept
|
|
150
|
+
*/
|
|
151
|
+
createBroadcastableSweepTransaction(params: MPCSweepRecoveryOptions): Promise<MPCTxs>;
|
|
146
152
|
parseTransaction(params: ParseTransactionOptions): Promise<ParsedTransaction>;
|
|
147
153
|
isWalletAddress(params: VerifyAddressOptions): Promise<boolean>;
|
|
148
154
|
verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
|
|
149
155
|
getAddressFromPublicKey(Pubkey: string): string;
|
|
150
156
|
private getBuilder;
|
|
151
157
|
}
|
|
152
|
-
export {};
|
|
153
158
|
//# sourceMappingURL=dot.d.ts.map
|
package/dist/src/dot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dot.d.ts","sourceRoot":"","sources":["../../src/dot.ts"],"names":[],"mappings":";AACA,OAAO,EACL,QAAQ,EACR,SAAS,EAET,KAAK,EAEL,iBAAiB,EACjB,OAAO,EAEP,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,IAAI,0BAA0B,EACpD,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"dot.d.ts","sourceRoot":"","sources":["../../src/dot.ts"],"names":[],"mappings":"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"}
|