Skip to content

Commit 256b59f

Browse files
committed
chore: add more endpoints
1 parent f0c1455 commit 256b59f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • src/signature-verification-canister-client/src

src/signature-verification-canister-client/src/client.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,9 @@ impl<C: CanisterClient> SignatureVerificationCanisterClient<C> {
6161
) -> CanisterClientResult<SignatureVerificationResult<()>> {
6262
self.client.update("set_owner", (principal,)).await
6363
}
64+
65+
/// Get the access control list
66+
pub async fn get_access_list(&self) -> CanisterClientResult<Vec<Principal>> {
67+
self.client.query("get_access_list", ()).await
68+
}
6469
}

0 commit comments

Comments
 (0)