Skip to content

Commit

Permalink
nit readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberHoward committed Aug 14, 2024
1 parent 4620865 commit 9969bfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ownable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult<Binary> {
}
```

You can use ownership for other purposes:
You can create new ownerships for other purposes:

```rust
use cw_ownable::OwnershipStore;

pub const CREATOR: OwnershipStore = OwnershipStore::new("creator");
const CREATOR: OwnershipStore = OwnershipStore::new("creator");
```

`CREATOR` has all functions in place: `initialize_owner`, `is_owner`, `assert_owner`, and `get_ownership`.
Expand Down

0 comments on commit 9969bfc

Please sign in to comment.