Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

depay-blockchain-constants

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depay-blockchain-constants - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

dist/cjs/index.js

@@ -8,2 +8,3 @@ 'use strict';

NATIVE: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE',
DECIMALS: 18,
};

@@ -16,2 +17,3 @@

NATIVE: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE',
DECIMALS: 18,
};

@@ -18,0 +20,0 @@

@@ -6,2 +6,3 @@ let CONSTANTS = {

NATIVE: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE',
DECIMALS: 18,
};

@@ -14,2 +15,3 @@

NATIVE: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE',
DECIMALS: 18,
};

@@ -16,0 +18,0 @@

@@ -12,2 +12,3 @@ (function (global, factory) {

NATIVE: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE',
DECIMALS: 18,
};

@@ -20,2 +21,3 @@

NATIVE: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE',
DECIMALS: 18,
};

@@ -22,0 +24,0 @@

2

package.json
{
"name": "depay-blockchain-constants",
"moduleName": "BlockchainConstants",
"version": "1.2.0",
"version": "1.3.0",
"description": "",

@@ -6,0 +6,0 @@ "main": "dist/cjs/index.js",

@@ -19,2 +19,3 @@ ## Quickstart

CONSTANTS['ethereum'].NATIVE // '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'
CONSTANTS['ethereum'].DECIMALS // 18
CONSTANTS['ethereum'].WRAPPED // '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'

@@ -25,2 +26,3 @@

CONSTANTS['bsc'].NATIVE // '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'
CONSTANTS['bsc'].DECIMALS // 18
CONSTANTS['bsc'].WRAPPED // '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c'

@@ -39,3 +41,3 @@ ```

e.g. `CONSTANTS['ethereum'].ZERO // 0x0000000000000000000000000000000000000000`
e.g. `CONSTANTS['ethereum'].ZERO // '0x0000000000000000000000000000000000000000'`

@@ -50,3 +52,3 @@ ### MAXINT

e.g. `CONSTANTS['ethereum'].ZERO // 115792089237316195423570985008687907853269984665640564039457584007913129639935`
e.g. `CONSTANTS['ethereum'].ZERO // '115792089237316195423570985008687907853269984665640564039457584007913129639935'`

@@ -61,4 +63,14 @@ ### NATIVE

e.g. `CONSTANTS['ethereum'].NATIVE // 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE`
e.g. `CONSTANTS['ethereum'].NATIVE // '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'`
### DECIMALS
The decimals for the native token of the individual blockchain.
```javascript
CONSTANTS[blockchain].DECIMALS
```
e.g. `CONSTANTS['ethereum'].DECIMALS // 18`
### WRAPPED

@@ -72,3 +84,3 @@

e.g. `CONSTANTS['ethereum'].WRAPPED // 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2`
e.g. `CONSTANTS['ethereum'].WRAPPED // '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'`

@@ -75,0 +87,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc