@bitgo-beta/sdk-coin-trx 1.2.3-alpha.318 → 1.2.3-alpha.319
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 +12 -0
- package/dist/resources/protobuf/Contract.proto +16 -0
- package/dist/resources/protobuf/tron.d.ts +1012 -0
- package/dist/resources/protobuf/tron.js +4169 -1231
- package/dist/resources/protobuf/tron.proto +4 -0
- package/dist/src/lib/contractCallBuilder.d.ts +1 -35
- package/dist/src/lib/contractCallBuilder.d.ts.map +1 -1
- package/dist/src/lib/contractCallBuilder.js +3 -66
- package/dist/src/lib/enum.d.ts +24 -1
- package/dist/src/lib/enum.d.ts.map +1 -1
- package/dist/src/lib/enum.js +26 -2
- package/dist/src/lib/freezeBalanceTxBuilder.d.ts +71 -0
- package/dist/src/lib/freezeBalanceTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/freezeBalanceTxBuilder.js +211 -0
- package/dist/src/lib/iface.d.ts +171 -2
- package/dist/src/lib/iface.d.ts.map +1 -1
- package/dist/src/lib/iface.js +1 -1
- package/dist/src/lib/transaction.d.ts.map +1 -1
- package/dist/src/lib/transaction.js +51 -1
- package/dist/src/lib/transactionBuilder.d.ts +50 -5
- package/dist/src/lib/transactionBuilder.d.ts.map +1 -1
- package/dist/src/lib/transactionBuilder.js +83 -8
- package/dist/src/lib/unfreezeBalanceTxBuilder.d.ts +65 -0
- package/dist/src/lib/unfreezeBalanceTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/unfreezeBalanceTxBuilder.js +204 -0
- package/dist/src/lib/utils.d.ts +34 -2
- package/dist/src/lib/utils.d.ts.map +1 -1
- package/dist/src/lib/utils.js +178 -3
- package/dist/src/lib/voteWitnessTxBuilder.d.ts +62 -0
- package/dist/src/lib/voteWitnessTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/voteWitnessTxBuilder.js +219 -0
- package/dist/src/lib/withdrawExpireUnfreezeTxBuilder.d.ts +49 -0
- package/dist/src/lib/withdrawExpireUnfreezeTxBuilder.d.ts.map +1 -0
- package/dist/src/lib/withdrawExpireUnfreezeTxBuilder.js +167 -0
- package/dist/src/lib/wrappedBuilder.d.ts +32 -0
- package/dist/src/lib/wrappedBuilder.d.ts.map +1 -1
- package/dist/src/lib/wrappedBuilder.js +49 -1
- package/package.json +8 -7
- package/resources/protobuf/Contract.proto +16 -0
- package/resources/protobuf/tron.d.ts +1012 -0
- package/resources/protobuf/tron.js +4169 -1231
- package/resources/protobuf/tron.proto +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-trx@3.0.2...@bitgo/sdk-coin-trx@3.1.0) (2025-05-22)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **sdk-coin-trx:** add stake support (freeze and vote) ([7419a55](https://github.com/BitGo/BitGoJS/commit/7419a55d5822d2dba4d99f5a5cbdd53c40427abf))
|
|
11
|
+
|
|
12
|
+
## [3.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-trx@3.0.1...@bitgo/sdk-coin-trx@3.0.2) (2025-05-20)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **sdk-coin-trx:** handling string type for scanning factor ([e465870](https://github.com/BitGo/BitGoJS/commit/e4658700c57ba5906aabb896ba2e9a26f244df60))
|
|
17
|
+
|
|
6
18
|
## [3.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-trx@3.0.0...@bitgo/sdk-coin-trx@3.0.1) (2025-05-07)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @bitgo/sdk-coin-trx
|
|
@@ -155,6 +155,22 @@ message UnfreezeBalanceContract {
|
|
|
155
155
|
bytes receiver_address = 15;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
+
message FreezeBalanceV2Contract {
|
|
159
|
+
bytes owner_address = 1;
|
|
160
|
+
int64 frozen_balance = 2;
|
|
161
|
+
ResourceCode resource = 3;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
message UnfreezeBalanceV2Contract {
|
|
165
|
+
bytes owner_address = 1;
|
|
166
|
+
int64 unfreeze_balance = 2;
|
|
167
|
+
ResourceCode resource = 3;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
message WithdrawExpireUnfreezeContract {
|
|
171
|
+
bytes owner_address = 1;
|
|
172
|
+
}
|
|
173
|
+
|
|
158
174
|
message UnfreezeAssetContract {
|
|
159
175
|
bytes owner_address = 1;
|
|
160
176
|
}
|