def deploy_badger_minimal(deployer): badger = BadgerSystem(badger_config, None, deployer, deployer, deployer) badger.token.transfer(deployer, badger_total_supply, {"from": badger_config.dao.initialOwner}) badger.deploy_sett_core_logic() badger.deploy_logic("RewardsEscrow", RewardsEscrow) badger.deploy_logic("BadgerTree", BadgerTree) badger.deploy_rewards_escrow() badger.deploy_badger_tree() return badger
def deploy_badger_minimal(deployer, keeper=None, guardian=None): if not keeper: keeper = deployer if not guardian: guardian = deployer badger = BadgerSystem(badger_config, None, deployer, keeper, guardian) badger.deploy_sett_core_logic() badger.deploy_logic("RewardsEscrow", RewardsEscrow) badger.deploy_logic("BadgerTree", BadgerTree) badger.deploy_rewards_escrow() badger.deploy_badger_tree() return badger