OpenZeppelin Packages
The OpenZeppelin contracts for Sui provide two packages for developing Move applications:
-
openzeppelin_math: Deterministic arithmetic, decimal scaling, and configurable rounding. -
openzeppelin_access: Ownership-transfer wrappers for privileged key store objects.
openzeppelin_math
Use the openzeppelin_math package when you need arithmetic behavior that is predictable, auditable, and safe around overflow or precision boundaries.
Example
File not found in manifest:
content/contracts-sui/1.x/math.mdx. You probably need to run `pnpm prebuild` and restart the site.Learn more in the OpenZeppelin docs.
openzeppelin_access
Use the openzeppelin_access package when direct object transfer is too permissive for your use case. It provides explicit transfer workflows that are easier to review, monitor, and constrain.
Example
File not found in manifest:
content/contracts-sui/1.x/access.mdx. You probably need to run `pnpm prebuild` and restart the site.