Skip to content

Commit 2ae9875

Browse files
authored
Merge pull request #186 from 0xMiden/brian/move-note-types
docs: move note-types.md from develop/ to smart-contracts/notes/
2 parents 7dbda58 + 8d5abad commit 2ae9875

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/builder/smart-contracts/notes/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Notes come in two visibility modes:
6363

6464
Private notes provide stronger privacy guarantees — the network can't even see what assets a note carries — but they require the sender and recipient to have a communication channel outside the protocol.
6565

66-
Miden provides built-in note patterns (P2ID, P2IDE, SWAP) for common transfer scenarios — see [Standard Note Types](../../develop/note-types). You can also write fully custom note scripts for arbitrary consumption logic.
66+
Miden provides built-in note patterns (P2ID, P2IDE, SWAP) for common transfer scenarios — see [Standard Note Types](./note-types). You can also write fully custom note scripts for arbitrary consumption logic.
6767

6868
## How notes differ from EVM transfers
6969

docs/builder/develop/note-types.md renamed to docs/builder/smart-contracts/notes/note-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ create_swap_note(
155155

156156
Returns a tuple of `(Note, NoteDetails)` — the SWAP note to submit and the expected payback note details (for tracking).
157157

158-
`NoteAttachment` is defined in the `miden-standards` crate (not the core `miden` SDK). It wraps the attachment data that gets set on output notes — see [note attachments](../smart-contracts/notes/output-notes#note-attachments) for the underlying SDK API.
158+
`NoteAttachment` is defined in the `miden-standards` crate (not the core `miden` SDK). It wraps the attachment data that gets set on output notes — see [note attachments](./output-notes#note-attachments) for the underlying SDK API.
159159

160160
## More note types
161161

162-
For writing custom note scripts, see [Note Scripts](../smart-contracts/notes/note-scripts). For the transaction context and `#[tx_script]`, see [Transaction Context](../smart-contracts/transactions/transaction-context).
162+
For writing custom note scripts, see [Note Scripts](./note-scripts). For the transaction context and `#[tx_script]`, see [Transaction Context](../transactions/transaction-context).

versioned_docs/version-0.13/builder/smart-contracts/notes/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Notes come in two visibility modes:
6363

6464
Private notes provide stronger privacy guarantees — the network can't even see what assets a note carries — but they require the sender and recipient to have a communication channel outside the protocol.
6565

66-
Miden provides built-in note patterns (P2ID, P2IDE, SWAP) for common transfer scenarios — see [Standard Note Types](../../develop/note-types). You can also write fully custom note scripts for arbitrary consumption logic.
66+
Miden provides built-in note patterns (P2ID, P2IDE, SWAP) for common transfer scenarios — see [Standard Note Types](./note-types). You can also write fully custom note scripts for arbitrary consumption logic.
6767

6868
## How notes differ from EVM transfers
6969

versioned_docs/version-0.13/builder/develop/note-types.md renamed to versioned_docs/version-0.13/builder/smart-contracts/notes/note-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ create_swap_note(
155155

156156
Returns a tuple of `(Note, NoteDetails)` — the SWAP note to submit and the expected payback note details (for tracking).
157157

158-
`NoteAttachment` is defined in the `miden-standards` crate (not the core `miden` SDK). It wraps the attachment data that gets set on output notes — see [note attachments](../smart-contracts/notes/output-notes#note-attachments) for the underlying SDK API.
158+
`NoteAttachment` is defined in the `miden-standards` crate (not the core `miden` SDK). It wraps the attachment data that gets set on output notes — see [note attachments](./output-notes#note-attachments) for the underlying SDK API.
159159

160160
## More note types
161161

162-
For writing custom note scripts, see [Note Scripts](../smart-contracts/notes/note-scripts). For the transaction context and `#[tx_script]`, see [Transaction Context](../smart-contracts/transactions/transaction-context).
162+
For writing custom note scripts, see [Note Scripts](./note-scripts). For the transaction context and `#[tx_script]`, see [Transaction Context](../transactions/transaction-context).

0 commit comments

Comments
 (0)