Skip to content

Commit

Permalink
renamed storage to transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
damirka committed Apr 2, 2024
1 parent 96004cb commit 6f74afd
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ comparison to docs.sui.io
- [Fast Path & Consensus](./object/fast-path-and-consensus.md)
- [Using Objects](./storage/README.md)
- [Ability: Key](./storage/key-ability.md)
- [Storage Functions](./storage/storage-functions.md)
- [Storage Functions](./storage/transfer-functions.md)
- [Prices and Rebates]()
- [Ability: Store](./storage/store-ability.md)
- [UID and ID](./storage/uid-and-id.md)
Expand Down
1 change: 0 additions & 1 deletion book/src/storage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

In the [Object Model](./../object) chapter we briefly explained the evolution of the Move language from an account-based model to an object-based model. In this chapter, we will dive deeper into the object model and explore how to use objects in your Sui applications. If you haven't read the [Object Model](./../object) chapter yet, we recommend you do so before continuing with this chapter.


<!-- Mention what Sui Verifier is! Bytecode level verification. -->
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Storage Functions
# Transfer Functions

The module that defines main storage operations is `sui::transfer`. It is implicitly imported in all packages that depend on the [Sui Framework](./../programmability/sui-framework.md), so, like other implicitly imported modules (e.g. `std::option` or `std::vector`) does not require adding a use statement.

Expand Down
1 change: 1 addition & 0 deletions book/src/storage/transfer-to-object.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Transfer to Object?

The `transfer::transfer` call takes the receiver `address` as the second argument, and while in most of the cases it is an account address, it can also be an address of an object. In this case,
2 changes: 1 addition & 1 deletion book/src/storage/uid-and-id.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# UID and ID

The `UID` type is defined in the `sui::object` module and is a wrapper around an `ID` which, in turn, wraps the `address` type. The UIDs on Sui are guaranteed to be unique, and can't be reused.
The `UID` type is defined in the `sui::object` module and is a wrapper around an `ID` which, in turn, wraps the `address` type. The UIDs on Sui are guaranteed to be unique, and can't be reused after the object was deleted.

```move
// File: sui-framework/sources/object.move
Expand Down

0 comments on commit 6f74afd

Please sign in to comment.