depay-blockchain-constants
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -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 @@ |
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7705
61
96