bignumbers.js 815 B

1234567891011
  1. import { BigNumber } from "@ethersproject/bignumber";
  2. const NegativeOne = ( /*#__PURE__*/BigNumber.from(-1));
  3. const Zero = ( /*#__PURE__*/BigNumber.from(0));
  4. const One = ( /*#__PURE__*/BigNumber.from(1));
  5. const Two = ( /*#__PURE__*/BigNumber.from(2));
  6. const WeiPerEther = ( /*#__PURE__*/BigNumber.from("1000000000000000000"));
  7. const MaxUint256 = ( /*#__PURE__*/BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"));
  8. const MinInt256 = ( /*#__PURE__*/BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000"));
  9. const MaxInt256 = ( /*#__PURE__*/BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"));
  10. export { NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256, MinInt256, MaxInt256, };
  11. //# sourceMappingURL=bignumbers.js.map