Compare commits
35 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
555f16ce7b | ||
|
|
fa5f647bb2 | ||
|
|
e0508cbb0e | ||
|
|
fa825ddc94 | ||
|
|
c85651fad8 | ||
|
|
17bd93c664 | ||
|
|
f7c813d313 | ||
|
|
f05c847398 | ||
|
|
64758f69b7 | ||
|
|
88a10686df | ||
|
|
fbd0d1ca27 | ||
|
|
434e5a0530 | ||
|
|
bff5ff206b | ||
|
|
19898d153e | ||
|
|
c23032b7a8 | ||
|
|
3a470e961c | ||
|
|
a815c90fb2 | ||
|
|
bd15886deb | ||
|
|
f97b92bbb1 | ||
|
|
098d1db315 | ||
|
|
8dac54f90d | ||
|
|
3f0733c2f4 | ||
|
|
962ee4e95a | ||
|
|
bf0b468490 | ||
|
|
c80fcddf50 | ||
|
|
f3e67d230e | ||
|
|
0bfa7f497d | ||
|
|
706d3ca27c | ||
|
|
60248f3249 | ||
|
|
f5abaafb7f | ||
|
|
139280390c | ||
|
|
9f990c57f0 | ||
|
|
74e3d98d1d | ||
|
|
8745800cbc | ||
|
|
2a3a2e1fed |
1
.github/FUNDING.yml
vendored
1
.github/FUNDING.yml
vendored
@@ -1 +1,2 @@
|
||||
github: ethers-io
|
||||
custom: [ 'https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2', 'https://www.buymeacoffee.com/ricmoo' ]
|
||||
|
||||
43
.github/workflows/nodejs.yml
vendored
43
.github/workflows/nodejs.yml
vendored
@@ -3,19 +3,20 @@ name: Node.js CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- v5
|
||||
|
||||
jobs:
|
||||
|
||||
test-node:
|
||||
|
||||
# runs-on: ubuntu-latest
|
||||
runs-on: macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
environment: ethers-tests
|
||||
env:
|
||||
FAUCET_PRIVATEKEY: ${{ secrets.FAUCET_PRIVATEKEY }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [ 12.x, 14.x, 16.x ]
|
||||
node-version: [ 18.x, 20.x ]
|
||||
|
||||
steps:
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
@@ -25,9 +26,8 @@ jobs:
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# - name: Install node-hid requirements
|
||||
# run: sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev libudev-dev
|
||||
with:
|
||||
ref: 'v5'
|
||||
|
||||
- name: Install dependencies (and link per package)
|
||||
run: npm ci
|
||||
@@ -40,9 +40,10 @@ jobs:
|
||||
|
||||
|
||||
test-browser:
|
||||
|
||||
# runs-on: ubuntu-latest
|
||||
runs-on: macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
environment: ethers-tests
|
||||
env:
|
||||
FAUCET_PRIVATEKEY: ${{ secrets.FAUCET_PRIVATEKEY }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -52,13 +53,12 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
node-version: 20.x
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# - name: Install node-hid requirements
|
||||
# run: sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev libudev-dev
|
||||
with:
|
||||
ref: 'v5'
|
||||
|
||||
- name: Install dependencies (and link per package)
|
||||
run: npm ci
|
||||
@@ -102,21 +102,22 @@ jobs:
|
||||
|
||||
name: Coverage
|
||||
|
||||
# runs-on: ubuntu-latest
|
||||
runs-on: macos-latest
|
||||
runs-on: ubuntu-latest
|
||||
environment: ethers-tests
|
||||
env:
|
||||
FAUCET_PRIVATEKEY: ${{ secrets.FAUCET_PRIVATEKEY }}
|
||||
|
||||
continue-on-error: true
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
node-version: 20.x
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# - name: Install node-hid requirements
|
||||
# run: sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev libudev-dev
|
||||
with:
|
||||
ref: "v5"
|
||||
|
||||
- name: Install dependencies (and link per package)
|
||||
run: npm ci
|
||||
|
||||
14
CHANGELOG.md
14
CHANGELOG.md
@@ -4,6 +4,20 @@ 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)
|
||||
--------------------------------
|
||||
|
||||
- Updated tests to use goerli instead of ropsten. ([1392803](https://github.com/ethers-io/ethers.js/commit/139280390c32b80c533e6a74c84595e6bea706b9), [706d3ca](https://github.com/ethers-io/ethers.js/commit/706d3ca27c233385944877eb64c099c74109b6c2))
|
||||
- Added new error strings Pocket returns. ([9f990c5](https://github.com/ethers-io/ethers.js/commit/9f990c57f0486728902d4b8e049536f2bb3487ee))
|
||||
- Fixed Alchemy goerli URL. ([#3320](https://github.com/ethers-io/ethers.js/issues/3320), [#3323](https://github.com/ethers-io/ethers.js/issues/3323), [#3340](https://github.com/ethers-io/ethers.js/issues/3340), [#3358](https://github.com/ethers-io/ethers.js/issues/3358), [#3423](https://github.com/ethers-io/ethers.js/issues/3423); [74e3d98](https://github.com/ethers-io/ethers.js/commit/74e3d98d1df2bd97be258202a63517d4aa1ba8fd))
|
||||
- Update testnets for third-party providers. ([#3320](https://github.com/ethers-io/ethers.js/issues/3320), [#3323](https://github.com/ethers-io/ethers.js/issues/3323), [#3340](https://github.com/ethers-io/ethers.js/issues/3340), [#3358](https://github.com/ethers-io/ethers.js/issues/3358), [#3423](https://github.com/ethers-io/ethers.js/issues/3423); [2a3a2e1](https://github.com/ethers-io/ethers.js/commit/2a3a2e1feda7b18c8e234c84e4de32d4246f18ed))
|
||||
|
||||
ethers/v5.7.1 (2022-09-13 21:28)
|
||||
--------------------------------
|
||||
|
||||
|
||||
@@ -41,7 +41,8 @@ operations required to interact with the Ethereum Blockchain.
|
||||
- customer usage metrics
|
||||
|
||||
_definition: **Networks:**
|
||||
``homestead``, ``ropsten``, ``rinkeby``, ``goerli`` and ``kovan``.
|
||||
``homestead``, ``goerli``, ``sepolia``, ``matic``. ``maticmum``, ``arbitrum``,
|
||||
``arbitrum-goerli``, ``optimism`` and ``optimism-goerli``.
|
||||
|
||||
|
||||
_subsection: INFURA @NOTE<(see the [[InfuraProvider]])> @<api-keys--infura>
|
||||
@@ -61,9 +62,8 @@ interaction with standard tools versatile, simple and straightforward.
|
||||
- access to archive data (requires paid upgrade)
|
||||
|
||||
_definition: **Networks:**
|
||||
``homestead``, ``ropsten``, ``rinkeby``, ``goerli``, ``kovan``, ``matic``,
|
||||
``maticmum``, ``optimism``, ``optimism-kovan``, ``arbitrum`` and
|
||||
``arbitrum-rinkeby``.
|
||||
``homestead``, ``goerli``, ``sepolia``, ``matic``. ``maticmum``, ``arbitrum``,
|
||||
``arbitrum-goerli``, ``optimism`` and ``optimism-goerli``.
|
||||
|
||||
|
||||
_subsection: Alchemy @NOTE<(see the [[AlchemyProvider]])> @<api-keys--alchemy>
|
||||
@@ -85,9 +85,8 @@ with debugging.
|
||||
- access to advanced debugging trace and revert reason APIs
|
||||
|
||||
_definition: **Networks:**
|
||||
``homestead``, ``ropsten``, ``rinkeby``, ``goerli``, ``kovan``, ``matic``,
|
||||
``maticmum``, ``optimism``, ``optimism-kovan``, ``arbitrum`` and
|
||||
``arbitrum-rinkeby``.
|
||||
``homestead``, ``goerli``, ``matic``. ``maticmum``, ``arbitrum``,
|
||||
``arbitrum-goerli``, ``optimism`` and ``optimism-goerli``.
|
||||
|
||||
|
||||
_subsection: Pocket Gateway @NOTE<(see the [[PocketProvider]])> @<api-keys--pocket-gateway>
|
||||
|
||||
@@ -40,10 +40,14 @@ It is highly recommended for production, you register with
|
||||
_definition: **Supported Networks**
|
||||
|
||||
- ``homestead`` - Homestead (Mainnet)
|
||||
- ``ropsten`` - Ropsten (proof-of-work testnet)
|
||||
- ``rinkeby`` - Rinkeby (proof-of-authority testnet)
|
||||
- ``goerli`` - Görli (clique testnet)
|
||||
- ``kovan`` - Kovan (proof-of-authority testnet)
|
||||
- ``sepolia`` - Sepolia (proof-of-authority testnet)
|
||||
- ``arbitrum`` - Arbitrum Optimistic L2
|
||||
- ``arbitrum-goerli`` - Arbitrum Optimistic L2 testnet
|
||||
- ``matic`` - Polygon mainnet
|
||||
- ``maticmum`` - Polygon testnet
|
||||
- ``optimism`` - Optimism Optimistic L2
|
||||
- ``optimism-goerli`` - Optimism Optimistic L2 testnet
|
||||
|
||||
_code: Etherscan Examples @lang<javascript>
|
||||
|
||||
@@ -53,11 +57,11 @@ _code: Etherscan Examples @lang<javascript>
|
||||
// Connect to mainnet (homestead)
|
||||
provider = new EtherscanProvider();
|
||||
|
||||
// Connect to rinkeby testnet (these are equivalent)
|
||||
provider = new EtherscanProvider("rinkeby");
|
||||
provider = new EtherscanProvider(4);
|
||||
// Connect to goerli testnet (these are equivalent)
|
||||
provider = new EtherscanProvider("goerli");
|
||||
provider = new EtherscanProvider(5);
|
||||
|
||||
network = ethers.providers.getNetwork("rinkeby");
|
||||
network = ethers.providers.getNetwork("goerli");
|
||||
//_hide: delete network._defaultProvider;
|
||||
//_log: network
|
||||
|
||||
@@ -107,16 +111,14 @@ It is highly recommended for production, you register with
|
||||
_definition: **Supported Networks**
|
||||
|
||||
- ``homestead`` - Homestead (Mainnet)
|
||||
- ``ropsten`` - Ropsten (proof-of-work testnet)
|
||||
- ``rinkeby`` - Rinkeby (proof-of-authority testnet)
|
||||
- ``goerli`` - Görli (clique testnet)
|
||||
- ``kovan`` - Kovan (proof-of-authority testnet)
|
||||
- ``matic`` - Polygon
|
||||
- ``maticmum`` - Polygon Mumbai Testnet
|
||||
- ``optimism`` - Optimism (L2; optimistic roll-up)
|
||||
- ``optimism-kovan`` - Optimism Testnet (L2; optimistic roll-up testnet)
|
||||
- ``arbitrum`` - Arbitrum (L2; optimistic roll-up)
|
||||
- ``arbitrum-rinkeby`` - Arbitrum Testnet (L2; optimistic roll-up testnet)
|
||||
- ``sepolia`` - Sepolia (proof-of-authority testnet)
|
||||
- ``arbitrum`` - Arbitrum Optimistic L2
|
||||
- ``arbitrum-goerli`` - Arbitrum Optimistic L2 testnet
|
||||
- ``matic`` - Polygon mainnet
|
||||
- ``maticmum`` - Polygon testnet
|
||||
- ``optimism`` - Optimism Optimistic L2
|
||||
- ``optimism-goerli`` - Optimism Optimistic L2 testnet
|
||||
|
||||
_code: INFURA Examples @lang<javascript>
|
||||
|
||||
@@ -127,9 +129,9 @@ _code: INFURA Examples @lang<javascript>
|
||||
// Connect to mainnet (homestead)
|
||||
provider = new InfuraProvider();
|
||||
|
||||
// Connect to the ropsten testnet
|
||||
// Connect to the goerli testnet
|
||||
// (see EtherscanProvider above for other network examples)
|
||||
provider = new InfuraProvider("ropsten");
|
||||
provider = new InfuraProvider("goerli");
|
||||
|
||||
// Connect to mainnet with a Project ID (these are equivalent)
|
||||
provider = new InfuraProvider(null, projectId);
|
||||
@@ -168,16 +170,13 @@ It is highly recommended for production, you register with
|
||||
_definition: **Supported Networks**
|
||||
|
||||
- ``homestead`` - Homestead (Mainnet)
|
||||
- ``ropsten`` - Ropsten (proof-of-work testnet)
|
||||
- ``rinkeby`` - Rinkeby (proof-of-authority testnet)
|
||||
- ``goerli`` - Görli (clique testnet)
|
||||
- ``kovan`` - Kovan (proof-of-authority testnet)
|
||||
- ``matic`` - Polygon
|
||||
- ``maticmum`` - Polygon Mumbai Testnet
|
||||
- ``optimism`` - Optimism (L2; optimistic roll-up)
|
||||
- ``optimism-kovan`` - Optimism Testnet (L2; optimistic roll-up testnet)
|
||||
- ``arbitrum`` - Arbitrum (L2; optimistic roll-up)
|
||||
- ``arbitrum-rinkeby`` - Arbitrum Testnet (L2; optimistic roll-up testnet)
|
||||
- ``arbitrum`` - Arbitrum Optimistic L2
|
||||
- ``arbitrum-goerli`` - Arbitrum Optimistic L2 testnet
|
||||
- ``matic`` - Polygon mainnet
|
||||
- ``maticmum`` - Polygon testnet
|
||||
- ``optimism`` - Optimism Optimistic L2
|
||||
- ``optimism-goerli`` - Optimism Optimistic L2 testnet
|
||||
|
||||
_code: Alchemy Examples @lang<javascript>
|
||||
|
||||
@@ -187,9 +186,9 @@ _code: Alchemy Examples @lang<javascript>
|
||||
// Connect to mainnet (homestead)
|
||||
provider = new AlchemyProvider();
|
||||
|
||||
// Connect to the ropsten testnet
|
||||
// Connect to the goerli testnet
|
||||
// (see EtherscanProvider above for other network examples)
|
||||
provider = new AlchemyProvider("ropsten");
|
||||
provider = new AlchemyProvider("goerli");
|
||||
|
||||
// Connect to mainnet with an API key (these are equivalent)
|
||||
provider = new AlchemyProvider(null, apiKey);
|
||||
@@ -241,9 +240,9 @@ It is highly recommended for production, you register with
|
||||
_definition: **Supported Networks**
|
||||
|
||||
- ``homestead`` - Homestead (Mainnet)
|
||||
- ``ropsten`` - Ropsten (proof-of-work testnet)
|
||||
- ``rinkeby`` - Rinkeby (proof-of-authority testnet)
|
||||
- ``goerli`` - Görli (clique testnet)
|
||||
- ``matic`` - Polygon mainnet
|
||||
- ``maticmum`` - Polygon testnet
|
||||
|
||||
_code: Pocket Examples @lang<javascript>
|
||||
|
||||
@@ -255,9 +254,9 @@ _code: Pocket Examples @lang<javascript>
|
||||
// Connect to mainnet (homestead)
|
||||
provider = new PocketProvider();
|
||||
|
||||
// Connect to the ropsten testnet
|
||||
// Connect to the goerli testnet
|
||||
// (see EtherscanProvider above for other network examples)
|
||||
provider = new PocketProvider("ropsten");
|
||||
provider = new PocketProvider("goerli");
|
||||
|
||||
// Connect to mainnet with an Application ID (these are equivalent)
|
||||
provider = new PocketProvider(null, applicationId);
|
||||
@@ -305,7 +304,7 @@ _code: Ankr Examples @lang<javascript>
|
||||
// Connect to mainnet (homestead)
|
||||
provider = new AnkrProvider();
|
||||
|
||||
// Connect to polygont
|
||||
// Connect to polygon
|
||||
// (see EtherscanProvider above for other network examples)
|
||||
provider = new AnkrProvider("matic");
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ There are several official common Ethereum networks as well as custom
|
||||
networks and other compatible projects.
|
||||
|
||||
Any API that accept a [[providers-Networkish]] can be passed a common
|
||||
name (such as ``"mainnet"`` or ``"ropsten"``) or chain ID to use that
|
||||
name (such as ``"mainnet"`` or ``"goerli"``) or chain ID to use that
|
||||
network definition or may specify custom parameters.
|
||||
|
||||
_property: ethers.providers.getNetwork(aNetworkish) => [[providers-Network]]
|
||||
|
||||
@@ -529,7 +529,7 @@ topicSets = [
|
||||
hexZeroPad(myOtherAddress, 32)
|
||||
]
|
||||
]
|
||||
provider.on(topicSets, (log, event) => {
|
||||
provider.on(topicSets, (log) => {
|
||||
// Emitted any token is sent TO either address
|
||||
})
|
||||
|
||||
|
||||
@@ -173,9 +173,6 @@ to indicate the Log entry has been removed; it will likely be emitted
|
||||
again in the near future when another block is mined with the transaction
|
||||
that triggered this log, but keep in mind the values may change.
|
||||
|
||||
_property: log.transactionLogIndex => number
|
||||
The index of this log in the transaction.
|
||||
|
||||
_property: log.address => string<[[address]]>
|
||||
The address of the contract that generated this log.
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ _property: signer.signMessage(message) => Promise<string<[RawSignature](signatur
|
||||
This returns a Promise which resolves to the [[signature-raw]]
|
||||
of //message//.
|
||||
|
||||
A signed message is prefixd with ``"\\x19Ethereum Signed Message:\\n"`` and
|
||||
A signed message is prefixed with ``"\\x19Ethereum Signed Message:\\n"`` and
|
||||
the length of the message, using the [hashMessage](utils-hashMessage)
|
||||
method, so that it is [EIP-191](link-eip-191) compliant. If recovering
|
||||
the address in Solidity, this prefix will be required to create a matching
|
||||
|
||||
@@ -212,8 +212,9 @@ The local parameter name. This may be null for unnamed parameters. For example,
|
||||
the parameter definition ``string foobar`` would be ``foobar``.
|
||||
|
||||
_property: paramType.type => string @<ParamType-type>
|
||||
The full type of the parameter, including tuple and array symbols. This may be null
|
||||
for unnamed parameters. For the above example, this would be ``foobar``.
|
||||
The full type of the parameter, including tuple and array symbols. For the
|
||||
above example, this would be ``string``. For an array of strings, this would
|
||||
be ``string[]``.
|
||||
|
||||
_property: paramType.baseType => string @<ParamType-baseType>
|
||||
The base type of the parameter. For primitive types (e.g. ``address``, ``uint256``, etc)
|
||||
|
||||
@@ -310,7 +310,7 @@ iface.encodeFunctionData("addUser", [ user ]);
|
||||
//_log:
|
||||
|
||||
// Encoding structured data, using objects. Only available
|
||||
// if paramters are named.
|
||||
// if parameters are named.
|
||||
user = {
|
||||
name: "Richard Moore",
|
||||
addr: "0x8ba1f109551bD432803012645Ac136ddd64DBA72"
|
||||
|
||||
@@ -105,28 +105,28 @@ it represents.
|
||||
|
||||
_heading: Math Operations
|
||||
|
||||
_property: BigNumber.add(otherValue) => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.add(otherValue) => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the value of //BigNumber// **+** //otherValue//.
|
||||
|
||||
_property: BigNumber.sub(otherValue) => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.sub(otherValue) => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the value of //BigNumber// **-** //otherValue//.
|
||||
|
||||
_property: BigNumber.mul(otherValue) => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.mul(otherValue) => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the value of //BigNumber// **×** //otherValue//.
|
||||
|
||||
_property: BigNumber.div(divisor) => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.div(divisor) => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the value of //BigNumber// **÷** //divisor//.
|
||||
|
||||
_property: BigNumber.mod(divisor) => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.mod(divisor) => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the value of the **remainder** of //BigNumber// ÷ //divisor//.
|
||||
|
||||
_property: BigNumber.pow(exponent) => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.pow(exponent) => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the value of //BigNumber// to the power of //exponent//.
|
||||
|
||||
_property: BigNumber.abs() => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.abs() => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the absolute value of //BigNumber//.
|
||||
|
||||
_property: BigNumber.mask(bitcount) => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.mask(bitcount) => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the value of //BigNumber// with bits beyond
|
||||
the //bitcount// least significant bits set to zero.
|
||||
|
||||
@@ -138,51 +138,51 @@ is an elegant method used to encode and decode fixed-width signed values
|
||||
while efficiently preserving mathematical operations.
|
||||
Most users will not need to interact with these.
|
||||
|
||||
_property: BigNumber.fromTwos(bitwidth) => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.fromTwos(bitwidth) => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the value of //BigNumber// converted from twos-complement with //bitwidth//.
|
||||
|
||||
_property: BigNumber.toTwos(bitwidth) => [[BigNumber]] @SRC<bignumber>
|
||||
_property: bigNumber.toTwos(bitwidth) => [[BigNumber]] @SRC<bignumber>
|
||||
Returns a BigNumber with the value of //BigNumber// converted to twos-complement with //bitwidth//.
|
||||
|
||||
|
||||
_heading: Comparison and Equivalence
|
||||
|
||||
_property: BigNumber.eq(otherValue) => boolean @SRC<bignumber>
|
||||
_property: bigNumber.eq(otherValue) => boolean @SRC<bignumber>
|
||||
Returns true if and only if the value of //BigNumber// is equal to //otherValue//.
|
||||
|
||||
_property: BigNumber.lt(otherValue) => boolean @SRC<bignumber>
|
||||
_property: bigNumber.lt(otherValue) => boolean @SRC<bignumber>
|
||||
Returns true if and only if the value of //BigNumber// **<** //otherValue//.
|
||||
|
||||
_property: BigNumber.lte(otherValue) => boolean @SRC<bignumber>
|
||||
_property: bigNumber.lte(otherValue) => boolean @SRC<bignumber>
|
||||
Returns true if and only if the value of //BigNumber// **≤** //otherValue//.
|
||||
|
||||
_property: BigNumber.gt(otherValue) => boolean @SRC<bignumber>
|
||||
_property: bigNumber.gt(otherValue) => boolean @SRC<bignumber>
|
||||
Returns true if and only if the value of //BigNumber// **>** //otherValue//.
|
||||
|
||||
_property: BigNumber.gte(otherValue) => boolean @SRC<bignumber>
|
||||
_property: bigNumber.gte(otherValue) => boolean @SRC<bignumber>
|
||||
Returns true if and only if the value of //BigNumber// **≥** //otherValue//.
|
||||
|
||||
_property: BigNumber.isZero() => boolean @SRC<bignumber:BigNumber.isZero>
|
||||
_property: bigNumber.isZero() => boolean @SRC<bignumber:BigNumber.isZero>
|
||||
Returns true if and only if the value of //BigNumber// is zero.
|
||||
|
||||
|
||||
_heading: Conversion
|
||||
|
||||
_property: BigNumber.toBigInt() => bigint @SRC<bignumber>
|
||||
_property: bigNumber.toBigInt() => bigint @SRC<bignumber>
|
||||
Returns the value of //BigNumber// as a [JavaScript BigInt](link-js-bigint) value,
|
||||
on platforms which support them.
|
||||
|
||||
_property: BigNumber.toNumber() => number @SRC<bignumber>
|
||||
_property: bigNumber.toNumber() => number @SRC<bignumber>
|
||||
Returns the value of //BigNumber// as a JavaScript value.
|
||||
|
||||
This will **throw an error**
|
||||
if the value is greater than or equal to //Number.MAX_SAFE_INTEGER// or less than or
|
||||
equal to //Number.MIN_SAFE_INTEGER//.
|
||||
|
||||
_property: BigNumber.toString() => string @SRC<bignumber:BigNumber.toString>
|
||||
_property: bigNumber.toString() => string @SRC<bignumber:BigNumber.toString>
|
||||
Returns the value of //BigNumber// as a base-10 string.
|
||||
|
||||
_property: BigNumber.toHexString() => string<[[DataHexString]]> @SRC<bignumber:BigNumber.toHexString>
|
||||
_property: bigNumber.toHexString() => string<[[DataHexString]]> @SRC<bignumber:BigNumber.toHexString>
|
||||
Returns the value of //BigNumber// as a base-16, ``0x``-prefixed [[DataHexString]].
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ _heading: Signature @<Signature>
|
||||
- **yParityAndS** --- The [compact representation](link-eip-2098) of the **s** and **v**
|
||||
- **_vs** --- Deprecated property; renamed to yParityAndS
|
||||
- **recoveryParam** --- The normalized (i.e. 0 or 1) value of **v**
|
||||
- **compact** - The full siggnature using [compact representation](link-eip-2098)
|
||||
- **compact** - The full signature using [compact representation](link-eip-2098)
|
||||
|
||||
_heading: Raw Signature @<signature-raw> @inherit<string\<[[DataHexString]]\<65\>\>>
|
||||
|
||||
|
||||
@@ -37,14 +37,14 @@ _subsection: HDNode @<HDNode> @SRC<hdnode:class.HDNode>
|
||||
|
||||
_heading: Creating Instances @<HDNode--creating>
|
||||
|
||||
_property: ethers.HDNode.fromMnemonic(phrase [, password [, wordlist ] ]) => [[HDNode]] @<HDNode-fromMnemonic> @SRC<hdnode>
|
||||
_property: ethers.utils.HDNode.fromMnemonic(phrase [, password [, wordlist ] ]) => [[HDNode]] @<HDNode-fromMnemonic> @SRC<hdnode>
|
||||
Return the [[HDNode]] for //phrase// with the optional //password//
|
||||
and //wordlist//.
|
||||
|
||||
_property: ethers.HDNode.fromSeed(aBytesLike) => [[HDNode]] @<HDNode-fromSeed> @SRC<hdnode>
|
||||
_property: ethers.utils.HDNode.fromSeed(aBytesLike) => [[HDNode]] @<HDNode-fromSeed> @SRC<hdnode>
|
||||
Return the [[HDNode]] for the seed //aBytesLike//.
|
||||
|
||||
_property: ethers.HDNode.fromExtendedKey(extendedKey) => [[HDNode]] @<HDNode-fromExtendedKey> @SRC<hdnode>
|
||||
_property: ethers.utils.HDNode.fromExtendedKey(extendedKey) => [[HDNode]] @<HDNode-fromExtendedKey> @SRC<hdnode>
|
||||
Return the [[HDNode]] for the //extendedKey//. If //extendedKey// was
|
||||
neutered, the **HDNode** will only be able to compute addresses and not
|
||||
private keys.
|
||||
|
||||
@@ -89,9 +89,9 @@ The chain ID for //transaction//. This is used as part of
|
||||
[[link-eip-155]] to prevent replay attacks on different
|
||||
networks.
|
||||
|
||||
For example, if a transaction was made on ropsten with an account
|
||||
For example, if a transaction was made on goerli with an account
|
||||
also used on homestead, it would be possible for a transaction
|
||||
signed on ropsten to be executed on homestead, which is likely
|
||||
signed on goerli to be executed on homestead, which is likely
|
||||
unintended.
|
||||
|
||||
There are situations where replay may be desired, however these
|
||||
|
||||
@@ -47,13 +47,13 @@ the processFunc is called with response including the error status intact. (defa
|
||||
_property: connection.allowGzip => boolean
|
||||
Allow Gzip responses. (default: ``false``)
|
||||
|
||||
_property: connection.throttleLimit => boolean
|
||||
_property: connection.throttleLimit => number
|
||||
How many times to retry in the event of a 429 status code.
|
||||
|
||||
_property: connection.throttleSlotInterval => boolean
|
||||
_property: connection.throttleSlotInterval => number
|
||||
The exponential back-off slot delay (i.e. omega), creating a staggered, increasing random delay on retries.
|
||||
|
||||
_property: connection.throttleCallback => boolean
|
||||
_property: connection.throttleCallback => Promise<boolean>
|
||||
Callback that allows application level hints to retry (within the throttleLimit) or quick fail.
|
||||
|
||||
|
||||
|
||||
@@ -91,8 +91,8 @@ New account address: 0x485bcC23ae2E5038ec7ec9b8DCB2A6A6291cC003
|
||||
Saved: wallet.json
|
||||
|
||||
|
||||
# If you are planning to try out the Ropsten testnet...
|
||||
/home/ethers> ethers --network ropsten fund 0x485bcC23ae2E5038ec7ec9b8DCB2A6A6291cC003
|
||||
# If you are planning to try out the Goerli testnet...
|
||||
/home/ethers> ethers --network goerli fund 0x485bcC23ae2E5038ec7ec9b8DCB2A6A6291cC003
|
||||
Transaction Hash: 0x8dc55b8f8dc8076acded97f9e3ed7d6162460c0221e2769806006b6d7d1156e0
|
||||
|
||||
|
||||
@@ -168,14 +168,14 @@ the command line to be passed into other commands or stored in script
|
||||
environment variables.
|
||||
|
||||
_code: Get the formatted balance of an account @lang<shell>
|
||||
/home/ethers> ethers --network ropsten \
|
||||
/home/ethers> ethers --network goerli \
|
||||
--account wallet.json \
|
||||
eval \
|
||||
'accounts[0].getBalance().then(b => formatEther(b))'
|
||||
3.141592653589793238
|
||||
|
||||
_code: Get the current block number @lang<shell>
|
||||
/home/ethers> ethers --network rinkeby \
|
||||
/home/ethers> ethers --network goerli \
|
||||
eval "provider.getBlockNumber()"
|
||||
5761009
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ _section: Best Practices @<best-practices>
|
||||
|
||||
_subsection: Network Changes
|
||||
|
||||
Handling a change in the network (e.g. Ropsten vs Mainnet) is
|
||||
Handling a change in the network (e.g. Görli vs Mainnet) is
|
||||
incredibly complex and a slight failure can at best make your
|
||||
application seem confusing and at worst cause the loss of funds,
|
||||
leak private data or misrepresent what an action performed.
|
||||
|
||||
@@ -202,7 +202,7 @@ function codeContextify(context) {
|
||||
|
||||
module.exports = {
|
||||
title: "ethers",
|
||||
subtitle: "v5.4",
|
||||
subtitle: "v5.7",
|
||||
description: "Documentation for ethers, a complete, tiny and simple Ethereum library.",
|
||||
logo: "logo.svg",
|
||||
|
||||
@@ -210,11 +210,11 @@ module.exports = {
|
||||
|
||||
prefix: "/v5",
|
||||
|
||||
link: "https:/\/docs.ethers.io",
|
||||
link: "https:/\/docs.ethers.org",
|
||||
copyright: "The content of this site is licensed under the [Creative Commons License](https:/\/choosealicense.com/licenses/cc-by-4.0/). Generated on &$now;.",
|
||||
|
||||
markdown: {
|
||||
"banner": "-----\n\nDocumentation: [html](https://docs.ethers.io/)\n\n-----\n\n"
|
||||
"banner": "-----\n\nDocumentation: [html](https://docs.ethers.org/)\n\n-----\n\n"
|
||||
},
|
||||
|
||||
codeContextify: codeContextify,
|
||||
@@ -225,7 +225,7 @@ module.exports = {
|
||||
|
||||
externalLinks: {
|
||||
"link-mail": "mailto:me@ricmoo.com",
|
||||
"link-alchemy": { name: "Alchemy", url: "https:/\/alchemyapi.io" },
|
||||
"link-alchemy": { name: "Alchemy", url: "https:/\/alchemy.com/?a=ethers" },
|
||||
"link-ankr": { name: "Ankr", url: "https:/\/www.ankr.com" },
|
||||
"link-cloudflare": { name: "Cloudflare", url: "https:/\/developers.cloudflare.com/distributed-web/ethereum-gateway/" },
|
||||
"link-ens": { name: "ENS", url: "https:/\/ens.domains/" },
|
||||
@@ -265,8 +265,10 @@ module.exports = {
|
||||
"link-geth-debug": "https:/\/github.com/ethereum/go-ethereum/wiki/Management-APIs#debug",
|
||||
"link-geth-rpc": "https:/\/github.com/ethereum/go-ethereum/wiki/Management-APIs",
|
||||
|
||||
"link-legacy-docs3": "https:/\/docs.ethers.io/v3/",
|
||||
"link-legacy-docs4": "https:/\/docs.ethers.io/v4/",
|
||||
"link-legacy-docs3": "https:/\/docs.ethers.org/v3/",
|
||||
"link-legacy-docs4": "https:/\/docs.ethers.org/v4/",
|
||||
"link-beta-docs6": "https:/\/docs.ethers.org/v6-beta/",
|
||||
"link-docs6": "https:/\/docs.ethers.org/v6/",
|
||||
|
||||
"link-github-ci": "https:/\/github.com/ethers-io/ethers.js/actions/runs/158006903",
|
||||
"link-github-issues": "https:/\/github.com/ethers-io/ethers.js/issues",
|
||||
@@ -290,7 +292,7 @@ module.exports = {
|
||||
"link-rlp": { name: "Recursive Length Prefix", url: "https:/\/github.com/ethereum/wiki/wiki/RLP" },
|
||||
|
||||
"link-ethersio": "https:/\/ethers.io/",
|
||||
"link-ethers-docs": "https:/\/docs.ethers.io/",
|
||||
"link-ethers-docs": "https:/\/docs.ethers.org/",
|
||||
"link-ethers-js": "https:/\/cdn.ethers.io/lib/ethers-5.1.esm.min.js",
|
||||
"link-ethers-npm": "https:/\/www.npmjs.com/search?q=%40ethersproject%2F",
|
||||
"link-ethers-asm-grammar": "https:/\/github.com/ethers-io/ethers.js/blob/master/packages/asm/grammar.jison",
|
||||
|
||||
@@ -30,12 +30,12 @@ have a public discussion and figure out the best way to address the problem/feat
|
||||
|
||||
_subsection: Building @<contributing--building>
|
||||
|
||||
The build process for ethers is unfortunatly not super trivial, but
|
||||
The build process for ethers is unfortunately not super trivial, but
|
||||
I have attempted to make it as straightforward as possible.
|
||||
|
||||
It is a mono-repo which attempts to be compatibile with a large
|
||||
number of environments, build tools and platforms, which is why
|
||||
there are a some weird things it must do.
|
||||
there are some weird things it must do.
|
||||
|
||||
There are several custom scripts in the ``misc/admin`` folder
|
||||
to help manage the monorepo. Developers working on contributing
|
||||
@@ -114,7 +114,7 @@ _code: Preparing the Distribution @lang<shell>
|
||||
# Prepare all the distribution files
|
||||
# - Remove all generated files (i.e. npm run clean)
|
||||
# - Re-install all dependencies, hoisting, etc. (npm install)
|
||||
# - Spell check all strings in every TypeScript files
|
||||
# - Spell check all strings in every TypeScript file
|
||||
# - Build everything from scratch with this clean install
|
||||
# - Compare local with npm, bumping the version if changed
|
||||
# - Build everything again (with the updated versions)
|
||||
|
||||
@@ -14,7 +14,7 @@ function getRawTransaction(tx) {
|
||||
const txFields = "accessList chainId data gasPrice gasLimit maxFeePerGas maxPriorityFeePerGas nonce to type value".split(" ");
|
||||
const sigFields = "v r s".split(" ");
|
||||
|
||||
// Seriailze the signed transaction
|
||||
// Serialze the signed transaction
|
||||
const raw = utils.serializeTransaction(txFields.reduce(addKey, { }), sigFields.reduce(addKey, { }));
|
||||
|
||||
// Double check things went well
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
_section: Documentation @<documentation>
|
||||
|
||||
This documentation is for Ethers v5, which only receives
|
||||
minimal maintenance support. Please consider upgrading to v6.
|
||||
|
||||
For Ethers v6, see [v6 documentation](link-docs6).
|
||||
|
||||
_subsection: What is Ethers? @<preamble>
|
||||
|
||||
The ethers.js library aims to be a complete and compact library for
|
||||
|
||||
@@ -43,12 +43,13 @@ module.exports = function(config) {
|
||||
],
|
||||
}
|
||||
},
|
||||
/*
|
||||
client: {
|
||||
args: [ process.env.FAUCET_PRIVATEKEY ],
|
||||
/*
|
||||
mocha: {
|
||||
grep: 'utf',
|
||||
grep: 'Test WebSocketProvider',
|
||||
}
|
||||
*/
|
||||
}
|
||||
*/
|
||||
})
|
||||
}
|
||||
|
||||
@@ -44,12 +44,13 @@ module.exports = function(config) {
|
||||
]
|
||||
}
|
||||
},
|
||||
/*
|
||||
client: {
|
||||
args: [ process.env.FAUCET_PRIVATEKEY ],
|
||||
/*
|
||||
mocha: {
|
||||
grep: 'Test WebSocketProvider',
|
||||
}
|
||||
*/
|
||||
}
|
||||
*/
|
||||
})
|
||||
}
|
||||
|
||||
@@ -22,17 +22,17 @@ const Words = fs_1.default.readFileSync("/usr/share/dict/words").toString().spli
|
||||
}, {});
|
||||
`
|
||||
// Words missing from the dictionary
|
||||
accessing addresses aligned autofill avatar called cancelled changed censored
|
||||
accessing addresses aligned allowed autofill avatar called cancelled changed censored
|
||||
clamping compiled computed configured consumed contained creating decoded decoding
|
||||
decreased decrypt decrypted decrypting deployed deploying deprecated detected
|
||||
discontinued earliest email emitted enabled encoded encoder encoding encountered
|
||||
encrypt encrypted encrypting entries euro exceeded existing expected
|
||||
expired failed fetches formatted formatting funding generated
|
||||
expired failed fetches finalized formatted formatting funding generated
|
||||
hardened has highly ignoring implemented implementer imported including instantiate
|
||||
joined keyword labelled larger lookup matches mined modified modifies multi
|
||||
named needed nested neutered numeric offline optimizer overriding owned packed
|
||||
padded parsed parsing passed payload placeholder processing properties prototyping reached
|
||||
recommended recovered recursively redacted remaining replaced repriced required reverted
|
||||
recommended recovered recursively redacted rejected remaining replaced repriced required reverted
|
||||
serializes shared signed signing skipped stats stored supported tagging targetted
|
||||
throttled transactions typed uninstall unstake unsubscribe untyped
|
||||
using verifies verifying website
|
||||
@@ -58,11 +58,11 @@ ABIEncoder testcase numberish Wordlist
|
||||
abi addr api app arg arrayify asm backend basex bigint bignumber bn byte
|
||||
bytecode callback calldata ccip charset checksum ciphertext cli codepoint
|
||||
commify config
|
||||
contenthash ctr ctrl debug dd dklen eexist encseed eof eq erc ethaddr
|
||||
contenthash ctr ctrl debug dd disallowed dklen dns eexist encseed eof eq erc ethaddr
|
||||
ethseed ethers eval exec filename func gz gzip hid http https hw iv
|
||||
info init ipc json kdf kdfparams labelhash lang lib metadata mm multihash nfc
|
||||
nfkc nfd nfkd nodehash notok nowait nullish offchain oob opcode org pbkdf pc plugin
|
||||
pragma pre prf recid repl rpc sighash topichash solc stderr stdin stdout subclasses
|
||||
pragma pre prf punycode recid repl rpc sighash topichash solc stderr stdin stdout subclasses
|
||||
subnode timeout todo txt typeof ufixed utc utf util url urlencoded uuid vm
|
||||
vs websocket wikipedia wildcard wildcards wss www wx xe xpriv xpub xx yyyy zlib
|
||||
|
||||
@@ -72,10 +72,10 @@ abiv
|
||||
// Query parameters
|
||||
apikey asc endblock startblock
|
||||
|
||||
alchemyapi ankr arbitrum Cloudflare com Etherscan INFURA IPFS IPNS MetaMask Nodesmith
|
||||
alchemyapi ankr arbitrum Cloudflare com Etherscan INFURA IPFS IPNS MetaMask Nodesmith quiknode
|
||||
Trezor ledgerhq axic bitcoinjs browserify easyseed ethereumjs
|
||||
goerli homestead kotti kovan mainnet morden mordor rinkeby kintsugi
|
||||
ropsten skynet testnet lb maticmum
|
||||
goerli holesky homestead kotti kovan mainnet morden mordor rinkeby kintsugi
|
||||
ropsten sepolia skynet testnet lb maticmum
|
||||
|
||||
// Demo words
|
||||
args foo eth foo foobar ll localhost passwd ricmoo tx xxx yna
|
||||
|
||||
@@ -141,7 +141,7 @@ function getFiles(basedir) {
|
||||
}
|
||||
(function () {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const bucket = "docs.ethers.io";
|
||||
const bucket = "ethers.org";
|
||||
const awsAccessId = yield config_1.config.get("aws-upload-docs-accesskey");
|
||||
const awsSecretKey = yield config_1.config.get("aws-upload-docs-secretkey");
|
||||
const s3 = new aws_sdk_1.default.S3({
|
||||
@@ -152,7 +152,9 @@ function getFiles(basedir) {
|
||||
const added = [], removed = [], changed = [], upload = [];
|
||||
const basedir = (0, path_2.resolve)("docs");
|
||||
const local = yield getFiles(basedir);
|
||||
console.log("LOCAL", local);
|
||||
const remote = yield getKeys(s3, bucket);
|
||||
console.log("REMOTE", remote);
|
||||
Object.keys(local).forEach((filename) => {
|
||||
if (!remote[filename]) {
|
||||
added.push(filename);
|
||||
@@ -176,8 +178,9 @@ function getFiles(basedir) {
|
||||
console.log('Removed: ', removed.length);
|
||||
console.log('Changed: ', changed.length);
|
||||
for (let i = 0; i < upload.length; i++) {
|
||||
const filename = upload[i];
|
||||
const content = fs_1.default.readFileSync((0, path_1.join)(basedir, filename));
|
||||
const _filename = upload[i];
|
||||
const content = fs_1.default.readFileSync((0, path_1.join)(basedir, _filename));
|
||||
const filename = (0, path_1.join)("docs", _filename);
|
||||
console.log(`Uploading: ${filename} (${content.length} bytes)`);
|
||||
yield putObject(s3, bucket, filename, content);
|
||||
}
|
||||
|
||||
@@ -61,10 +61,12 @@ function nonnull(value) {
|
||||
}
|
||||
return value;
|
||||
}
|
||||
function staller(duration) {
|
||||
function staller(duration, block) {
|
||||
return new Promise((resolve) => {
|
||||
const timer = setTimeout(resolve, duration);
|
||||
timer.unref();
|
||||
if (!block) {
|
||||
timer.unref();
|
||||
}
|
||||
});
|
||||
}
|
||||
function _getUrl(href, options) {
|
||||
@@ -121,7 +123,7 @@ function getUrl(href, options) {
|
||||
catch (e) {
|
||||
error = e;
|
||||
}
|
||||
yield staller(1000);
|
||||
yield staller(1000, true);
|
||||
}
|
||||
throw error;
|
||||
});
|
||||
|
||||
@@ -13,17 +13,17 @@ const Words = fs.readFileSync("/usr/share/dict/words").toString().split("\n").re
|
||||
|
||||
`
|
||||
// Words missing from the dictionary
|
||||
accessing addresses aligned autofill avatar called cancelled changed censored
|
||||
accessing addresses aligned allowed autofill avatar called cancelled changed censored
|
||||
clamping compiled computed configured consumed contained creating decoded decoding
|
||||
decreased decrypt decrypted decrypting deployed deploying deprecated detected
|
||||
discontinued earliest email emitted enabled encoded encoder encoding encountered
|
||||
encrypt encrypted encrypting entries euro exceeded existing expected
|
||||
expired failed fetches formatted formatting funding generated
|
||||
expired failed fetches finalized formatted formatting funding generated
|
||||
hardened has highly ignoring implemented implementer imported including instantiate
|
||||
joined keyword labelled larger lookup matches mined modified modifies multi
|
||||
named needed nested neutered numeric offline optimizer overriding owned packed
|
||||
padded parsed parsing passed payload placeholder processing properties prototyping reached
|
||||
recommended recovered recursively redacted remaining replaced repriced required reverted
|
||||
recommended recovered recursively redacted rejected remaining replaced repriced required reverted
|
||||
serializes shared signed signing skipped stats stored supported tagging targetted
|
||||
throttled transactions typed uninstall unstake unsubscribe untyped
|
||||
using verifies verifying website
|
||||
@@ -49,11 +49,11 @@ ABIEncoder testcase numberish Wordlist
|
||||
abi addr api app arg arrayify asm backend basex bigint bignumber bn byte
|
||||
bytecode callback calldata ccip charset checksum ciphertext cli codepoint
|
||||
commify config
|
||||
contenthash ctr ctrl debug dd dklen eexist encseed eof eq erc ethaddr
|
||||
contenthash ctr ctrl debug dd disallowed dklen dns eexist encseed eof eq erc ethaddr
|
||||
ethseed ethers eval exec filename func gz gzip hid http https hw iv
|
||||
info init ipc json kdf kdfparams labelhash lang lib metadata mm multihash nfc
|
||||
nfkc nfd nfkd nodehash notok nowait nullish offchain oob opcode org pbkdf pc plugin
|
||||
pragma pre prf recid repl rpc sighash topichash solc stderr stdin stdout subclasses
|
||||
pragma pre prf punycode recid repl rpc sighash topichash solc stderr stdin stdout subclasses
|
||||
subnode timeout todo txt typeof ufixed utc utf util url urlencoded uuid vm
|
||||
vs websocket wikipedia wildcard wildcards wss www wx xe xpriv xpub xx yyyy zlib
|
||||
|
||||
@@ -63,10 +63,10 @@ abiv
|
||||
// Query parameters
|
||||
apikey asc endblock startblock
|
||||
|
||||
alchemyapi ankr arbitrum Cloudflare com Etherscan INFURA IPFS IPNS MetaMask Nodesmith
|
||||
alchemyapi ankr arbitrum Cloudflare com Etherscan INFURA IPFS IPNS MetaMask Nodesmith quiknode
|
||||
Trezor ledgerhq axic bitcoinjs browserify easyseed ethereumjs
|
||||
goerli homestead kotti kovan mainnet morden mordor rinkeby kintsugi
|
||||
ropsten skynet testnet lb maticmum
|
||||
goerli holesky homestead kotti kovan mainnet morden mordor rinkeby kintsugi
|
||||
ropsten sepolia skynet testnet lb maticmum
|
||||
|
||||
// Demo words
|
||||
args foo eth foo foobar ll localhost passwd ricmoo tx xxx yna
|
||||
|
||||
@@ -132,7 +132,7 @@ function getFiles(basedir: string): Record<string, string> {
|
||||
}
|
||||
|
||||
(async function() {
|
||||
const bucket = "docs.ethers.io";
|
||||
const bucket = "ethers.org";
|
||||
|
||||
const awsAccessId = await config.get("aws-upload-docs-accesskey");
|
||||
const awsSecretKey = await config.get("aws-upload-docs-secretkey");
|
||||
@@ -148,7 +148,9 @@ function getFiles(basedir: string): Record<string, string> {
|
||||
const basedir = resolve("docs");
|
||||
|
||||
const local = await getFiles(basedir);
|
||||
console.log("LOCAL", local);
|
||||
const remote = await getKeys(s3, bucket);
|
||||
console.log("REMOTE", remote);
|
||||
|
||||
Object.keys(local).forEach((filename) => {
|
||||
if (!remote[filename]) {
|
||||
@@ -174,8 +176,9 @@ function getFiles(basedir: string): Record<string, string> {
|
||||
console.log('Changed: ', changed.length);
|
||||
|
||||
for (let i = 0; i < upload.length; i++) {
|
||||
const filename = upload[i];
|
||||
const content = fs.readFileSync(join(basedir, filename));
|
||||
const _filename = upload[i];
|
||||
const content = fs.readFileSync(join(basedir, _filename));
|
||||
const filename = join("docs", _filename);
|
||||
console.log(`Uploading: ${ filename } (${ content.length } bytes)`);
|
||||
await putObject(s3, bucket, filename, content);
|
||||
}
|
||||
|
||||
@@ -68,10 +68,10 @@ function nonnull(value: string): string {
|
||||
return value;
|
||||
}
|
||||
|
||||
function staller(duration: number): Promise<void> {
|
||||
function staller(duration: number, block?: boolean): Promise<void> {
|
||||
return new Promise((resolve) => {
|
||||
const timer = setTimeout(resolve, duration);
|
||||
timer.unref();
|
||||
if (!block) { timer.unref(); }
|
||||
});
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ export async function getUrl(href: string, options?: Options): Promise<GetUrlRes
|
||||
} catch (e) {
|
||||
error = e;
|
||||
}
|
||||
await staller(1000);
|
||||
await staller(1000, true);
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
|
||||
6923
package-lock.json
generated
6923
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -69,8 +69,8 @@
|
||||
"diff": "4.0.1",
|
||||
"flatworm": "0.0.2-beta.7",
|
||||
"jison": "0.4.18",
|
||||
"karma": "6.3.17",
|
||||
"karma-chrome-launcher": "3.1.0",
|
||||
"karma": "^6.4.1",
|
||||
"karma-chrome-launcher": "3.1.1",
|
||||
"karma-mocha": "2.0.1",
|
||||
"libnpmpublish": "3.0.1",
|
||||
"mocha": "^9.1.3",
|
||||
|
||||
2
packages/abi/lib.esm/_version.d.ts
vendored
2
packages/abi/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "abi/5.7.0";
|
||||
export const version = "abi/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/abi/lib/_version.d.ts
vendored
2
packages/abi/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "abi/5.7.0";
|
||||
export const version = "abi/5.8.0";
|
||||
|
||||
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "abstract-provider/5.7.0";
|
||||
export const version = "abstract-provider/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/abstract-provider/lib/_version.d.ts
vendored
2
packages/abstract-provider/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "abstract-provider/5.7.0";
|
||||
export const version = "abstract-provider/5.8.0";
|
||||
|
||||
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "abstract-signer/5.7.0";
|
||||
export const version = "abstract-signer/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/abstract-signer/lib/_version.d.ts
vendored
2
packages/abstract-signer/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "abstract-signer/5.7.0";
|
||||
export const version = "abstract-signer/5.8.0";
|
||||
|
||||
2
packages/address/lib.esm/_version.d.ts
vendored
2
packages/address/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "address/5.7.0";
|
||||
export const version = "address/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/address/lib/_version.d.ts
vendored
2
packages/address/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "address/5.7.0";
|
||||
export const version = "address/5.8.0";
|
||||
|
||||
2
packages/asm/lib.esm/_version.d.ts
vendored
2
packages/asm/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "asm/5.7.0";
|
||||
export const version = "asm/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/asm/lib/_version.d.ts
vendored
2
packages/asm/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "asm/5.7.0";
|
||||
export const version = "asm/5.8.0";
|
||||
|
||||
2
packages/base64/lib.esm/_version.d.ts
vendored
2
packages/base64/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "base64/5.7.0";
|
||||
export const version = "base64/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/base64/lib/_version.d.ts
vendored
2
packages/base64/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "base64/5.7.0";
|
||||
export const version = "base64/5.8.0";
|
||||
|
||||
2
packages/basex/lib.esm/_version.d.ts
vendored
2
packages/basex/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "basex/5.7.0";
|
||||
export const version = "basex/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/basex/lib/_version.d.ts
vendored
2
packages/basex/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "basex/5.7.0";
|
||||
export const version = "basex/5.8.0";
|
||||
|
||||
2
packages/bignumber/lib.esm/_version.d.ts
vendored
2
packages/bignumber/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "bignumber/5.7.0";
|
||||
export const version = "bignumber/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/bignumber/lib/_version.d.ts
vendored
2
packages/bignumber/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "bignumber/5.7.0";
|
||||
export const version = "bignumber/5.8.0";
|
||||
|
||||
2
packages/bytes/lib.esm/_version.d.ts
vendored
2
packages/bytes/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "bytes/5.7.0";
|
||||
export const version = "bytes/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/bytes/lib/_version.d.ts
vendored
2
packages/bytes/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "bytes/5.7.0";
|
||||
export const version = "bytes/5.8.0";
|
||||
|
||||
2
packages/cli/lib.esm/_version.d.ts
vendored
2
packages/cli/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "cli/5.7.0";
|
||||
export const version = "cli/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/cli/lib/_version.d.ts
vendored
2
packages/cli/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "cli/5.7.0";
|
||||
export const version = "cli/5.8.0";
|
||||
|
||||
2
packages/constants/lib.esm/_version.d.ts
vendored
2
packages/constants/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "constants/5.7.0";
|
||||
export const version = "constants/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
2
packages/constants/lib/_version.d.ts
vendored
2
packages/constants/lib/_version.d.ts
vendored
@@ -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
|
||||
@@ -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
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const version = "constants/5.7.0";
|
||||
export const version = "constants/5.8.0";
|
||||
|
||||
2
packages/contracts/lib.esm/_version.d.ts
vendored
2
packages/contracts/lib.esm/_version.d.ts
vendored
@@ -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
|
||||
@@ -1,2 +1,2 @@
|
||||
export const version = "contracts/5.7.0";
|
||||
export const version = "contracts/5.8.0";
|
||||
//# sourceMappingURL=_version.js.map
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user