@bitgo-beta/sdk-coin-eth 4.4.1-beta.2 → 4.4.1-beta.200

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 (64) hide show
  1. package/CHANGELOG.md +542 -0
  2. package/dist/src/erc20Token.d.ts +12 -4
  3. package/dist/src/erc20Token.d.ts.map +1 -1
  4. package/dist/src/erc20Token.js +20 -3
  5. package/dist/src/eth.d.ts +20 -534
  6. package/dist/src/eth.d.ts.map +1 -1
  7. package/dist/src/eth.js +180 -1620
  8. package/dist/src/gteth.d.ts +0 -4
  9. package/dist/src/gteth.d.ts.map +1 -1
  10. package/dist/src/gteth.js +1 -11
  11. package/dist/src/hteth.d.ts +8 -0
  12. package/dist/src/hteth.d.ts.map +1 -0
  13. package/dist/src/hteth.js +14 -0
  14. package/dist/src/index.d.ts +1 -0
  15. package/dist/src/index.d.ts.map +1 -1
  16. package/dist/src/index.js +2 -1
  17. package/dist/src/lib/index.d.ts +4 -13
  18. package/dist/src/lib/index.d.ts.map +1 -1
  19. package/dist/src/lib/index.js +12 -29
  20. package/dist/src/lib/transactionBuilder.d.ts +3 -212
  21. package/dist/src/lib/transactionBuilder.d.ts.map +1 -1
  22. package/dist/src/lib/transactionBuilder.js +10 -675
  23. package/dist/src/lib/transferBuilder.d.ts +2 -50
  24. package/dist/src/lib/transferBuilder.d.ts.map +1 -1
  25. package/dist/src/lib/transferBuilder.js +3 -199
  26. package/dist/src/lib/transferBuilders/index.d.ts +2 -3
  27. package/dist/src/lib/transferBuilders/index.d.ts.map +1 -1
  28. package/dist/src/lib/transferBuilders/index.js +6 -14
  29. package/dist/src/lib/walletUtil.d.ts +0 -25
  30. package/dist/src/lib/walletUtil.d.ts.map +1 -1
  31. package/dist/src/lib/walletUtil.js +2 -27
  32. package/dist/src/register.d.ts.map +1 -1
  33. package/dist/src/register.js +3 -1
  34. package/dist/src/teth.d.ts +0 -3
  35. package/dist/src/teth.d.ts.map +1 -1
  36. package/dist/src/teth.js +1 -8
  37. package/package.json +10 -15
  38. package/dist/src/lib/contractCall.d.ts +0 -8
  39. package/dist/src/lib/contractCall.d.ts.map +0 -1
  40. package/dist/src/lib/contractCall.js +0 -17
  41. package/dist/src/lib/iface.d.ts +0 -130
  42. package/dist/src/lib/iface.d.ts.map +0 -1
  43. package/dist/src/lib/iface.js +0 -8
  44. package/dist/src/lib/keyPair.d.ts +0 -26
  45. package/dist/src/lib/keyPair.d.ts.map +0 -1
  46. package/dist/src/lib/keyPair.js +0 -66
  47. package/dist/src/lib/transaction.d.ts +0 -64
  48. package/dist/src/lib/transaction.d.ts.map +0 -1
  49. package/dist/src/lib/transaction.js +0 -137
  50. package/dist/src/lib/transferBuilders/baseNFTTransferBuilder.d.ts +0 -47
  51. package/dist/src/lib/transferBuilders/baseNFTTransferBuilder.d.ts.map +0 -1
  52. package/dist/src/lib/transferBuilders/baseNFTTransferBuilder.js +0 -113
  53. package/dist/src/lib/transferBuilders/transferBuilderERC1155.d.ts +0 -14
  54. package/dist/src/lib/transferBuilders/transferBuilderERC1155.d.ts.map +0 -1
  55. package/dist/src/lib/transferBuilders/transferBuilderERC1155.js +0 -83
  56. package/dist/src/lib/transferBuilders/transferBuilderERC721.d.ts +0 -13
  57. package/dist/src/lib/transferBuilders/transferBuilderERC721.d.ts.map +0 -1
  58. package/dist/src/lib/transferBuilders/transferBuilderERC721.js +0 -68
  59. package/dist/src/lib/types.d.ts +0 -39
  60. package/dist/src/lib/types.d.ts.map +0 -1
  61. package/dist/src/lib/types.js +0 -137
  62. package/dist/src/lib/utils.d.ts +0 -227
  63. package/dist/src/lib/utils.d.ts.map +0 -1
  64. package/dist/src/lib/utils.js +0 -577
