admin: updated dist files

This commit is contained in:
Richard Moore 2024-02-23 22:30:55 -05:00
parent e0508cbb0e
commit fa5f647bb2
279 changed files with 2022 additions and 6549 deletions

View File

@ -4,6 +4,12 @@ Changelog
This change log is managed by `admin/cmds/update-versions` but may be manually updated.
ethers/v5.8.0 (2024-02-23 19:11)
--------------------------------
- Added modern networks, updated third-party backend URLs and added QuickNode. ([#3935](https://github.com/ethers-io/ethers.js/issues/3935), [#4010](https://github.com/ethers-io/ethers.js/issues/4010); [f7c813d](https://github.com/ethers-io/ethers.js/commit/f7c813d3130f4790be4381c06ee5e56c8d513c79))
- Updated tests for goerli. ([706d3ca](https://github.com/ethers-io/ethers.js/commit/706d3ca27c233385944877eb64c099c74109b6c2))
ethers/v5.7.2 (2022-10-19 04:19)
--------------------------------

6863
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
export declare const version = "abi/5.7.0";
export declare const version = "abi/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "abi/5.7.0";
export const version = "abi/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "abi/5.7.0";
export declare const version = "abi/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "abi/5.7.0";
exports.version = "abi/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,15 +1,15 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/address": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/constants": "^5.7.0",
"@ethersproject/hash": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0",
"@ethersproject/logger": "^5.7.0",
"@ethersproject/properties": "^5.7.0",
"@ethersproject/strings": "^5.7.0"
"@ethersproject/address": "^5.8.0",
"@ethersproject/bignumber": "^5.8.0",
"@ethersproject/bytes": "^5.8.0",
"@ethersproject/constants": "^5.8.0",
"@ethersproject/hash": "^5.8.0",
"@ethersproject/keccak256": "^5.8.0",
"@ethersproject/logger": "^5.8.0",
"@ethersproject/properties": "^5.8.0",
"@ethersproject/strings": "^5.8.0"
},
"description": "Utilities and Classes for parsing, formatting and managing Ethereum ABIs.",
"ethereum": "donations.ethers.eth",
@ -43,7 +43,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x76f6fd1617e7f7aacd876957111e5368a7e53b8aebf572b30f0f1a0cd2b4a603",
"tarballHash": "0xc9c86f079594e77c268b6ab6e11c95f10a20d3136da8d1f517606dd8843b6d03",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "abi/5.7.0";
export const version = "abi/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "abstract-provider/5.7.0";
export declare const version = "abstract-provider/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "abstract-provider/5.7.0";
export const version = "abstract-provider/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "abstract-provider/5.7.0";
export declare const version = "abstract-provider/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "abstract-provider/5.7.0";
exports.version = "abstract-provider/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,13 +1,13 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/logger": "^5.7.0",
"@ethersproject/networks": "^5.7.0",
"@ethersproject/properties": "^5.7.0",
"@ethersproject/transactions": "^5.7.0",
"@ethersproject/web": "^5.7.0"
"@ethersproject/bignumber": "^5.8.0",
"@ethersproject/bytes": "^5.8.0",
"@ethersproject/logger": "^5.8.0",
"@ethersproject/networks": "^5.8.0",
"@ethersproject/properties": "^5.8.0",
"@ethersproject/transactions": "^5.8.0",
"@ethersproject/web": "^5.8.0"
},
"description": "An Abstract Class for describing an Ethereum Provider for ethers.",
"ethereum": "donations.ethers.eth",
@ -41,7 +41,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x952cf2ca65f6e38799386cab1c8595e8f849360128bc61fb28de2b595bbfaad9",
"tarballHash": "0xa328a84101dd75804488c3b1e786a6c168adeab392a811baf4bb32b150f26d55",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "abstract-provider/5.7.0";
export const version = "abstract-provider/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "abstract-signer/5.7.0";
export declare const version = "abstract-signer/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "abstract-signer/5.7.0";
export const version = "abstract-signer/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "abstract-signer/5.7.0";
export declare const version = "abstract-signer/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "abstract-signer/5.7.0";
exports.version = "abstract-signer/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,11 +1,11 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/abstract-provider": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/logger": "^5.7.0",
"@ethersproject/properties": "^5.7.0"
"@ethersproject/abstract-provider": "^5.8.0",
"@ethersproject/bignumber": "^5.8.0",
"@ethersproject/bytes": "^5.8.0",
"@ethersproject/logger": "^5.8.0",
"@ethersproject/properties": "^5.8.0"
},
"description": "An Abstract Class for desribing an Ethereum Signer for ethers.",
"ethereum": "donations.ethers.eth",
@ -39,7 +39,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x10e5007f2b6467e86fa36292984b8e74bfcd18e6dc1748cf0f62b36c4e4e228a",
"tarballHash": "0x729715181dd26051cd4a9d4e3c108226bfc5a834ae39543faa57eba3f837e2c0",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "abstract-signer/5.7.0";
export const version = "abstract-signer/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "address/5.7.0";
export declare const version = "address/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "address/5.7.0";
export const version = "address/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "address/5.7.0";
export declare const version = "address/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "address/5.7.0";
exports.version = "address/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,11 +1,11 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0",
"@ethersproject/logger": "^5.7.0",
"@ethersproject/rlp": "^5.7.0"
"@ethersproject/bignumber": "^5.8.0",
"@ethersproject/bytes": "^5.8.0",
"@ethersproject/keccak256": "^5.8.0",
"@ethersproject/logger": "^5.8.0",
"@ethersproject/rlp": "^5.8.0"
},
"description": "Utilities for handling Ethereum Addresses for ethers.",
"ethereum": "donations.ethers.eth",
@ -39,7 +39,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x6732663914c6efc33735eb97dc36ecaf0ecf4ff34ad1877ee7b842f1c27f98f4",
"tarballHash": "0x37aeac8113be7f543b0d2669b4544d351182620844802a8df9bb03c2ebc7c90d",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "address/5.7.0";
export const version = "address/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "asm/5.7.0";
export declare const version = "asm/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "asm/5.7.0";
export const version = "asm/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "asm/5.7.0";
export declare const version = "asm/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "asm/5.7.0";
exports.version = "asm/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,7 +1,7 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"ethers": "^5.7.0"
"ethers": "^5.8.0"
},
"description": "ASM libraries and tools for the Ethereum EVM.",
"ethereum": "donations.ethers.eth",
@ -36,7 +36,7 @@
"generate": "node ./generate.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"tarballHash": "0x66d57d00b6a8b039209e081aa5482b1f737570441d220f0906700cf1478437b6",
"tarballHash": "0xce9a8b1e5bd97df74680a73134c7fb6659834b730d4416983cd7c5fcfb684b6d",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "asm/5.7.0";
export const version = "asm/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "base64/5.7.0";
export declare const version = "base64/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "base64/5.7.0";
export const version = "base64/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "base64/5.7.0";
export declare const version = "base64/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "base64/5.7.0";
exports.version = "base64/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -7,7 +7,7 @@
"./lib/base64": "./lib/browser-base64.js"
},
"dependencies": {
"@ethersproject/bytes": "^5.7.0"
"@ethersproject/bytes": "^5.8.0"
},
"description": "Base64 coder.",
"ethereum": "donations.ethers.eth",
@ -41,7 +41,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x67fc747be8ad32f055e61ea73984a8a1e7030ea19dff1a8c7d8301ad0139078b",
"tarballHash": "0xc359cc40bc66946930c92e7ac84e7344800958d70bbef7803e7f2777fb7a2ce9",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "base64/5.7.0";
export const version = "base64/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "basex/5.7.0";
export declare const version = "basex/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "basex/5.7.0";
export const version = "basex/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "basex/5.7.0";
export declare const version = "basex/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "basex/5.7.0";
exports.version = "basex/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,8 +1,8 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/properties": "^5.7.0"
"@ethersproject/bytes": "^5.8.0",
"@ethersproject/properties": "^5.8.0"
},
"description": "Base-X without Buffer.",
"ethereum": "donations.ethers.eth",
@ -36,7 +36,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0xa3450b5ccf02165bd79e235cc6803751f8194a7680cfc165c62ff3ee3fa6def5",
"tarballHash": "0x2bd9c63ee656a1f235a8b6152728ec154fb840203cdfe1e1225630725bdee105",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "basex/5.7.0";
export const version = "basex/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "bignumber/5.7.0";
export declare const version = "bignumber/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "bignumber/5.7.0";
export const version = "bignumber/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "bignumber/5.7.0";
export declare const version = "bignumber/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "bignumber/5.7.0";
exports.version = "bignumber/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,8 +1,8 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/logger": "^5.7.0",
"@ethersproject/bytes": "^5.8.0",
"@ethersproject/logger": "^5.8.0",
"bn.js": "^5.2.1"
},
"description": "BigNumber library used in ethers.js.",
@ -38,7 +38,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x98470bc3e3f959c3912641c94cfb20b381527a6b4cfa3bdb265d9a2f3b27ff85",
"tarballHash": "0x291c02c7038661f827ffa88241e1cc3c57f780033bca702a3cda07b33893241c",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "bignumber/5.7.0";
export const version = "bignumber/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "bytes/5.7.0";
export declare const version = "bytes/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "bytes/5.7.0";
export const version = "bytes/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "bytes/5.7.0";
export declare const version = "bytes/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "bytes/5.7.0";
exports.version = "bytes/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,7 +1,7 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/logger": "^5.7.0"
"@ethersproject/logger": "^5.8.0"
},
"description": "Bytes utility functions for ethers.",
"ethereum": "donations.ethers.eth",
@ -37,7 +37,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x5ce4e7b7716e28697fe07abcee74e4e8b4fa3b919b2807322ad6a282990db523",
"tarballHash": "0xc03a78632cb02f6821e27812cb654f96b13ad63454a4750b783ea98241bee5a8",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "bytes/5.7.0";
export const version = "bytes/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "cli/5.7.0";
export declare const version = "cli/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "cli/5.7.0";
export const version = "cli/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "cli/5.7.0";
export declare const version = "cli/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "cli/5.7.0";
exports.version = "cli/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -9,9 +9,9 @@
"dependencies": {
"@babel/parser": "7.8.4",
"@babel/types": "7.8.3",
"@ethersproject/asm": "^5.7.0",
"@ethersproject/basex": "^5.7.0",
"ethers": "^5.7.0",
"@ethersproject/asm": "^5.8.0",
"@ethersproject/basex": "^5.8.0",
"ethers": "^5.8.0",
"scrypt-js": "3.0.1",
"solc": "0.7.1"
},
@ -48,7 +48,7 @@
"test": "exit 1"
},
"sideEffects": false,
"tarballHash": "0x4e7bbdb5aa82512c8355ff3774c89467ed18182bc715b29b0a6463a08896799b",
"tarballHash": "0x0562cbbad1f22539355c956ea439a31e274a47f6d4fdeb57a2ad98edcba8707b",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "cli/5.7.0";
export const version = "cli/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "constants/5.7.0";
export declare const version = "constants/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "constants/5.7.0";
export const version = "constants/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "constants/5.7.0";
export declare const version = "constants/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "constants/5.7.0";
exports.version = "constants/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,7 +1,7 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/bignumber": "^5.7.0"
"@ethersproject/bignumber": "^5.8.0"
},
"description": "Common Ethereum constants used for ethers.",
"ethereum": "donations.ethers.eth",
@ -35,7 +35,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x579d8352bdd831dce141ec5ba78cbbf6d468ebd55470ebb535bbcb38fc502ec6",
"tarballHash": "0xceb0a58df6d69671e0ade33a4dd44b6e7380f5ba95bc3093326c1a2805e82b5b",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "constants/5.7.0";
export const version = "constants/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "contracts/5.7.0";
export declare const version = "contracts/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "contracts/5.7.0";
export const version = "contracts/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -772,7 +772,7 @@ export class BaseContract {
logger.throwError("events require a provider or a signer with a provider", Logger.errors.UNSUPPORTED_OPERATION, { operation: "once" });
}
runningEvent.addListener(listener, once);
// Track this running event and its listeners (may already be there; but no hard in updating)
// Track this running event and its listeners (may already be there; but no harm in updating)
this._runningEvents[runningEvent.tag] = runningEvent;
// If we are not polling the provider, start polling
if (!this._wrappedEmits[runningEvent.tag]) {

View File

@ -1,2 +1,2 @@
export declare const version = "contracts/5.7.0";
export declare const version = "contracts/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "contracts/5.7.0";
exports.version = "contracts/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -915,7 +915,7 @@ var BaseContract = /** @class */ (function () {
logger.throwError("events require a provider or a signer with a provider", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: "once" });
}
runningEvent.addListener(listener, once);
// Track this running event and its listeners (may already be there; but no hard in updating)
// Track this running event and its listeners (may already be there; but no harm in updating)
this._runningEvents[runningEvent.tag] = runningEvent;
// If we are not polling the provider, start polling
if (!this._wrappedEmits[runningEvent.tag]) {

View File

@ -1,16 +1,16 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/abstract-provider": "^5.7.0",
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/address": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/constants": "^5.7.0",
"@ethersproject/logger": "^5.7.0",
"@ethersproject/properties": "^5.7.0",
"@ethersproject/transactions": "^5.7.0"
"@ethersproject/abi": "^5.8.0",
"@ethersproject/abstract-provider": "^5.8.0",
"@ethersproject/abstract-signer": "^5.8.0",
"@ethersproject/address": "^5.8.0",
"@ethersproject/bignumber": "^5.8.0",
"@ethersproject/bytes": "^5.8.0",
"@ethersproject/constants": "^5.8.0",
"@ethersproject/logger": "^5.8.0",
"@ethersproject/properties": "^5.8.0",
"@ethersproject/transactions": "^5.8.0"
},
"description": "Contract abstraction meta-class for ethers.",
"ethereum": "donations.ethers.eth",
@ -44,7 +44,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x186a0093d358545fe0bf9282147dc719ccce205447b02766489e395d0b8af9fc",
"tarballHash": "0x6dfdbfc53ea4a7c69be9d3cc3d0df74099f4b8364c0436e72227f87ff7b6954b",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "contracts/5.7.0";
export const version = "contracts/5.8.0";

