2019-08-25 02:39:20 -04:00
|
|
|
"use strict";
|
|
|
|
import { BigNumber } from "@ethersproject/bignumber";
|
|
|
|
const AddressZero = "0x0000000000000000000000000000000000000000";
|
|
|
|
const HashZero = "0x0000000000000000000000000000000000000000000000000000000000000000";
|
2020-01-06 19:00:55 -05:00
|
|
|
// NFKC (composed) // (decomposed)
|
|
|
|
const EtherSymbol = "\u039e"; // "\uD835\uDF63";
|
2019-08-25 02:39:20 -04:00
|
|
|
const NegativeOne = BigNumber.from(-1);
|
|
|
|
const Zero = BigNumber.from(0);
|
|
|
|
const One = BigNumber.from(1);
|
|
|
|
const Two = BigNumber.from(2);
|
|
|
|
const WeiPerEther = BigNumber.from("1000000000000000000");
|
|
|
|
const MaxUint256 = BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
|
|
|
export { AddressZero, HashZero, EtherSymbol, NegativeOne, Zero, One, Two, WeiPerEther, MaxUint256 };
|
2020-07-13 08:03:56 -04:00
|
|
|
//# sourceMappingURL=index.js.map
|