Skip to content

Commit

Permalink
Merge pull request #92 from smart-transaction/refactor/grant-role-to-…
Browse files Browse the repository at this point in the history
…owner

Disburser and default admin role granted to owner
  • Loading branch information
TokenTitan authored Nov 4, 2024
2 parents 08e0846 + 1c63302 commit 582110f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utilities/KITNDisbursalContract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ contract KITNDisbursalContract is AccessControl {

// Constructor sets the deploying address as the default admin of the contract
constructor(address _kitnAddress, address _owner) {
_grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
_grantRole(DISBURSER, _msgSender());
_grantRole(DEFAULT_ADMIN_ROLE, _owner);
_grantRole(DISBURSER, _owner);

kitnToken = IERC20(_kitnAddress);
owner = _owner;
Expand Down

0 comments on commit 582110f

Please sign in to comment.