@trustwallet/wallet-core 3.1.18 → 3.1.20
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/dist/generated/core_proto.d.ts +462 -1
- package/dist/generated/core_proto.js +1264 -2
- package/dist/lib/wallet-core.js +51 -49
- package/dist/lib/wallet-core.wasm +0 -0
- package/dist/src/wallet-core.d.ts +15 -1
- package/package.json +1 -1
@@ -28024,6 +28024,437 @@ export namespace TW {
|
|
28024
28024
|
public toJSON(): { [k: string]: any };
|
28025
28025
|
}
|
28026
28026
|
|
28027
|
+
/** Properties of a FreezeBalanceV2Contract. */
|
28028
|
+
interface IFreezeBalanceV2Contract {
|
28029
|
+
|
28030
|
+
/** FreezeBalanceV2Contract ownerAddress */
|
28031
|
+
ownerAddress?: (string|null);
|
28032
|
+
|
28033
|
+
/** FreezeBalanceV2Contract frozenBalance */
|
28034
|
+
frozenBalance?: (Long|null);
|
28035
|
+
|
28036
|
+
/** FreezeBalanceV2Contract resource */
|
28037
|
+
resource?: (string|null);
|
28038
|
+
}
|
28039
|
+
|
28040
|
+
/** Represents a FreezeBalanceV2Contract. */
|
28041
|
+
class FreezeBalanceV2Contract implements IFreezeBalanceV2Contract {
|
28042
|
+
|
28043
|
+
/**
|
28044
|
+
* Constructs a new FreezeBalanceV2Contract.
|
28045
|
+
* @param [properties] Properties to set
|
28046
|
+
*/
|
28047
|
+
constructor(properties?: TW.Tron.Proto.IFreezeBalanceV2Contract);
|
28048
|
+
|
28049
|
+
/** FreezeBalanceV2Contract ownerAddress. */
|
28050
|
+
public ownerAddress: string;
|
28051
|
+
|
28052
|
+
/** FreezeBalanceV2Contract frozenBalance. */
|
28053
|
+
public frozenBalance: Long;
|
28054
|
+
|
28055
|
+
/** FreezeBalanceV2Contract resource. */
|
28056
|
+
public resource: string;
|
28057
|
+
|
28058
|
+
/**
|
28059
|
+
* Creates a new FreezeBalanceV2Contract instance using the specified properties.
|
28060
|
+
* @param [properties] Properties to set
|
28061
|
+
* @returns FreezeBalanceV2Contract instance
|
28062
|
+
*/
|
28063
|
+
public static create(properties?: TW.Tron.Proto.IFreezeBalanceV2Contract): TW.Tron.Proto.FreezeBalanceV2Contract;
|
28064
|
+
|
28065
|
+
/**
|
28066
|
+
* Encodes the specified FreezeBalanceV2Contract message. Does not implicitly {@link TW.Tron.Proto.FreezeBalanceV2Contract.verify|verify} messages.
|
28067
|
+
* @param message FreezeBalanceV2Contract message or plain object to encode
|
28068
|
+
* @param [writer] Writer to encode to
|
28069
|
+
* @returns Writer
|
28070
|
+
*/
|
28071
|
+
public static encode(message: TW.Tron.Proto.IFreezeBalanceV2Contract, writer?: $protobuf.Writer): $protobuf.Writer;
|
28072
|
+
|
28073
|
+
/**
|
28074
|
+
* Decodes a FreezeBalanceV2Contract message from the specified reader or buffer.
|
28075
|
+
* @param reader Reader or buffer to decode from
|
28076
|
+
* @param [length] Message length if known beforehand
|
28077
|
+
* @returns FreezeBalanceV2Contract
|
28078
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
28079
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
28080
|
+
*/
|
28081
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Tron.Proto.FreezeBalanceV2Contract;
|
28082
|
+
|
28083
|
+
/**
|
28084
|
+
* Verifies a FreezeBalanceV2Contract message.
|
28085
|
+
* @param message Plain object to verify
|
28086
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
28087
|
+
*/
|
28088
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
28089
|
+
|
28090
|
+
/**
|
28091
|
+
* Creates a FreezeBalanceV2Contract message from a plain object. Also converts values to their respective internal types.
|
28092
|
+
* @param object Plain object
|
28093
|
+
* @returns FreezeBalanceV2Contract
|
28094
|
+
*/
|
28095
|
+
public static fromObject(object: { [k: string]: any }): TW.Tron.Proto.FreezeBalanceV2Contract;
|
28096
|
+
|
28097
|
+
/**
|
28098
|
+
* Creates a plain object from a FreezeBalanceV2Contract message. Also converts values to other types if specified.
|
28099
|
+
* @param message FreezeBalanceV2Contract
|
28100
|
+
* @param [options] Conversion options
|
28101
|
+
* @returns Plain object
|
28102
|
+
*/
|
28103
|
+
public static toObject(message: TW.Tron.Proto.FreezeBalanceV2Contract, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
28104
|
+
|
28105
|
+
/**
|
28106
|
+
* Converts this FreezeBalanceV2Contract to JSON.
|
28107
|
+
* @returns JSON object
|
28108
|
+
*/
|
28109
|
+
public toJSON(): { [k: string]: any };
|
28110
|
+
}
|
28111
|
+
|
28112
|
+
/** Properties of an UnfreezeBalanceV2Contract. */
|
28113
|
+
interface IUnfreezeBalanceV2Contract {
|
28114
|
+
|
28115
|
+
/** UnfreezeBalanceV2Contract ownerAddress */
|
28116
|
+
ownerAddress?: (string|null);
|
28117
|
+
|
28118
|
+
/** UnfreezeBalanceV2Contract unfreezeBalance */
|
28119
|
+
unfreezeBalance?: (Long|null);
|
28120
|
+
|
28121
|
+
/** UnfreezeBalanceV2Contract resource */
|
28122
|
+
resource?: (string|null);
|
28123
|
+
}
|
28124
|
+
|
28125
|
+
/** Represents an UnfreezeBalanceV2Contract. */
|
28126
|
+
class UnfreezeBalanceV2Contract implements IUnfreezeBalanceV2Contract {
|
28127
|
+
|
28128
|
+
/**
|
28129
|
+
* Constructs a new UnfreezeBalanceV2Contract.
|
28130
|
+
* @param [properties] Properties to set
|
28131
|
+
*/
|
28132
|
+
constructor(properties?: TW.Tron.Proto.IUnfreezeBalanceV2Contract);
|
28133
|
+
|
28134
|
+
/** UnfreezeBalanceV2Contract ownerAddress. */
|
28135
|
+
public ownerAddress: string;
|
28136
|
+
|
28137
|
+
/** UnfreezeBalanceV2Contract unfreezeBalance. */
|
28138
|
+
public unfreezeBalance: Long;
|
28139
|
+
|
28140
|
+
/** UnfreezeBalanceV2Contract resource. */
|
28141
|
+
public resource: string;
|
28142
|
+
|
28143
|
+
/**
|
28144
|
+
* Creates a new UnfreezeBalanceV2Contract instance using the specified properties.
|
28145
|
+
* @param [properties] Properties to set
|
28146
|
+
* @returns UnfreezeBalanceV2Contract instance
|
28147
|
+
*/
|
28148
|
+
public static create(properties?: TW.Tron.Proto.IUnfreezeBalanceV2Contract): TW.Tron.Proto.UnfreezeBalanceV2Contract;
|
28149
|
+
|
28150
|
+
/**
|
28151
|
+
* Encodes the specified UnfreezeBalanceV2Contract message. Does not implicitly {@link TW.Tron.Proto.UnfreezeBalanceV2Contract.verify|verify} messages.
|
28152
|
+
* @param message UnfreezeBalanceV2Contract message or plain object to encode
|
28153
|
+
* @param [writer] Writer to encode to
|
28154
|
+
* @returns Writer
|
28155
|
+
*/
|
28156
|
+
public static encode(message: TW.Tron.Proto.IUnfreezeBalanceV2Contract, writer?: $protobuf.Writer): $protobuf.Writer;
|
28157
|
+
|
28158
|
+
/**
|
28159
|
+
* Decodes an UnfreezeBalanceV2Contract message from the specified reader or buffer.
|
28160
|
+
* @param reader Reader or buffer to decode from
|
28161
|
+
* @param [length] Message length if known beforehand
|
28162
|
+
* @returns UnfreezeBalanceV2Contract
|
28163
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
28164
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
28165
|
+
*/
|
28166
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Tron.Proto.UnfreezeBalanceV2Contract;
|
28167
|
+
|
28168
|
+
/**
|
28169
|
+
* Verifies an UnfreezeBalanceV2Contract message.
|
28170
|
+
* @param message Plain object to verify
|
28171
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
28172
|
+
*/
|
28173
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
28174
|
+
|
28175
|
+
/**
|
28176
|
+
* Creates an UnfreezeBalanceV2Contract message from a plain object. Also converts values to their respective internal types.
|
28177
|
+
* @param object Plain object
|
28178
|
+
* @returns UnfreezeBalanceV2Contract
|
28179
|
+
*/
|
28180
|
+
public static fromObject(object: { [k: string]: any }): TW.Tron.Proto.UnfreezeBalanceV2Contract;
|
28181
|
+
|
28182
|
+
/**
|
28183
|
+
* Creates a plain object from an UnfreezeBalanceV2Contract message. Also converts values to other types if specified.
|
28184
|
+
* @param message UnfreezeBalanceV2Contract
|
28185
|
+
* @param [options] Conversion options
|
28186
|
+
* @returns Plain object
|
28187
|
+
*/
|
28188
|
+
public static toObject(message: TW.Tron.Proto.UnfreezeBalanceV2Contract, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
28189
|
+
|
28190
|
+
/**
|
28191
|
+
* Converts this UnfreezeBalanceV2Contract to JSON.
|
28192
|
+
* @returns JSON object
|
28193
|
+
*/
|
28194
|
+
public toJSON(): { [k: string]: any };
|
28195
|
+
}
|
28196
|
+
|
28197
|
+
/** Properties of a WithdrawExpireUnfreezeContract. */
|
28198
|
+
interface IWithdrawExpireUnfreezeContract {
|
28199
|
+
|
28200
|
+
/** WithdrawExpireUnfreezeContract ownerAddress */
|
28201
|
+
ownerAddress?: (string|null);
|
28202
|
+
}
|
28203
|
+
|
28204
|
+
/** Represents a WithdrawExpireUnfreezeContract. */
|
28205
|
+
class WithdrawExpireUnfreezeContract implements IWithdrawExpireUnfreezeContract {
|
28206
|
+
|
28207
|
+
/**
|
28208
|
+
* Constructs a new WithdrawExpireUnfreezeContract.
|
28209
|
+
* @param [properties] Properties to set
|
28210
|
+
*/
|
28211
|
+
constructor(properties?: TW.Tron.Proto.IWithdrawExpireUnfreezeContract);
|
28212
|
+
|
28213
|
+
/** WithdrawExpireUnfreezeContract ownerAddress. */
|
28214
|
+
public ownerAddress: string;
|
28215
|
+
|
28216
|
+
/**
|
28217
|
+
* Creates a new WithdrawExpireUnfreezeContract instance using the specified properties.
|
28218
|
+
* @param [properties] Properties to set
|
28219
|
+
* @returns WithdrawExpireUnfreezeContract instance
|
28220
|
+
*/
|
28221
|
+
public static create(properties?: TW.Tron.Proto.IWithdrawExpireUnfreezeContract): TW.Tron.Proto.WithdrawExpireUnfreezeContract;
|
28222
|
+
|
28223
|
+
/**
|
28224
|
+
* Encodes the specified WithdrawExpireUnfreezeContract message. Does not implicitly {@link TW.Tron.Proto.WithdrawExpireUnfreezeContract.verify|verify} messages.
|
28225
|
+
* @param message WithdrawExpireUnfreezeContract message or plain object to encode
|
28226
|
+
* @param [writer] Writer to encode to
|
28227
|
+
* @returns Writer
|
28228
|
+
*/
|
28229
|
+
public static encode(message: TW.Tron.Proto.IWithdrawExpireUnfreezeContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
28230
|
+
|
28231
|
+
/**
|
28232
|
+
* Decodes a WithdrawExpireUnfreezeContract message from the specified reader or buffer.
|
28233
|
+
* @param reader Reader or buffer to decode from
|
28234
|
+
* @param [length] Message length if known beforehand
|
28235
|
+
* @returns WithdrawExpireUnfreezeContract
|
28236
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
28237
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
28238
|
+
*/
|
28239
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Tron.Proto.WithdrawExpireUnfreezeContract;
|
28240
|
+
|
28241
|
+
/**
|
28242
|
+
* Verifies a WithdrawExpireUnfreezeContract message.
|
28243
|
+
* @param message Plain object to verify
|
28244
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
28245
|
+
*/
|
28246
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
28247
|
+
|
28248
|
+
/**
|
28249
|
+
* Creates a WithdrawExpireUnfreezeContract message from a plain object. Also converts values to their respective internal types.
|
28250
|
+
* @param object Plain object
|
28251
|
+
* @returns WithdrawExpireUnfreezeContract
|
28252
|
+
*/
|
28253
|
+
public static fromObject(object: { [k: string]: any }): TW.Tron.Proto.WithdrawExpireUnfreezeContract;
|
28254
|
+
|
28255
|
+
/**
|
28256
|
+
* Creates a plain object from a WithdrawExpireUnfreezeContract message. Also converts values to other types if specified.
|
28257
|
+
* @param message WithdrawExpireUnfreezeContract
|
28258
|
+
* @param [options] Conversion options
|
28259
|
+
* @returns Plain object
|
28260
|
+
*/
|
28261
|
+
public static toObject(message: TW.Tron.Proto.WithdrawExpireUnfreezeContract, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
28262
|
+
|
28263
|
+
/**
|
28264
|
+
* Converts this WithdrawExpireUnfreezeContract to JSON.
|
28265
|
+
* @returns JSON object
|
28266
|
+
*/
|
28267
|
+
public toJSON(): { [k: string]: any };
|
28268
|
+
}
|
28269
|
+
|
28270
|
+
/** Properties of a DelegateResourceContract. */
|
28271
|
+
interface IDelegateResourceContract {
|
28272
|
+
|
28273
|
+
/** DelegateResourceContract ownerAddress */
|
28274
|
+
ownerAddress?: (string|null);
|
28275
|
+
|
28276
|
+
/** DelegateResourceContract resource */
|
28277
|
+
resource?: (string|null);
|
28278
|
+
|
28279
|
+
/** DelegateResourceContract balance */
|
28280
|
+
balance?: (Long|null);
|
28281
|
+
|
28282
|
+
/** DelegateResourceContract receiverAddress */
|
28283
|
+
receiverAddress?: (string|null);
|
28284
|
+
|
28285
|
+
/** DelegateResourceContract lock */
|
28286
|
+
lock?: (boolean|null);
|
28287
|
+
}
|
28288
|
+
|
28289
|
+
/** Represents a DelegateResourceContract. */
|
28290
|
+
class DelegateResourceContract implements IDelegateResourceContract {
|
28291
|
+
|
28292
|
+
/**
|
28293
|
+
* Constructs a new DelegateResourceContract.
|
28294
|
+
* @param [properties] Properties to set
|
28295
|
+
*/
|
28296
|
+
constructor(properties?: TW.Tron.Proto.IDelegateResourceContract);
|
28297
|
+
|
28298
|
+
/** DelegateResourceContract ownerAddress. */
|
28299
|
+
public ownerAddress: string;
|
28300
|
+
|
28301
|
+
/** DelegateResourceContract resource. */
|
28302
|
+
public resource: string;
|
28303
|
+
|
28304
|
+
/** DelegateResourceContract balance. */
|
28305
|
+
public balance: Long;
|
28306
|
+
|
28307
|
+
/** DelegateResourceContract receiverAddress. */
|
28308
|
+
public receiverAddress: string;
|
28309
|
+
|
28310
|
+
/** DelegateResourceContract lock. */
|
28311
|
+
public lock: boolean;
|
28312
|
+
|
28313
|
+
/**
|
28314
|
+
* Creates a new DelegateResourceContract instance using the specified properties.
|
28315
|
+
* @param [properties] Properties to set
|
28316
|
+
* @returns DelegateResourceContract instance
|
28317
|
+
*/
|
28318
|
+
public static create(properties?: TW.Tron.Proto.IDelegateResourceContract): TW.Tron.Proto.DelegateResourceContract;
|
28319
|
+
|
28320
|
+
/**
|
28321
|
+
* Encodes the specified DelegateResourceContract message. Does not implicitly {@link TW.Tron.Proto.DelegateResourceContract.verify|verify} messages.
|
28322
|
+
* @param message DelegateResourceContract message or plain object to encode
|
28323
|
+
* @param [writer] Writer to encode to
|
28324
|
+
* @returns Writer
|
28325
|
+
*/
|
28326
|
+
public static encode(message: TW.Tron.Proto.IDelegateResourceContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
28327
|
+
|
28328
|
+
/**
|
28329
|
+
* Decodes a DelegateResourceContract message from the specified reader or buffer.
|
28330
|
+
* @param reader Reader or buffer to decode from
|
28331
|
+
* @param [length] Message length if known beforehand
|
28332
|
+
* @returns DelegateResourceContract
|
28333
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
28334
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
28335
|
+
*/
|
28336
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Tron.Proto.DelegateResourceContract;
|
28337
|
+
|
28338
|
+
/**
|
28339
|
+
* Verifies a DelegateResourceContract message.
|
28340
|
+
* @param message Plain object to verify
|
28341
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
28342
|
+
*/
|
28343
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
28344
|
+
|
28345
|
+
/**
|
28346
|
+
* Creates a DelegateResourceContract message from a plain object. Also converts values to their respective internal types.
|
28347
|
+
* @param object Plain object
|
28348
|
+
* @returns DelegateResourceContract
|
28349
|
+
*/
|
28350
|
+
public static fromObject(object: { [k: string]: any }): TW.Tron.Proto.DelegateResourceContract;
|
28351
|
+
|
28352
|
+
/**
|
28353
|
+
* Creates a plain object from a DelegateResourceContract message. Also converts values to other types if specified.
|
28354
|
+
* @param message DelegateResourceContract
|
28355
|
+
* @param [options] Conversion options
|
28356
|
+
* @returns Plain object
|
28357
|
+
*/
|
28358
|
+
public static toObject(message: TW.Tron.Proto.DelegateResourceContract, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
28359
|
+
|
28360
|
+
/**
|
28361
|
+
* Converts this DelegateResourceContract to JSON.
|
28362
|
+
* @returns JSON object
|
28363
|
+
*/
|
28364
|
+
public toJSON(): { [k: string]: any };
|
28365
|
+
}
|
28366
|
+
|
28367
|
+
/** Properties of an UnDelegateResourceContract. */
|
28368
|
+
interface IUnDelegateResourceContract {
|
28369
|
+
|
28370
|
+
/** UnDelegateResourceContract ownerAddress */
|
28371
|
+
ownerAddress?: (string|null);
|
28372
|
+
|
28373
|
+
/** UnDelegateResourceContract resource */
|
28374
|
+
resource?: (string|null);
|
28375
|
+
|
28376
|
+
/** UnDelegateResourceContract balance */
|
28377
|
+
balance?: (Long|null);
|
28378
|
+
|
28379
|
+
/** UnDelegateResourceContract receiverAddress */
|
28380
|
+
receiverAddress?: (string|null);
|
28381
|
+
}
|
28382
|
+
|
28383
|
+
/** Represents an UnDelegateResourceContract. */
|
28384
|
+
class UnDelegateResourceContract implements IUnDelegateResourceContract {
|
28385
|
+
|
28386
|
+
/**
|
28387
|
+
* Constructs a new UnDelegateResourceContract.
|
28388
|
+
* @param [properties] Properties to set
|
28389
|
+
*/
|
28390
|
+
constructor(properties?: TW.Tron.Proto.IUnDelegateResourceContract);
|
28391
|
+
|
28392
|
+
/** UnDelegateResourceContract ownerAddress. */
|
28393
|
+
public ownerAddress: string;
|
28394
|
+
|
28395
|
+
/** UnDelegateResourceContract resource. */
|
28396
|
+
public resource: string;
|
28397
|
+
|
28398
|
+
/** UnDelegateResourceContract balance. */
|
28399
|
+
public balance: Long;
|
28400
|
+
|
28401
|
+
/** UnDelegateResourceContract receiverAddress. */
|
28402
|
+
public receiverAddress: string;
|
28403
|
+
|
28404
|
+
/**
|
28405
|
+
* Creates a new UnDelegateResourceContract instance using the specified properties.
|
28406
|
+
* @param [properties] Properties to set
|
28407
|
+
* @returns UnDelegateResourceContract instance
|
28408
|
+
*/
|
28409
|
+
public static create(properties?: TW.Tron.Proto.IUnDelegateResourceContract): TW.Tron.Proto.UnDelegateResourceContract;
|
28410
|
+
|
28411
|
+
/**
|
28412
|
+
* Encodes the specified UnDelegateResourceContract message. Does not implicitly {@link TW.Tron.Proto.UnDelegateResourceContract.verify|verify} messages.
|
28413
|
+
* @param message UnDelegateResourceContract message or plain object to encode
|
28414
|
+
* @param [writer] Writer to encode to
|
28415
|
+
* @returns Writer
|
28416
|
+
*/
|
28417
|
+
public static encode(message: TW.Tron.Proto.IUnDelegateResourceContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
28418
|
+
|
28419
|
+
/**
|
28420
|
+
* Decodes an UnDelegateResourceContract message from the specified reader or buffer.
|
28421
|
+
* @param reader Reader or buffer to decode from
|
28422
|
+
* @param [length] Message length if known beforehand
|
28423
|
+
* @returns UnDelegateResourceContract
|
28424
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
28425
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
28426
|
+
*/
|
28427
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Tron.Proto.UnDelegateResourceContract;
|
28428
|
+
|
28429
|
+
/**
|
28430
|
+
* Verifies an UnDelegateResourceContract message.
|
28431
|
+
* @param message Plain object to verify
|
28432
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
28433
|
+
*/
|
28434
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
28435
|
+
|
28436
|
+
/**
|
28437
|
+
* Creates an UnDelegateResourceContract message from a plain object. Also converts values to their respective internal types.
|
28438
|
+
* @param object Plain object
|
28439
|
+
* @returns UnDelegateResourceContract
|
28440
|
+
*/
|
28441
|
+
public static fromObject(object: { [k: string]: any }): TW.Tron.Proto.UnDelegateResourceContract;
|
28442
|
+
|
28443
|
+
/**
|
28444
|
+
* Creates a plain object from an UnDelegateResourceContract message. Also converts values to other types if specified.
|
28445
|
+
* @param message UnDelegateResourceContract
|
28446
|
+
* @param [options] Conversion options
|
28447
|
+
* @returns Plain object
|
28448
|
+
*/
|
28449
|
+
public static toObject(message: TW.Tron.Proto.UnDelegateResourceContract, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
28450
|
+
|
28451
|
+
/**
|
28452
|
+
* Converts this UnDelegateResourceContract to JSON.
|
28453
|
+
* @returns JSON object
|
28454
|
+
*/
|
28455
|
+
public toJSON(): { [k: string]: any };
|
28456
|
+
}
|
28457
|
+
|
28027
28458
|
/** Properties of an UnfreezeBalanceContract. */
|
28028
28459
|
interface IUnfreezeBalanceContract {
|
28029
28460
|
|
@@ -28763,6 +29194,21 @@ export namespace TW {
|
|
28763
29194
|
|
28764
29195
|
/** Transaction transferTrc20Contract */
|
28765
29196
|
transferTrc20Contract?: (TW.Tron.Proto.ITransferTRC20Contract|null);
|
29197
|
+
|
29198
|
+
/** Transaction freezeBalanceV2 */
|
29199
|
+
freezeBalanceV2?: (TW.Tron.Proto.IFreezeBalanceV2Contract|null);
|
29200
|
+
|
29201
|
+
/** Transaction unfreezeBalanceV2 */
|
29202
|
+
unfreezeBalanceV2?: (TW.Tron.Proto.IUnfreezeBalanceV2Contract|null);
|
29203
|
+
|
29204
|
+
/** Transaction withdrawExpireUnfreeze */
|
29205
|
+
withdrawExpireUnfreeze?: (TW.Tron.Proto.IWithdrawExpireUnfreezeContract|null);
|
29206
|
+
|
29207
|
+
/** Transaction delegateResource */
|
29208
|
+
delegateResource?: (TW.Tron.Proto.IDelegateResourceContract|null);
|
29209
|
+
|
29210
|
+
/** Transaction undelegateResource */
|
29211
|
+
undelegateResource?: (TW.Tron.Proto.IUnDelegateResourceContract|null);
|
28766
29212
|
}
|
28767
29213
|
|
28768
29214
|
/** Represents a Transaction. */
|
@@ -28816,8 +29262,23 @@ export namespace TW {
|
|
28816
29262
|
/** Transaction transferTrc20Contract. */
|
28817
29263
|
public transferTrc20Contract?: (TW.Tron.Proto.ITransferTRC20Contract|null);
|
28818
29264
|
|
29265
|
+
/** Transaction freezeBalanceV2. */
|
29266
|
+
public freezeBalanceV2?: (TW.Tron.Proto.IFreezeBalanceV2Contract|null);
|
29267
|
+
|
29268
|
+
/** Transaction unfreezeBalanceV2. */
|
29269
|
+
public unfreezeBalanceV2?: (TW.Tron.Proto.IUnfreezeBalanceV2Contract|null);
|
29270
|
+
|
29271
|
+
/** Transaction withdrawExpireUnfreeze. */
|
29272
|
+
public withdrawExpireUnfreeze?: (TW.Tron.Proto.IWithdrawExpireUnfreezeContract|null);
|
29273
|
+
|
29274
|
+
/** Transaction delegateResource. */
|
29275
|
+
public delegateResource?: (TW.Tron.Proto.IDelegateResourceContract|null);
|
29276
|
+
|
29277
|
+
/** Transaction undelegateResource. */
|
29278
|
+
public undelegateResource?: (TW.Tron.Proto.IUnDelegateResourceContract|null);
|
29279
|
+
|
28819
29280
|
/** Transaction contractOneof. */
|
28820
|
-
public contractOneof?: ("transfer"|"transferAsset"|"freezeBalance"|"unfreezeBalance"|"unfreezeAsset"|"withdrawBalance"|"voteAsset"|"voteWitness"|"triggerSmartContract"|"transferTrc20Contract");
|
29281
|
+
public contractOneof?: ("transfer"|"transferAsset"|"freezeBalance"|"unfreezeBalance"|"unfreezeAsset"|"withdrawBalance"|"voteAsset"|"voteWitness"|"triggerSmartContract"|"transferTrc20Contract"|"freezeBalanceV2"|"unfreezeBalanceV2"|"withdrawExpireUnfreeze"|"delegateResource"|"undelegateResource");
|
28821
29282
|
|
28822
29283
|
/**
|
28823
29284
|
* Creates a new Transaction instance using the specified properties.
|