We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc82787 commit 3e5f418Copy full SHA for 3e5f418
2 files changed
content/stellar-contracts/access/ownable.mdx
@@ -29,7 +29,11 @@ This feature is useful for contracts that need to become fully decentralized aft
29
30
### Procedural Macro
31
32
-The module includes the `#[only_owner]` procedural macro to simplify authorization checks by ensuring the owner is properly authorized.
+The module includes a procedural macro to simplify owner authorization checks:
33
+
34
+#### @only_owner
35
36
+Ensures the caller is the owner before executing the function:
37
38
```rust
39
#[only_owner]
content/stellar-contracts/ownable.mdx
0 commit comments