Skip to content

Commit

Permalink
feat(passport): add set drawer function
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lahaye <[email protected]>
  • Loading branch information
ChrisLahaye committed Feb 5, 2024
1 parent a846f05 commit d33262b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contracts/passport/PassportV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ abstract contract PassportV1 is
);
}

function setDrawer(
IDrawerV1 drawer_
) public onlyRole(DEFAULT_ADMIN_ROLE) {
drawer = drawer_;
}

function setProperty(bytes32 key, bytes calldata value) public override {
uint256 tokenId = _requireTokenUpdate();

Expand Down

0 comments on commit d33262b

Please sign in to comment.