File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ /// IntentBinding is a passive, non-enforcing metadata container.
2+ ///
3+ /// It provides contextual information about where an intent
4+ /// is expected to exist (ledger) and between whom (participants).
5+ ///
6+ /// This structure MUST NOT:
7+ /// - Perform validation
8+ /// - Enforce correctness
9+ /// - Interact with the state machine
10+ /// - Assume XRPL semantics
11+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
12+ pub struct IntentBinding {
13+ /// Identifier for the target ledger or environment.
14+ /// Example: "XRPL-mainnet", "XRPL-testnet", "simulated-ledger"
15+ pub ledger_id : String ,
16+
17+ /// Opaque sender identifier (address, account, or alias).
18+ pub sender : String ,
19+
20+ /// Opaque receiver identifier (address, account, or alias).
21+ pub receiver : String ,
22+ }
You can’t perform that action at this time.
0 commit comments