@ethersproject/constants
Advanced tools
Comparing version 5.2.0 to 5.3.0
@@ -1,2 +0,2 @@ | ||
export declare const version = "constants/5.2.0"; | ||
export declare const version = "constants/5.3.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "constants/5.2.0"; | ||
export const version = "constants/5.3.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -8,3 +8,5 @@ import { BigNumber } from "@ethersproject/bignumber"; | ||
declare const MaxUint256: BigNumber; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256 }; | ||
declare const MinInt256: BigNumber; | ||
declare const MaxInt256: BigNumber; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256, MinInt256, MaxInt256, }; | ||
//# sourceMappingURL=bignumbers.d.ts.map |
@@ -8,3 +8,5 @@ import { BigNumber } from "@ethersproject/bignumber"; | ||
const MaxUint256 = ( /*#__PURE__*/BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")); | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256 }; | ||
const MinInt256 = ( /*#__PURE__*/BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000")); | ||
const MaxInt256 = ( /*#__PURE__*/BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")); | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256, MinInt256, MaxInt256, }; | ||
//# sourceMappingURL=bignumbers.js.map |
export { AddressZero } from "./addresses"; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256 } from "./bignumbers"; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256, MinInt256, MaxInt256 } from "./bignumbers"; | ||
export { HashZero } from "./hashes"; | ||
export { EtherSymbol } from "./strings"; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
export { AddressZero } from "./addresses"; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256 } from "./bignumbers"; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256, MinInt256, MaxInt256 } from "./bignumbers"; | ||
export { HashZero } from "./hashes"; | ||
export { EtherSymbol } from "./strings"; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const version = "constants/5.2.0"; | ||
export declare const version = "constants/5.3.0"; | ||
//# sourceMappingURL=_version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = "constants/5.2.0"; | ||
exports.version = "constants/5.3.0"; | ||
//# sourceMappingURL=_version.js.map |
@@ -8,3 +8,5 @@ import { BigNumber } from "@ethersproject/bignumber"; | ||
declare const MaxUint256: BigNumber; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256 }; | ||
declare const MinInt256: BigNumber; | ||
declare const MaxInt256: BigNumber; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256, MinInt256, MaxInt256, }; | ||
//# sourceMappingURL=bignumbers.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MaxUint256 = exports.WeiPerEther = exports.Two = exports.One = exports.Zero = exports.NegativeOne = void 0; | ||
exports.MaxInt256 = exports.MinInt256 = exports.MaxUint256 = exports.WeiPerEther = exports.Two = exports.One = exports.Zero = exports.NegativeOne = void 0; | ||
var bignumber_1 = require("@ethersproject/bignumber"); | ||
@@ -17,2 +17,6 @@ var NegativeOne = ( /*#__PURE__*/bignumber_1.BigNumber.from(-1)); | ||
exports.MaxUint256 = MaxUint256; | ||
var MinInt256 = ( /*#__PURE__*/bignumber_1.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000")); | ||
exports.MinInt256 = MinInt256; | ||
var MaxInt256 = ( /*#__PURE__*/bignumber_1.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")); | ||
exports.MaxInt256 = MaxInt256; | ||
//# sourceMappingURL=bignumbers.js.map |
export { AddressZero } from "./addresses"; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256 } from "./bignumbers"; | ||
export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256, MinInt256, MaxInt256 } from "./bignumbers"; | ||
export { HashZero } from "./hashes"; | ||
export { EtherSymbol } from "./strings"; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EtherSymbol = exports.HashZero = exports.MaxUint256 = exports.WeiPerEther = exports.Two = exports.One = exports.Zero = exports.NegativeOne = exports.AddressZero = void 0; | ||
exports.EtherSymbol = exports.HashZero = exports.MaxInt256 = exports.MinInt256 = exports.MaxUint256 = exports.WeiPerEther = exports.Two = exports.One = exports.Zero = exports.NegativeOne = exports.AddressZero = void 0; | ||
var addresses_1 = require("./addresses"); | ||
@@ -13,2 +13,4 @@ Object.defineProperty(exports, "AddressZero", { enumerable: true, get: function () { return addresses_1.AddressZero; } }); | ||
Object.defineProperty(exports, "MaxUint256", { enumerable: true, get: function () { return bignumbers_1.MaxUint256; } }); | ||
Object.defineProperty(exports, "MinInt256", { enumerable: true, get: function () { return bignumbers_1.MinInt256; } }); | ||
Object.defineProperty(exports, "MaxInt256", { enumerable: true, get: function () { return bignumbers_1.MaxInt256; } }); | ||
var hashes_1 = require("./hashes"); | ||
@@ -15,0 +17,0 @@ Object.defineProperty(exports, "HashZero", { enumerable: true, get: function () { return hashes_1.HashZero; } }); |
{ | ||
"author": "Richard Moore <me@ricmoo.com>", | ||
"dependencies": { | ||
"@ethersproject/bignumber": "^5.2.0" | ||
"@ethersproject/bignumber": "^5.3.0" | ||
}, | ||
@@ -18,3 +18,3 @@ "description": "Common Ethereum constants used for ethers.", | ||
], | ||
"gitHead": "dad3829c2e54b1c002c83ce948dc172530f6846d", | ||
"gitHead": "4e6d121fb8aa7327290afab7653364be8ddd8d81", | ||
"keywords": [ | ||
@@ -40,5 +40,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x7c69b00cfcc12dccbfc572b1f826af462aa97c6677da6987863f3267f142fc70", | ||
"tarballHash": "0x5b33ba31854b84281dad66bb9f78b22dc2458fd3bfbaf4bbf9186e1ef524db3e", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.2.0" | ||
"version": "5.3.0" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "constants/5.2.0"; | ||
export const version = "constants/5.3.0"; |
@@ -10,2 +10,5 @@ import { BigNumber } from "@ethersproject/bignumber"; | ||
const MinInt256: BigNumber = (/*#__PURE__*/BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000")); | ||
const MaxInt256: BigNumber = (/*#__PURE__*/BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")); | ||
export { | ||
@@ -17,3 +20,5 @@ NegativeOne, | ||
WeiPerEther, | ||
MaxUint256 | ||
MaxUint256, | ||
MinInt256, | ||
MaxInt256, | ||
}; |
@@ -10,3 +10,5 @@ "use strict"; | ||
WeiPerEther, | ||
MaxUint256 | ||
MaxUint256, | ||
MinInt256, | ||
MaxInt256 | ||
} from "./bignumbers"; | ||
@@ -13,0 +15,0 @@ export { HashZero } from "./hashes"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
18673
149