You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: XLS-0085-token-escrow/README.md
-11Lines changed: 0 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,27 +52,22 @@ The `EscrowCreate` transaction is modified as follows:
52
52
**Failure Conditions:**
53
53
54
54
-**Issuer is the Source:**
55
-
56
55
- If the source account is the issuer of the token, the transaction fails with `tecNO_PERMISSION`.
57
56
58
57
-**Issuer Does Not Allow Token Escrow or Transfer:**
59
-
60
58
-**IOU Tokens**: If the issuer's account does not have the `lsfAllowTrustLineLocking` flag set, the transaction fails with `tecNO_PERMISSION`.
61
59
-**MPTs**:
62
60
- If the `MPTokenIssuance` of the token being escrowed lacks the `lsfMPTCanEscrow` flag, the transaction fails with `tecNO_PERMISSION`.
63
61
- If the `MPTokenIssuance` of the token being escrowed lacks the `lsfMPTCanTransfer` flag, the transaction fails with `tecNO_PERMISSION` unless the destination address of the Escrow is the issuer of the MPT.
64
62
65
63
-**Source Account Not Authorized to Hold Token:**
66
-
67
64
- If the issuer requires authorization and the source is not authorized, the transaction fails with `tecNO_AUTH`.
68
65
69
66
-**Source Account's Token Holding Issues:**
70
-
71
67
-**IOU Tokens**: If the source lacks a trustline with the issuer, the transaction fails with `tecUNFUNDED `.
72
68
-**MPTs**: If the source does not hold the MPT, the transaction fails with `tecOBJECT_NOT_FOUND`.
73
69
74
70
-**Source Account is Frozen or Token is Locked:**
75
-
76
71
- If the token is frozen (global/individual/deepfreeze) (IOU) or locked (MPT) for the source, the transaction fails with `tecFROZEN`.
77
72
78
73
-**Insufficient Spendable Balance:**
@@ -95,17 +90,14 @@ The `EscrowCreate` transaction is modified as follows:
95
90
**Failure Conditions:**
96
91
97
92
-**Destination Not Authorized to Hold Token:**
98
-
99
93
- If authorization is required and the destination is not authorized, transaction fails with `tecNO_AUTH`.
100
94
101
95
-**Destination Lacks Trustline or MPT Holding:**
102
-
103
96
-**IOU Tokens**: If the destination lacks a trustline with the issuer, transaction fails with `tecNO_LINE`.
104
97
-**MPTs**: If the destination does not hold the MPT, transaction fails with `tecNO_ENTRY`.
105
98
- A new trustline or MPT holding may be created during `EscrowFinish` if authorization is not required.
106
99
107
100
-**Cannot Create Trustline or MPT Holding:**
108
-
109
101
- If unable to create due to lack of authorization or reserves, transaction fails with `tecNO_AUTH` or `tecINSUFFICIENT_RESERVE`.
110
102
111
103
-**Destination Account is Frozen or Token is Locked:**
@@ -144,17 +136,14 @@ The `EscrowCreate` transaction is modified as follows:
144
136
**Failure Conditions:**
145
137
146
138
-**Source Not Authorized to Hold Token:**
147
-
148
139
- If authorization is required and the source is not authorized, transaction fails with `tecNO_AUTH`.
149
140
150
141
-**Source Lacks Trustline or MPT Holding:**
151
-
152
142
-**IOU Tokens**: If the source lacks a trustline with the issuer, transaction fails with `tecNO_LINE`.
153
143
-**MPTs**: If the source does not hold the MPT, transaction fails with `tecNO_ENTRY`.
154
144
- A new trustline or MPT holding may be created during `EscrowCancel` if authorization is not required.
155
145
156
146
-**Cannot Create Trustline or MPT Holding:**
157
-
158
147
- If unable to create due to lack of authorization or reserves, transaction fails with `tecNO_AUTH` or `tecINSUFFICIENT_RESERVE`.
0 commit comments