Skip to content

Commit

Permalink
feat: update lottery
Browse files Browse the repository at this point in the history
  • Loading branch information
pancake-swap committed Dec 5, 2020
1 parent 8105d72 commit 3a3ccfa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contracts/Lottery.sol
Original file line number Diff line number Diff line change
Expand Up @@ -384,4 +384,9 @@ contract Lottery is LotteryOwnable, Initializable {
maxNumber = _maxNumber;
}

// Set the allocation for one reward
function setAllocation(uint8 _allcation1, uint8 _allcation2, uint8 _allcation3) external onlyAdmin {
allocation = [_allcation1, _allcation2, _allcation3];
}

}

0 comments on commit 3a3ccfa

Please sign in to comment.