@trustwallet/wallet-core 4.0.5 → 4.0.8

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.
@@ -11219,9 +11219,6 @@ export namespace TW {
11219
11219
  /** Message thorchainSendMessage */
11220
11220
  thorchainSendMessage?: (TW.Cosmos.Proto.Message.ITHORChainSend|null);
11221
11221
 
11222
- /** Message executeContractMessage */
11223
- executeContractMessage?: (TW.Cosmos.Proto.Message.IExecuteContract|null);
11224
-
11225
11222
  /** Message wasmTerraExecuteContractGeneric */
11226
11223
  wasmTerraExecuteContractGeneric?: (TW.Cosmos.Proto.Message.IWasmTerraExecuteContractGeneric|null);
11227
11224
 
@@ -11298,9 +11295,6 @@ export namespace TW {
11298
11295
  /** Message thorchainSendMessage. */
11299
11296
  public thorchainSendMessage?: (TW.Cosmos.Proto.Message.ITHORChainSend|null);
11300
11297
 
11301
- /** Message executeContractMessage. */
11302
- public executeContractMessage?: (TW.Cosmos.Proto.Message.IExecuteContract|null);
11303
-
11304
11298
  /** Message wasmTerraExecuteContractGeneric. */
11305
11299
  public wasmTerraExecuteContractGeneric?: (TW.Cosmos.Proto.Message.IWasmTerraExecuteContractGeneric|null);
11306
11300
 
@@ -11338,7 +11332,7 @@ export namespace TW {
11338
11332
  public thorchainDepositMessage?: (TW.Cosmos.Proto.Message.ITHORChainDeposit|null);
11339
11333
 
11340
11334
  /** Message messageOneof. */
11341
- public messageOneof?: ("sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"executeContractMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"setWithdrawAddressMessage"|"msgVote"|"msgStrideLiquidStakingStake"|"msgStrideLiquidStakingRedeem"|"thorchainDepositMessage");
11335
+ public messageOneof?: ("sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"setWithdrawAddressMessage"|"msgVote"|"msgStrideLiquidStakingStake"|"msgStrideLiquidStakingRedeem"|"thorchainDepositMessage");
11342
11336
 
11343
11337
  /**
11344
11338
  * Creates a new Message instance using the specified properties.
@@ -12045,103 +12039,6 @@ export namespace TW {
12045
12039
  public toJSON(): { [k: string]: any };
12046
12040
  }
12047
12041
 
12048
- /** Properties of an ExecuteContract. */
12049
- interface IExecuteContract {
12050
-
12051
- /** ExecuteContract sender */
12052
- sender?: (string|null);
12053
-
12054
- /** ExecuteContract contract */
12055
- contract?: (string|null);
12056
-
12057
- /** ExecuteContract executeMsg */
12058
- executeMsg?: (string|null);
12059
-
12060
- /** ExecuteContract coins */
12061
- coins?: (TW.Cosmos.Proto.IAmount[]|null);
12062
-
12063
- /** ExecuteContract typePrefix */
12064
- typePrefix?: (string|null);
12065
- }
12066
-
12067
- /** Represents an ExecuteContract. */
12068
- class ExecuteContract implements IExecuteContract {
12069
-
12070
- /**
12071
- * Constructs a new ExecuteContract.
12072
- * @param [properties] Properties to set
12073
- */
12074
- constructor(properties?: TW.Cosmos.Proto.Message.IExecuteContract);
12075
-
12076
- /** ExecuteContract sender. */
12077
- public sender: string;
12078
-
12079
- /** ExecuteContract contract. */
12080
- public contract: string;
12081
-
12082
- /** ExecuteContract executeMsg. */
12083
- public executeMsg: string;
12084
-
12085
- /** ExecuteContract coins. */
12086
- public coins: TW.Cosmos.Proto.IAmount[];
12087
-
12088
- /** ExecuteContract typePrefix. */
12089
- public typePrefix: string;
12090
-
12091
- /**
12092
- * Creates a new ExecuteContract instance using the specified properties.
12093
- * @param [properties] Properties to set
12094
- * @returns ExecuteContract instance
12095
- */
12096
- public static create(properties?: TW.Cosmos.Proto.Message.IExecuteContract): TW.Cosmos.Proto.Message.ExecuteContract;
12097
-
12098
- /**
12099
- * Encodes the specified ExecuteContract message. Does not implicitly {@link TW.Cosmos.Proto.Message.ExecuteContract.verify|verify} messages.
12100
- * @param message ExecuteContract message or plain object to encode
12101
- * @param [writer] Writer to encode to
12102
- * @returns Writer
12103
- */
12104
- public static encode(message: TW.Cosmos.Proto.Message.IExecuteContract, writer?: $protobuf.Writer): $protobuf.Writer;
12105
-
12106
- /**
12107
- * Decodes an ExecuteContract message from the specified reader or buffer.
12108
- * @param reader Reader or buffer to decode from
12109
- * @param [length] Message length if known beforehand
12110
- * @returns ExecuteContract
12111
- * @throws {Error} If the payload is not a reader or valid buffer
12112
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
12113
- */
12114
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): TW.Cosmos.Proto.Message.ExecuteContract;
12115
-
12116
- /**
12117
- * Verifies an ExecuteContract message.
12118
- * @param message Plain object to verify
12119
- * @returns `null` if valid, otherwise the reason why it is not
12120
- */
12121
- public static verify(message: { [k: string]: any }): (string|null);
12122
-
12123
- /**
12124
- * Creates an ExecuteContract message from a plain object. Also converts values to their respective internal types.
12125
- * @param object Plain object
12126
- * @returns ExecuteContract
12127
- */
12128
- public static fromObject(object: { [k: string]: any }): TW.Cosmos.Proto.Message.ExecuteContract;
12129
-
12130
- /**
12131
- * Creates a plain object from an ExecuteContract message. Also converts values to other types if specified.
12132
- * @param message ExecuteContract
12133
- * @param [options] Conversion options
12134
- * @returns Plain object
12135
- */
12136
- public static toObject(message: TW.Cosmos.Proto.Message.ExecuteContract, options?: $protobuf.IConversionOptions): { [k: string]: any };
12137
-
12138
- /**
12139
- * Converts this ExecuteContract to JSON.
12140
- * @returns JSON object
12141
- */
12142
- public toJSON(): { [k: string]: any };
12143
- }
12144
-
12145
12042
  /** Properties of a WasmTerraExecuteContractTransfer. */
12146
12043
  interface IWasmTerraExecuteContractTransfer {
12147
12044
 
@@ -34640,7 +34640,6 @@
34640
34640
  * @property {TW.Cosmos.Proto.Message.IWasmTerraExecuteContractTransfer|null} [wasmTerraExecuteContractTransferMessage] Message wasmTerraExecuteContractTransferMessage
34641
34641
  * @property {TW.Cosmos.Proto.Message.IWasmTerraExecuteContractSend|null} [wasmTerraExecuteContractSendMessage] Message wasmTerraExecuteContractSendMessage
34642
34642
  * @property {TW.Cosmos.Proto.Message.ITHORChainSend|null} [thorchainSendMessage] Message thorchainSendMessage
34643
- * @property {TW.Cosmos.Proto.Message.IExecuteContract|null} [executeContractMessage] Message executeContractMessage
34644
34643
  * @property {TW.Cosmos.Proto.Message.IWasmTerraExecuteContractGeneric|null} [wasmTerraExecuteContractGeneric] Message wasmTerraExecuteContractGeneric
34645
34644
  * @property {TW.Cosmos.Proto.Message.IWasmExecuteContractTransfer|null} [wasmExecuteContractTransferMessage] Message wasmExecuteContractTransferMessage
34646
34645
  * @property {TW.Cosmos.Proto.Message.IWasmExecuteContractSend|null} [wasmExecuteContractSendMessage] Message wasmExecuteContractSendMessage
@@ -34750,14 +34749,6 @@
34750
34749
  */
34751
34750
  Message.prototype.thorchainSendMessage = null;
34752
34751
 
34753
- /**
34754
- * Message executeContractMessage.
34755
- * @member {TW.Cosmos.Proto.Message.IExecuteContract|null|undefined} executeContractMessage
34756
- * @memberof TW.Cosmos.Proto.Message
34757
- * @instance
34758
- */
34759
- Message.prototype.executeContractMessage = null;
34760
-
34761
34752
  /**
34762
34753
  * Message wasmTerraExecuteContractGeneric.
34763
34754
  * @member {TW.Cosmos.Proto.Message.IWasmTerraExecuteContractGeneric|null|undefined} wasmTerraExecuteContractGeneric
@@ -34859,12 +34850,12 @@
34859
34850
 
34860
34851
  /**
34861
34852
  * Message messageOneof.
34862
- * @member {"sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"executeContractMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"setWithdrawAddressMessage"|"msgVote"|"msgStrideLiquidStakingStake"|"msgStrideLiquidStakingRedeem"|"thorchainDepositMessage"|undefined} messageOneof
34853
+ * @member {"sendCoinsMessage"|"transferTokensMessage"|"stakeMessage"|"unstakeMessage"|"restakeMessage"|"withdrawStakeRewardMessage"|"rawJsonMessage"|"wasmTerraExecuteContractTransferMessage"|"wasmTerraExecuteContractSendMessage"|"thorchainSendMessage"|"wasmTerraExecuteContractGeneric"|"wasmExecuteContractTransferMessage"|"wasmExecuteContractSendMessage"|"wasmExecuteContractGeneric"|"signDirectMessage"|"authGrant"|"authRevoke"|"setWithdrawAddressMessage"|"msgVote"|"msgStrideLiquidStakingStake"|"msgStrideLiquidStakingRedeem"|"thorchainDepositMessage"|undefined} messageOneof
34863
34854
  * @memberof TW.Cosmos.Proto.Message
34864
34855
  * @instance
34865
34856
  */
34866
34857
  Object.defineProperty(Message.prototype, "messageOneof", {
34867
- get: $util.oneOfGetter($oneOfFields = ["sendCoinsMessage", "transferTokensMessage", "stakeMessage", "unstakeMessage", "restakeMessage", "withdrawStakeRewardMessage", "rawJsonMessage", "wasmTerraExecuteContractTransferMessage", "wasmTerraExecuteContractSendMessage", "thorchainSendMessage", "executeContractMessage", "wasmTerraExecuteContractGeneric", "wasmExecuteContractTransferMessage", "wasmExecuteContractSendMessage", "wasmExecuteContractGeneric", "signDirectMessage", "authGrant", "authRevoke", "setWithdrawAddressMessage", "msgVote", "msgStrideLiquidStakingStake", "msgStrideLiquidStakingRedeem", "thorchainDepositMessage"]),
34858
+ get: $util.oneOfGetter($oneOfFields = ["sendCoinsMessage", "transferTokensMessage", "stakeMessage", "unstakeMessage", "restakeMessage", "withdrawStakeRewardMessage", "rawJsonMessage", "wasmTerraExecuteContractTransferMessage", "wasmTerraExecuteContractSendMessage", "thorchainSendMessage", "wasmTerraExecuteContractGeneric", "wasmExecuteContractTransferMessage", "wasmExecuteContractSendMessage", "wasmExecuteContractGeneric", "signDirectMessage", "authGrant", "authRevoke", "setWithdrawAddressMessage", "msgVote", "msgStrideLiquidStakingStake", "msgStrideLiquidStakingRedeem", "thorchainDepositMessage"]),
34868
34859
  set: $util.oneOfSetter($oneOfFields)
34869
34860
  });
34870
34861
 
@@ -34912,8 +34903,6 @@
34912
34903
  $root.TW.Cosmos.Proto.Message.WasmTerraExecuteContractSend.encode(message.wasmTerraExecuteContractSendMessage, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
34913
34904
  if (message.thorchainSendMessage != null && Object.hasOwnProperty.call(message, "thorchainSendMessage"))
34914
34905
  $root.TW.Cosmos.Proto.Message.THORChainSend.encode(message.thorchainSendMessage, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
34915
- if (message.executeContractMessage != null && Object.hasOwnProperty.call(message, "executeContractMessage"))
34916
- $root.TW.Cosmos.Proto.Message.ExecuteContract.encode(message.executeContractMessage, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
34917
34906
  if (message.wasmTerraExecuteContractGeneric != null && Object.hasOwnProperty.call(message, "wasmTerraExecuteContractGeneric"))
34918
34907
  $root.TW.Cosmos.Proto.Message.WasmTerraExecuteContractGeneric.encode(message.wasmTerraExecuteContractGeneric, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
34919
34908
  if (message.wasmExecuteContractTransferMessage != null && Object.hasOwnProperty.call(message, "wasmExecuteContractTransferMessage"))
@@ -34989,9 +34978,6 @@
34989
34978
  case 10:
34990
34979
  message.thorchainSendMessage = $root.TW.Cosmos.Proto.Message.THORChainSend.decode(reader, reader.uint32());
34991
34980
  break;
34992
- case 11:
34993
- message.executeContractMessage = $root.TW.Cosmos.Proto.Message.ExecuteContract.decode(reader, reader.uint32());
34994
- break;
34995
34981
  case 12:
34996
34982
  message.wasmTerraExecuteContractGeneric = $root.TW.Cosmos.Proto.Message.WasmTerraExecuteContractGeneric.decode(reader, reader.uint32());
34997
34983
  break;
@@ -35146,16 +35132,6 @@
35146
35132
  return "thorchainSendMessage." + error;
35147
35133
  }
35148
35134
  }
35149
- if (message.executeContractMessage != null && message.hasOwnProperty("executeContractMessage")) {
35150
- if (properties.messageOneof === 1)
35151
- return "messageOneof: multiple values";
35152
- properties.messageOneof = 1;
35153
- {
35154
- var error = $root.TW.Cosmos.Proto.Message.ExecuteContract.verify(message.executeContractMessage);
35155
- if (error)
35156
- return "executeContractMessage." + error;
35157
- }
35158
- }
35159
35135
  if (message.wasmTerraExecuteContractGeneric != null && message.hasOwnProperty("wasmTerraExecuteContractGeneric")) {
35160
35136
  if (properties.messageOneof === 1)
35161
35137
  return "messageOneof: multiple values";
@@ -35341,11 +35317,6 @@
35341
35317
  throw TypeError(".TW.Cosmos.Proto.Message.thorchainSendMessage: object expected");
35342
35318
  message.thorchainSendMessage = $root.TW.Cosmos.Proto.Message.THORChainSend.fromObject(object.thorchainSendMessage);
35343
35319
  }
35344
- if (object.executeContractMessage != null) {
35345
- if (typeof object.executeContractMessage !== "object")
35346
- throw TypeError(".TW.Cosmos.Proto.Message.executeContractMessage: object expected");
35347
- message.executeContractMessage = $root.TW.Cosmos.Proto.Message.ExecuteContract.fromObject(object.executeContractMessage);
35348
- }
35349
35320
  if (object.wasmTerraExecuteContractGeneric != null) {
35350
35321
  if (typeof object.wasmTerraExecuteContractGeneric !== "object")
35351
35322
  throw TypeError(".TW.Cosmos.Proto.Message.wasmTerraExecuteContractGeneric: object expected");
@@ -35472,11 +35443,6 @@
35472
35443
  if (options.oneofs)
35473
35444
  object.messageOneof = "thorchainSendMessage";
35474
35445
  }
35475
- if (message.executeContractMessage != null && message.hasOwnProperty("executeContractMessage")) {
35476
- object.executeContractMessage = $root.TW.Cosmos.Proto.Message.ExecuteContract.toObject(message.executeContractMessage, options);
35477
- if (options.oneofs)
35478
- object.messageOneof = "executeContractMessage";
35479
- }
35480
35446
  if (message.wasmTerraExecuteContractGeneric != null && message.hasOwnProperty("wasmTerraExecuteContractGeneric")) {
35481
35447
  object.wasmTerraExecuteContractGeneric = $root.TW.Cosmos.Proto.Message.WasmTerraExecuteContractGeneric.toObject(message.wasmTerraExecuteContractGeneric, options);
35482
35448
  if (options.oneofs)
@@ -37231,275 +37197,6 @@
37231
37197
  return WithdrawDelegationReward;
37232
37198
  })();
37233
37199
 
37234
- Message.ExecuteContract = (function() {
37235
-
37236
- /**
37237
- * Properties of an ExecuteContract.
37238
- * @memberof TW.Cosmos.Proto.Message
37239
- * @interface IExecuteContract
37240
- * @property {string|null} [sender] ExecuteContract sender
37241
- * @property {string|null} [contract] ExecuteContract contract
37242
- * @property {string|null} [executeMsg] ExecuteContract executeMsg
37243
- * @property {Array.<TW.Cosmos.Proto.IAmount>|null} [coins] ExecuteContract coins
37244
- * @property {string|null} [typePrefix] ExecuteContract typePrefix
37245
- */
37246
-
37247
- /**
37248
- * Constructs a new ExecuteContract.
37249
- * @memberof TW.Cosmos.Proto.Message
37250
- * @classdesc Represents an ExecuteContract.
37251
- * @implements IExecuteContract
37252
- * @constructor
37253
- * @param {TW.Cosmos.Proto.Message.IExecuteContract=} [properties] Properties to set
37254
- */
37255
- function ExecuteContract(properties) {
37256
- this.coins = [];
37257
- if (properties)
37258
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
37259
- if (properties[keys[i]] != null)
37260
- this[keys[i]] = properties[keys[i]];
37261
- }
37262
-
37263
- /**
37264
- * ExecuteContract sender.
37265
- * @member {string} sender
37266
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37267
- * @instance
37268
- */
37269
- ExecuteContract.prototype.sender = "";
37270
-
37271
- /**
37272
- * ExecuteContract contract.
37273
- * @member {string} contract
37274
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37275
- * @instance
37276
- */
37277
- ExecuteContract.prototype.contract = "";
37278
-
37279
- /**
37280
- * ExecuteContract executeMsg.
37281
- * @member {string} executeMsg
37282
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37283
- * @instance
37284
- */
37285
- ExecuteContract.prototype.executeMsg = "";
37286
-
37287
- /**
37288
- * ExecuteContract coins.
37289
- * @member {Array.<TW.Cosmos.Proto.IAmount>} coins
37290
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37291
- * @instance
37292
- */
37293
- ExecuteContract.prototype.coins = $util.emptyArray;
37294
-
37295
- /**
37296
- * ExecuteContract typePrefix.
37297
- * @member {string} typePrefix
37298
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37299
- * @instance
37300
- */
37301
- ExecuteContract.prototype.typePrefix = "";
37302
-
37303
- /**
37304
- * Creates a new ExecuteContract instance using the specified properties.
37305
- * @function create
37306
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37307
- * @static
37308
- * @param {TW.Cosmos.Proto.Message.IExecuteContract=} [properties] Properties to set
37309
- * @returns {TW.Cosmos.Proto.Message.ExecuteContract} ExecuteContract instance
37310
- */
37311
- ExecuteContract.create = function create(properties) {
37312
- return new ExecuteContract(properties);
37313
- };
37314
-
37315
- /**
37316
- * Encodes the specified ExecuteContract message. Does not implicitly {@link TW.Cosmos.Proto.Message.ExecuteContract.verify|verify} messages.
37317
- * @function encode
37318
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37319
- * @static
37320
- * @param {TW.Cosmos.Proto.Message.IExecuteContract} message ExecuteContract message or plain object to encode
37321
- * @param {$protobuf.Writer} [writer] Writer to encode to
37322
- * @returns {$protobuf.Writer} Writer
37323
- */
37324
- ExecuteContract.encode = function encode(message, writer) {
37325
- if (!writer)
37326
- writer = $Writer.create();
37327
- if (message.sender != null && Object.hasOwnProperty.call(message, "sender"))
37328
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.sender);
37329
- if (message.contract != null && Object.hasOwnProperty.call(message, "contract"))
37330
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.contract);
37331
- if (message.executeMsg != null && Object.hasOwnProperty.call(message, "executeMsg"))
37332
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.executeMsg);
37333
- if (message.coins != null && message.coins.length)
37334
- for (var i = 0; i < message.coins.length; ++i)
37335
- $root.TW.Cosmos.Proto.Amount.encode(message.coins[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
37336
- if (message.typePrefix != null && Object.hasOwnProperty.call(message, "typePrefix"))
37337
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.typePrefix);
37338
- return writer;
37339
- };
37340
-
37341
- /**
37342
- * Decodes an ExecuteContract message from the specified reader or buffer.
37343
- * @function decode
37344
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37345
- * @static
37346
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
37347
- * @param {number} [length] Message length if known beforehand
37348
- * @returns {TW.Cosmos.Proto.Message.ExecuteContract} ExecuteContract
37349
- * @throws {Error} If the payload is not a reader or valid buffer
37350
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
37351
- */
37352
- ExecuteContract.decode = function decode(reader, length) {
37353
- if (!(reader instanceof $Reader))
37354
- reader = $Reader.create(reader);
37355
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.TW.Cosmos.Proto.Message.ExecuteContract();
37356
- while (reader.pos < end) {
37357
- var tag = reader.uint32();
37358
- switch (tag >>> 3) {
37359
- case 1:
37360
- message.sender = reader.string();
37361
- break;
37362
- case 2:
37363
- message.contract = reader.string();
37364
- break;
37365
- case 3:
37366
- message.executeMsg = reader.string();
37367
- break;
37368
- case 4:
37369
- if (!(message.coins && message.coins.length))
37370
- message.coins = [];
37371
- message.coins.push($root.TW.Cosmos.Proto.Amount.decode(reader, reader.uint32()));
37372
- break;
37373
- case 5:
37374
- message.typePrefix = reader.string();
37375
- break;
37376
- default:
37377
- reader.skipType(tag & 7);
37378
- break;
37379
- }
37380
- }
37381
- return message;
37382
- };
37383
-
37384
- /**
37385
- * Verifies an ExecuteContract message.
37386
- * @function verify
37387
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37388
- * @static
37389
- * @param {Object.<string,*>} message Plain object to verify
37390
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
37391
- */
37392
- ExecuteContract.verify = function verify(message) {
37393
- if (typeof message !== "object" || message === null)
37394
- return "object expected";
37395
- if (message.sender != null && message.hasOwnProperty("sender"))
37396
- if (!$util.isString(message.sender))
37397
- return "sender: string expected";
37398
- if (message.contract != null && message.hasOwnProperty("contract"))
37399
- if (!$util.isString(message.contract))
37400
- return "contract: string expected";
37401
- if (message.executeMsg != null && message.hasOwnProperty("executeMsg"))
37402
- if (!$util.isString(message.executeMsg))
37403
- return "executeMsg: string expected";
37404
- if (message.coins != null && message.hasOwnProperty("coins")) {
37405
- if (!Array.isArray(message.coins))
37406
- return "coins: array expected";
37407
- for (var i = 0; i < message.coins.length; ++i) {
37408
- var error = $root.TW.Cosmos.Proto.Amount.verify(message.coins[i]);
37409
- if (error)
37410
- return "coins." + error;
37411
- }
37412
- }
37413
- if (message.typePrefix != null && message.hasOwnProperty("typePrefix"))
37414
- if (!$util.isString(message.typePrefix))
37415
- return "typePrefix: string expected";
37416
- return null;
37417
- };
37418
-
37419
- /**
37420
- * Creates an ExecuteContract message from a plain object. Also converts values to their respective internal types.
37421
- * @function fromObject
37422
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37423
- * @static
37424
- * @param {Object.<string,*>} object Plain object
37425
- * @returns {TW.Cosmos.Proto.Message.ExecuteContract} ExecuteContract
37426
- */
37427
- ExecuteContract.fromObject = function fromObject(object) {
37428
- if (object instanceof $root.TW.Cosmos.Proto.Message.ExecuteContract)
37429
- return object;
37430
- var message = new $root.TW.Cosmos.Proto.Message.ExecuteContract();
37431
- if (object.sender != null)
37432
- message.sender = String(object.sender);
37433
- if (object.contract != null)
37434
- message.contract = String(object.contract);
37435
- if (object.executeMsg != null)
37436
- message.executeMsg = String(object.executeMsg);
37437
- if (object.coins) {
37438
- if (!Array.isArray(object.coins))
37439
- throw TypeError(".TW.Cosmos.Proto.Message.ExecuteContract.coins: array expected");
37440
- message.coins = [];
37441
- for (var i = 0; i < object.coins.length; ++i) {
37442
- if (typeof object.coins[i] !== "object")
37443
- throw TypeError(".TW.Cosmos.Proto.Message.ExecuteContract.coins: object expected");
37444
- message.coins[i] = $root.TW.Cosmos.Proto.Amount.fromObject(object.coins[i]);
37445
- }
37446
- }
37447
- if (object.typePrefix != null)
37448
- message.typePrefix = String(object.typePrefix);
37449
- return message;
37450
- };
37451
-
37452
- /**
37453
- * Creates a plain object from an ExecuteContract message. Also converts values to other types if specified.
37454
- * @function toObject
37455
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37456
- * @static
37457
- * @param {TW.Cosmos.Proto.Message.ExecuteContract} message ExecuteContract
37458
- * @param {$protobuf.IConversionOptions} [options] Conversion options
37459
- * @returns {Object.<string,*>} Plain object
37460
- */
37461
- ExecuteContract.toObject = function toObject(message, options) {
37462
- if (!options)
37463
- options = {};
37464
- var object = {};
37465
- if (options.arrays || options.defaults)
37466
- object.coins = [];
37467
- if (options.defaults) {
37468
- object.sender = "";
37469
- object.contract = "";
37470
- object.executeMsg = "";
37471
- object.typePrefix = "";
37472
- }
37473
- if (message.sender != null && message.hasOwnProperty("sender"))
37474
- object.sender = message.sender;
37475
- if (message.contract != null && message.hasOwnProperty("contract"))
37476
- object.contract = message.contract;
37477
- if (message.executeMsg != null && message.hasOwnProperty("executeMsg"))
37478
- object.executeMsg = message.executeMsg;
37479
- if (message.coins && message.coins.length) {
37480
- object.coins = [];
37481
- for (var j = 0; j < message.coins.length; ++j)
37482
- object.coins[j] = $root.TW.Cosmos.Proto.Amount.toObject(message.coins[j], options);
37483
- }
37484
- if (message.typePrefix != null && message.hasOwnProperty("typePrefix"))
37485
- object.typePrefix = message.typePrefix;
37486
- return object;
37487
- };
37488
-
37489
- /**
37490
- * Converts this ExecuteContract to JSON.
37491
- * @function toJSON
37492
- * @memberof TW.Cosmos.Proto.Message.ExecuteContract
37493
- * @instance
37494
- * @returns {Object.<string,*>} JSON object
37495
- */
37496
- ExecuteContract.prototype.toJSON = function toJSON() {
37497
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
37498
- };
37499
-
37500
- return ExecuteContract;
37501
- })();
37502
-
37503
37200
  Message.WasmTerraExecuteContractTransfer = (function() {
37504
37201
 
37505
37202
  /**
@@ -34,7 +34,7 @@ function Ua(){Qa++;g.monitorRunDependencies&&g.monitorRunDependencies(Qa);assert
34
34
  function Va(){return G.startsWith("data:application/octet-stream;base64,")}function ma(a){return a.startsWith("file://")}function H(a){return function(){var b=g.asm;assert(Oa,"native function `"+a+"` called before runtime initialization");b[a]||assert(b[a],"exported native function `"+a+"` not found");return b[a].apply(null,arguments)}}var G;G="wallet-core.wasm";if(!Va()){var Wa=G;G=g.locateFile?g.locateFile(Wa,w):w+Wa}
35
35
  function Xa(){var a=G;try{if(a==G&&qa)return new Uint8Array(qa);if(ka)return ka(a);throw"both async and sync fetching of the wasm failed";}catch(b){p(b)}}
36
36
  function Ya(){if(!qa&&(ea||fa)){if("function"==typeof fetch&&!ma(G))return fetch(G,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+G+"'";return a.arrayBuffer()}).catch(function(){return Xa()});if(ja)return new Promise(function(a,b){ja(G,function(c){a(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return Xa()})}
37
- var Za,$a,ab={2151700:()=>{if(void 0===g.ea)try{var a="object"===typeof window?window:self,b="undefined"!==typeof a.crypto?a.crypto:a.msCrypto;a=function(){var d=new Uint32Array(1);b.getRandomValues(d);return d[0]>>>0};a();g.ea=a}catch(d){try{var c=require("crypto");a=function(){var e=c.randomBytes(4);return(e[0]<<24|e[1]<<16|e[2]<<8|e[3])>>>0};a();g.ea=a}catch(e){throw"No secure random number generator found";}}},2152422:()=>g.ea()};function bb(a){for(;0<a.length;)a.shift()(g)}
37
+ var Za,$a,ab={2151444:()=>{if(void 0===g.ea)try{var a="object"===typeof window?window:self,b="undefined"!==typeof a.crypto?a.crypto:a.msCrypto;a=function(){var d=new Uint32Array(1);b.getRandomValues(d);return d[0]>>>0};a();g.ea=a}catch(d){try{var c=require("crypto");a=function(){var e=c.randomBytes(4);return(e[0]<<24|e[1]<<16|e[2]<<8|e[3])>>>0};a();g.ea=a}catch(e){throw"No secure random number generator found";}}},2152166:()=>g.ea()};function bb(a){for(;0<a.length;)a.shift()(g)}
38
38
  function va(a){assert("number"===typeof a);return"0x"+a.toString(16).padStart(8,"0")}function pa(a){cb||(cb={});cb[a]||(cb[a]=1,v&&(a="warning: "+a),y(a))}var cb,db=0;
39
39
  function eb(a){this.l=a-24;this.Ta=function(b){F[this.l+4>>2]=b};this.Da=function(){return F[this.l+4>>2]};this.Ja=function(b){F[this.l+8>>2]=b};this.Ka=function(){D[this.l>>2]=0};this.Ia=function(){B[this.l+12>>0]=0};this.Na=function(){B[this.l+13>>0]=0};this.Ea=function(b,c){this.F(0);this.Ta(b);this.Ja(c);this.Ka();this.Ia();this.Na()};this.F=function(b){F[this.l+16>>2]=b}}
40
40
  var fb=0,gb=(a,b)=>{for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");return a},hb=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=gb(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},ib=a=>{var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&(b=b.substr(0,b.length-1));return a+b},jb=
@@ -157,11 +157,11 @@ var Ha=g._emscripten_stack_get_end=function(){return(Ha=g._emscripten_stack_get_
157
157
  g.dynCall_iiiiij=H("dynCall_iiiiij");g.dynCall_iiiij=H("dynCall_iiiij");var te=g.dynCall_jii=H("dynCall_jii");g.dynCall_ji=H("dynCall_ji");g.dynCall_iiji=H("dynCall_iiji");g.dynCall_iiiji=H("dynCall_iiiji");var ue=g.dynCall_jiii=H("dynCall_jiii");g.dynCall_jiiii=H("dynCall_jiiii");g.dynCall_iiij=H("dynCall_iiij");g.dynCall_jijjj=H("dynCall_jijjj");g.dynCall_jij=H("dynCall_jij");var ve=g.dynCall_viijii=H("dynCall_viijii");g.dynCall_viiiijijji=H("dynCall_viiiijijji");
158
158
  var we=g.dynCall_jj=H("dynCall_jj"),xe=g.dynCall_vij=H("dynCall_vij"),ye=g.dynCall_iijii=H("dynCall_iijii"),ze=g.dynCall_viijj=H("dynCall_viijj"),Ae=g.dynCall_viiij=H("dynCall_viiij"),Be=g.dynCall_iijj=H("dynCall_iijj"),Ce=g.dynCall_viiiiiji=H("dynCall_viiiiiji"),De=g.dynCall_viiijii=H("dynCall_viiijii"),Ee=g.dynCall_viij=H("dynCall_viij");g.dynCall_iij=H("dynCall_iij");g.dynCall_viji=H("dynCall_viji");g.dynCall_jiji=H("dynCall_jiji");g.dynCall_iiiiijj=H("dynCall_iiiiijj");g.dynCall_iiiiiijj=H("dynCall_iiiiiijj");
159
159
  function de(a,b,c){var d=Y();try{U(a)(b,c)}catch(e){Z(d);if(e!==e+0)throw e;X(1,0)}}function ce(a,b){var c=Y();try{U(a)(b)}catch(d){Z(c);if(d!==d+0)throw d;X(1,0)}}function ee(a,b,c,d){var e=Y();try{U(a)(b,c,d)}catch(f){Z(e);if(f!==f+0)throw f;X(1,0)}}function ge(a,b,c,d,e,f){var h=Y();try{U(a)(b,c,d,e,f)}catch(l){Z(h);if(l!==l+0)throw l;X(1,0)}}function Sd(a,b,c){var d=Y();try{return U(a)(b,c)}catch(e){Z(d);if(e!==e+0)throw e;X(1,0)}}
160
- function fe(a,b,c,d,e){var f=Y();try{U(a)(b,c,d,e)}catch(h){Z(f);if(h!==h+0)throw h;X(1,0)}}function Qd(a){var b=Y();try{return U(a)()}catch(c){Z(b);if(c!==c+0)throw c;X(1,0)}}function Rd(a,b){var c=Y();try{return U(a)(b)}catch(d){Z(c);if(d!==d+0)throw d;X(1,0)}}function Ud(a,b,c,d,e){var f=Y();try{return U(a)(b,c,d,e)}catch(h){Z(f);if(h!==h+0)throw h;X(1,0)}}function Td(a,b,c,d){var e=Y();try{return U(a)(b,c,d)}catch(f){Z(e);if(f!==f+0)throw f;X(1,0)}}
161
- function be(a){var b=Y();try{U(a)()}catch(c){Z(b);if(c!==c+0)throw c;X(1,0)}}function he(a,b,c,d,e,f,h){var l=Y();try{U(a)(b,c,d,e,f,h)}catch(n){Z(l);if(n!==n+0)throw n;X(1,0)}}function Vd(a,b,c,d,e,f){var h=Y();try{return U(a)(b,c,d,e,f)}catch(l){Z(h);if(l!==l+0)throw l;X(1,0)}}function ie(a,b,c,d,e,f,h,l){var n=Y();try{U(a)(b,c,d,e,f,h,l)}catch(m){Z(n);if(m!==m+0)throw m;X(1,0)}}function Wd(a,b,c,d,e,f,h){var l=Y();try{return U(a)(b,c,d,e,f,h)}catch(n){Z(l);if(n!==n+0)throw n;X(1,0)}}
162
- function je(a,b,c,d,e,f,h,l,n){var m=Y();try{U(a)(b,c,d,e,f,h,l,n)}catch(q){Z(m);if(q!==q+0)throw q;X(1,0)}}function ae(a,b,c){var d=Y();try{return we(a,b,c)}catch(e){Z(d);if(e!==e+0)throw e;X(1,0)}}function qe(a,b,c,d){var e=Y();try{xe(a,b,c,d)}catch(f){Z(e);if(f!==f+0)throw f;X(1,0)}}function Xd(a,b,c,d,e,f){var h=Y();try{return ye(a,b,c,d,e,f)}catch(l){Z(h);if(l!==l+0)throw l;X(1,0)}}function Zd(a,b,c){var d=Y();try{return te(a,b,c)}catch(e){Z(d);if(e!==e+0)throw e;X(1,0)}}
163
- function $d(a,b,c,d){var e=Y();try{return ue(a,b,c,d)}catch(f){Z(e);if(f!==f+0)throw f;X(1,0)}}function oe(a,b,c,d,e,f,h){var l=Y();try{ve(a,b,c,d,e,f,h)}catch(n){Z(l);if(n!==n+0)throw n;X(1,0)}}function pe(a,b,c,d,e,f,h){var l=Y();try{ze(a,b,c,d,e,f,h)}catch(n){Z(l);if(n!==n+0)throw n;X(1,0)}}function le(a,b,c,d,e,f){var h=Y();try{Ae(a,b,c,d,e,f)}catch(l){Z(h);if(l!==l+0)throw l;X(1,0)}}function Yd(a,b,c,d,e,f){var h=Y();try{return Be(a,b,c,d,e,f)}catch(l){Z(h);if(l!==l+0)throw l;X(1,0)}}
164
- function ke(a,b,c,d,e,f,h,l,n){var m=Y();try{Ce(a,b,c,d,e,f,h,l,n)}catch(q){Z(m);if(q!==q+0)throw q;X(1,0)}}function me(a,b,c,d,e,f,h,l){var n=Y();try{De(a,b,c,d,e,f,h,l)}catch(m){Z(n);if(m!==m+0)throw m;X(1,0)}}function ne(a,b,c,d,e){var f=Y();try{Ee(a,b,c,d,e)}catch(h){Z(f);if(h!==h+0)throw h;X(1,0)}}
160
+ function fe(a,b,c,d,e){var f=Y();try{U(a)(b,c,d,e)}catch(h){Z(f);if(h!==h+0)throw h;X(1,0)}}function Qd(a){var b=Y();try{return U(a)()}catch(c){Z(b);if(c!==c+0)throw c;X(1,0)}}function Rd(a,b){var c=Y();try{return U(a)(b)}catch(d){Z(c);if(d!==d+0)throw d;X(1,0)}}function Ud(a,b,c,d,e){var f=Y();try{return U(a)(b,c,d,e)}catch(h){Z(f);if(h!==h+0)throw h;X(1,0)}}function be(a){var b=Y();try{U(a)()}catch(c){Z(b);if(c!==c+0)throw c;X(1,0)}}
161
+ function Td(a,b,c,d){var e=Y();try{return U(a)(b,c,d)}catch(f){Z(e);if(f!==f+0)throw f;X(1,0)}}function he(a,b,c,d,e,f,h){var l=Y();try{U(a)(b,c,d,e,f,h)}catch(n){Z(l);if(n!==n+0)throw n;X(1,0)}}function Vd(a,b,c,d,e,f){var h=Y();try{return U(a)(b,c,d,e,f)}catch(l){Z(h);if(l!==l+0)throw l;X(1,0)}}function ie(a,b,c,d,e,f,h,l){var n=Y();try{U(a)(b,c,d,e,f,h,l)}catch(m){Z(n);if(m!==m+0)throw m;X(1,0)}}
162
+ function Wd(a,b,c,d,e,f,h){var l=Y();try{return U(a)(b,c,d,e,f,h)}catch(n){Z(l);if(n!==n+0)throw n;X(1,0)}}function je(a,b,c,d,e,f,h,l,n){var m=Y();try{U(a)(b,c,d,e,f,h,l,n)}catch(q){Z(m);if(q!==q+0)throw q;X(1,0)}}function ae(a,b,c){var d=Y();try{return we(a,b,c)}catch(e){Z(d);if(e!==e+0)throw e;X(1,0)}}function qe(a,b,c,d){var e=Y();try{xe(a,b,c,d)}catch(f){Z(e);if(f!==f+0)throw f;X(1,0)}}function Zd(a,b,c){var d=Y();try{return te(a,b,c)}catch(e){Z(d);if(e!==e+0)throw e;X(1,0)}}
163
+ function Xd(a,b,c,d,e,f){var h=Y();try{return ye(a,b,c,d,e,f)}catch(l){Z(h);if(l!==l+0)throw l;X(1,0)}}function $d(a,b,c,d){var e=Y();try{return ue(a,b,c,d)}catch(f){Z(e);if(f!==f+0)throw f;X(1,0)}}function oe(a,b,c,d,e,f,h){var l=Y();try{ve(a,b,c,d,e,f,h)}catch(n){Z(l);if(n!==n+0)throw n;X(1,0)}}function pe(a,b,c,d,e,f,h){var l=Y();try{ze(a,b,c,d,e,f,h)}catch(n){Z(l);if(n!==n+0)throw n;X(1,0)}}function le(a,b,c,d,e,f){var h=Y();try{Ae(a,b,c,d,e,f)}catch(l){Z(h);if(l!==l+0)throw l;X(1,0)}}
164
+ function Yd(a,b,c,d,e,f){var h=Y();try{return Be(a,b,c,d,e,f)}catch(l){Z(h);if(l!==l+0)throw l;X(1,0)}}function ke(a,b,c,d,e,f,h,l,n){var m=Y();try{Ce(a,b,c,d,e,f,h,l,n)}catch(q){Z(m);if(q!==q+0)throw q;X(1,0)}}function me(a,b,c,d,e,f,h,l){var n=Y();try{De(a,b,c,d,e,f,h,l)}catch(m){Z(n);if(m!==m+0)throw m;X(1,0)}}function ne(a,b,c,d,e){var f=Y();try{Ee(a,b,c,d,e)}catch(h){Z(f);if(h!==h+0)throw h;X(1,0)}}
165
165
  "run UTF8ArrayToString UTF8ToString stringToUTF8Array stringToUTF8 lengthBytesUTF8 addOnPreRun addOnInit addOnPreMain addOnExit addOnPostRun addRunDependency removeRunDependency FS_createFolder FS_createPath FS_createDataFile FS_createPreloadedFile FS_createLazyFile FS_createLink FS_createDevice FS_unlink getLEB getFunctionTables alignFunctionTables registerFunctions prettyPrint getCompilerSetting out err callMain abort keepRuntimeAlive wasmMemory stackAlloc stackSave stackRestore getTempRet0 setTempRet0 writeStackCookie checkStackCookie ptrToString zeroMemory stringToNewUTF8 exitJS getHeapMax emscripten_realloc_buffer ENV ERRNO_CODES ERRNO_MESSAGES setErrNo inetPton4 inetNtop4 inetPton6 inetNtop6 readSockaddr writeSockaddr DNS getHostByName Protocols Sockets getRandomDevice warnOnce traverseStack UNWIND_CACHE convertPCtoSourceLocation readEmAsmArgsArray readEmAsmArgs runEmAsmFunction runMainThreadEmAsm jstoi_q jstoi_s getExecutableName listenOnce autoResumeAudioContext dynCallLegacy getDynCaller dynCall handleException runtimeKeepalivePush runtimeKeepalivePop callUserCallback maybeExit safeSetTimeout asmjsMangle asyncLoad alignMemory mmapAlloc handleAllocator writeI53ToI64 writeI53ToI64Clamped writeI53ToI64Signaling writeI53ToU64Clamped writeI53ToU64Signaling readI53FromI64 readI53FromU64 convertI32PairToI53 convertI32PairToI53Checked convertU32PairToI53 getCFunc ccall cwrap uleb128Encode sigToWasmTypes generateFuncType convertJsFunctionToWasm freeTableIndexes functionsInTableMap getEmptyTableSlot updateTableMap addFunction removeFunction reallyNegative unSign strLen reSign formatString setValue getValue PATH PATH_FS intArrayFromString intArrayToString AsciiToString stringToAscii UTF16Decoder UTF16ToString stringToUTF16 lengthBytesUTF16 UTF32ToString stringToUTF32 lengthBytesUTF32 allocateUTF8 allocateUTF8OnStack writeStringToMemory writeArrayToMemory writeAsciiToMemory SYSCALLS getSocketFromFD getSocketAddress JSEvents registerKeyEventCallback specialHTMLTargets maybeCStringToJsString findEventTarget findCanvasEventTarget getBoundingClientRect fillMouseEventData registerMouseEventCallback registerWheelEventCallback registerUiEventCallback registerFocusEventCallback fillDeviceOrientationEventData registerDeviceOrientationEventCallback fillDeviceMotionEventData registerDeviceMotionEventCallback screenOrientation fillOrientationChangeEventData registerOrientationChangeEventCallback fillFullscreenChangeEventData registerFullscreenChangeEventCallback JSEvents_requestFullscreen JSEvents_resizeCanvasForFullscreen registerRestoreOldStyle hideEverythingExceptGivenElement restoreHiddenElements setLetterbox currentFullscreenStrategy restoreOldWindowedStyle softFullscreenResizeWebGLRenderTarget doRequestFullscreen fillPointerlockChangeEventData registerPointerlockChangeEventCallback registerPointerlockErrorEventCallback requestPointerLock fillVisibilityChangeEventData registerVisibilityChangeEventCallback registerTouchEventCallback fillGamepadEventData registerGamepadEventCallback registerBeforeUnloadEventCallback fillBatteryEventData battery registerBatteryEventCallback setCanvasElementSize getCanvasElementSize demangle demangleAll jsStackTrace stackTrace ExitStatus getEnvStrings checkWasiClock doReadv doWritev createDyncallWrapper setImmediateWrapped clearImmediateWrapped polyfillSetImmediate promiseMap newNativePromise getPromise uncaughtExceptionCount exceptionLast exceptionCaught ExceptionInfo exception_addRef exception_decRef Browser setMainLoop wget FS MEMFS TTY PIPEFS SOCKFS _setNetworkCallback InternalError BindingError UnboundTypeError PureVirtualError init_embind throwInternalError throwBindingError throwUnboundTypeError ensureOverloadTable exposePublicSymbol replacePublicSymbol extendError createNamedFunction embindRepr registeredInstances getBasestPointer registerInheritedInstance unregisterInheritedInstance getInheritedInstance getInheritedInstanceCount getLiveInheritedInstances registeredTypes awaitingDependencies typeDependencies registeredPointers registerType whenDependentTypesAreResolved embind_charCodes embind_init_charCodes readLatin1String getTypeName heap32VectorToArray requireRegisteredType getShiftFromSize integerReadValueFromPointer enumReadValueFromPointer floatReadValueFromPointer simpleReadValueFromPointer runDestructors new_ craftInvokerFunction embind__requireFunction tupleRegistrations structRegistrations genericPointerToWireType constNoSmartPtrRawPointerToWireType nonConstNoSmartPtrRawPointerToWireType init_RegisteredPointer RegisteredPointer RegisteredPointer_getPointee RegisteredPointer_destructor RegisteredPointer_deleteObject RegisteredPointer_fromWireType runDestructor releaseClassHandle finalizationRegistry detachFinalizer_deps detachFinalizer attachFinalizer makeClassHandle init_ClassHandle ClassHandle ClassHandle_isAliasOf throwInstanceAlreadyDeleted ClassHandle_clone ClassHandle_delete deletionQueue ClassHandle_isDeleted ClassHandle_deleteLater flushPendingDeletes delayFunction setDelayFunction RegisteredClass shallowCopyInternalPointer downcastPointer upcastPointer validateThis char_0 char_9 makeLegalFunctionName emval_handle_array emval_free_list emval_symbols init_emval count_emval_handles get_first_emval getStringOrSymbol Emval emval_newers craftEmvalAllocator emval_get_global emval_lookupTypes emval_allocateDestructors emval_methodCallers emval_addMethodCaller emval_registeredMethods".split(" ").forEach(function(a){Object.getOwnPropertyDescriptor(g,a)||
166
166
  Object.defineProperty(g,a,{configurable:!0,get:function(){var b="'"+a+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";oa(a)&&(b+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you");p(b)}})});
167
167
  "stringToNewUTF8 exitJS inetPton4 inetNtop4 inetPton6 inetNtop6 readSockaddr writeSockaddr getHostByName traverseStack convertPCtoSourceLocation runMainThreadEmAsm jstoi_q jstoi_s listenOnce autoResumeAudioContext handleException runtimeKeepalivePush runtimeKeepalivePop callUserCallback maybeExit safeSetTimeout asmjsMangle handleAllocator writeI53ToI64 writeI53ToI64Clamped writeI53ToI64Signaling writeI53ToU64Clamped writeI53ToU64Signaling readI53FromU64 convertI32PairToI53 convertU32PairToI53 getCFunc ccall cwrap uleb128Encode sigToWasmTypes generateFuncType convertJsFunctionToWasm getEmptyTableSlot updateTableMap addFunction removeFunction reallyNegative unSign strLen reSign formatString intArrayToString AsciiToString stringToAscii allocateUTF8OnStack writeStringToMemory getSocketFromFD getSocketAddress registerKeyEventCallback maybeCStringToJsString findEventTarget findCanvasEventTarget getBoundingClientRect fillMouseEventData registerMouseEventCallback registerWheelEventCallback registerUiEventCallback registerFocusEventCallback fillDeviceOrientationEventData registerDeviceOrientationEventCallback fillDeviceMotionEventData registerDeviceMotionEventCallback screenOrientation fillOrientationChangeEventData registerOrientationChangeEventCallback fillFullscreenChangeEventData registerFullscreenChangeEventCallback JSEvents_requestFullscreen JSEvents_resizeCanvasForFullscreen registerRestoreOldStyle hideEverythingExceptGivenElement restoreHiddenElements setLetterbox softFullscreenResizeWebGLRenderTarget doRequestFullscreen fillPointerlockChangeEventData registerPointerlockChangeEventCallback registerPointerlockErrorEventCallback requestPointerLock fillVisibilityChangeEventData registerVisibilityChangeEventCallback registerTouchEventCallback fillGamepadEventData registerGamepadEventCallback registerBeforeUnloadEventCallback fillBatteryEventData battery registerBatteryEventCallback setCanvasElementSize getCanvasElementSize jsStackTrace stackTrace checkWasiClock createDyncallWrapper setImmediateWrapped clearImmediateWrapped polyfillSetImmediate newNativePromise getPromise exception_addRef exception_decRef setMainLoop _setNetworkCallback registerInheritedInstance unregisterInheritedInstance validateThis".split(" ").forEach(function(a){"undefined"===typeof globalThis||
Binary file
@@ -227,6 +227,8 @@ export class Blockchain {
227
227
  static sui: Blockchain;
228
228
  static greenfield: Blockchain;
229
229
  static internetComputer: Blockchain;
230
+ static nativeEvmos: Blockchain;
231
+ static nativeInjective: Blockchain;
230
232
  }
231
233
  export class Cardano {
232
234
  static minAdaAmount(tokenBundle: Uint8Array | Buffer): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustwallet/wallet-core",
3
- "version": "4.0.5",
3
+ "version": "4.0.8",
4
4
  "description": "wallet core wasm and protobuf models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",