quais 0.1.11 → 0.1.13
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/quais.esm.js +28 -18
- package/dist/quais.esm.js.map +1 -1
- package/dist/quais.esm.min.js +1 -1
- package/dist/quais.esm.min.js.map +1 -1
- package/dist/quais.umd.js +26 -21
- package/dist/quais.umd.js.map +1 -1
- package/dist/quais.umd.min.js +1 -1
- package/dist/quais.umd.min.js.map +1 -1
- package/package.json +3 -3
package/dist/quais.umd.js
CHANGED
|
@@ -3605,7 +3605,7 @@
|
|
|
3605
3605
|
"use strict";
|
|
3606
3606
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3607
3607
|
exports.version = void 0;
|
|
3608
|
-
exports.version = "logger/
|
|
3608
|
+
exports.version = "logger/0.1.0";
|
|
3609
3609
|
|
|
3610
3610
|
});
|
|
3611
3611
|
|
|
@@ -3991,7 +3991,7 @@
|
|
|
3991
3991
|
"use strict";
|
|
3992
3992
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3993
3993
|
exports.version = void 0;
|
|
3994
|
-
exports.version = "bytes/
|
|
3994
|
+
exports.version = "bytes/0.1.0";
|
|
3995
3995
|
|
|
3996
3996
|
});
|
|
3997
3997
|
|
|
@@ -4433,7 +4433,7 @@
|
|
|
4433
4433
|
"use strict";
|
|
4434
4434
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4435
4435
|
exports.version = void 0;
|
|
4436
|
-
exports.version = "bignumber/
|
|
4436
|
+
exports.version = "bignumber/0.1.0";
|
|
4437
4437
|
|
|
4438
4438
|
});
|
|
4439
4439
|
|
|
@@ -5157,7 +5157,7 @@
|
|
|
5157
5157
|
"use strict";
|
|
5158
5158
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5159
5159
|
exports.version = void 0;
|
|
5160
|
-
exports.version = "properties/
|
|
5160
|
+
exports.version = "properties/0.1.0";
|
|
5161
5161
|
|
|
5162
5162
|
});
|
|
5163
5163
|
|
|
@@ -5343,7 +5343,7 @@
|
|
|
5343
5343
|
"use strict";
|
|
5344
5344
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5345
5345
|
exports.version = void 0;
|
|
5346
|
-
exports.version = "abi/
|
|
5346
|
+
exports.version = "abi/0.1.0";
|
|
5347
5347
|
|
|
5348
5348
|
});
|
|
5349
5349
|
|
|
@@ -8034,7 +8034,7 @@
|
|
|
8034
8034
|
"use strict";
|
|
8035
8035
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8036
8036
|
exports.version = void 0;
|
|
8037
|
-
exports.version = "strings/
|
|
8037
|
+
exports.version = "strings/0.1.0";
|
|
8038
8038
|
|
|
8039
8039
|
});
|
|
8040
8040
|
|
|
@@ -8815,7 +8815,7 @@
|
|
|
8815
8815
|
"use strict";
|
|
8816
8816
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8817
8817
|
exports.version = void 0;
|
|
8818
|
-
exports.version = "hash/
|
|
8818
|
+
exports.version = "hash/0.1.0";
|
|
8819
8819
|
|
|
8820
8820
|
});
|
|
8821
8821
|
|
|
@@ -10870,7 +10870,7 @@
|
|
|
10870
10870
|
"use strict";
|
|
10871
10871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10872
10872
|
exports.version = void 0;
|
|
10873
|
-
exports.version = "abstract-signer/
|
|
10873
|
+
exports.version = "abstract-signer/0.1.0";
|
|
10874
10874
|
|
|
10875
10875
|
});
|
|
10876
10876
|
|
|
@@ -11175,6 +11175,7 @@
|
|
|
11175
11175
|
case 2: return [4 /*yield*/, this.getFeeData()];
|
|
11176
11176
|
case 3:
|
|
11177
11177
|
feeData = _a.sent();
|
|
11178
|
+
console.log("FEE DATA:", feeData);
|
|
11178
11179
|
if (tx.type == null) {
|
|
11179
11180
|
// We need to auto-detect the intended type of this transaction...
|
|
11180
11181
|
if (feeData.maxFeePerGas != null && feeData.maxPriorityFeePerGas != null) {
|
|
@@ -11305,7 +11306,7 @@
|
|
|
11305
11306
|
"use strict";
|
|
11306
11307
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11307
11308
|
exports.version = void 0;
|
|
11308
|
-
exports.version = "rlp/
|
|
11309
|
+
exports.version = "rlp/0.1.0";
|
|
11309
11310
|
|
|
11310
11311
|
});
|
|
11311
11312
|
|
|
@@ -18613,7 +18614,7 @@
|
|
|
18613
18614
|
"use strict";
|
|
18614
18615
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18615
18616
|
exports.version = void 0;
|
|
18616
|
-
exports.version = "signing-key/
|
|
18617
|
+
exports.version = "signing-key/0.1.0";
|
|
18617
18618
|
|
|
18618
18619
|
});
|
|
18619
18620
|
|
|
@@ -20197,8 +20198,6 @@
|
|
|
20197
20198
|
return [4 /*yield*/, this.grindContractAddress(unsignedTx)];
|
|
20198
20199
|
case 2:
|
|
20199
20200
|
grindedTx = _a.sent();
|
|
20200
|
-
// Send the deployment transaction
|
|
20201
|
-
console.log("Deploying contract with address: " + grindedTx);
|
|
20202
20201
|
return [4 /*yield*/, this.signer.sendTransaction(grindedTx)];
|
|
20203
20202
|
case 3:
|
|
20204
20203
|
tx = _a.sent();
|
|
@@ -20266,7 +20265,6 @@
|
|
|
20266
20265
|
contractAddress = (0, lib$6.getContractAddress)(sender, tx.nonce, tx.data);
|
|
20267
20266
|
contractShard = (0, lib$6.getShardFromAddress)(contractAddress);
|
|
20268
20267
|
if (contractShard === toShard) {
|
|
20269
|
-
console.log("Found address", contractAddress, "on shard", contractShard, "for shard", toShard);
|
|
20270
20268
|
return [2 /*return*/, tx];
|
|
20271
20269
|
}
|
|
20272
20270
|
salt = (0, crypto_1__default['default'].randomBytes)(32);
|
|
@@ -20436,7 +20434,7 @@
|
|
|
20436
20434
|
"use strict";
|
|
20437
20435
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20438
20436
|
exports.version = void 0;
|
|
20439
|
-
exports.version = "sha2/
|
|
20437
|
+
exports.version = "sha2/0.1.0";
|
|
20440
20438
|
|
|
20441
20439
|
});
|
|
20442
20440
|
|
|
@@ -20566,7 +20564,7 @@
|
|
|
20566
20564
|
"use strict";
|
|
20567
20565
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20568
20566
|
exports.version = void 0;
|
|
20569
|
-
exports.version = "wordlists/
|
|
20567
|
+
exports.version = "wordlists/0.1.0";
|
|
20570
20568
|
|
|
20571
20569
|
});
|
|
20572
20570
|
|
|
@@ -21115,7 +21113,7 @@
|
|
|
21115
21113
|
"use strict";
|
|
21116
21114
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21117
21115
|
exports.version = void 0;
|
|
21118
|
-
exports.version = "random/
|
|
21116
|
+
exports.version = "random/0.1.0";
|
|
21119
21117
|
|
|
21120
21118
|
});
|
|
21121
21119
|
|
|
@@ -22010,7 +22008,7 @@
|
|
|
22010
22008
|
"use strict";
|
|
22011
22009
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22012
22010
|
exports.version = void 0;
|
|
22013
|
-
exports.version = "json-wallets/
|
|
22011
|
+
exports.version = "json-wallets/0.1.0";
|
|
22014
22012
|
|
|
22015
22013
|
});
|
|
22016
22014
|
|
|
@@ -23156,7 +23154,7 @@
|
|
|
23156
23154
|
"use strict";
|
|
23157
23155
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23158
23156
|
exports.version = void 0;
|
|
23159
|
-
exports.version = "wallet/
|
|
23157
|
+
exports.version = "wallet/0.1.0";
|
|
23160
23158
|
|
|
23161
23159
|
});
|
|
23162
23160
|
|
|
@@ -23419,7 +23417,7 @@
|
|
|
23419
23417
|
"use strict";
|
|
23420
23418
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23421
23419
|
exports.version = void 0;
|
|
23422
|
-
exports.version = "networks/
|
|
23420
|
+
exports.version = "networks/0.1.0";
|
|
23423
23421
|
|
|
23424
23422
|
});
|
|
23425
23423
|
|
|
@@ -24339,6 +24337,9 @@
|
|
|
24339
24337
|
v: Formatter.allowNull(number),
|
|
24340
24338
|
creates: Formatter.allowNull(address, null),
|
|
24341
24339
|
raw: Formatter.allowNull(data),
|
|
24340
|
+
gas: Formatter.allowNull(bigNumber),
|
|
24341
|
+
input: Formatter.allowNull(data),
|
|
24342
|
+
sender: Formatter.allowNull(address),
|
|
24342
24343
|
};
|
|
24343
24344
|
formats.transactionRequest = {
|
|
24344
24345
|
from: Formatter.allowNull(address),
|
|
@@ -24378,6 +24379,7 @@
|
|
|
24378
24379
|
logsBloom: Formatter.allowNull(data),
|
|
24379
24380
|
blockHash: hash,
|
|
24380
24381
|
transactionHash: hash,
|
|
24382
|
+
exts: Formatter.allowNull(this.etx, null),
|
|
24381
24383
|
logs: Formatter.arrayOf(this.receiptLog.bind(this)),
|
|
24382
24384
|
blockNumber: number,
|
|
24383
24385
|
confirmations: Formatter.allowNull(number, null),
|
|
@@ -24486,6 +24488,9 @@
|
|
|
24486
24488
|
Formatter.prototype.address = function (value) {
|
|
24487
24489
|
return (0, lib$6.getAddress)(value);
|
|
24488
24490
|
};
|
|
24491
|
+
Formatter.prototype.etx = function (value) {
|
|
24492
|
+
return value;
|
|
24493
|
+
};
|
|
24489
24494
|
Formatter.prototype.callAddress = function (value) {
|
|
24490
24495
|
if (!(0, lib$1.isHexString)(value, 32)) {
|
|
24491
24496
|
return null;
|
|
@@ -31120,7 +31125,7 @@
|
|
|
31120
31125
|
"use strict";
|
|
31121
31126
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31122
31127
|
exports.version = void 0;
|
|
31123
|
-
exports.version = "solidity/
|
|
31128
|
+
exports.version = "solidity/0.1.0";
|
|
31124
31129
|
|
|
31125
31130
|
});
|
|
31126
31131
|
|
|
@@ -31231,7 +31236,7 @@
|
|
|
31231
31236
|
"use strict";
|
|
31232
31237
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31233
31238
|
exports.version = void 0;
|
|
31234
|
-
exports.version = "units/
|
|
31239
|
+
exports.version = "units/0.1.0";
|
|
31235
31240
|
|
|
31236
31241
|
});
|
|
31237
31242
|
|