Structs§
- Account
Target Network Note - A wrapper around a
Notethat is guaranteed to target a network account via aNetworkAccountTargetattachment. - Burn
Note - A BURN note: instructs a faucet to burn the asset carried by the note.
- Faucet
Policy Action Note - A FaucetPolicyAction note: triggers a
TokenPolicyManagerpolicy switch on the faucet that consumes it. - Mint
Note - A MINT note: instructs a network faucet to mint the asset embedded in its storage.
- Network
Account Target - A
NoteAttachmentfor notes targeted at network accounts. - Note
Sync Hint - Hints used by a client to find a note on chain after importing a note file.
- Owner
Action Note - An OwnerAction note: triggers an
Ownable2Stepmanagement action on the account that consumes it. - P2id
Note - A Pay-to-ID (P2ID) note: transfers
assetsfromsenderto thetargetaccount. - P2id
Note Storage - Canonical storage representation for a P2ID note.
- P2ide
Note - Pay-to-ID Extended (P2IDE) note abstraction.
- P2ide
Note Storage - Canonical storage representation for a P2IDE note.
- Pause
Action Note - A PauseAction note: triggers a
PausableManageradmin action on the account that consumes it. - Pswap
Note - A partially-fillable swap note for decentralized asset exchange.
- Pswap
Note Attachment - Typed attachment carried by both PSWAP output notes, encoded as
[amount, order_id, depth, 0]underPswapNote::PSWAP_ATTACHMENT_SCHEME. - Pswap
Note Storage - Canonical storage representation for a PSWAP note.
- Rbac
Action Note - An RbacAction note: triggers a
RoleBasedAccessControlmanagement action on the account that consumes it. - Swap
Note - TODO: add docs
- Swap
Note Storage - Canonical storage representation for a SWAP note.
Enums§
- Faucet
Policy Action - A policy-switch action of the
TokenPolicyManagercomponent that aFaucetPolicyActionNotetriggers on the faucet that consumes it. - Mint
Note Storage - Represents the different storage formats for MINT notes.
- Network
Account Target Error - Note
Consumption Status - Describes if a note could be consumed under a specific conditions: target account state and block height.
- Note
Execution Hint - Specifies the conditions under which a note is ready to be consumed. These conditions are meant to be encoded in the note script as well.
- Note
File - A serialized representation of a note.
- Owner
Action - A management action of the
Ownable2Stepcomponent that anOwnerActionNotetriggers on the account that consumes it. - Pause
Action - A management action of the
PausableManagercomponent that aPauseActionNotetriggers on the account that consumes it. - Rbac
Action - A management action of the
RoleBasedAccessControlcomponent that anRbacActionNotetriggers on the account that consumes it. - Standard
Note - The enum holding the types of standard notes provided by
miden-standards. - Standard
Note Attachment - The
NoteAttachmentSchemes of standard note attachments. - Swap
Payback - Mode-specific payback data embedded in
SwapNoteStorage.
Traits§
- Network
Note Ext - Convenience helpers for
Notes that may target a network account.
Functions§
- payback_
serial_ from_ swap - Returns the P2ID payback serial derived from a SWAP note’s own serial number.