package/CHANGELOG.md CHANGED
@@ -3,6 +3,548 @@
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
+ # [12.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@12.0.0) (2023-12-09)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
11
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
12
+
13
+ ### Code Refactoring
14
+
15
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
16
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
17
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
18
+
19
+ ### Features
20
+
21
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
22
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
23
+
24
+ ### BREAKING CHANGES
25
+
26
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
27
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
28
+ getCustomChainName method is removed from Polygon class because a common
29
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
30
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
31
+ and needs to be passed to derive the Eth common object from the chainId.
32
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
33
+ it can be used for other EthLike coins. getBaseFactor method in Eth
34
+ and Polygon class returns number instead of string just to align with
35
+ AbstractEthLikeCoin
36
+ Ticket: WIN-1012
37
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
38
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
39
+ getCustomChainName method is removed from Polygon class because a common
40
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
41
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
42
+ and needs to be passed to derive the Eth common object from the chainId.
43
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
44
+ it can be used for other EthLike coins. getBaseFactor method in Eth
45
+ and Polygon class returns number instead of string just to align with
46
+ AbstractEthLikeCoin
47
+ Ticket: WIN-1012
48
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
49
+ class in abstract-eth module because TransactionBuilder in the
50
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
51
+ be added to the class that will inherit EthLikeToken class
52
+
53
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
54
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
55
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
56
+ support for hop transactions, batch transactions, etc
57
+
58
+ TICKET: WIN-1021
59
+
60
+ # [11.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@11.0.0) (2023-12-05)
61
+
62
+ ### Bug Fixes
63
+
64
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
65
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
66
+
67
+ ### Code Refactoring
68
+
69
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
70
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
71
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
72
+
73
+ ### Features
74
+
75
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
76
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
77
+
78
+ ### BREAKING CHANGES
79
+
80
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
81
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
82
+ getCustomChainName method is removed from Polygon class because a common
83
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
84
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
85
+ and needs to be passed to derive the Eth common object from the chainId.
86
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
87
+ it can be used for other EthLike coins. getBaseFactor method in Eth
88
+ and Polygon class returns number instead of string just to align with
89
+ AbstractEthLikeCoin
90
+ Ticket: WIN-1012
91
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
92
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
93
+ getCustomChainName method is removed from Polygon class because a common
94
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
95
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
96
+ and needs to be passed to derive the Eth common object from the chainId.
97
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
98
+ it can be used for other EthLike coins. getBaseFactor method in Eth
99
+ and Polygon class returns number instead of string just to align with
100
+ AbstractEthLikeCoin
101
+ Ticket: WIN-1012
102
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
103
+ class in abstract-eth module because TransactionBuilder in the
104
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
105
+ be added to the class that will inherit EthLikeToken class
106
+
107
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
108
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
109
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
110
+ support for hop transactions, batch transactions, etc
111
+
112
+ TICKET: WIN-1021
113
+
114
+ # [10.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@10.0.0) (2023-11-28)
115
+
116
+ ### Bug Fixes
117
+
118
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
119
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
120
+
121
+ ### Code Refactoring
122
+
123
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
124
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
125
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
126
+
127
+ ### Features
128
+
129
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
130
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
131
+
132
+ ### BREAKING CHANGES
133
+
134
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
135
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
136
+ getCustomChainName method is removed from Polygon class because a common
137
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
138
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
139
+ and needs to be passed to derive the Eth common object from the chainId.
140
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
141
+ it can be used for other EthLike coins. getBaseFactor method in Eth
142
+ and Polygon class returns number instead of string just to align with
143
+ AbstractEthLikeCoin
144
+ Ticket: WIN-1012
145
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
146
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
147
+ getCustomChainName method is removed from Polygon class because a common
148
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
149
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
150
+ and needs to be passed to derive the Eth common object from the chainId.
151
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
152
+ it can be used for other EthLike coins. getBaseFactor method in Eth
153
+ and Polygon class returns number instead of string just to align with
154
+ AbstractEthLikeCoin
155
+ Ticket: WIN-1012
156
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
157
+ class in abstract-eth module because TransactionBuilder in the
158
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
159
+ be added to the class that will inherit EthLikeToken class
160
+
161
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
162
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
163
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
164
+ support for hop transactions, batch transactions, etc
165
+
166
+ TICKET: WIN-1021
167
+
168
+ # [9.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@9.0.0) (2023-11-24)
169
+
170
+ ### Bug Fixes
171
+
172
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
173
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
174
+
175
+ ### Code Refactoring
176
+
177
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
178
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
179
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
180
+
181
+ ### Features
182
+
183
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
184
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
185
+
186
+ ### BREAKING CHANGES
187
+
188
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
189
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
190
+ getCustomChainName method is removed from Polygon class because a common
191
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
192
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
193
+ and needs to be passed to derive the Eth common object from the chainId.
194
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
195
+ it can be used for other EthLike coins. getBaseFactor method in Eth
196
+ and Polygon class returns number instead of string just to align with
197
+ AbstractEthLikeCoin
198
+ Ticket: WIN-1012
199
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
200
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
201
+ getCustomChainName method is removed from Polygon class because a common
202
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
203
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
204
+ and needs to be passed to derive the Eth common object from the chainId.
205
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
206
+ it can be used for other EthLike coins. getBaseFactor method in Eth
207
+ and Polygon class returns number instead of string just to align with
208
+ AbstractEthLikeCoin
209
+ Ticket: WIN-1012
210
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
211
+ class in abstract-eth module because TransactionBuilder in the
212
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
213
+ be added to the class that will inherit EthLikeToken class
214
+
215
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
216
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
217
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
218
+ support for hop transactions, batch transactions, etc
219
+
220
+ TICKET: WIN-1021
221
+
222
+ # [8.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@8.0.0) (2023-11-17)
223
+
224
+ ### Bug Fixes
225
+
226
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
227
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
228
+
229
+ ### Code Refactoring
230
+
231
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
232
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
233
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
234
+
235
+ ### Features
236
+
237
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
238
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
239
+
240
+ ### BREAKING CHANGES
241
+
242
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
243
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
244
+ getCustomChainName method is removed from Polygon class because a common
245
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
246
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
247
+ and needs to be passed to derive the Eth common object from the chainId.
248
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
249
+ it can be used for other EthLike coins. getBaseFactor method in Eth
250
+ and Polygon class returns number instead of string just to align with
251
+ AbstractEthLikeCoin
252
+ Ticket: WIN-1012
253
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
254
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
255
+ getCustomChainName method is removed from Polygon class because a common
256
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
257
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
258
+ and needs to be passed to derive the Eth common object from the chainId.
259
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
260
+ it can be used for other EthLike coins. getBaseFactor method in Eth
261
+ and Polygon class returns number instead of string just to align with
262
+ AbstractEthLikeCoin
263
+ Ticket: WIN-1012
264
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
265
+ class in abstract-eth module because TransactionBuilder in the
266
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
267
+ be added to the class that will inherit EthLikeToken class
268
+
269
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
270
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
271
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
272
+ support for hop transactions, batch transactions, etc
273
+
274
+ TICKET: WIN-1021
275
+
276
+ # [7.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@7.0.0) (2023-11-13)
277
+
278
+ ### Bug Fixes
279
+
280
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
281
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
282
+
283
+ ### Code Refactoring
284
+
285
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
286
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
287
+
288
+ ### Features
289
+
290
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
291
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
292
+
293
+ ### BREAKING CHANGES
294
+
295
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
296
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
297
+ getCustomChainName method is removed from Polygon class because a common
298
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
299
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
300
+ and needs to be passed to derive the Eth common object from the chainId.
301
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
302
+ it can be used for other EthLike coins. getBaseFactor method in Eth
303
+ and Polygon class returns number instead of string just to align with
304
+ AbstractEthLikeCoin
305
+ Ticket: WIN-1012
306
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
307
+ class in abstract-eth module because TransactionBuilder in the
308
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
309
+ be added to the class that will inherit EthLikeToken class
310
+
311
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
312
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
313
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
314
+ support for hop transactions, batch transactions, etc
315
+
316
+ TICKET: WIN-1021
317
+
318
+ # [6.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@6.0.0) (2023-11-13)
319
+
320
+ ### Bug Fixes
321
+
322
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
323
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
324
+
325
+ ### Code Refactoring
326
+
327
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
328
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
329
+
330
+ ### Features
331
+
332
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
333
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
334
+
335
+ ### BREAKING CHANGES
336
+
337
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
338
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
339
+ getCustomChainName method is removed from Polygon class because a common
340
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
341
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
342
+ and needs to be passed to derive the Eth common object from the chainId.
343
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
344
+ it can be used for other EthLike coins. getBaseFactor method in Eth
345
+ and Polygon class returns number instead of string just to align with
346
+ AbstractEthLikeCoin
347
+ Ticket: WIN-1012
348
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
349
+ class in abstract-eth module because TransactionBuilder in the
350
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
351
+ be added to the class that will inherit EthLikeToken class
352
+
353
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
354
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
355
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
356
+ support for hop transactions, batch transactions, etc
357
+
358
+ TICKET: WIN-1021
359
+
360
+ # [5.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@5.0.0) (2023-11-13)
361
+
362
+ ### Bug Fixes
363
+
364
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
365
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
366
+
367
+ ### Code Refactoring
368
+
369
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
370
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
371
+
372
+ ### Features
373
+
374
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
375
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
376
+
377
+ ### BREAKING CHANGES
378
+
379
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
380
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
381
+ getCustomChainName method is removed from Polygon class because a common
382
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
383
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
384
+ and needs to be passed to derive the Eth common object from the chainId.
385
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
386
+ it can be used for other EthLike coins. getBaseFactor method in Eth
387
+ and Polygon class returns number instead of string just to align with
388
+ AbstractEthLikeCoin
389
+ Ticket: WIN-1012
390
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
391
+ class in abstract-eth module because TransactionBuilder in the
392
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
393
+ be added to the class that will inherit EthLikeToken class
394
+
395
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
396
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
397
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
398
+ support for hop transactions, batch transactions, etc
399
+
400
+ TICKET: WIN-1021
401
+
402
+ # [4.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.10.0) (2023-10-20)
403
+
404
+ ### Bug Fixes
405
+
406
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
407
+
408
+ ### Features
409
+
410
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
411
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
412
+
413
+ # [4.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.9.0) (2023-10-18)
414
+
415
+ ### Bug Fixes
416
+
417
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
418
+
419
+ ### Features
420
+
421
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
422
+
423
+ # [4.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.8.0) (2023-09-25)
424
+
425
+ ### Bug Fixes
426
+
427
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
428
+
429
+ ### Features
430
+
431
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
432
+
433
+ ## [4.7.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.10) (2023-09-09)
434
+
435
+ ### Bug Fixes
436
+
437
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
438
+
439
+ ## [4.7.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.9) (2023-09-09)
440
+
441
+ ### Bug Fixes
442
+
443
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
444
+
445
+ ## [4.7.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.8) (2023-09-07)
446
+
447
+ ### Bug Fixes
448
+
449
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
450
+
451
+ ## [4.7.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.7) (2023-09-05)
452
+
453
+ ### Bug Fixes
454
+
455
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
456
+
457
+ ## [4.7.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.6) (2023-09-01)
458
+
459
+ ### Bug Fixes
460
+
461
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
462
+
463
+ ## [4.7.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.5) (2023-08-29)
464
+
465
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
466
+
467
+ ## [4.7.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.4) (2023-08-25)
468
+
469
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
470
+
471
+ ## [4.7.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.3) (2023-08-24)
472
+
473
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
474
+
475
+ ## [4.7.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.2) (2023-08-16)
476
+
477
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
478
+
479
+ ## [4.7.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.7.1) (2023-08-16)
480
+
481
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
482
+
483
+ # [4.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.5.5...@bitgo/sdk-coin-eth@4.7.0) (2023-08-04)
484
+
485
+ ### Features
486
+
487
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
488
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
489
+
490
+ # [4.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.5.5...@bitgo/sdk-coin-eth@4.6.0) (2023-07-28)
491
+
492
+ ### Features
493
+
494
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
495
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
496
+
497
+ ## [4.5.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.5.4...@bitgo/sdk-coin-eth@4.5.5) (2023-07-18)
498
+
499
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
500
+
501
+ ## [4.5.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.5.3...@bitgo/sdk-coin-eth@4.5.4) (2023-06-21)
502
+
503
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
504
+
505
+ ## [4.5.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.5.2...@bitgo/sdk-coin-eth@4.5.3) (2023-06-14)
506
+
507
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
508
+
509
+ ## [4.5.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.5.1...@bitgo/sdk-coin-eth@4.5.2) (2023-06-13)
510
+
511
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
512
+
513
+ ## [4.5.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.5.0...@bitgo/sdk-coin-eth@4.5.1) (2023-06-07)
514
+
515
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
516
+
517
+ # [4.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.4.4...@bitgo/sdk-coin-eth@4.5.0) (2023-06-05)
518
+
519
+ ### Bug Fixes
520
+
521
+ - **root:** update module deps ([98e0945](https://github.com/BitGo/BitGoJS/commit/98e09451f3ead6a0dd7c3aa3df62f8d000ba2f0e))
522
+
523
+ ### Features
524
+
525
+ - **sdk-core:** paillier proof user<>backup ([8c0a381](https://github.com/BitGo/BitGoJS/commit/8c0a381318be2088572e06e34c3627323d7bfe38))
526
+ - **sdk-core:** refactor signConvert to steps ([94e2cae](https://github.com/BitGo/BitGoJS/commit/94e2cae6e1292a4e9684c3c2ab7141221137d52e))
527
+ - **sdk-core:** simplify mpc.appendChallenge ([67bee8f](https://github.com/BitGo/BitGoJS/commit/67bee8f1b4f37cd12d6d14ea4d51ddcfde679563))
528
+ - **sdk-lib-mpc:** make rangeProof challenges mandatory for appendChallenge ([1f68b30](https://github.com/BitGo/BitGoJS/commit/1f68b30676966720cb1a42c039e35d3ddeea4974))
529
+
530
+ ## [4.4.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.4.3...@bitgo/sdk-coin-eth@4.4.4) (2023-05-25)
531
+
532
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
533
+
534
+ ## [4.4.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.4.2...@bitgo/sdk-coin-eth@4.4.3) (2023-05-17)
535
+
536
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
537
+
538
+ ## [4.4.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.4.1...@bitgo/sdk-coin-eth@4.4.2) (2023-05-10)
539
+
540
+ ### Bug Fixes
541
+
542
+ - **sdk-coin-eth:** fix eth multisig recoveries ([6e49792](https://github.com/BitGo/BitGoJS/commit/6e49792bfdb670a9e10dad10df932767b8ac6cdd))
543
+
544
+ ## [4.4.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.4.0...@bitgo/sdk-coin-eth@4.4.1) (2023-05-03)
545
+
546
+ **Note:** Version bump only for package @bitgo/sdk-coin-eth
547
+
6
548
  # [4.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.3.1...@bitgo/sdk-coin-eth@4.4.0) (2023-04-25)
7
549
 
8
550
  ### Features
@@ -1,13 +1,16 @@
1
1
  /**
2
2
  * @prettier
3
3
  */
4
- import { BitGoBase, CoinConstructor, NamedCoinConstructor } from '@bitgo-beta/sdk-core';
5
- import { Erc20TokenConfig } from '@bitgo-beta/statics';
4
+ import { BitGoBase, CoinConstructor, MPCAlgorithm, NamedCoinConstructor } from '@bitgo-beta/sdk-core';
5
+ import { EthLikeTokenConfig, Erc20TokenConfig } from '@bitgo-beta/statics';
6
+ import { CoinNames } from '@bitgo-beta/abstract-eth';
6
7
  import { Eth, RecoverOptions, RecoveryInfo, TransactionPrebuild } from './eth';
8
+ import { TransactionBuilder } from './lib';
7
9
  export { Erc20TokenConfig };
8
10
  export declare class Erc20Token extends Eth {
9
- readonly tokenConfig: Erc20TokenConfig;
11
+ readonly tokenConfig: EthLikeTokenConfig;
10
12
  protected readonly sendMethodName: 'sendMultiSig' | 'sendMultiSigToken';
13
+ static coinNames: CoinNames;
11
14
  constructor(bitgo: BitGoBase, tokenConfig: Erc20TokenConfig);
12
15
  static createTokenConstructor(config: Erc20TokenConfig): CoinConstructor;
13
16
  static createTokenConstructors(): NamedCoinConstructor[];
@@ -19,7 +22,7 @@ export declare class Erc20Token extends Eth {
19
22
  get decimalPlaces(): number;
20
23
  getChain(): string;
21
24
  getFullName(): string;
22
- getBaseFactor(): string;
25
+ getBaseFactor(): number;
23
26
  /**
24
27
  * Flag for sending value of 0
25
28
  * @returns {boolean} True if okay to send 0 value, false otherwise
@@ -30,6 +33,11 @@ export declare class Erc20Token extends Eth {
30
33
  * @returns {boolean} True if okay to send tx data (ETH), false otherwise
31
34
  */
32
35
  transactionDataAllowed(): boolean;
36
+ /** @inheritDoc */
37
+ supportsTss(): boolean;
38
+ /** @inheritDoc */
39
+ getMPCAlgorithm(): MPCAlgorithm;
40
+ protected getTransactionBuilder(): TransactionBuilder;
33
41
  /**
34
42
  * Builds a token recovery transaction without BitGo
35
43
  * @param params
@@ -1 +1 @@
1
- {"version":3,"file":"erc20Token.d.ts","sourceRoot":"","sources":["../../src/erc20Token.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,SAAS,EACT,eAAe,EAKf,oBAAoB,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAU,MAAM,qBAAqB,CAAC;AAI/D,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE,YAAY,EAAgB,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC7F,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,qBAAa,UAAW,SAAQ,GAAG;IACjC,SAAgB,WAAW,EAAE,gBAAgB,CAAC;IAC9C,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,GAAG,mBAAmB,CAAC;gBAE5D,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB;IAM3D,MAAM,CAAC,sBAAsB,CAAC,MAAM,EAAE,gBAAgB,GAAG,eAAe;IAIxE,MAAM,CAAC,uBAAuB,IAAI,oBAAoB,EAAE;IAUxD,IAAI,IAAI,WAEP;IAED,IAAI,IAAI,WAEP;IAED,IAAI,IAAI,WAEP;IAED,IAAI,OAAO,WAEV;IAED,IAAI,oBAAoB,WAEvB;IAED,IAAI,aAAa,WAEhB;IAED,QAAQ;IAIR,WAAW;IAIX,aAAa;IAIb;;;OAGG;IACH,wBAAwB;IAIxB;;;OAGG;IACH,sBAAsB;IAItB;;;;;;;;;OASG;IACG,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,CAAC;IA6K5D,YAAY,CAAC,SAAS,KAAA,EAAE,UAAU,KAAA,EAAE,kBAAkB,KAAA;IActD,iBAAiB,CAAC,MAAM,KAAA;;;;;IAqCxB,UAAU,CAAC,UAAU,EAAE,mBAAmB,GAAG,OAAO;CAGrD"}
1
+ {"version":3,"file":"erc20Token.d.ts","sourceRoot":"","sources":["../../src/erc20Token.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,SAAS,EACT,eAAe,EAKf,YAAY,EACZ,oBAAoB,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAS,kBAAkB,EAAE,gBAAgB,EAAU,MAAM,qBAAqB,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAIrD,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE,YAAY,EAAgB,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,qBAAa,UAAW,SAAQ,GAAG;IACjC,SAAgB,WAAW,EAAE,kBAAkB,CAAC;IAChD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,GAAG,mBAAmB,CAAC;IACxE,MAAM,CAAC,SAAS,EAAE,SAAS,CAGzB;gBAEU,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB;IAO3D,MAAM,CAAC,sBAAsB,CAAC,MAAM,EAAE,gBAAgB,GAAG,eAAe;IAIxE,MAAM,CAAC,uBAAuB,IAAI,oBAAoB,EAAE;IAUxD,IAAI,IAAI,WAEP;IAED,IAAI,IAAI,WAEP;IAED,IAAI,IAAI,WAEP;IAED,IAAI,OAAO,WAEV;IAED,IAAI,oBAAoB,WAEvB;IAED,IAAI,aAAa,WAEhB;IAED,QAAQ;IAIR,WAAW;IAIX,aAAa;IAIb;;;OAGG;IACH,wBAAwB;IAIxB;;;OAGG;IACH,sBAAsB;IAItB,kBAAkB;IAClB,WAAW,IAAI,OAAO;IAItB,kBAAkB;IAClB,eAAe,IAAI,YAAY;IAI/B,SAAS,CAAC,qBAAqB,IAAI,kBAAkB;IAIrD;;;;;;;;;OASG;IACG,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,CAAC;IA6K5D,YAAY,CAAC,SAAS,KAAA,EAAE,UAAU,KAAA,EAAE,kBAAkB,KAAA;IActD,iBAAiB,CAAC,MAAM,KAAA;;;;;IAqCxB,UAAU,CAAC,UAAU,EAAE,mBAAmB,GAAG,OAAO;CAGrD"}