harb/harb-lib/README.md
2024-04-04 22:34:16 +02:00

343 B

Test

yarn test

Import

yarn add harb-lib

then

import {bytesToUint256LittleEndian, uint256ToBytesLittleEndian} from 'harb-lib'

uint256ToBytesLittleEndian(3n);

get Snatch List

import { getSnatchList } from "../helpers";

getSnatchList(<list of positions, <amount of stake>, <new tax rate>);