View File

@ -3591,7 +3591,7 @@ var bn = createCommonjsModule(function (module) {
})('object' === 'undefined' || module, commonjsGlobal);
});
const version = "logger/5.7.0";
const version = "logger/5.8.0";
"use strict";
let _permanentCensorErrors = false;
@ -3947,7 +3947,7 @@ class Logger {
Logger.errors = ErrorCode;
Logger.levels = LogLevel;
const version$1 = "bytes/5.7.0";
const version$1 = "bytes/5.8.0";
"use strict";
const logger = new Logger(version$1);
@ -4356,7 +4356,7 @@ function joinSignature(signature) {
]));
}
const version$2 = "bignumber/5.7.0";
const version$2 = "bignumber/5.8.0";
"use strict";
var BN = bn.BN;
@ -5009,7 +5009,7 @@ class FixedNumber {
const ONE = FixedNumber.from(1);
const BUMP = FixedNumber.from("0.5");
const version$3 = "properties/5.7.0";
const version$3 = "properties/5.8.0";
"use strict";
var __awaiter = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -5135,7 +5135,7 @@ class Description {
}
}
const version$4 = "abi/5.7.0";
const version$4 = "abi/5.8.0";
"use strict";
const logger$4 = new Logger(version$4);
@ -6794,7 +6794,7 @@ function keccak256(data) {
return '0x' + sha3.keccak_256(arrayify(data));
}
const version$5 = "rlp/5.7.0";
const version$5 = "rlp/5.8.0";
"use strict";
const logger$6 = new Logger(version$5);
@ -6918,7 +6918,7 @@ var index = /*#__PURE__*/Object.freeze({
decode: decode
});
const version$6 = "address/5.7.0";
const version$6 = "address/5.8.0";
"use strict";
const logger$7 = new Logger(version$6);
@ -7451,7 +7451,7 @@ class NumberCoder extends Coder {
}
}
const version$7 = "strings/5.7.0";
const version$7 = "strings/5.8.0";
"use strict";
const logger$9 = new Logger(version$7);
@ -8067,7 +8067,7 @@ function id(text) {
return keccak256(toUtf8Bytes(text));
}
const version$8 = "hash/5.7.0";
const version$8 = "hash/5.8.0";
"use strict";
function decode$1(textData) {
@ -9629,7 +9629,7 @@ class Interface {
"use strict";
const version$9 = "abstract-provider/5.7.0";
const version$9 = "abstract-provider/5.8.0";
"use strict";
var __awaiter$2 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -9737,7 +9737,7 @@ class Provider {
}
}
const version$a = "abstract-signer/5.7.0";
const version$a = "abstract-signer/5.8.0";
"use strict";
var __awaiter$3 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -13843,7 +13843,7 @@ elliptic.eddsa = /*RicMoo:ethers:require(./elliptic/eddsa)*/(null);
var EC$1 = elliptic_1.ec;
const version$b = "signing-key/5.7.0";
const version$b = "signing-key/5.8.0";
"use strict";
const logger$g = new Logger(version$b);
@ -13922,7 +13922,7 @@ function computePublicKey(key, compressed) {
return logger$g.throwArgumentError("invalid public or private key", "key", "[REDACTED]");
}
const version$c = "transactions/5.7.0";
const version$c = "transactions/5.8.0";
"use strict";
const logger$h = new Logger(version$c);
@ -14299,7 +14299,7 @@ function parse(rawTransaction) {
});
}
const version$d = "contracts/5.7.0";
const version$d = "contracts/5.8.0";
"use strict";
var __awaiter$4 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -15065,7 +15065,7 @@ class BaseContract {
logger$i.throwError("events require a provider or a signer with a provider", Logger.errors.UNSUPPORTED_OPERATION, { operation: "once" });
}
runningEvent.addListener(listener, once);
// Track this running event and its listeners (may already be there; but no hard in updating)
// Track this running event and its listeners (may already be there; but no harm in updating)
this._runningEvents[runningEvent.tag] = runningEvent;
// If we are not polling the provider, start polling
if (!this._wrappedEmits[runningEvent.tag]) {
@ -15442,7 +15442,7 @@ var SupportedAlgorithm;
})(SupportedAlgorithm || (SupportedAlgorithm = {}));
;
const version$e = "sha2/5.7.0";
const version$e = "sha2/5.8.0";
"use strict";
const logger$j = new Logger(version$e);
@ -15507,7 +15507,7 @@ function pbkdf2(password, salt, iterations, keylen, hashAlgorithm) {
return hexlify(DK);
}
const version$f = "wordlists/5.7.0";
const version$f = "wordlists/5.8.0";
"use strict";
// This gets overridden by rollup
@ -15595,7 +15595,7 @@ const wordlists = {
"use strict";
const version$g = "hdnode/5.7.0";
const version$g = "hdnode/5.8.0";
"use strict";
const logger$l = new Logger(version$g);
@ -15915,7 +15915,7 @@ function getAccountPath(index) {
return `m/44'/60'/${index}'/0/0`;
}
const version$h = "random/5.7.0";
const version$h = "random/5.8.0";
"use strict";
const logger$m = new Logger(version$h);
@ -16772,7 +16772,7 @@ var aesJs = createCommonjsModule(function (module, exports) {
})(commonjsGlobal);
});
const version$i = "json-wallets/5.7.0";
const version$i = "json-wallets/5.8.0";
"use strict";
function looseArrayify(hexString) {
@ -17742,7 +17742,7 @@ function decryptJsonWalletSync(json, password) {
throw new Error("invalid JSON wallet");
}
const version$j = "wallet/5.7.0";
const version$j = "wallet/5.8.0";
"use strict";
var __awaiter$6 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -17906,7 +17906,7 @@ function verifyTypedData(domain, types, value, signature) {
return recoverAddress(TypedDataEncoder.hash(domain, types, value), signature);
}
const version$k = "networks/5.7.1";
const version$k = "networks/5.8.0";
"use strict";
const logger$q = new Logger(version$k);
@ -17968,6 +17968,12 @@ function ethDefaultProvider(network) {
}
catch (error) { }
}
if (providers.QuickNodeProvider && options.quicknode !== "-") {
try {
providerList.push(new providers.QuickNodeProvider(network, options.quicknode));
}
catch (error) { }
}
if (providerList.length === 0) {
return null;
}
@ -18048,6 +18054,11 @@ const networks = {
name: "sepolia",
_defaultProvider: ethDefaultProvider("sepolia")
},
holesky: {
chainId: 17000,
name: "holesky",
_defaultProvider: ethDefaultProvider("holesky")
},
// ETC (See: #351)
classic: {
chainId: 61,
@ -18068,7 +18079,11 @@ const networks = {
name: "matic",
_defaultProvider: ethDefaultProvider("matic")
},
maticmum: { chainId: 80001, name: "maticmum" },
maticmum: {
chainId: 80001,
name: "maticmum",
_defaultProvider: ethDefaultProvider("maticmum")
},
optimism: {
chainId: 10,
name: "optimism",
@ -18076,9 +18091,11 @@ const networks = {
},
"optimism-kovan": { chainId: 69, name: "optimism-kovan" },
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
"optimism-sepolia": { chainId: 11155420, name: "optimism-sepolia" },
arbitrum: { chainId: 42161, name: "arbitrum" },
"arbitrum-rinkeby": { chainId: 421611, name: "arbitrum-rinkeby" },
"arbitrum-goerli": { chainId: 421613, name: "arbitrum-goerli" },
"arbitrum-sepolia": { chainId: 421614, name: "arbitrum-sepolia" },
bnb: { chainId: 56, name: "bnb" },
bnbt: { chainId: 97, name: "bnbt" },
};
@ -18154,7 +18171,7 @@ function getNetwork(network) {
};
}
const version$l = "web/5.7.1";
const version$l = "web/5.8.0";
"use strict";
var __awaiter$7 = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
@ -18804,7 +18821,7 @@ var bech32 = {
fromWords: fromWords
};
const version$m = "providers/5.7.2";
const version$m = "providers/5.8.0";
"use strict";
const logger$s = new Logger(version$m);
@ -22339,6 +22356,9 @@ class AlchemyProvider extends UrlJsonRpcProvider {
case "goerli":
host = "eth-goerli.g.alchemy.com/v2/";
break;
case "sepolia":
host = "eth-sepolia.g.alchemy.com/v2/";
break;
case "matic":
host = "polygon-mainnet.g.alchemy.com/v2/";
break;
@ -22351,12 +22371,18 @@ class AlchemyProvider extends UrlJsonRpcProvider {
case "arbitrum-goerli":
host = "arb-goerli.g.alchemy.com/v2/";
break;
case "arbitrum-sepolia":
host = "arb-sepolia.g.alchemy.com/v2/";
break;
case "optimism":
host = "opt-mainnet.g.alchemy.com/v2/";
break;
case "optimism-goerli":
host = "opt-goerli.g.alchemy.com/v2/";
break;
case "optimism-sepolia":
host = "opt-sepolia.g.alchemy.com/v2/";
break;
default:
logger$x.throwArgumentError("unsupported network", "network", arguments[0]);
}
@ -22388,8 +22414,18 @@ function getHost(name) {
return "rpc.ankr.com/eth_rinkeby/";
case "goerli":
return "rpc.ankr.com/eth_goerli/";
case "sepolia":
return "rpc.ankr.com/eth_sepolia/";
case "matic":
return "rpc.ankr.com/polygon/";
case "maticmum":
return "rpc.ankr.com/polygon_mumbai/";
case "optimism":
return "rpc.ankr.com/optimism/";
case "optimism-goerli":
return "rpc.ankr.com/optimism_testnet/";
case "optimism-sepolia":
return "rpc.ankr.com/optimism_sepolia/";
case "arbitrum":
return "rpc.ankr.com/arbitrum/";
}
@ -23540,12 +23576,18 @@ class InfuraProvider extends UrlJsonRpcProvider {
case "optimism-goerli":
host = "optimism-goerli.infura.io";
break;
case "optimism-sepolia":
host = "optimism-sepolia.infura.io";
break;
case "arbitrum":
host = "arbitrum-mainnet.infura.io";
break;
case "arbitrum-goerli":
host = "arbitrum-goerli.infura.io";
break;
case "arbitrum-sepolia":
host = "arbitrum-sepolia.infura.io";
break;
default:
logger$C.throwError("unsupported network", Logger.errors.INVALID_ARGUMENT, {
argument: "network",
@ -23756,6 +23798,81 @@ class PocketProvider extends UrlJsonRpcProvider {
"use strict";
const logger$F = new Logger(version$m);
// Special API key provided by Quicknode for ethers.js
const defaultApiKey$3 = "919b412a057b5e9c9b6dce193c5a60242d6efadb";
class QuickNodeProvider extends UrlJsonRpcProvider {
static getApiKey(apiKey) {
if (apiKey && typeof (apiKey) !== "string") {
logger$F.throwArgumentError("invalid apiKey", "apiKey", apiKey);
}
return apiKey || defaultApiKey$3;
}
static getUrl(network, apiKey) {
let host = null;
switch (network.name) {
case "homestead":
host = "ethers.quiknode.pro";
break;
case "goerli":
host = "ethers.ethereum-goerli.quiknode.pro";
break;
case "sepolia":
host = "ethers.ethereum-sepolia.quiknode.pro";
break;
case "holesky":
host = "ethers.ethereum-holesky.quiknode.pro";
break;
case "arbitrum":
host = "ethers.arbitrum-mainnet.quiknode.pro";
break;
case "arbitrum-goerli":
host = "ethers.arbitrum-goerli.quiknode.pro";
break;
case "arbitrum-sepolia":
host = "ethers.arbitrum-sepolia.quiknode.pro";
break;
case "base":
host = "ethers.base-mainnet.quiknode.pro";
break;
case "base-goerli":
host = "ethers.base-goerli.quiknode.pro";
break;
case "base-spolia":
host = "ethers.base-sepolia.quiknode.pro";
break;
case "bnb":
host = "ethers.bsc.quiknode.pro";
break;
case "bnbt":
host = "ethers.bsc-testnet.quiknode.pro";
break;
case "matic":
host = "ethers.matic.quiknode.pro";
break;
case "maticmum":
host = "ethers.matic-testnet.quiknode.pro";
break;
case "optimism":
host = "ethers.optimism.quiknode.pro";
break;
case "optimism-goerli":
host = "ethers.optimism-goerli.quiknode.pro";
break;
case "optimism-sepolia":
host = "ethers.optimism-sepolia.quiknode.pro";
break;
case "xdai":
host = "ethers.xdai.quiknode.pro";
break;
default:
logger$F.throwArgumentError("unsupported network", "network", arguments[0]);
}
return ("https:/" + "/" + host + "/" + apiKey);
}
}
"use strict";
const logger$G = new Logger(version$m);
let _nextId = 1;
function buildWeb3LegacyFetcher(provider, sendFunc) {
const fetcher = "Web3LegacyFetcher";
@ -23838,7 +23955,7 @@ function buildEip1193Fetcher(provider) {
class Web3Provider extends JsonRpcProvider {
constructor(provider, network) {
if (provider == null) {
logger$F.throwArgumentError("missing provider", "provider", provider);
logger$G.throwArgumentError("missing provider", "provider", provider);
}
let path = null;
let jsonRpcFetchFunc = null;
@ -23866,7 +23983,7 @@ class Web3Provider extends JsonRpcProvider {
jsonRpcFetchFunc = buildWeb3LegacyFetcher(provider, provider.send.bind(provider));
}
else {
logger$F.throwArgumentError("unsupported provider", "provider", provider);
logger$G.throwArgumentError("unsupported provider", "provider", provider);
}
if (!path) {
path = "unknown:";
@ -23882,7 +23999,7 @@ class Web3Provider extends JsonRpcProvider {
}
"use strict";
const logger$G = new Logger(version$m);
const logger$H = new Logger(version$m);
////////////////////////
// Helper Functions
function getDefaultProvider(network, options) {
@ -23903,13 +24020,13 @@ function getDefaultProvider(network, options) {
case "wss":
return new WebSocketProvider(network);
default:
logger$G.throwArgumentError("unsupported URL scheme", "network", network);
logger$H.throwArgumentError("unsupported URL scheme", "network", network);
}
}
}
const n = getNetwork(network);
if (!n || !n._defaultProvider) {
logger$G.throwError("unsupported getDefaultProvider network", Logger.errors.NETWORK_ERROR, {
logger$H.throwError("unsupported getDefaultProvider network", Logger.errors.NETWORK_ERROR, {
operation: "getDefaultProvider",
network: network
});
@ -23924,6 +24041,7 @@ function getDefaultProvider(network, options) {
JsonRpcProvider,
NodesmithProvider,
PocketProvider,
QuickNodeProvider,
Web3Provider,
IpcProvider,
}, options);
@ -23947,6 +24065,7 @@ var index$3 = /*#__PURE__*/Object.freeze({
JsonRpcBatchProvider: JsonRpcBatchProvider,
NodesmithProvider: NodesmithProvider,
PocketProvider: PocketProvider,
QuickNodeProvider: QuickNodeProvider,
StaticJsonRpcProvider: StaticJsonRpcProvider,
Web3Provider: Web3Provider,
WebSocketProvider: WebSocketProvider,
@ -23960,14 +24079,14 @@ var index$3 = /*#__PURE__*/Object.freeze({
Formatter: Formatter
});
const version$n = "solidity/5.7.0";
const version$n = "solidity/5.8.0";
"use strict";
const regexBytes = new RegExp("^bytes([0-9]+)$");
const regexNumber = new RegExp("^(u?int)([0-9]*)$");
const regexArray = new RegExp("^(.*)\\[([0-9]*)\\]$");
const Zeros$1 = "0000000000000000000000000000000000000000000000000000000000000000";
const logger$H = new Logger(version$n);
const logger$I = new Logger(version$n);
function _pack(type, value, isArray) {
switch (type) {
case "address":
@ -23991,7 +24110,7 @@ function _pack(type, value, isArray) {
//let signed = (match[1] === "int")
let size = parseInt(match[2] || "256");
if ((match[2] && String(size) !== match[2]) || (size % 8 !== 0) || size === 0 || size > 256) {
logger$H.throwArgumentError("invalid number type", "type", type);
logger$I.throwArgumentError("invalid number type", "type", type);
}
if (isArray) {
size = 256;
@ -24003,10 +24122,10 @@ function _pack(type, value, isArray) {
if (match) {
const size = parseInt(match[1]);
if (String(size) !== match[1] || size === 0 || size > 32) {
logger$H.throwArgumentError("invalid bytes type", "type", type);
logger$I.throwArgumentError("invalid bytes type", "type", type);
}
if (arrayify(value).byteLength !== size) {
logger$H.throwArgumentError(`invalid value for ${type}`, "value", value);
logger$I.throwArgumentError(`invalid value for ${type}`, "value", value);
}
if (isArray) {
return arrayify((value + Zeros$1).substring(0, 66));
@ -24018,7 +24137,7 @@ function _pack(type, value, isArray) {
const baseType = match[1];
const count = parseInt(match[2] || String(value.length));
if (count != value.length) {
logger$H.throwArgumentError(`invalid array length for ${type}`, "value", value);
logger$I.throwArgumentError(`invalid array length for ${type}`, "value", value);
}
const result = [];
value.forEach(function (value) {
@ -24026,12 +24145,12 @@ function _pack(type, value, isArray) {
});
return concat(result);
}
return logger$H.throwArgumentError("invalid type", "type", type);
return logger$I.throwArgumentError("invalid type", "type", type);
}
// @TODO: Array Enum
function pack$1(types, values) {
if (types.length != values.length) {
logger$H.throwArgumentError("wrong number of values; expected ${ types.length }", "values", values);
logger$I.throwArgumentError("wrong number of values; expected ${ types.length }", "values", values);
}
const tight = [];
types.forEach(function (type, index) {
@ -24046,10 +24165,10 @@ function sha256$2(types, values) {
return sha256$1(pack$1(types, values));
}
const version$o = "units/5.7.0";
const version$o = "units/5.8.0";
"use strict";
const logger$I = new Logger(version$o);
const logger$J = new Logger(version$o);
const names = [
"wei",
"kwei",
@ -24064,7 +24183,7 @@ const names = [
function commify(value) {
const comps = String(value).split(".");
if (comps.length > 2 || !comps[0].match(/^-?[0-9]*$/) || (comps[1] && !comps[1].match(/^[0-9]*$/)) || value === "." || value === "-.") {
logger$I.throwArgumentError("invalid value", "value", value);
logger$J.throwArgumentError("invalid value", "value", value);
}
// Make sure we have at least one whole digit (0 if none)
let whole = comps[0];
@ -24112,7 +24231,7 @@ function formatUnits(value, unitName) {
}
function parseUnits(value, unitName) {
if (typeof (value) !== "string") {
logger$I.throwArgumentError("value must be a string", "value", value);
logger$J.throwArgumentError("value must be a string", "value", value);
}
if (typeof (unitName) === "string") {
const index = names.indexOf(unitName);
@ -24234,10 +24353,10 @@ var utils$1 = /*#__PURE__*/Object.freeze({
Indexed: Indexed
});
const version$p = "ethers/5.7.2";
const version$p = "ethers/5.8.0";
"use strict";
const logger$J = new Logger(version$p);
const logger$K = new Logger(version$p);
var ethers = /*#__PURE__*/Object.freeze({
__proto__: null,
@ -24253,7 +24372,7 @@ var ethers = /*#__PURE__*/Object.freeze({
FixedNumber: FixedNumber,
constants: index$1,
get errors () { return ErrorCode; },
logger: logger$J,
logger: logger$K,
utils: utils$1,
wordlists: wordlists,
version: version$p,
@ -24269,5 +24388,5 @@ try {
}
catch (error) { }
export { BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, index$1 as constants, ErrorCode as errors, ethers, getDefaultProvider, logger$J as logger, index$3 as providers, utils$1 as utils, version$p as version, wordlists };
export { BaseContract, BigNumber, Contract, ContractFactory, FixedNumber, Signer, VoidSigner, Wallet, Wordlist, index$1 as constants, ErrorCode as errors, ethers, getDefaultProvider, logger$K as logger, index$3 as providers, utils$1 as utils, version$p as version, wordlists };
//# sourceMappingURL=ethers.esm.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3601,7 +3601,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "logger/5.7.0";
exports.version = "logger/5.8.0";
});
@ -3987,7 +3987,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "bytes/5.7.0";
exports.version = "bytes/5.8.0";
});
@ -4429,7 +4429,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "bignumber/5.7.0";
exports.version = "bignumber/5.8.0";
});
@ -5153,7 +5153,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "properties/5.7.0";
exports.version = "properties/5.8.0";
});
@ -5339,7 +5339,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "abi/5.7.0";
exports.version = "abi/5.8.0";
});
@ -7109,7 +7109,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "rlp/5.7.0";
exports.version = "rlp/5.8.0";
});
@ -7248,7 +7248,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "address/5.7.0";
exports.version = "address/5.8.0";
});
@ -8087,7 +8087,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "strings/5.7.0";
exports.version = "strings/5.8.0";
});
@ -8868,7 +8868,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "hash/5.7.0";
exports.version = "hash/5.8.0";
});
@ -10716,7 +10716,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "abstract-provider/5.7.0";
exports.version = "abstract-provider/5.8.0";
});
@ -10917,7 +10917,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "abstract-signer/5.7.0";
exports.version = "abstract-signer/5.8.0";
});
@ -18538,7 +18538,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "signing-key/5.7.0";
exports.version = "signing-key/5.8.0";
});
@ -18641,7 +18641,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "transactions/5.7.0";
exports.version = "transactions/5.8.0";
});
@ -19068,7 +19068,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "contracts/5.7.0";
exports.version = "contracts/5.8.0";
});
@ -19992,7 +19992,7 @@
logger.throwError("events require a provider or a signer with a provider", lib.Logger.errors.UNSUPPORTED_OPERATION, { operation: "once" });
}
runningEvent.addListener(listener, once);
// Track this running event and its listeners (may already be there; but no hard in updating)
// Track this running event and its listeners (may already be there; but no harm in updating)
this._runningEvents[runningEvent.tag] = runningEvent;
// If we are not polling the provider, start polling
if (!this._wrappedEmits[runningEvent.tag]) {
@ -20431,7 +20431,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "sha2/5.7.0";
exports.version = "sha2/5.8.0";
});
@ -20561,7 +20561,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "wordlists/5.7.0";
exports.version = "wordlists/5.8.0";
});
@ -20719,7 +20719,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "hdnode/5.7.0";
exports.version = "hdnode/5.8.0";
});
@ -21077,7 +21077,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "random/5.7.0";
exports.version = "random/5.8.0";
});
@ -21972,7 +21972,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "json-wallets/5.7.0";
exports.version = "json-wallets/5.8.0";
});
@ -23118,7 +23118,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "wallet/5.7.0";
exports.version = "wallet/5.8.0";
});
@ -23381,7 +23381,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "networks/5.7.1";
exports.version = "networks/5.8.0";
});
@ -23452,6 +23452,12 @@
}
catch (error) { }
}
if (providers.QuickNodeProvider && options.quicknode !== "-") {
try {
providerList.push(new providers.QuickNodeProvider(network, options.quicknode));
}
catch (error) { }
}
if (providerList.length === 0) {
return null;
}
@ -23532,6 +23538,11 @@
name: "sepolia",
_defaultProvider: ethDefaultProvider("sepolia")
},
holesky: {
chainId: 17000,
name: "holesky",
_defaultProvider: ethDefaultProvider("holesky")
},
// ETC (See: #351)
classic: {
chainId: 61,
@ -23552,7 +23563,11 @@
name: "matic",
_defaultProvider: ethDefaultProvider("matic")
},
maticmum: { chainId: 80001, name: "maticmum" },
maticmum: {
chainId: 80001,
name: "maticmum",
_defaultProvider: ethDefaultProvider("maticmum")
},
optimism: {
chainId: 10,
name: "optimism",
@ -23560,9 +23575,11 @@
},
"optimism-kovan": { chainId: 69, name: "optimism-kovan" },
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
"optimism-sepolia": { chainId: 11155420, name: "optimism-sepolia" },
arbitrum: { chainId: 42161, name: "arbitrum" },
"arbitrum-rinkeby": { chainId: 421611, name: "arbitrum-rinkeby" },
"arbitrum-goerli": { chainId: 421613, name: "arbitrum-goerli" },
"arbitrum-sepolia": { chainId: 421614, name: "arbitrum-sepolia" },
bnb: { chainId: 56, name: "bnb" },
bnbt: { chainId: 97, name: "bnbt" },
};
@ -23647,7 +23664,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "web/5.7.1";
exports.version = "web/5.8.0";
});
@ -24422,7 +24439,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "providers/5.7.2";
exports.version = "providers/5.8.0";
});
@ -28987,6 +29004,9 @@
case "goerli":
host = "eth-goerli.g.alchemy.com/v2/";
break;
case "sepolia":
host = "eth-sepolia.g.alchemy.com/v2/";
break;
case "matic":
host = "polygon-mainnet.g.alchemy.com/v2/";
break;
@ -28999,12 +29019,18 @@
case "arbitrum-goerli":
host = "arb-goerli.g.alchemy.com/v2/";
break;
case "arbitrum-sepolia":
host = "arb-sepolia.g.alchemy.com/v2/";
break;
case "optimism":
host = "opt-mainnet.g.alchemy.com/v2/";
break;
case "optimism-goerli":
host = "opt-goerli.g.alchemy.com/v2/";
break;
case "optimism-sepolia":
host = "opt-sepolia.g.alchemy.com/v2/";
break;
default:
logger.throwArgumentError("unsupported network", "network", arguments[0]);
}
@ -29065,8 +29091,18 @@
return "rpc.ankr.com/eth_rinkeby/";
case "goerli":
return "rpc.ankr.com/eth_goerli/";
case "sepolia":
return "rpc.ankr.com/eth_sepolia/";
case "matic":
return "rpc.ankr.com/polygon/";
case "maticmum":
return "rpc.ankr.com/polygon_mumbai/";
case "optimism":
return "rpc.ankr.com/optimism/";
case "optimism-goerli":
return "rpc.ankr.com/optimism_testnet/";
case "optimism-sepolia":
return "rpc.ankr.com/optimism_sepolia/";
case "arbitrum":
return "rpc.ankr.com/arbitrum/";
}
@ -30574,12 +30610,18 @@
case "optimism-goerli":
host = "optimism-goerli.infura.io";
break;
case "optimism-sepolia":
host = "optimism-sepolia.infura.io";
break;
case "arbitrum":
host = "arbitrum-mainnet.infura.io";
break;
case "arbitrum-goerli":
host = "arbitrum-goerli.infura.io";
break;
case "arbitrum-sepolia":
host = "arbitrum-sepolia.infura.io";
break;
default:
logger.throwError("unsupported network", lib.Logger.errors.INVALID_ARGUMENT, {
argument: "network",
@ -30889,6 +30931,112 @@
var pocketProvider$1 = /*@__PURE__*/getDefaultExportFromCjs(pocketProvider);
var quicknodeProvider = createCommonjsModule(function (module, exports) {
"use strict";
var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.QuickNodeProvider = void 0;
var logger = new lib.Logger(_version$I.version);
// Special API key provided by Quicknode for ethers.js
var defaultApiKey = "919b412a057b5e9c9b6dce193c5a60242d6efadb";
var QuickNodeProvider = /** @class */ (function (_super) {
__extends(QuickNodeProvider, _super);
function QuickNodeProvider() {
return _super !== null && _super.apply(this, arguments) || this;
}
QuickNodeProvider.getApiKey = function (apiKey) {
if (apiKey && typeof (apiKey) !== "string") {
logger.throwArgumentError("invalid apiKey", "apiKey", apiKey);
}
return apiKey || defaultApiKey;
};
QuickNodeProvider.getUrl = function (network, apiKey) {
var host = null;
switch (network.name) {
case "homestead":
host = "ethers.quiknode.pro";
break;
case "goerli":
host = "ethers.ethereum-goerli.quiknode.pro";
break;
case "sepolia":
host = "ethers.ethereum-sepolia.quiknode.pro";
break;
case "holesky":
host = "ethers.ethereum-holesky.quiknode.pro";
break;
case "arbitrum":
host = "ethers.arbitrum-mainnet.quiknode.pro";
break;
case "arbitrum-goerli":
host = "ethers.arbitrum-goerli.quiknode.pro";
break;
case "arbitrum-sepolia":
host = "ethers.arbitrum-sepolia.quiknode.pro";
break;
case "base":
host = "ethers.base-mainnet.quiknode.pro";
break;
case "base-goerli":
host = "ethers.base-goerli.quiknode.pro";
break;
case "base-spolia":
host = "ethers.base-sepolia.quiknode.pro";
break;
case "bnb":
host = "ethers.bsc.quiknode.pro";
break;
case "bnbt":
host = "ethers.bsc-testnet.quiknode.pro";
break;
case "matic":
host = "ethers.matic.quiknode.pro";
break;
case "maticmum":
host = "ethers.matic-testnet.quiknode.pro";
break;
case "optimism":
host = "ethers.optimism.quiknode.pro";
break;
case "optimism-goerli":
host = "ethers.optimism-goerli.quiknode.pro";
break;
case "optimism-sepolia":
host = "ethers.optimism-sepolia.quiknode.pro";
break;
case "xdai":
host = "ethers.xdai.quiknode.pro";
break;
default:
logger.throwArgumentError("unsupported network", "network", arguments[0]);
}
return ("https:/" + "/" + host + "/" + apiKey);
};
return QuickNodeProvider;
}(urlJsonRpcProvider.UrlJsonRpcProvider));
exports.QuickNodeProvider = QuickNodeProvider;
});
var quicknodeProvider$1 = /*@__PURE__*/getDefaultExportFromCjs(quicknodeProvider);
var web3Provider = createCommonjsModule(function (module, exports) {
"use strict";
var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
@ -31052,7 +31200,7 @@
var lib$t = createCommonjsModule(function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Formatter = exports.showThrottleMessage = exports.isCommunityResourcable = exports.isCommunityResource = exports.getNetwork = exports.getDefaultProvider = exports.JsonRpcSigner = exports.IpcProvider = exports.WebSocketProvider = exports.Web3Provider = exports.StaticJsonRpcProvider = exports.PocketProvider = exports.NodesmithProvider = exports.JsonRpcBatchProvider = exports.JsonRpcProvider = exports.InfuraWebSocketProvider = exports.InfuraProvider = exports.EtherscanProvider = exports.CloudflareProvider = exports.AnkrProvider = exports.AlchemyWebSocketProvider = exports.AlchemyProvider = exports.FallbackProvider = exports.UrlJsonRpcProvider = exports.Resolver = exports.BaseProvider = exports.Provider = void 0;
exports.Formatter = exports.showThrottleMessage = exports.isCommunityResourcable = exports.isCommunityResource = exports.getNetwork = exports.getDefaultProvider = exports.JsonRpcSigner = exports.IpcProvider = exports.WebSocketProvider = exports.Web3Provider = exports.StaticJsonRpcProvider = exports.QuickNodeProvider = exports.PocketProvider = exports.NodesmithProvider = exports.JsonRpcBatchProvider = exports.JsonRpcProvider = exports.InfuraWebSocketProvider = exports.InfuraProvider = exports.EtherscanProvider = exports.CloudflareProvider = exports.AnkrProvider = exports.AlchemyWebSocketProvider = exports.AlchemyProvider = exports.FallbackProvider = exports.UrlJsonRpcProvider = exports.Resolver = exports.BaseProvider = exports.Provider = void 0;
Object.defineProperty(exports, "Provider", { enumerable: true, get: function () { return lib$e.Provider; } });
@ -31086,6 +31234,8 @@
Object.defineProperty(exports, "PocketProvider", { enumerable: true, get: function () { return pocketProvider.PocketProvider; } });
Object.defineProperty(exports, "QuickNodeProvider", { enumerable: true, get: function () { return quicknodeProvider.QuickNodeProvider; } });
Object.defineProperty(exports, "StaticJsonRpcProvider", { enumerable: true, get: function () { return urlJsonRpcProvider.StaticJsonRpcProvider; } });
Object.defineProperty(exports, "UrlJsonRpcProvider", { enumerable: true, get: function () { return urlJsonRpcProvider.UrlJsonRpcProvider; } });
@ -31141,6 +31291,7 @@
JsonRpcProvider: jsonRpcProvider.JsonRpcProvider,
NodesmithProvider: nodesmithProvider.NodesmithProvider,
PocketProvider: pocketProvider.PocketProvider,
QuickNodeProvider: quicknodeProvider.QuickNodeProvider,
Web3Provider: web3Provider.Web3Provider,
IpcProvider: browserIpcProvider.IpcProvider,
}, options);
@ -31155,7 +31306,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "solidity/5.7.0";
exports.version = "solidity/5.8.0";
});
@ -31266,7 +31417,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "units/5.7.0";
exports.version = "units/5.8.0";
});
@ -31525,7 +31676,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "ethers/5.7.2";
exports.version = "ethers/5.8.0";
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
export declare const version = "ethers/5.7.2";
export declare const version = "ethers/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "ethers/5.7.2";
export const version = "ethers/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "ethers/5.7.2";
export declare const version = "ethers/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "ethers/5.7.2";
exports.version = "ethers/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -2,36 +2,36 @@
"author": "Richard Moore <me@ricmoo.com>",
"browser-old": "./dist/ethers.umd.js",
"dependencies": {
"@ethersproject/abi": "5.7.0",
"@ethersproject/abstract-provider": "5.7.0",
"@ethersproject/abstract-signer": "5.7.0",
"@ethersproject/address": "5.7.0",
"@ethersproject/base64": "5.7.0",
"@ethersproject/basex": "5.7.0",
"@ethersproject/bignumber": "5.7.0",
"@ethersproject/bytes": "5.7.0",
"@ethersproject/constants": "5.7.0",
"@ethersproject/contracts": "5.7.0",
"@ethersproject/hash": "5.7.0",
"@ethersproject/hdnode": "5.7.0",
"@ethersproject/json-wallets": "5.7.0",
"@ethersproject/keccak256": "5.7.0",
"@ethersproject/logger": "5.7.0",
"@ethersproject/networks": "5.7.1",
"@ethersproject/pbkdf2": "5.7.0",
"@ethersproject/properties": "5.7.0",
"@ethersproject/providers": "5.7.2",
"@ethersproject/random": "5.7.0",
"@ethersproject/rlp": "5.7.0",
"@ethersproject/sha2": "5.7.0",
"@ethersproject/signing-key": "5.7.0",
"@ethersproject/solidity": "5.7.0",
"@ethersproject/strings": "5.7.0",
"@ethersproject/transactions": "5.7.0",
"@ethersproject/units": "5.7.0",
"@ethersproject/wallet": "5.7.0",
"@ethersproject/web": "5.7.1",
"@ethersproject/wordlists": "5.7.0"
"@ethersproject/abi": "5.8.0",
"@ethersproject/abstract-provider": "5.8.0",
"@ethersproject/abstract-signer": "5.8.0",
"@ethersproject/address": "5.8.0",
"@ethersproject/base64": "5.8.0",
"@ethersproject/basex": "5.8.0",
"@ethersproject/bignumber": "5.8.0",
"@ethersproject/bytes": "5.8.0",
"@ethersproject/constants": "5.8.0",
"@ethersproject/contracts": "5.8.0",
"@ethersproject/hash": "5.8.0",
"@ethersproject/hdnode": "5.8.0",
"@ethersproject/json-wallets": "5.8.0",
"@ethersproject/keccak256": "5.8.0",
"@ethersproject/logger": "5.8.0",
"@ethersproject/networks": "5.8.0",
"@ethersproject/pbkdf2": "5.8.0",
"@ethersproject/properties": "5.8.0",
"@ethersproject/providers": "5.8.0",
"@ethersproject/random": "5.8.0",
"@ethersproject/rlp": "5.8.0",
"@ethersproject/sha2": "5.8.0",
"@ethersproject/signing-key": "5.8.0",
"@ethersproject/solidity": "5.8.0",
"@ethersproject/strings": "5.8.0",
"@ethersproject/transactions": "5.8.0",
"@ethersproject/units": "5.8.0",
"@ethersproject/wallet": "5.8.0",
"@ethersproject/web": "5.8.0",
"@ethersproject/wordlists": "5.8.0"
},
"description": "Umbrella package for most common Ethers libraries.",
"ethereum": "donations.ethers.eth",
@ -62,7 +62,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x0787812d30a16e79d3a3da2017697837614f159ce6af12fa5704c9ee3a71995d",
"tarballHash": "0xaa15b507ac8ba050f9a32e72f314fd366aeb8169c119cadff28a2b7b08774eee",
"types": "./lib/index.d.ts",
"version": "5.7.2"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "ethers/5.7.2";
export const version = "ethers/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "experimental/5.7.0";
export declare const version = "experimental/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "experimental/5.7.0";
export const version = "experimental/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "experimental/5.7.0";
export declare const version = "experimental/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "experimental/5.7.0";
exports.version = "experimental/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,8 +1,8 @@
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/web": "^5.7.0",
"ethers": "^5.7.0",
"@ethersproject/web": "^5.8.0",
"ethers": "^5.8.0",
"scrypt-js": "3.0.1"
},
"description": "Experimental libraries for ethers. These should not be considered stable.",
@ -37,7 +37,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"sideEffects": false,
"tarballHash": "0x2e22ad88dbfc8169dacbf2628add0eb539a5077b67bffac8b70877dbde8657f3",
"tarballHash": "0x770dec98e0d363a20e0ec6ff3fd23832a9f0ebc9cbfa96de984a19232a816854",
"types": "./lib/index.d.ts",
"version": "5.7.0"
"version": "5.8.0"
}

View File

@ -1 +1 @@
export const version = "experimental/5.7.0";
export const version = "experimental/5.8.0";

View File

@ -1,2 +1,2 @@
export declare const version = "hardware-wallets/5.7.0";
export declare const version = "hardware-wallets/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,2 +1,2 @@
export const version = "hardware-wallets/5.7.0";
export const version = "hardware-wallets/5.8.0";
//# sourceMappingURL=_version.js.map

View File

@ -1,2 +1,2 @@
export declare const version = "hardware-wallets/5.7.0";
export declare const version = "hardware-wallets/5.8.0";
//# sourceMappingURL=_version.d.ts.map

View File

@ -1,5 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "hardware-wallets/5.7.0";
exports.version = "hardware-wallets/5.8.0";
//# sourceMappingURL=_version.js.map

Some files were not shown because too many files have changed in this diff Show More