Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/contracts-sui/1.x/allowance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ Add the dependency in `Move.toml`, pinned to a git revision (the package is not

```toml
[dependencies]
openzeppelin_allowance = { git = "https://github.com/OpenZeppelin/contracts-sui.git", subdir = "contracts/allowance", rev = "v1.4.0" }
openzeppelin_allowance = { git = "https://github.com/OpenZeppelin/contracts-sui.git", subdir = "contracts/allowance", rev = "v1.5.1" }
```

### Copy the source

Alternatively, copy [`spend_vault.move`](https://github.com/OpenZeppelin/contracts-sui/blob/v1.4.0/contracts/allowance/sources/spend_vault.move) directly into your package's `sources/` (renaming the module addresses to your own package). You then fully own the code, free to trim, fork, or extend, at the cost of tracking upstream fixes yourself.
Alternatively, copy [`spend_vault.move`](https://github.com/OpenZeppelin/contracts-sui/blob/v1.5.1/contracts/allowance/sources/spend_vault.move) directly into your package's `sources/` (renaming the module addresses to your own package). You then fully own the code, free to trim, fork, or extend, at the cost of tracking upstream fixes yourself.

### Import

Expand Down
6 changes: 3 additions & 3 deletions content/contracts-sui/1.x/api/access.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This page documents the public API of `openzeppelin_access` for OpenZeppelin Con

<APIGithubLinkHeader
moduleName="access_control"
link="https://github.com/OpenZeppelin/contracts-sui/blob/v1.3.0/contracts/access/sources/access_control.move"
link="https://github.com/OpenZeppelin/contracts-sui/blob/v1.5.1/contracts/access/sources/access_control.move"
/>

```move
Expand Down Expand Up @@ -704,7 +704,7 @@ Raised when the current root holder schedules a root transfer to itself.

<APIGithubLinkHeader
moduleName="two_step_transfer"
link="https://github.com/OpenZeppelin/contracts-sui/blob/v1.3.0/contracts/access/sources/ownership_transfer/two_step.move"
link="https://github.com/OpenZeppelin/contracts-sui/blob/v1.5.1/contracts/access/sources/ownership_transfer/two_step.move"
/>

```move
Expand Down Expand Up @@ -1003,7 +1003,7 @@ Raised when caller is not the designated prospective owner in `accept_transfer`.

<APIGithubLinkHeader
moduleName="delayed_transfer"
link="https://github.com/OpenZeppelin/contracts-sui/blob/v1.3.0/contracts/access/sources/ownership_transfer/delayed.move"
link="https://github.com/OpenZeppelin/contracts-sui/blob/v1.5.1/contracts/access/sources/ownership_transfer/delayed.move"
/>

```move
Expand Down
2 changes: 1 addition & 1 deletion content/contracts-sui/1.x/api/allowance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This page documents the public API of `openzeppelin_allowance` for OpenZeppelin

<APIGithubLinkHeader
moduleName="spend_vault"
link="https://github.com/OpenZeppelin/contracts-sui/blob/v1.4.0/contracts/allowance/sources/spend_vault.move"
link="https://github.com/OpenZeppelin/contracts-sui/blob/v1.5.1/contracts/allowance/sources/spend_vault.move"
/>

```move
Expand Down
Loading
Loading