This repository contains the source code for the WHEAT smart contracts (Version 1) and related support code.
Token | BSC Mainnet Address |
---|---|
WHEAT | 0x3ab63309F85df5D4c3351ff8EACb87980E05Da4E |
MasterChef | 0x95fABAe2E9Fb0A269cE307550cAC3093A3cdB448 |
WHEAT pid | Token | Underlying pid | Routing Token |
---|---|---|---|
0 | WHEAT | - | - |
1 | BNB/WHEAT | - | - |
2 | BNB/GRO | - | - |
3 | GRO/gROOT | - | - |
4 | BNB/gROOT | - | - |
5 | stkCAKE | PancakeSwap 0 | CAKE |
6 | stkBNB/CAKE | PancakeSwap 1 | CAKE |
7 | stkBNB/BUSD | PancakeSwap 2 | BNB |
8 | stkBNB/BTCB | PancakeSwap 15 | BNB |
9 | stkBNB/ETH | PancakeSwap 14 | BNB |
10 | stkBNB/LINK | PancakeSwap 7 | BNB |
11 | stkBNB/UNI | PancakeSwap 25 | BNB |
12 | stkBNB/DOT | PancakeSwap 5 | BNB |
13 | stkBNB/ADA | PancakeSwap 3 | BNB |
14 | stkBUSD/UST | PancakeSwap 63 | BUSD |
15 | stkBUSD/DAI | PancakeSwap 52 | BUSD |
16 | stkBUSD/USDC | PancakeSwap 53 | BUSD |
17 | stkBNB | - | - |
18 | stkBNB/CAKEv2 | PancakeSwap 251 | CAKE |
19 | stkBNB/BUSDv2 | PancakeSwap 252 | BNB |
20 | stkBNB/BTCBv2 | PancakeSwap 262 | BNB |
21 | stkBNB/ETHv2 | PancakeSwap 261 | BNB |
22 | stkBNB/LINKv2 | PancakeSwap 257 | BNB |
23 | stkBNB/UNIv2 | PancakeSwap 268 | BNB |
24 | stkBNB/DOTv2 | PancakeSwap 255 | BNB |
25 | stkBNB/ADAv2 | PancakeSwap 253 | BNB |
26 | stkBUSD/USTv2 | PancakeSwap 293 | BUSD |
27 | stkBUSD/DAIv2 | PancakeSwap 282 | BUSD |
28 | stkBUSD/USDCv2 | PancakeSwap 283 | BUSD |
29 | BNB/WHEATv2 | - | - |
30 | BNB/GROv2 | - | - |
31 | GRO/gROOTv2 | - | - |
32 | BNB/gROOTv2 | - | - |
33 | stkBNB/CAKEv2 | AutoFarm 243 | BNB |
34 | stkBNB/BUSDv2 | AutoFarm 244 | BNB |
35 | stkBNB/USDTv2 | AutoFarm 245 | BNB |
36 | stkBNB/BTCBv2 | AutoFarm 246 | BNB |
37 | stkBNB/ETHv2 | AutoFarm 247 | BNB |
38 | stkBUSD/USDTv2 | AutoFarm 248 | BUSD |
39 | stkBUSD/VAIv2 | AutoFarm 249 | BUSD |
40 | stkBNB/DOTv2 | AutoFarm 250 | BNB |
41 | stkBNB/LINKv2 | AutoFarm 251 | BNB |
42 | stkBNB/UNIv2 | AutoFarm 252 | BNB |
43 | stkBNB/DODOv2 | AutoFarm 253 | BNB |
44 | stkBNB/ALPHAv2 | AutoFarm 256 | BNB |
45 | stkBNB/ADAv2 | AutoFarm 258 | BNB |
46 | stkBUSD/USTv2 | AutoFarm 265 | BUSD |
47 | stkBUSD/BTCBv2 | AutoFarm 354 | BUSD |
48 | stkbeltBNBv2 | AutoFarm 338 | BNB |
49 | stkbeltBTCv2 | AutoFarm 339 | BTCB |
50 | stkbeltETHv2 | AutoFarm 340 | ETH |
51 | stk4BELTv2 | AutoFarm 341 | BUSD |
- | stkBNB/BUSDv2 | Panther 18 | BNB |
- | stkBNB/BTCBv2 | Panther 19 | BNB |
- | stkBNB/ETHv2 | Panther 20 | BNB |
- | stkBNB/CAKEv2 | Panther 23 | BNB |
- | stkBUSD/USDCv2 | Panther 24 | BUSD |
- | stkBNB/USDTv2 | Panther 22 | BNB |
- | stkBNB/PANTHERv2 | Panther 17 | PANTHER |
- | stkBUSD/PANTHERv2 | Panther 16 | PANTHER |
- /contracts/. This folder is where the smart contract source code resides.
- /migrations/. This folder hosts the relevant set of Truffle migration scripts used to publish the smart contracts to the blockchain.
- /scripts/. This folder contains scripts to run local forks.
- /test/. This folder contains relevant unit tests for Truffle written in Solidity.
Configuring the repository:
$ npm i
Compiling the smart contracts:
$ npm run build
Running the unit tests:
$ ./scripts/start-bscmain-fork.sh & npm run test:bscmain
(Standard installation of Node 14.15.4 on Ubuntu 20.04)