makiswap-core

4.1.0Β β€’Β PublicΒ β€’Β Published

makiswap-core

πŸŽ› Core swap contracts for Makiswap Protocol.

Test Results

MakiswapFactory βœ“ feeTo, feeToSetter βœ“ createPair (513ms) βœ“ createPair:reverse (436ms) βœ“ createPair:gas (262ms) βœ“ setFeeTo (144ms) βœ“ setFeeToSetter (168ms)

MakiswapHRC20 βœ“ name, symbol, decimals, totalSupply, balanceOf, DOMAIN_SEPARATOR, PERMIT_TYPEHASH (114ms) βœ“ approve (133ms) βœ“ transfer (112ms) βœ“ transfer:fail βœ“ transferFrom (183ms) βœ“ transferFrom:max (111ms) βœ“ permit (84ms)

MakiswapPair βœ“ mint (209ms) βœ“ getInputPrice:0 (247ms) βœ“ getInputPrice:1 (237ms) βœ“ getInputPrice:2 (217ms) βœ“ getInputPrice:3 (213ms) βœ“ getInputPrice:4 (209ms) βœ“ getInputPrice:5 (204ms) βœ“ getInputPrice:6 (205ms) βœ“ optimistic:0 (206ms) βœ“ optimistic:1 (193ms) βœ“ optimistic:2 (252ms) βœ“ optimistic:3 (196ms) βœ“ swap:token0 (231ms) βœ“ swap:token1 (230ms) βœ“ swap:gas (221ms) βœ“ burn (246ms) βœ“ price{0,1}CumulativeLast (299ms) βœ“ feeTo:off (272ms) βœ“ feeTo:on (307ms)

32 passing (8s)

✨ Done in 19.08s.

Readme

Keywords

none

Package Sidebar

Install

npm i makiswap-core

Weekly Downloads

1

Version

4.1.0

License

GPL-3.0-or-later

Unpacked Size

3.37 MB

Total Files

39

Last publish

Collaborators

  • easybake