@ethersproject/constants
Error utility functions for ethers.
Last updated 7 years ago by ricmoo .
MIT · Repository · Original npm · Tarball · package.json
$ npm install @ethersproject/constants 
SYNC missed versions from official npm registry.

Etehreum Constants

This sub-module is part of the ethers project.

It contains many frequently used constants when dealing with Ethereum.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    AddressZero,
    HashZero,

    EtherSymbol,

    NegativeOne,
    Zero,
    One,
    Two,

    WeiPerEther,
    MaxUint256

} = require("@ethersproject/constants");

License

MIT License

Current Tags

  • 5.8.0                                ...           latest (2 years ago)

38 Versions

  • 5.8.0                                ...           2 years ago
  • 5.7.0                                ...           4 years ago
  • 5.6.1                                ...           5 years ago
  • 5.6.0                                ...           5 years ago
  • 5.5.0                                ...           5 years ago
  • 5.4.0                                ...           5 years ago
  • 5.3.0                                ...           5 years ago
  • 5.2.0                                ...           6 years ago
  • 5.1.0                                ...           6 years ago
  • 5.0.10                                ...           6 years ago
  • 5.0.9                                ...           6 years ago
  • 5.0.8                                ...           6 years ago
  • 5.0.7                                ...           6 years ago
  • 5.0.6                                ...           6 years ago
  • 5.0.5                                ...           6 years ago
  • 5.0.4                                ...           6 years ago
  • 5.0.3                                ...           6 years ago
  • 5.0.2                                ...           6 years ago
  • 5.0.1                                ...           6 years ago
  • 5.0.0                                ...           6 years ago
  • 5.0.0-beta.134                                ...           7 years ago
  • 5.0.0-beta.133                                ...           7 years ago
  • 5.0.0-beta.132                                ...           7 years ago
  • 5.0.0-beta.131                                ...           7 years ago
  • 5.0.0-beta.130                                ...           7 years ago
  • 5.0.0-beta.129                                ...           7 years ago
  • 5.0.0-beta.128                                ...           7 years ago
  • 5.0.0-beta.127                                ...           7 years ago
  • 5.0.0-beta.126                                ...           8 years ago
  • 5.0.0-beta.125                                ...           8 years ago
  • 5.0.0-beta.124                                ...           8 years ago
  • 5.0.0-beta.123                                ...           8 years ago
  • 5.0.0-beta.122                                ...           8 years ago
  • 5.0.0-beta.121                                ...           8 years ago
  • 5.0.0-beta.120                                ...           8 years ago
  • 5.0.0-beta.119                                ...           8 years ago
  • 5.0.0-beta.118                                ...           8 years ago
  • 5.0.0-beta.117                                ...           8 years ago
Maintainers (1)
Downloads
Total 140
Today 0
This Week 0
This Month 84
Last Day 0
Last Week 78
Last Month 56
Dependencies (1)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE