Back to Sui

OpenZeppelin Packages

docs/content/guides/developer/packages/openzeppelin.mdx

latest1.3 KB
Original Source

The OpenZeppelin contracts for Sui provide two packages for developing Move applications:

openzeppelin_math

Use the openzeppelin_math package when you need arithmetic behavior that is predictable, auditable, and safe around overflow or precision boundaries.

Example

<ImportContent source="/content/contracts-sui/1.x/math.mdx" mode="code" org="OpenZeppelin" repo="docs" lines="29-38" noComments />

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

<ImportContent source="/content/contracts-sui/1.x/access.mdx" mode="code" org="OpenZeppelin" repo="docs" lines="31-45" noComments />

Learn more in the OpenZeppelin docs.