Skip to content

Commit

Permalink
contracts change
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Apr 2, 2024
1 parent 89c93dc commit 60ca992
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function changeAdmin(argsSer: StaticArray<u8>): void {
Storage.set("admin", newAdmin.toString());
}


export function getAdmin(): StaticArray<u8> {
controller.mustHaveAnyPermission(USER | ADMIN, caller());
return stringToBytes(Storage.get("admin"));
Expand Down

0 comments on commit 60ca992

Please sign in to comment.