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 |
Already published:
WHEAT pid | Token | CAKE pid | Routing Token |
---|---|---|---|
0 | WHEAT | - | - |
1 | BNB/WHEAT | - | - |
2 | BNB/GRO | - | - |
3 | GRO/gROOT | - | - |
4 | BNB/gROOT | - | - |
5 | stkCAKE | 0 | CAKE |
6 | stkBNB/CAKE | 1 | CAKE |
7 | stkBNB/BUSD | 2 | BNB |
8 | stkBNB/BTCB | 15 | BNB |
9 | stkBNB/ETH | 14 | BNB |
10 | stkBNB/LINK | 7 | BNB |
11 | stkBNB/UNI | 25 | BNB |
12 | stkBNB/DOT | 5 | BNB |
13 | stkBNB/ADA | 3 | BNB |
14 | stkBUSD/UST | 63 | BUSD |
15 | stkBUSD/DAI | 52 | BUSD |
16 | stkBUSD/USDC | 53 | BUSD |
17 | - | - | - |
18 | stkBNB/CAKEv2 | 251 | CAKE |
19 | stkBNB/BUSDv2 | 252 | BNB |
20 | stkBNB/BTCBv2 | 262 | BNB |
21 | stkBNB/ETHv2 | 261 | BNB |
22 | stkBNB/LINKv2 | 257 | BNB |
23 | stkBNB/UNIv2 | 268 | BNB |
24 | stkBNB/DOTv2 | 255 | BNB |
25 | stkBNB/ADAv2 | 253 | BNB |
26 | stkBUSD/USTv2 | 293 | BUSD |
27 | stkBUSD/DAIv2 | 282 | BUSD |
28 | stkBUSD/USDCv2 | 283 | BUSD |
29 | BNB/WHEATv2 | - | - |
30 | BNB/GROv2 | - | - |
31 | GRO/gROOTv2 | - | - |
32 | BNB/gROOTv2 | - | - |
Pending publication after PancakeSwap V2 migration:
WHEAT pid | Token | CAKE pid | Routing Token |
---|---|---|---|
- | stkCAKEv2 | 0 | CAKE |
To be published later:
WHEAT pid | Token | CAKE pid | Routing Token |
---|---|---|---|
- | stkBTCB/bBADGER | 332 | BTCB |
- | stkBNB/BSCX | 281 | BNB |
- | stkBNB/BRY | 303 | BNB |
- | stkBNB/WATCH | 312 | BNB |
- | stkBNB/BTCST | 285 | BNB |
- | stkBUSD/IOTX | 309 | BUSD |
- | stkBUSD/TPT | 313 | BUSD |
- | stkBNB/ZIL | 334 | BNB |
- | stkBNB/TWT | 259 | BNB |
- | stkBNB/bOPEN | 307 | BNB |
- /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)