Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Development

Install Dependencies

yarn

Truffle config

    module.exports = {
    networks: {
        dev: {
        host: "localhost",
        port: 7545,
        network_id: "*", // Match any network id
        gas: 8000000
        }
    },
    compilers: {
        solc: {
        version: "0.6.12",
        settings: {
            optimizer: {
            enabled: true,
            runs: 200
            }
        }
        }
    }
    };

Compile Contracts

truffle compile

Run Tests

truffle test ./test/bAlphaMaster.test.js --network dev

Deployment

bAlphaToken:
    Call setMaster function to set Master address after deployed bAlphaMaster contract
bAlphaMaster:
    _bAlpha: bAlphaToken address
    _rewardPerBlock: 15122370739158480 (18000 token in total / 12 weeks. REWARD_MULTIPLIER = [688, 413, 310, 232, 209, 188, 169, 152, 137, 123, 111, 100])
    _startBlock: 
    _halvingAfterBlock: 42000 (block per week)
BDPToken:
    _startAtBlock:
    _numberBlockPerDay: 6000
    Call setMaster function to set Master address after deployed BDPMaster contract
BDPMaster:
    _BDP: BDPToken address
    _rewardPerBlock: 666e18 (4mil token/day, 6000 block/day. (24mil / 6days) / 6000)
    _startBlock: 

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published