Skip to content

Commit 3e5f418

Browse files
committed
chore: moved ownable page
1 parent bc82787 commit 3e5f418

2 files changed

Lines changed: 5 additions & 100 deletions

File tree

content/stellar-contracts/access/ownable.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ This feature is useful for contracts that need to become fully decentralized aft
2929

3030
### Procedural Macro
3131

32-
The module includes the `#[only_owner]` procedural macro to simplify authorization checks by ensuring the owner is properly authorized.
32+
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:
3337

3438
```rust
3539
#[only_owner]

content/stellar-contracts/ownable.mdx

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)