@trustwallet/wallet-core 4.3.1 → 4.3.3
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.
@@ -12428,6 +12428,9 @@ export namespace TW {
|
|
12428
12428
|
|
12429
12429
|
/** Message thorchainDepositMessage */
|
12430
12430
|
thorchainDepositMessage?: (TW.Cosmos.Proto.Message.ITHORChainDeposit|null);
|
12431
|
+
|
12432
|
+
/** Message wasmInstantiateContractMessage */
|
12433
|
+
wasmInstantiateContractMessage?: (TW.Cosmos.Proto.Message.IWasmInstantiateContract|null);
|
12431
12434
|
}
|
12432
12435
|
|
12433
12436
|
/** Represents a Message. */
|
@@ -12505,8 +12508,11 @@ export namespace TW {
|
|
12505
12508
|
/** Message thorchainDepositMessage. */
|
12506
12509
|
public thorchainDepositMessage?: (TW.Cosmos.Proto.Message.ITHORChainDeposit|null);
|
12507
12510
|
|
12511
|
+
/** Message wasmInstantiateContractMessage. */
|
12512
|
+
public wasmInstantiateContractMessage?: (TW.Cosmos.Proto.Message.IWasmInstantiateContract|null);
|
12513
|
+
|
12508
12514
|
/** Message messageOneof. */
|
12509
|
-
public messageOneof?: ("sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"setWithdrawAddressMessage"|"msgVote"|"msgStrideLiquidStakingStake"|"msgStrideLiquidStakingRedeem"|"thorchainDepositMessage");
|
12515
|
+
public messageOneof?: ("sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"setWithdrawAddressMessage"|"msgVote"|"msgStrideLiquidStakingStake"|"msgStrideLiquidStakingRedeem"|"thorchainDepositMessage"|"wasmInstantiateContractMessage");
|
12510
12516
|
|
12511
12517
|
/**
|
12512
12518
|
* Creates a new Message instance using the specified properties.
|
@@ -13953,6 +13959,109 @@ export namespace TW {
|
|
13953
13959
|
public toJSON(): { [k: string]: any };
|
13954
13960
|
}
|
13955
13961
|
|
13962
|
+
/** Properties of a WasmInstantiateContract. */
|
13963
|
+
interface IWasmInstantiateContract {
|
13964
|
+
|
13965
|
+
/** WasmInstantiateContract sender */
|
13966
|
+
sender?: (string|null);
|
13967
|
+
|
13968
|
+
/** WasmInstantiateContract admin */
|
13969
|
+
admin?: (string|null);
|
13970
|
+
|
13971
|
+
/** WasmInstantiateContract codeId */
|
13972
|
+
codeId?: (Long|null);
|
13973
|
+
|
13974
|
+
/** WasmInstantiateContract label */
|
13975
|
+
label?: (string|null);
|
13976
|
+
|
13977
|
+
/** WasmInstantiateContract msg */
|
13978
|
+
msg?: (Uint8Array|null);
|
13979
|
+
|
13980
|
+
/** WasmInstantiateContract initFunds */
|
13981
|
+
initFunds?: (TW.Cosmos.Proto.IAmount[]|null);
|
13982
|
+
}
|
13983
|
+
|
13984
|
+
/** Represents a WasmInstantiateContract. */
|
13985
|
+
class WasmInstantiateContract implements IWasmInstantiateContract {
|
13986
|
+
|
13987
|
+
/**
|
13988
|
+
* Constructs a new WasmInstantiateContract.
|
13989
|
+
* @param [properties] Properties to set
|
13990
|
+
*/
|
13991
|
+
constructor(properties?: TW.Cosmos.Proto.Message.IWasmInstantiateContract);
|
13992
|
+
|
13993
|
+
/** WasmInstantiateContract sender. */
|
13994
|
+
public sender: string;
|
13995
|
+
|
13996
|
+
/** WasmInstantiateContract admin. */
|
13997
|
+
public admin: string;
|
13998
|
+
|
13999
|
+
/** WasmInstantiateContract codeId. */
|
14000
|
+
public codeId: Long;
|
14001
|
+
|
14002
|
+
/** WasmInstantiateContract label. */
|
14003
|
+
public label: string;
|
14004
|
+
|
14005
|
+
/** WasmInstantiateContract msg. */
|
14006
|
+
public msg: Uint8Array;
|
14007
|
+
|
14008
|
+
/** WasmInstantiateContract initFunds. */
|
14009
|
+
public initFunds: TW.Cosmos.Proto.IAmount[];
|
14010
|
+
|
14011
|
+
/**
|
14012
|
+
* Creates a new WasmInstantiateContract instance using the specified properties.
|
14013
|
+
* @param [properties] Properties to set
|
14014
|
+
* @returns WasmInstantiateContract instance
|
14015
|
+
*/
|
14016
|
+
public static create(properties?: TW.Cosmos.Proto.Message.IWasmInstantiateContract): TW.Cosmos.Proto.Message.WasmInstantiateContract;
|
14017
|
+
|
14018
|
+
/**
|
14019
|
+
* Encodes the specified WasmInstantiateContract message. Does not implicitly {@link TW.Cosmos.Proto.Message.WasmInstantiateContract.verify|verify} messages.
|
14020
|
+
* @param message WasmInstantiateContract message or plain object to encode
|
14021
|
+
* @param [writer] Writer to encode to
|
14022
|
+
* @returns Writer
|
14023
|
+
*/
|
14024
|
+
public static encode(message: TW.Cosmos.Proto.Message.IWasmInstantiateContract, writer?: $protobuf.Writer): $protobuf.Writer;
|
14025
|
+
|
14026
|
+
/**
|
14027
|
+
* Decodes a WasmInstantiateContract message from the specified reader or buffer.
|
14028
|
+
* @param reader Reader or buffer to decode from
|
14029
|
+
* @param [length] Message length if known beforehand
|
14030
|
+
* @returns WasmInstantiateContract
|
14031
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
14032
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14033
|
+
*/
|
14034
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Cosmos.Proto.Message.WasmInstantiateContract;
|
14035
|
+
|
14036
|
+
/**
|
14037
|
+
* Verifies a WasmInstantiateContract message.
|
14038
|
+
* @param message Plain object to verify
|
14039
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
14040
|
+
*/
|
14041
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
14042
|
+
|
14043
|
+
/**
|
14044
|
+
* Creates a WasmInstantiateContract message from a plain object. Also converts values to their respective internal types.
|
14045
|
+
* @param object Plain object
|
14046
|
+
* @returns WasmInstantiateContract
|
14047
|
+
*/
|
14048
|
+
public static fromObject(object: { [k: string]: any }): TW.Cosmos.Proto.Message.WasmInstantiateContract;
|
14049
|
+
|
14050
|
+
/**
|
14051
|
+
* Creates a plain object from a WasmInstantiateContract message. Also converts values to other types if specified.
|
14052
|
+
* @param message WasmInstantiateContract
|
14053
|
+
* @param [options] Conversion options
|
14054
|
+
* @returns Plain object
|
14055
|
+
*/
|
14056
|
+
public static toObject(message: TW.Cosmos.Proto.Message.WasmInstantiateContract, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14057
|
+
|
14058
|
+
/**
|
14059
|
+
* Converts this WasmInstantiateContract to JSON.
|
14060
|
+
* @returns JSON object
|
14061
|
+
*/
|
14062
|
+
public toJSON(): { [k: string]: any };
|
14063
|
+
}
|
14064
|
+
|
13956
14065
|
/** Properties of a RawJSON. */
|
13957
14066
|
interface IRawJSON {
|
13958
14067
|
|
@@ -17001,74 +17110,165 @@ export namespace TW {
|
|
17001
17110
|
public toJSON(): { [k: string]: any };
|
17002
17111
|
}
|
17003
17112
|
|
17004
|
-
/** Properties of an
|
17005
|
-
interface
|
17113
|
+
/** Properties of an Authorization. */
|
17114
|
+
interface IAuthorization {
|
17006
17115
|
|
17007
|
-
/**
|
17116
|
+
/** Authorization address */
|
17008
17117
|
address?: (string|null);
|
17118
|
+
|
17119
|
+
/** Authorization customSignature */
|
17120
|
+
customSignature?: (TW.Ethereum.Proto.IAuthorizationCustomSignature|null);
|
17009
17121
|
}
|
17010
17122
|
|
17011
|
-
/** Represents an
|
17012
|
-
class
|
17123
|
+
/** Represents an Authorization. */
|
17124
|
+
class Authorization implements IAuthorization {
|
17013
17125
|
|
17014
17126
|
/**
|
17015
|
-
* Constructs a new
|
17127
|
+
* Constructs a new Authorization.
|
17016
17128
|
* @param [properties] Properties to set
|
17017
17129
|
*/
|
17018
|
-
constructor(properties?: TW.Ethereum.Proto.
|
17130
|
+
constructor(properties?: TW.Ethereum.Proto.IAuthorization);
|
17019
17131
|
|
17020
|
-
/**
|
17132
|
+
/** Authorization address. */
|
17021
17133
|
public address: string;
|
17022
17134
|
|
17135
|
+
/** Authorization customSignature. */
|
17136
|
+
public customSignature?: (TW.Ethereum.Proto.IAuthorizationCustomSignature|null);
|
17137
|
+
|
17138
|
+
/**
|
17139
|
+
* Creates a new Authorization instance using the specified properties.
|
17140
|
+
* @param [properties] Properties to set
|
17141
|
+
* @returns Authorization instance
|
17142
|
+
*/
|
17143
|
+
public static create(properties?: TW.Ethereum.Proto.IAuthorization): TW.Ethereum.Proto.Authorization;
|
17144
|
+
|
17145
|
+
/**
|
17146
|
+
* Encodes the specified Authorization message. Does not implicitly {@link TW.Ethereum.Proto.Authorization.verify|verify} messages.
|
17147
|
+
* @param message Authorization message or plain object to encode
|
17148
|
+
* @param [writer] Writer to encode to
|
17149
|
+
* @returns Writer
|
17150
|
+
*/
|
17151
|
+
public static encode(message: TW.Ethereum.Proto.IAuthorization, writer?: $protobuf.Writer): $protobuf.Writer;
|
17152
|
+
|
17153
|
+
/**
|
17154
|
+
* Decodes an Authorization message from the specified reader or buffer.
|
17155
|
+
* @param reader Reader or buffer to decode from
|
17156
|
+
* @param [length] Message length if known beforehand
|
17157
|
+
* @returns Authorization
|
17158
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
17159
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
17160
|
+
*/
|
17161
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ethereum.Proto.Authorization;
|
17162
|
+
|
17163
|
+
/**
|
17164
|
+
* Verifies an Authorization message.
|
17165
|
+
* @param message Plain object to verify
|
17166
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
17167
|
+
*/
|
17168
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
17169
|
+
|
17170
|
+
/**
|
17171
|
+
* Creates an Authorization message from a plain object. Also converts values to their respective internal types.
|
17172
|
+
* @param object Plain object
|
17173
|
+
* @returns Authorization
|
17174
|
+
*/
|
17175
|
+
public static fromObject(object: { [k: string]: any }): TW.Ethereum.Proto.Authorization;
|
17176
|
+
|
17177
|
+
/**
|
17178
|
+
* Creates a plain object from an Authorization message. Also converts values to other types if specified.
|
17179
|
+
* @param message Authorization
|
17180
|
+
* @param [options] Conversion options
|
17181
|
+
* @returns Plain object
|
17182
|
+
*/
|
17183
|
+
public static toObject(message: TW.Ethereum.Proto.Authorization, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
17184
|
+
|
17185
|
+
/**
|
17186
|
+
* Converts this Authorization to JSON.
|
17187
|
+
* @returns JSON object
|
17188
|
+
*/
|
17189
|
+
public toJSON(): { [k: string]: any };
|
17190
|
+
}
|
17191
|
+
|
17192
|
+
/** Properties of an AuthorizationCustomSignature. */
|
17193
|
+
interface IAuthorizationCustomSignature {
|
17194
|
+
|
17195
|
+
/** AuthorizationCustomSignature chainId */
|
17196
|
+
chainId?: (Uint8Array|null);
|
17197
|
+
|
17198
|
+
/** AuthorizationCustomSignature nonce */
|
17199
|
+
nonce?: (Uint8Array|null);
|
17200
|
+
|
17201
|
+
/** AuthorizationCustomSignature signature */
|
17202
|
+
signature?: (string|null);
|
17203
|
+
}
|
17204
|
+
|
17205
|
+
/** Represents an AuthorizationCustomSignature. */
|
17206
|
+
class AuthorizationCustomSignature implements IAuthorizationCustomSignature {
|
17207
|
+
|
17208
|
+
/**
|
17209
|
+
* Constructs a new AuthorizationCustomSignature.
|
17210
|
+
* @param [properties] Properties to set
|
17211
|
+
*/
|
17212
|
+
constructor(properties?: TW.Ethereum.Proto.IAuthorizationCustomSignature);
|
17213
|
+
|
17214
|
+
/** AuthorizationCustomSignature chainId. */
|
17215
|
+
public chainId: Uint8Array;
|
17216
|
+
|
17217
|
+
/** AuthorizationCustomSignature nonce. */
|
17218
|
+
public nonce: Uint8Array;
|
17219
|
+
|
17220
|
+
/** AuthorizationCustomSignature signature. */
|
17221
|
+
public signature: string;
|
17222
|
+
|
17023
17223
|
/**
|
17024
|
-
* Creates a new
|
17224
|
+
* Creates a new AuthorizationCustomSignature instance using the specified properties.
|
17025
17225
|
* @param [properties] Properties to set
|
17026
|
-
* @returns
|
17226
|
+
* @returns AuthorizationCustomSignature instance
|
17027
17227
|
*/
|
17028
|
-
public static create(properties?: TW.Ethereum.Proto.
|
17228
|
+
public static create(properties?: TW.Ethereum.Proto.IAuthorizationCustomSignature): TW.Ethereum.Proto.AuthorizationCustomSignature;
|
17029
17229
|
|
17030
17230
|
/**
|
17031
|
-
* Encodes the specified
|
17032
|
-
* @param message
|
17231
|
+
* Encodes the specified AuthorizationCustomSignature message. Does not implicitly {@link TW.Ethereum.Proto.AuthorizationCustomSignature.verify|verify} messages.
|
17232
|
+
* @param message AuthorizationCustomSignature message or plain object to encode
|
17033
17233
|
* @param [writer] Writer to encode to
|
17034
17234
|
* @returns Writer
|
17035
17235
|
*/
|
17036
|
-
public static encode(message: TW.Ethereum.Proto.
|
17236
|
+
public static encode(message: TW.Ethereum.Proto.IAuthorizationCustomSignature, writer?: $protobuf.Writer): $protobuf.Writer;
|
17037
17237
|
|
17038
17238
|
/**
|
17039
|
-
* Decodes an
|
17239
|
+
* Decodes an AuthorizationCustomSignature message from the specified reader or buffer.
|
17040
17240
|
* @param reader Reader or buffer to decode from
|
17041
17241
|
* @param [length] Message length if known beforehand
|
17042
|
-
* @returns
|
17242
|
+
* @returns AuthorizationCustomSignature
|
17043
17243
|
* @throws {Error} If the payload is not a reader or valid buffer
|
17044
17244
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
17045
17245
|
*/
|
17046
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ethereum.Proto.
|
17246
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Ethereum.Proto.AuthorizationCustomSignature;
|
17047
17247
|
|
17048
17248
|
/**
|
17049
|
-
* Verifies an
|
17249
|
+
* Verifies an AuthorizationCustomSignature message.
|
17050
17250
|
* @param message Plain object to verify
|
17051
17251
|
* @returns `null` if valid, otherwise the reason why it is not
|
17052
17252
|
*/
|
17053
17253
|
public static verify(message: { [k: string]: any }): (string|null);
|
17054
17254
|
|
17055
17255
|
/**
|
17056
|
-
* Creates an
|
17256
|
+
* Creates an AuthorizationCustomSignature message from a plain object. Also converts values to their respective internal types.
|
17057
17257
|
* @param object Plain object
|
17058
|
-
* @returns
|
17258
|
+
* @returns AuthorizationCustomSignature
|
17059
17259
|
*/
|
17060
|
-
public static fromObject(object: { [k: string]: any }): TW.Ethereum.Proto.
|
17260
|
+
public static fromObject(object: { [k: string]: any }): TW.Ethereum.Proto.AuthorizationCustomSignature;
|
17061
17261
|
|
17062
17262
|
/**
|
17063
|
-
* Creates a plain object from an
|
17064
|
-
* @param message
|
17263
|
+
* Creates a plain object from an AuthorizationCustomSignature message. Also converts values to other types if specified.
|
17264
|
+
* @param message AuthorizationCustomSignature
|
17065
17265
|
* @param [options] Conversion options
|
17066
17266
|
* @returns Plain object
|
17067
17267
|
*/
|
17068
|
-
public static toObject(message: TW.Ethereum.Proto.
|
17268
|
+
public static toObject(message: TW.Ethereum.Proto.AuthorizationCustomSignature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
17069
17269
|
|
17070
17270
|
/**
|
17071
|
-
* Converts this
|
17271
|
+
* Converts this AuthorizationCustomSignature to JSON.
|
17072
17272
|
* @returns JSON object
|
17073
17273
|
*/
|
17074
17274
|
public toJSON(): { [k: string]: any };
|
@@ -17123,8 +17323,8 @@ export namespace TW {
|
|
17123
17323
|
/** SigningInput accessList */
|
17124
17324
|
accessList?: (TW.Ethereum.Proto.IAccess[]|null);
|
17125
17325
|
|
17126
|
-
/** SigningInput
|
17127
|
-
|
17326
|
+
/** SigningInput eip7702Authorization */
|
17327
|
+
eip7702Authorization?: (TW.Ethereum.Proto.IAuthorization|null);
|
17128
17328
|
}
|
17129
17329
|
|
17130
17330
|
/** Represents a SigningInput. */
|
@@ -17175,8 +17375,8 @@ export namespace TW {
|
|
17175
17375
|
/** SigningInput accessList. */
|
17176
17376
|
public accessList: TW.Ethereum.Proto.IAccess[];
|
17177
17377
|
|
17178
|
-
/** SigningInput
|
17179
|
-
public
|
17378
|
+
/** SigningInput eip7702Authorization. */
|
17379
|
+
public eip7702Authorization?: (TW.Ethereum.Proto.IAuthorization|null);
|
17180
17380
|
|
17181
17381
|
/** SigningInput userOperationOneof. */
|
17182
17382
|
public userOperationOneof?: ("userOperation"|"userOperationV0_7");
|
@@ -17356,7 +17556,8 @@ export namespace TW {
|
|
17356
17556
|
MessageType_eip155 = 1,
|
17357
17557
|
MessageType_typed = 2,
|
17358
17558
|
MessageType_typed_eip155 = 3,
|
17359
|
-
MessageType_immutable_x = 4
|
17559
|
+
MessageType_immutable_x = 4,
|
17560
|
+
MessageType_eip7702_authorization = 5
|
17360
17561
|
}
|
17361
17562
|
|
17362
17563
|
/** Properties of a MaybeChainId. */
|