@bitgo-beta/sdk-coin-opeth 1.0.1-beta.59 → 1.0.1-beta.591

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 CHANGED
@@ -3,6 +3,668 @@
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
+ ## [18.1.53](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.51...@bitgo/sdk-coin-opeth@18.1.53) (2025-02-26)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
9
+
10
+ ## [18.1.52](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.51...@bitgo/sdk-coin-opeth@18.1.52) (2025-02-20)
11
+
12
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
13
+
14
+ ## [18.1.51](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.50...@bitgo/sdk-coin-opeth@18.1.51) (2025-02-19)
15
+
16
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
17
+
18
+ ## [18.1.50](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.49...@bitgo/sdk-coin-opeth@18.1.50) (2025-02-11)
19
+
20
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
21
+
22
+ ## [18.1.49](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.48...@bitgo/sdk-coin-opeth@18.1.49) (2025-02-05)
23
+
24
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
25
+
26
+ ## [18.1.48](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.47...@bitgo/sdk-coin-opeth@18.1.48) (2025-01-28)
27
+
28
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
29
+
30
+ ## [18.1.47](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.46...@bitgo/sdk-coin-opeth@18.1.47) (2025-01-23)
31
+
32
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
33
+
34
+ ## [18.1.46](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.45...@bitgo/sdk-coin-opeth@18.1.46) (2025-01-23)
35
+
36
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
37
+
38
+ ## [18.1.45](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.44...@bitgo/sdk-coin-opeth@18.1.45) (2025-01-20)
39
+
40
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
41
+
42
+ ## [18.1.44](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.43...@bitgo/sdk-coin-opeth@18.1.44) (2025-01-15)
43
+
44
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
45
+
46
+ ## [18.1.43](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.42...@bitgo/sdk-coin-opeth@18.1.43) (2025-01-09)
47
+
48
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
49
+
50
+ ## [18.1.42](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.41...@bitgo/sdk-coin-opeth@18.1.42) (2025-01-03)
51
+
52
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
53
+
54
+ ## [18.1.41](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.40...@bitgo/sdk-coin-opeth@18.1.41) (2024-12-24)
55
+
56
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
57
+
58
+ ## [18.1.40](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.39...@bitgo/sdk-coin-opeth@18.1.40) (2024-12-19)
59
+
60
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
61
+
62
+ ## [18.1.39](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.37...@bitgo/sdk-coin-opeth@18.1.39) (2024-12-17)
63
+
64
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
65
+
66
+ ## [18.1.38](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.37...@bitgo/sdk-coin-opeth@18.1.38) (2024-12-17)
67
+
68
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
69
+
70
+ ## [18.1.37](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.36...@bitgo/sdk-coin-opeth@18.1.37) (2024-12-12)
71
+
72
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
73
+
74
+ ## [18.1.36](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.35...@bitgo/sdk-coin-opeth@18.1.36) (2024-12-11)
75
+
76
+ ### Bug Fixes
77
+
78
+ - **abstract-eth:** fix issue with ethlike signTx ([7584c8b](https://github.com/BitGo/BitGoJS/commit/7584c8bf2e3ddea21582cac36abdebe0a0a78646))
79
+
80
+ ## [18.1.35](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.34...@bitgo/sdk-coin-opeth@18.1.35) (2024-12-03)
81
+
82
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
83
+
84
+ ## [18.1.34](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.33...@bitgo/sdk-coin-opeth@18.1.34) (2024-11-26)
85
+
86
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
87
+
88
+ ## [18.1.33](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.32...@bitgo/sdk-coin-opeth@18.1.33) (2024-11-21)
89
+
90
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
91
+
92
+ ## [18.1.32](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.30...@bitgo/sdk-coin-opeth@18.1.32) (2024-11-19)
93
+
94
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
95
+
96
+ ## [18.1.31](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.30...@bitgo/sdk-coin-opeth@18.1.31) (2024-11-14)
97
+
98
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
99
+
100
+ ## [18.1.30](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.29...@bitgo/sdk-coin-opeth@18.1.30) (2024-11-08)
101
+
102
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
103
+
104
+ ## [18.1.29](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.28...@bitgo/sdk-coin-opeth@18.1.29) (2024-11-07)
105
+
106
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
107
+
108
+ ## [18.1.28](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.27...@bitgo/sdk-coin-opeth@18.1.28) (2024-11-01)
109
+
110
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
111
+
112
+ ## [18.1.27](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.26...@bitgo/sdk-coin-opeth@18.1.27) (2024-10-22)
113
+
114
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
115
+
116
+ ## [18.1.26](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.25...@bitgo/sdk-coin-opeth@18.1.26) (2024-10-15)
117
+
118
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
119
+
120
+ ## [18.1.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.24...@bitgo/sdk-coin-opeth@18.1.25) (2024-10-08)
121
+
122
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
123
+
124
+ ## [18.1.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.23...@bitgo/sdk-coin-opeth@18.1.24) (2024-10-04)
125
+
126
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
127
+
128
+ ## [18.1.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.22...@bitgo/sdk-coin-opeth@18.1.23) (2024-09-24)
129
+
130
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
131
+
132
+ ## [18.1.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.21...@bitgo/sdk-coin-opeth@18.1.22) (2024-09-19)
133
+
134
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
135
+
136
+ ## [18.1.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.20...@bitgo/sdk-coin-opeth@18.1.21) (2024-09-16)
137
+
138
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
139
+
140
+ ## [18.1.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.19...@bitgo/sdk-coin-opeth@18.1.20) (2024-09-10)
141
+
142
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
143
+
144
+ ## [18.1.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.18...@bitgo/sdk-coin-opeth@18.1.19) (2024-09-03)
145
+
146
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
147
+
148
+ ## [18.1.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.17...@bitgo/sdk-coin-opeth@18.1.18) (2024-08-29)
149
+
150
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
151
+
152
+ ## [18.1.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.16...@bitgo/sdk-coin-opeth@18.1.17) (2024-08-27)
153
+
154
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
155
+
156
+ ## [18.1.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.14...@bitgo/sdk-coin-opeth@18.1.16) (2024-08-20)
157
+
158
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
159
+
160
+ ## [18.1.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.14...@bitgo/sdk-coin-opeth@18.1.15) (2024-08-13)
161
+
162
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
163
+
164
+ ## [18.1.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.13...@bitgo/sdk-coin-opeth@18.1.14) (2024-08-07)
165
+
166
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
167
+
168
+ ## [18.1.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.12...@bitgo/sdk-coin-opeth@18.1.13) (2024-07-30)
169
+
170
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
171
+
172
+ ## [18.1.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.11...@bitgo/sdk-coin-opeth@18.1.12) (2024-07-24)
173
+
174
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
175
+
176
+ ## [18.1.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.10...@bitgo/sdk-coin-opeth@18.1.11) (2024-07-16)
177
+
178
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
179
+
180
+ ## [18.1.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.9...@bitgo/sdk-coin-opeth@18.1.10) (2024-07-04)
181
+
182
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
183
+
184
+ ## [18.1.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.8...@bitgo/sdk-coin-opeth@18.1.9) (2024-07-02)
185
+
186
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
187
+
188
+ ## [18.1.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.7...@bitgo/sdk-coin-opeth@18.1.8) (2024-06-27)
189
+
190
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
191
+
192
+ ## [18.1.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.6...@bitgo/sdk-coin-opeth@18.1.7) (2024-06-26)
193
+
194
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
195
+
196
+ ## [18.1.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.4...@bitgo/sdk-coin-opeth@18.1.6) (2024-06-21)
197
+
198
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
199
+
200
+ ## [18.1.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.4...@bitgo/sdk-coin-opeth@18.1.5) (2024-06-20)
201
+
202
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
203
+
204
+ ## [18.1.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.3...@bitgo/sdk-coin-opeth@18.1.4) (2024-06-14)
205
+
206
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
207
+
208
+ ## [18.1.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.2...@bitgo/sdk-coin-opeth@18.1.3) (2024-06-11)
209
+
210
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
211
+
212
+ ## [18.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.1...@bitgo/sdk-coin-opeth@18.1.2) (2024-06-05)
213
+
214
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
215
+
216
+ ## [18.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.0...@bitgo/sdk-coin-opeth@18.1.1) (2024-05-31)
217
+
218
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
219
+
220
+ # [18.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.6...@bitgo/sdk-coin-opeth@18.1.0) (2024-05-28)
221
+
222
+ ### Bug Fixes
223
+
224
+ - **abstract-eth:** handle absence of batcher contract for native coin ([37ede15](https://github.com/BitGo/BitGoJS/commit/37ede15f2fc8e24f732a6d8f513327650d58590c))
225
+
226
+ ### Features
227
+
228
+ - **abstract-eth:** add support to build tx for CCR of unsupported token ([a6dac7c](https://github.com/BitGo/BitGoJS/commit/a6dac7c00d47acfa3d4dd072b9cfcdf99215a743))
229
+
230
+ ## [18.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.5...@bitgo/sdk-coin-opeth@18.0.6) (2024-05-22)
231
+
232
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
233
+
234
+ ## [18.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.4...@bitgo/sdk-coin-opeth@18.0.5) (2024-05-17)
235
+
236
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
237
+
238
+ ## [18.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.3...@bitgo/sdk-coin-opeth@18.0.4) (2024-05-13)
239
+
240
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
241
+
242
+ ## [18.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.2...@bitgo/sdk-coin-opeth@18.0.3) (2024-05-08)
243
+
244
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
245
+
246
+ ## [18.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.1...@bitgo/sdk-coin-opeth@18.0.2) (2024-05-01)
247
+
248
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
249
+
250
+ ## [18.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.0...@bitgo/sdk-coin-opeth@18.0.1) (2024-04-25)
251
+
252
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
253
+
254
+ # [18.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.7...@bitgo/sdk-coin-opeth@18.0.0) (2024-04-24)
255
+
256
+ ### Features
257
+
258
+ - **abstract-eth:** support txn bulding for v4 wallet on eth chain ([d8aabea](https://github.com/BitGo/BitGoJS/commit/d8aabead0197072ee5b6c7fb11bd9c379606208d))
259
+
260
+ ### BREAKING CHANGES
261
+
262
+ - **abstract-eth:** Made ChainID mandatory for signAndBuild method
263
+
264
+ ## [17.0.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.6...@bitgo/sdk-coin-opeth@17.0.7) (2024-04-22)
265
+
266
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
267
+
268
+ ## [17.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.5...@bitgo/sdk-coin-opeth@17.0.6) (2024-04-17)
269
+
270
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
271
+
272
+ ## [17.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.4...@bitgo/sdk-coin-opeth@17.0.5) (2024-04-12)
273
+
274
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
275
+
276
+ ## [17.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.3...@bitgo/sdk-coin-opeth@17.0.4) (2024-04-10)
277
+
278
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
279
+
280
+ ## [17.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.2...@bitgo/sdk-coin-opeth@17.0.3) (2024-04-09)
281
+
282
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
283
+
284
+ ## [17.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.1...@bitgo/sdk-coin-opeth@17.0.2) (2024-04-08)
285
+
286
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
287
+
288
+ ## [17.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.0...@bitgo/sdk-coin-opeth@17.0.1) (2024-04-05)
289
+
290
+ ### Bug Fixes
291
+
292
+ - **abstract-eth:** fix opeth:op transfers ([37a8f4f](https://github.com/BitGo/BitGoJS/commit/37a8f4f03325d76c32b4764381e3d2d7976dd414))
293
+
294
+ # [17.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.4...@bitgo/sdk-coin-opeth@17.0.0) (2024-03-28)
295
+
296
+ ### Features
297
+
298
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
299
+
300
+ ### BREAKING CHANGES
301
+
302
+ - **root:** Node 16 is no longer supported in bitgojs.
303
+ TICKET: WP-1100
304
+
305
+ ## [16.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.3...@bitgo/sdk-coin-opeth@16.0.4) (2024-03-19)
306
+
307
+ ### Bug Fixes
308
+
309
+ - **statics:** updates decimal for opeth:usdt ([0e98be4](https://github.com/BitGo/BitGoJS/commit/0e98be4e4151b8d64050f475e4fb3302e3b31b75))
310
+
311
+ ## [16.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.2...@bitgo/sdk-coin-opeth@16.0.3) (2024-03-11)
312
+
313
+ ### Bug Fixes
314
+
315
+ - **abstract-eth:** fixes issue related to gasestimate for ethlike ([190bdb2](https://github.com/BitGo/BitGoJS/commit/190bdb2b225fc2fd87fe536aeb77734f102b9984))
316
+
317
+ ## [16.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.1...@bitgo/sdk-coin-opeth@16.0.2) (2024-02-28)
318
+
319
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
320
+
321
+ ## [16.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.0...@bitgo/sdk-coin-opeth@16.0.1) (2024-02-22)
322
+
323
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
324
+
325
+ # 16.0.0 (2024-02-19)
326
+
327
+ ### Bug Fixes
328
+
329
+ - **abstract-eth:** change tx encoding method for arb and op ([c11b0dd](https://github.com/BitGo/BitGoJS/commit/c11b0dd4705b0de4aaf9fff26eecf361d78b9f10))
330
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
331
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
332
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
333
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
334
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
335
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
336
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
337
+
338
+ ### Code Refactoring
339
+
340
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
341
+
342
+ ### Features
343
+
344
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
345
+ - **abstract-eth:** add v4 forwarder creation logic ([25faaa3](https://github.com/BitGo/BitGoJS/commit/25faaa33723feb2a4f7ce7209a64841b438a4367))
346
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
347
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
348
+
349
+ ### BREAKING CHANGES
350
+
351
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
352
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
353
+ getCustomChainName method is removed from Polygon class because a common
354
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
355
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
356
+ and needs to be passed to derive the Eth common object from the chainId.
357
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
358
+ it can be used for other EthLike coins. getBaseFactor method in Eth
359
+ and Polygon class returns number instead of string just to align with
360
+ AbstractEthLikeCoin
361
+ Ticket: WIN-1012
362
+
363
+ # 15.0.0 (2024-01-30)
364
+
365
+ ### Bug Fixes
366
+
367
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
368
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
369
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
370
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
371
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
372
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
373
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
374
+
375
+ ### Code Refactoring
376
+
377
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
378
+
379
+ ### Features
380
+
381
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
382
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
383
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
384
+
385
+ ### BREAKING CHANGES
386
+
387
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
388
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
389
+ getCustomChainName method is removed from Polygon class because a common
390
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
391
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
392
+ and needs to be passed to derive the Eth common object from the chainId.
393
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
394
+ it can be used for other EthLike coins. getBaseFactor method in Eth
395
+ and Polygon class returns number instead of string just to align with
396
+ AbstractEthLikeCoin
397
+ Ticket: WIN-1012
398
+
399
+ # 14.0.0 (2024-01-26)
400
+
401
+ ### Bug Fixes
402
+
403
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
404
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
405
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
406
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
407
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
408
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
409
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
410
+
411
+ ### Code Refactoring
412
+
413
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
414
+
415
+ ### Features
416
+
417
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
418
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
419
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
420
+
421
+ ### BREAKING CHANGES
422
+
423
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
424
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
425
+ getCustomChainName method is removed from Polygon class because a common
426
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
427
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
428
+ and needs to be passed to derive the Eth common object from the chainId.
429
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
430
+ it can be used for other EthLike coins. getBaseFactor method in Eth
431
+ and Polygon class returns number instead of string just to align with
432
+ AbstractEthLikeCoin
433
+ Ticket: WIN-1012
434
+
435
+ # 13.0.0 (2024-01-26)
436
+
437
+ ### Bug Fixes
438
+
439
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
440
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
441
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
442
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
443
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
444
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
445
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
446
+
447
+ ### Code Refactoring
448
+
449
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
450
+
451
+ ### Features
452
+
453
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
454
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
455
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
456
+
457
+ ### BREAKING CHANGES
458
+
459
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
460
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
461
+ getCustomChainName method is removed from Polygon class because a common
462
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
463
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
464
+ and needs to be passed to derive the Eth common object from the chainId.
465
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
466
+ it can be used for other EthLike coins. getBaseFactor method in Eth
467
+ and Polygon class returns number instead of string just to align with
468
+ AbstractEthLikeCoin
469
+ Ticket: WIN-1012
470
+
471
+ # 12.0.0 (2024-01-25)
472
+
473
+ ### Bug Fixes
474
+
475
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
476
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
477
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
478
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
479
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
480
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
481
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
482
+
483
+ ### Code Refactoring
484
+
485
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
486
+
487
+ ### Features
488
+
489
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
490
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
491
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
492
+
493
+ ### BREAKING CHANGES
494
+
495
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
496
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
497
+ getCustomChainName method is removed from Polygon class because a common
498
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
499
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
500
+ and needs to be passed to derive the Eth common object from the chainId.
501
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
502
+ it can be used for other EthLike coins. getBaseFactor method in Eth
503
+ and Polygon class returns number instead of string just to align with
504
+ AbstractEthLikeCoin
505
+ Ticket: WIN-1012
506
+
507
+ # 11.0.0 (2024-01-22)
508
+
509
+ ### Bug Fixes
510
+
511
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
512
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
513
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
514
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
515
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
516
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
517
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
518
+
519
+ ### Code Refactoring
520
+
521
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
522
+
523
+ ### Features
524
+
525
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
526
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
527
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
528
+
529
+ ### BREAKING CHANGES
530
+
531
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
532
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
533
+ getCustomChainName method is removed from Polygon class because a common
534
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
535
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
536
+ and needs to be passed to derive the Eth common object from the chainId.
537
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
538
+ it can be used for other EthLike coins. getBaseFactor method in Eth
539
+ and Polygon class returns number instead of string just to align with
540
+ AbstractEthLikeCoin
541
+ Ticket: WIN-1012
542
+
543
+ # 10.0.0 (2024-01-09)
544
+
545
+ ### Bug Fixes
546
+
547
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
548
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
549
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
550
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
551
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
552
+
553
+ ### Code Refactoring
554
+
555
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
556
+
557
+ ### Features
558
+
559
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
560
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
561
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
562
+
563
+ ### BREAKING CHANGES
564
+
565
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
566
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
567
+ getCustomChainName method is removed from Polygon class because a common
568
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
569
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
570
+ and needs to be passed to derive the Eth common object from the chainId.
571
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
572
+ it can be used for other EthLike coins. getBaseFactor method in Eth
573
+ and Polygon class returns number instead of string just to align with
574
+ AbstractEthLikeCoin
575
+ Ticket: WIN-1012
576
+
577
+ # 9.0.0 (2024-01-03)
578
+
579
+ ### Bug Fixes
580
+
581
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
582
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
583
+
584
+ ### Code Refactoring
585
+
586
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
587
+
588
+ ### Features
589
+
590
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
591
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
592
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
593
+
594
+ ### BREAKING CHANGES
595
+
596
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
597
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
598
+ getCustomChainName method is removed from Polygon class because a common
599
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
600
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
601
+ and needs to be passed to derive the Eth common object from the chainId.
602
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
603
+ it can be used for other EthLike coins. getBaseFactor method in Eth
604
+ and Polygon class returns number instead of string just to align with
605
+ AbstractEthLikeCoin
606
+ Ticket: WIN-1012
607
+
608
+ # 8.0.0 (2023-12-18)
609
+
610
+ ### Bug Fixes
611
+
612
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
613
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
614
+
615
+ ### Code Refactoring
616
+
617
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
618
+
619
+ ### Features
620
+
621
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
622
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
623
+
624
+ ### BREAKING CHANGES
625
+
626
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
627
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
628
+ getCustomChainName method is removed from Polygon class because a common
629
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
630
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
631
+ and needs to be passed to derive the Eth common object from the chainId.
632
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
633
+ it can be used for other EthLike coins. getBaseFactor method in Eth
634
+ and Polygon class returns number instead of string just to align with
635
+ AbstractEthLikeCoin
636
+ Ticket: WIN-1012
637
+
638
+ # 7.0.0 (2023-12-12)
639
+
640
+ ### Bug Fixes
641
+
642
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
643
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
644
+
645
+ ### Code Refactoring
646
+
647
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
648
+
649
+ ### Features
650
+
651
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
652
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
653
+
654
+ ### BREAKING CHANGES
655
+
656
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
657
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
658
+ getCustomChainName method is removed from Polygon class because a common
659
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
660
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
661
+ and needs to be passed to derive the Eth common object from the chainId.
662
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
663
+ it can be used for other EthLike coins. getBaseFactor method in Eth
664
+ and Polygon class returns number instead of string just to align with
665
+ AbstractEthLikeCoin
666
+ Ticket: WIN-1012
667
+
6
668
  # 6.0.0 (2023-12-09)
7
669
 
8
670
  ### Bug Fixes
package/dist/src/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -15,4 +19,4 @@ __exportStar(require("./opeth"), exports);
15
19
  __exportStar(require("./topeth"), exports);
16
20
  __exportStar(require("./opethToken"), exports);
17
21
  __exportStar(require("./register"), exports);
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsd0NBQXNCO0FBQ3RCLDBDQUF3QjtBQUN4QiwyQ0FBeUI7QUFDekIsK0NBQTZCO0FBQzdCLDZDQUEyQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliJztcbmV4cG9ydCAqIGZyb20gJy4vb3BldGgnO1xuZXhwb3J0ICogZnJvbSAnLi90b3BldGgnO1xuZXhwb3J0ICogZnJvbSAnLi9vcGV0aFRva2VuJztcbmV4cG9ydCAqIGZyb20gJy4vcmVnaXN0ZXInO1xuIl19
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHdDQUFzQjtBQUN0QiwwQ0FBd0I7QUFDeEIsMkNBQXlCO0FBQ3pCLCtDQUE2QjtBQUM3Qiw2Q0FBMkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYic7XG5leHBvcnQgKiBmcm9tICcuL29wZXRoJztcbmV4cG9ydCAqIGZyb20gJy4vdG9wZXRoJztcbmV4cG9ydCAqIGZyb20gJy4vb3BldGhUb2tlbic7XG5leHBvcnQgKiBmcm9tICcuL3JlZ2lzdGVyJztcbiJdfQ==
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -11,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
11
15
  }) : function(o, v) {
12
16
  o["default"] = v;
13
17
  });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
21
35
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
37
  };
@@ -33,4 +47,4 @@ var abstract_eth_1 = require("@bitgo-beta/abstract-eth");
33
47
  Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return abstract_eth_1.Transaction; } });
34
48
  Object.defineProperty(exports, "KeyPair", { enumerable: true, get: function () { return abstract_eth_1.KeyPair; } });
35
49
  __exportStar(require("./walletUtil"), exports);
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwrQ0FBaUM7QUFLeEIsc0JBQUs7QUFIZCwyREFBMEQ7QUFBakQsd0hBQUEsa0JBQWtCLE9BQUE7QUFDM0IscURBQW9EO0FBQTNDLGtIQUFBLGVBQWUsT0FBQTtBQUN4Qix5REFBZ0U7QUFBdkQsMkdBQUEsV0FBVyxPQUFBO0FBQUUsdUdBQUEsT0FBTyxPQUFBO0FBRTdCLCtDQUE2QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIFV0aWxzIGZyb20gJy4vdXRpbHMnO1xuXG5leHBvcnQgeyBUcmFuc2FjdGlvbkJ1aWxkZXIgfSBmcm9tICcuL3RyYW5zYWN0aW9uQnVpbGRlcic7XG5leHBvcnQgeyBUcmFuc2ZlckJ1aWxkZXIgfSBmcm9tICcuL3RyYW5zZmVyQnVpbGRlcic7XG5leHBvcnQgeyBUcmFuc2FjdGlvbiwgS2V5UGFpciB9IGZyb20gJ0BiaXRnby1iZXRhL2Fic3RyYWN0LWV0aCc7XG5leHBvcnQgeyBVdGlscyB9O1xuZXhwb3J0ICogZnJvbSAnLi93YWxsZXRVdGlsJztcbiJdfQ==
50
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLCtDQUFpQztBQUt4QixzQkFBSztBQUhkLDJEQUEwRDtBQUFqRCx3SEFBQSxrQkFBa0IsT0FBQTtBQUMzQixxREFBb0Q7QUFBM0Msa0hBQUEsZUFBZSxPQUFBO0FBQ3hCLHlEQUFnRTtBQUF2RCwyR0FBQSxXQUFXLE9BQUE7QUFBRSx1R0FBQSxPQUFPLE9BQUE7QUFFN0IsK0NBQTZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgVXRpbHMgZnJvbSAnLi91dGlscyc7XG5cbmV4cG9ydCB7IFRyYW5zYWN0aW9uQnVpbGRlciB9IGZyb20gJy4vdHJhbnNhY3Rpb25CdWlsZGVyJztcbmV4cG9ydCB7IFRyYW5zZmVyQnVpbGRlciB9IGZyb20gJy4vdHJhbnNmZXJCdWlsZGVyJztcbmV4cG9ydCB7IFRyYW5zYWN0aW9uLCBLZXlQYWlyIH0gZnJvbSAnQGJpdGdvLWJldGEvYWJzdHJhY3QtZXRoJztcbmV4cG9ydCB7IFV0aWxzIH07XG5leHBvcnQgKiBmcm9tICcuL3dhbGxldFV0aWwnO1xuIl19
@@ -1 +1 @@
1
- {"version":3,"file":"transactionBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/transactionBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAwB,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAEjH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,qBAAa,kBAAmB,SAAQ,yBAAyB;IAC/D,SAAS,CAAC,SAAS,EAAG,eAAe,CAAC;gBAE1B,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC;IAO7C,kBAAkB;IAClB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,eAAe;IAUxC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;CAG7B"}
1
+ {"version":3,"file":"transactionBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/transactionBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAwB,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAGjH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,qBAAa,kBAAmB,SAAQ,yBAAyB;IAC/D,SAAS,CAAC,SAAS,EAAG,eAAe,CAAC;gBAE1B,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC;IAO7C,kBAAkB;IAClB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,eAAe;IAUxC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;CAG7B"}
@@ -9,7 +9,7 @@ const walletUtil_1 = require("./walletUtil");
9
9
  class TransactionBuilder extends abstract_eth_1.TransactionBuilder {
10
10
  constructor(_coinConfig) {
11
11
  super(_coinConfig);
12
- this._common = utils_1.getCommon(this._coinConfig.network.type);
12
+ this._common = (0, utils_1.getCommon)(this._coinConfig.network.type);
13
13
  this.transaction = new abstract_eth_1.Transaction(this._coinConfig, this._common);
14
14
  this._walletSimpleByteCode = walletUtil_1.walletSimpleByteCode;
15
15
  }
@@ -28,4 +28,4 @@ class TransactionBuilder extends ab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GluaGVyaXRkb2MgKi9cbiAgdHJhbnNmZXIoZGF0YT86IHN0cmluZyk6IFRyYW5zZmVyQnVpbGRlciB7XG4gICAgaWYgKHRoaXMuX3R5cGUgIT09IFRyYW5zYWN0aW9uVHlwZS5TZW5kKSB7XG4gICAgICB0aHJvdyBuZXcgQnVpbGRUcmFuc2FjdGlvbkVycm9yKCdUcmFuc2ZlcnMgY2FuIG9ubHkgYmUgc2V0IGZvciBzZW5kIHRyYW5zYWN0aW9ucycpO1xuICAgIH1cbiAgICBpZiAoIXRoaXMuX3RyYW5zZmVyKSB7XG4gICAgICB0aGlzLl90cmFuc2ZlciA9IG5ldyBUcmFuc2ZlckJ1aWxkZXIoZGF0YSk7XG4gICAgfVxuICAgIHJldHVybiB0aGlzLl90cmFuc2ZlcjtcbiAgfVxuXG4gIHB1YmxpY0tleShrZXk6IHN0cmluZyk6IHZvaWQge1xuICAgIHRoaXMuX3NvdXJjZUtleVBhaXIgPSBuZXcgS2V5UGFpcih7IHB1Yjoga2V5IH0pO1xuICB9XG59XG4iXX0=
@@ -1,6 +1,2 @@
1
- import { TransferBuilder as EthTransferBuilder } from '@bitgo-beta/abstract-eth';
2
- export declare class TransferBuilder extends EthTransferBuilder {
3
- /** @inheritdoc */
4
- protected getNativeOperationHashPrefix(): string;
5
- }
1
+ export { TransferBuilder } from '@bitgo-beta/abstract-eth';
6
2
  //# sourceMappingURL=transferBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transferBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/transferBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEjF,qBAAa,eAAgB,SAAQ,kBAAkB;IACrD,kBAAkB;IAClB,SAAS,CAAC,4BAA4B,IAAI,MAAM;CAGjD"}
1
+ {"version":3,"file":"transferBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/transferBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TransferBuilder = void 0;
4
- const abstract_eth_1 = require("@bitgo-beta/abstract-eth");
5
- class TransferBuilder extends abstract_eth_1.TransferBuilder {
6
- /** @inheritdoc */
7
- getNativeOperationHashPrefix() {
8
- return 'OPETH';
9
- }
10
- }
11
- exports.TransferBuilder = TransferBuilder;
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmZXJCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi90cmFuc2ZlckJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkRBQWlGO0FBRWpGLE1BQWEsZUFBZ0IsU0FBUSw4QkFBa0I7SUFDckQsa0JBQWtCO0lBQ1IsNEJBQTRCO1FBQ3BDLE9BQU8sT0FBTyxDQUFDO0lBQ2pCLENBQUM7Q0FDRjtBQUxELDBDQUtDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVHJhbnNmZXJCdWlsZGVyIGFzIEV0aFRyYW5zZmVyQnVpbGRlciB9IGZyb20gJ0BiaXRnby1iZXRhL2Fic3RyYWN0LWV0aCc7XG5cbmV4cG9ydCBjbGFzcyBUcmFuc2ZlckJ1aWxkZXIgZXh0ZW5kcyBFdGhUcmFuc2ZlckJ1aWxkZXIge1xuICAvKiogQGluaGVyaXRkb2MgKi9cbiAgcHJvdGVjdGVkIGdldE5hdGl2ZU9wZXJhdGlvbkhhc2hQcmVmaXgoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gJ09QRVRIJztcbiAgfVxufVxuIl19
4
+ var abstract_eth_1 = require("@bitgo-beta/abstract-eth");
5
+ Object.defineProperty(exports, "TransferBuilder", { enumerable: true, get: function () { return abstract_eth_1.TransferBuilder; } });
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmZXJCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi90cmFuc2ZlckJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQTJEO0FBQWxELCtHQUFBLGVBQWUsT0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IFRyYW5zZmVyQnVpbGRlciB9IGZyb20gJ0BiaXRnby1iZXRhL2Fic3RyYWN0LWV0aCc7XG4iXX0=
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCommon = void 0;
3
+ exports.getCommon = getCommon;
4
4
  const statics_1 = require("@bitgo-beta/statics");
5
5
  const sdk_core_1 = require("@bitgo-beta/sdk-core");
6
6
  const resources_1 = require("./resources");
@@ -19,5 +19,4 @@ function getCommon(network) {
19
19
  }
20
20
  return common;
21
21
  }
22
- exports.getCommon = getCommon;
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3V0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLGlEQUFrRDtBQUVsRCxtREFBK0Q7QUFDL0QsMkNBQTJEO0FBRTNELE1BQU0sT0FBTyxHQUFxQyxJQUFJLEdBQUcsQ0FBOEI7SUFDckYsQ0FBQyxxQkFBVyxDQUFDLE9BQU8sRUFBRSx5QkFBYSxDQUFDO0lBQ3BDLENBQUMscUJBQVcsQ0FBQyxPQUFPLEVBQUUseUJBQWEsQ0FBQztDQUNyQyxDQUFDLENBQUM7QUFFSDs7O0dBR0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V0YS9zdGF0aWNzJztcbmltcG9ydCBFdGhlcmV1bUNvbW1vbiBmcm9tICdAZXRoZXJldW1qcy9jb21tb24nO1xuaW1wb3J0IHsgSW52YWxpZFRyYW5zYWN0aW9uRXJyb3IgfSBmcm9tICdAYml0Z28tYmV0YS9zZGstY29yZSc7XG5pbXBvcnQgeyB0ZXN0bmV0Q29tbW9uLCBtYWlubmV0Q29tbW9uIH0gZnJvbSAnLi9yZXNvdXJjZXMnO1xuXG5jb25zdCBjb21tb25zOiBNYXA8TmV0d29ya1R5cGUsIEV0aGVyZXVtQ29tbW9uPiA9IG5ldyBNYXA8TmV0d29ya1R5cGUsIEV0aGVyZXVtQ29tbW9uPihbXG4gIFtOZXR3b3JrVHlwZS5NQUlOTkVULCBtYWlubmV0Q29tbW9uXSxcbiAgW05ldHdvcmtUeXBlLlRFU1RORVQsIHRlc3RuZXRDb21tb25dLFxuXSk7XG5cbi8qKlxuICogQHBhcmFtIHtOZXR3b3JrVHlwZX0gbmV0d29yayBlaXRoZXIgbWFpbm5ldCBvciB0ZXN0bmV0XG4gKiBAcmV0dXJucyB7RXRoZXJldW1Db21tb259IEV0aGVyZXVtIGNvbW1vbiBjb25maWd1cmF0aW9uIG9iamVjdFxuICovXG5leHBvcnQgZnVuY3Rpb24gZ2V0Q29tbW9uKG5ldHdvcms6IE5ldHdvcmtUeXBlKTogRXRoZXJldW1Db21tb24ge1xuICBjb25zdCBjb21tb24gPSBjb21tb25zLmdldChuZXR3b3JrKTtcbiAgaWYgKCFjb21tb24pIHtcbiAgICB0aHJvdyBuZXcgSW52YWxpZFRyYW5zYWN0aW9uRXJyb3IoJ01pc3NpbmcgbmV0d29yayBjb21tb24gY29uZmlndXJhdGlvbicpO1xuICB9XG4gIHJldHVybiBjb21tb247XG59XG4iXX0=
@@ -9,10 +9,17 @@ export declare class Opeth extends AbstractEthLikeNewCoins {
9
9
  static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
10
10
  protected getTransactionBuilder(): EthLikeTransactionBuilder;
11
11
  /**
12
- * Make a query to Arbiscan for information such as balance, token balance, solidity calls
12
+ * Make a query to Optimism Etherscan for information such as balance, token balance, solidity calls
13
13
  * @param {Object} query key-value pairs of parameters to append after /api
14
- * @returns {Promise<Object>} response from Arbiscan
14
+ * @returns {Promise<Object>} response from Optimism Etherscan
15
15
  */
16
16
  recoveryBlockchainExplorerQuery(query: Record<string, string>): Promise<Record<string, unknown>>;
17
+ /**
18
+ * Check whether gas limit passed in by user are within our max and min bounds
19
+ * If they are not set, set them to the defaults
20
+ * @param {number} userGasLimit user defined gas limit
21
+ * @returns {number} the gas limit to use for this transaction
22
+ */
23
+ setGasLimit(userGasLimit?: number): number;
17
24
  }
18
25
  //# sourceMappingURL=opeth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"opeth.d.ts","sourceRoot":"","sources":["../../src/opeth.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAU,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAS,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAGpH,qBAAa,KAAM,SAAQ,uBAAuB;IAChD,SAAS,aAAa,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC;IAI/E,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,QAAQ;IAI1F,SAAS,CAAC,qBAAqB,IAAI,yBAAyB;IAI5D;;;;OAIG;IACG,+BAA+B,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAgBvG"}
1
+ {"version":3,"file":"opeth.d.ts","sourceRoot":"","sources":["../../src/opeth.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAU,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAwB,MAAM,qBAAqB,CAAC;AACxF,OAAO,EACL,uBAAuB,EACvB,kBAAkB,IAAI,yBAAyB,EAEhD,MAAM,0BAA0B,CAAC;AAGlC,qBAAa,KAAM,SAAQ,uBAAuB;IAChD,SAAS,aAAa,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC;IAI/E,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,QAAQ;IAI1F,SAAS,CAAC,qBAAqB,IAAI,yBAAyB;IAI5D;;;;OAIG;IACG,+BAA+B,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAMtG;;;;;OAKG;IACH,WAAW,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM;CAW3C"}
package/dist/src/opeth.js CHANGED
@@ -1,13 +1,9 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Opeth = void 0;
2
4
  /**
3
5
  * @prettier
4
6
  */
5
- var __importDefault = (this && this.__importDefault) || function (mod) {
6
- return (mod && mod.__esModule) ? mod : { "default": mod };
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.Opeth = void 0;
10
- const superagent_1 = __importDefault(require("superagent"));
11
7
  const sdk_core_1 = require("@bitgo-beta/sdk-core");
12
8
  const statics_1 = require("@bitgo-beta/statics");
13
9
  const abstract_eth_1 = require("@bitgo-beta/abstract-eth");
@@ -23,24 +19,32 @@ class Opeth extends abstract_eth_1.AbstractEthLikeNewCoins {
23
19
  return new lib_1.TransactionBuilder(statics_1.coins.get(this.getBaseChain()));
24
20
  }
25
21
  /**
26
- * Make a query to Arbiscan for information such as balance, token balance, solidity calls
22
+ * Make a query to Optimism Etherscan for information such as balance, token balance, solidity calls
27
23
  * @param {Object} query key-value pairs of parameters to append after /api
28
- * @returns {Promise<Object>} response from Arbiscan
24
+ * @returns {Promise<Object>} response from Optimism Etherscan
29
25
  */
30
26
  async recoveryBlockchainExplorerQuery(query) {
31
- const token = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanApiToken;
32
- if (token) {
33
- query.apikey = token;
34
- }
35
- const response = await superagent_1.default.get(sdk_core_1.common.Environments[this.bitgo.getEnv()].arbiscanBaseUrl + '/api').query(query);
36
- if (!response.ok) {
37
- throw new Error('could not reach Optimism Etherscan');
27
+ const apiToken = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanApiToken;
28
+ const explorerUrl = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanBaseUrl;
29
+ return await (0, abstract_eth_1.recoveryBlockchainExplorerQuery)(query, explorerUrl, apiToken);
30
+ }
31
+ /**
32
+ * Check whether gas limit passed in by user are within our max and min bounds
33
+ * If they are not set, set them to the defaults
34
+ * @param {number} userGasLimit user defined gas limit
35
+ * @returns {number} the gas limit to use for this transaction
36
+ */
37
+ setGasLimit(userGasLimit) {
38
+ if (!userGasLimit) {
39
+ return statics_1.ethGasConfigs.defaultGasLimit;
38
40
  }
39
- if (response.body.status === '0' && response.body.message === 'NOTOK') {
40
- throw new Error('Optimism Etherscan rate limit reached');
41
+ const gasLimitMax = statics_1.ethGasConfigs.maximumGasLimit;
42
+ const gasLimitMin = statics_1.ethGasConfigs.newEthLikeCoinsMinGasLimit;
43
+ if (userGasLimit < gasLimitMin || userGasLimit > gasLimitMax) {
44
+ throw new Error(`Gas limit must be between ${gasLimitMin} and ${gasLimitMax}`);
41
45
  }
42
- return response.body;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=
@@ -13,6 +13,12 @@ export declare class OpethToken extends EthLikeToken {
13
13
  static createTokenConstructor(config: EthLikeTokenConfig): CoinConstructor;
14
14
  static createTokenConstructors(): NamedCoinConstructor[];
15
15
  protected getTransactionBuilder(): TransactionBuilder;
16
+ /**
17
+ * Make a query to Optimism Etherscan for information such as balance, token balance, solidity calls
18
+ * @param {Object} query key-value pairs of parameters to append after /api
19
+ * @returns {Promise<Object>} response from Optimism Etherscan
20
+ */
21
+ recoveryBlockchainExplorerQuery(query: Record<string, string>): Promise<Record<string, unknown>>;
16
22
  getFullName(): string;
17
23
  }
18
24
  //# sourceMappingURL=opethToken.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"opethToken.d.ts","sourceRoot":"","sources":["../../src/opethToken.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAS,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAEnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,qBAAa,UAAW,SAAQ,YAAY;IAC1C,SAAgB,WAAW,EAAE,kBAAkB,CAAC;IAChD,MAAM,CAAC,SAAS,EAAE,SAAS,CAGzB;gBACU,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,kBAAkB;IAG7D,MAAM,CAAC,sBAAsB,CAAC,MAAM,EAAE,kBAAkB,GAAG,eAAe;IAI1E,MAAM,CAAC,uBAAuB,IAAI,oBAAoB,EAAE;IAIxD,SAAS,CAAC,qBAAqB,IAAI,kBAAkB;IAIrD,WAAW,IAAI,MAAM;CAGtB"}
1
+ {"version":3,"file":"opethToken.d.ts","sourceRoot":"","sources":["../../src/opethToken.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAS,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,oBAAoB,EAAU,MAAM,sBAAsB,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,YAAY,EAAmC,MAAM,0BAA0B,CAAC;AAEpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,qBAAa,UAAW,SAAQ,YAAY;IAC1C,SAAgB,WAAW,EAAE,kBAAkB,CAAC;IAChD,MAAM,CAAC,SAAS,EAAE,SAAS,CAGzB;gBACU,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,kBAAkB;IAG7D,MAAM,CAAC,sBAAsB,CAAC,MAAM,EAAE,kBAAkB,GAAG,eAAe;IAI1E,MAAM,CAAC,uBAAuB,IAAI,oBAAoB,EAAE;IAIxD,SAAS,CAAC,qBAAqB,IAAI,kBAAkB;IAIrD;;;;OAIG;IACG,+BAA+B,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAMtG,WAAW,IAAI,MAAM;CAGtB"}
@@ -5,6 +5,7 @@ exports.OpethToken = void 0;
5
5
  * @prettier
6
6
  */
7
7
  const statics_1 = require("@bitgo-beta/statics");
8
+ const sdk_core_1 = require("@bitgo-beta/sdk-core");
8
9
  const abstract_eth_1 = require("@bitgo-beta/abstract-eth");
9
10
  const lib_1 = require("./lib");
10
11
  class OpethToken extends abstract_eth_1.EthLikeToken {
@@ -20,6 +21,16 @@ class OpethToken extends abstract_eth_1.EthLikeToken {
20
21
  getTransactionBuilder() {
21
22
  return new lib_1.TransactionBuilder(statics_1.coins.get(this.getBaseChain()));
22
23
  }
24
+ /**
25
+ * Make a query to Optimism Etherscan for information such as balance, token balance, solidity calls
26
+ * @param {Object} query key-value pairs of parameters to append after /api
27
+ * @returns {Promise<Object>} response from Optimism Etherscan
28
+ */
29
+ async recoveryBlockchainExplorerQuery(query) {
30
+ const apiToken = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanApiToken;
31
+ const explorerUrl = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanBaseUrl;
32
+ return await (0, abstract_eth_1.recoveryBlockchainExplorerQuery)(query, explorerUrl, apiToken);
33
+ }
23
34
  getFullName() {
24
35
  return 'Opeth Token';
25
36
  }
@@ -29,4 +40,4 @@ OpethToken.coinNames = {
29
40
  Mainnet: 'opeth',
30
41
  Testnet: 'topeth',
31
42
  };
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BldGhUb2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9vcGV0aFRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBOztHQUVHO0FBQ0gsaURBQWdFO0FBRWhFLDJEQUFtRTtBQUVuRSwrQkFBMkM7QUFHM0MsTUFBYSxVQUFXLFNBQVEsMkJBQVk7SUFNMUMsWUFBWSxLQUFnQixFQUFFLFdBQStCO1FBQzNELEtBQUssQ0FBQyxLQUFLLEVBQUUsV0FBVyxFQUFFLFVBQVUsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUNsRCxDQUFDO0lBQ0QsTUFBTSxDQUFDLHNCQUFzQixDQUFDLE1BQTBCO1FBQ3RELE9BQU8sS0FBSyxDQUFDLHNCQUFzQixDQUFDLE1BQU0sRUFBRSxVQUFVLENBQUMsU0FBUyxDQUFDLENBQUM7SUFDcEUsQ0FBQztJQUVELE1BQU0sQ0FBQyx1QkFBdUI7UUFDNUIsT0FBTyxLQUFLLENBQUMsdUJBQXVCLENBQUMsVUFBVSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBQzdELENBQUM7SUFFUyxxQkFBcUI7UUFDN0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nYoKV0ub3B0aW1pc3RpY0V0aGVyc2NhbkFwaVRva2VuO1xuICAgIGNvbnN0IGV4cGxvcmVyVXJsID0gY29tbW9uLkVudmlyb25tZW50c1t0aGlzLmJpdGdvLmdldEVudigpXS5vcHRpbWlzdGljRXRoZXJzY2FuQmFzZVVybDtcbiAgICByZXR1cm4gYXdhaXQgcmVjb3ZlcnlCbG9ja2NoYWluRXhwbG9yZXJRdWVyeShxdWVyeSwgZXhwbG9yZXJVcmwgYXMgc3RyaW5nLCBhcGlUb2tlbik7XG4gIH1cblxuICBnZXRGdWxsTmFtZSgpOiBzdHJpbmcge1xuICAgIHJldHVybiAnT3BldGggVG9rZW4nO1xuICB9XG59XG4iXX0=
@@ -1 +1 @@
1
- {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../src/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,eAAO,MAAM,QAAQ,QAAS,SAAS,KAAG,IAGzC,CAAC"}
1
+ {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../src/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,eAAO,MAAM,QAAQ,QAAS,SAAS,KAAG,IAMzC,CAAC"}
@@ -3,9 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.register = void 0;
4
4
  const opeth_1 = require("./opeth");
5
5
  const topeth_1 = require("./topeth");
6
+ const opethToken_1 = require("./opethToken");
6
7
  const register = (sdk) => {
7
8
  sdk.register('opeth', opeth_1.Opeth.createInstance);
8
9
  sdk.register('topeth', topeth_1.Topeth.createInstance);
10
+ opethToken_1.OpethToken.createTokenConstructors().forEach(({ name, coinConstructor }) => {
11
+ sdk.register(name, coinConstructor);
12
+ });
9
13
  };
10
14
  exports.register = register;
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXI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0b3IpO1xuICB9KTtcbn07XG4iXX0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-opeth",
3
- "version": "1.0.1-beta.59",
3
+ "version": "1.0.1-beta.591",
4
4
  "description": "BitGo SDK coin library for Optimism",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "author": "BitGo SDK Team <sdkteam@bitgo.com>",
19
19
  "license": "MIT",
20
20
  "engines": {
21
- "node": ">=16 <21"
21
+ "node": ">=18 <21"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -40,17 +40,18 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo-beta/abstract-eth": "1.0.2-beta.434",
44
- "@bitgo-beta/sdk-core": "8.2.1-beta.203",
45
- "@bitgo-beta/statics": "15.1.1-beta.206",
46
- "@bitgo-beta/utxo-lib": "8.0.3-beta.204",
43
+ "@bitgo-beta/abstract-eth": "1.0.2-beta.969",
44
+ "@bitgo-beta/sdk-core": "8.2.1-beta.739",
45
+ "@bitgo-beta/secp256k1": "1.0.2-beta.765",
46
+ "@bitgo-beta/statics": "15.1.1-beta.742",
47
47
  "@ethereumjs/common": "^2.6.5",
48
- "superagent": "^3.8.3"
48
+ "ethereumjs-abi": "^0.6.5",
49
+ "ethereumjs-util": "7.1.5"
49
50
  },
50
51
  "devDependencies": {
51
- "@bitgo-beta/sdk-api": "1.10.1-beta.203",
52
- "@bitgo-beta/sdk-test": "^1.2.51",
53
- "secp256k1": "5.0.0"
52
+ "@bitgo-beta/sdk-api": "1.10.1-beta.738",
53
+ "@bitgo-beta/sdk-test": "^8.0.73",
54
+ "secp256k1": "5.0.1"
54
55
  },
55
- "gitHead": "2d46d71c56fbba7df7873f713f61741a62c1eba1"
56
+ "gitHead": "536836c32365a84fd6b5901d79a5b978f23b1ba1"
56
57
  }