Skip to content

ref-finance/ref-ve

Repository files navigation

ref-ve Contract

features:

  • issue and manage veLPT token (actually the inner voting power);
  • mint and manage love (liquidity of ve) token;
  • perform referendum;

API

check contracts/ref-ve/api.md

Compile

# to build locally, run
make
# to test the build, run
make test
# to test in sandbox
make sandbox
# to build stable release using docker, run
make release
# to clean, run
make clean

Verify wasm

# to verify the wasm is the one on the chain, just run
./codehash.sh
# to verify the release you build equals the one in releases dir, just run
make release && ./codehash.sh