Commit 9f7f01d
Add support for Token Escrow - XLS-0085-token-escrow (#1209)
## High Level Overview of Change
XLS spec:
https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0085-token-escrow
<!--
Please include a summary/list of the changes.
If too broad, please consider splitting into multiple PRs.
-->
### Context of Change
<!--
Please include the context of a change.
If a bug fix, when was the bug introduced? What was the behavior?
If a new feature, why was this architecture chosen? What were the
alternatives?
If a refactor, how is this better than the previous implementation?
If there is a design document for this feature, please link it here.
-->
### Type of Change
<!--
Please check relevant options, delete irrelevant ones.
-->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Refactor (non-breaking change that only restructures code)
- [x] Tests (You added tests for code that already exists, or your new
feature included in this PR)
- [ ] Documentation Updates
- [ ] Translation Updates
- [ ] Release
### Codebase Modernization
<!--
In an effort to modernize the codebase, you should convert the files
that you work with to React Hooks and TypeScript,
and update tests to use the React Testing Library instead of Enzyme. If
this is not possible (e.g. it's too many
changes, touching too many files, etc.) please explain why here.
-->
- [ ] Updated files to React Hooks
- [ ] Updated files to TypeScript
- [ ] Updated tests to React Testing Library
## Before / After
### IOU
<img width="1040" height="620" alt="image"
src="https://github.com/user-attachments/assets/ff3f107f-924a-4525-8522-6908e8ea5a97"
/>
<img width="964" height="626" alt="image"
src="https://github.com/user-attachments/assets/f88c2178-b62e-4db3-9c7e-7a005e7cd923"
/>
<img width="1278" height="210" alt="image"
src="https://github.com/user-attachments/assets/a8cb3a88-bdcb-45ab-bb83-341e2f89233c"
/>
<img width="1004" height="619" alt="image"
src="https://github.com/user-attachments/assets/8124182a-1f69-472e-8f93-34c9f2e8753b"
/>
<img width="901" height="623" alt="image"
src="https://github.com/user-attachments/assets/4b022175-fcc3-45d7-836d-88247b98d891"
/>
<img width="1254" height="147" alt="image"
src="https://github.com/user-attachments/assets/a7e200ed-6bd4-4c0e-a232-56ef7118a928"
/>
<img width="969" height="618" alt="image"
src="https://github.com/user-attachments/assets/5914f9bc-a631-4a1f-9734-7f716142a086"
/>
<img width="890" height="621" alt="image"
src="https://github.com/user-attachments/assets/cf95ef05-4dc7-40f2-b990-31e671a9fb0b"
/>
<img width="1223" height="132" alt="image"
src="https://github.com/user-attachments/assets/50e24663-6210-4394-8a3d-5e9aab8eb2b4"
/>
### MPT
<img width="1003" height="619" alt="image"
src="https://github.com/user-attachments/assets/7cd1a58c-7fd5-4157-8763-8653c3389056"
/>
<img width="710" height="627" alt="image"
src="https://github.com/user-attachments/assets/c4648662-8bf6-4e23-8b70-1dccef67e4f2"
/>
<img width="1272" height="205" alt="image"
src="https://github.com/user-attachments/assets/cb481879-3ddb-4464-96a8-9bd915e3a8ad"
/>
<img width="958" height="623" alt="image"
src="https://github.com/user-attachments/assets/916cc1cc-067b-4239-b591-5e0cabe46ffb"
/>
<img width="782" height="626" alt="image"
src="https://github.com/user-attachments/assets/ff34eb9a-1798-446b-a5ea-6113471dc90c"
/>
<img width="1250" height="165" alt="image"
src="https://github.com/user-attachments/assets/48eadd8e-a604-424f-9878-59fff2c1553c"
/>
<img width="995" height="624" alt="image"
src="https://github.com/user-attachments/assets/826f45e9-ccdc-41cf-a72a-94f8d4b508e1"
/>
<img width="871" height="634" alt="image"
src="https://github.com/user-attachments/assets/32f7065e-37d9-4210-b8d7-9b850861d8ba"
/>
<img width="1267" height="187" alt="image"
src="https://github.com/user-attachments/assets/648f6f1f-0602-49aa-8745-059ec30fa59d"
/>
### XRP
<img width="969" height="618" alt="image"
src="https://github.com/user-attachments/assets/d57dba82-3147-440c-8b30-bde30df16305"
/>
<img width="812" height="611" alt="image"
src="https://github.com/user-attachments/assets/bce362fc-be90-4211-bf64-115fa45bba6f"
/>
<img width="1252" height="187" alt="image"
src="https://github.com/user-attachments/assets/c51fc16f-3a59-4652-88a1-353fa8c57e89"
/>
<img width="1004" height="608" alt="image"
src="https://github.com/user-attachments/assets/351e7e00-c047-48b2-90ed-c341a6b6026a"
/>
<img width="938" height="616" alt="image"
src="https://github.com/user-attachments/assets/0aec5c86-783a-4ddd-bcf5-0bf231e7d4ce"
/>
<img width="1334" height="181" alt="image"
src="https://github.com/user-attachments/assets/59a492c4-3509-4717-9017-772578cb6712"
/>
<img width="1016" height="624" alt="image"
src="https://github.com/user-attachments/assets/811eb6e2-1bc7-4ccc-8d97-f968abd4936f"
/>
<img width="981" height="598" alt="image"
src="https://github.com/user-attachments/assets/93e25656-eb7f-43fd-ab28-d4b74d1a58d0"
/>
<img width="1333" height="149" alt="image"
src="https://github.com/user-attachments/assets/ca033594-9a4f-48df-90ba-b61d23be9740"
/>
<!--
If just refactoring / back-end changes, this can be just an in-English
description of the change at a technical level.
If a UI change, screenshots should be included.
-->
## Test Plan
<!--
Please describe the tests that you ran to verify your changes and
provide instructions so that others can reproduce.
-->
<!--
## Future Tasks
For future tasks related to PR.
-->
---------
Co-authored-by: achowdhry-ripple <achowdhry@ripple.com>
Co-authored-by: pdp2121 <71317875+pdp2121@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Omar Khan <khancodegt@gmail.com>
Co-authored-by: Phu Pham <ppham@ripple.com>1 parent 4197879 commit 9f7f01d
File tree
22 files changed
+1728
-259
lines changed- src
- containers
- Transactions/test
- mock_data
- rippled/lib
- test
- txSummary
22 files changed
+1728
-259
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 77 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
Lines changed: 25 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
15 | | - | |
16 | | - | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | | - | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | | - | |
32 | | - | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
Lines changed: 57 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
| 5 | + | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
6 | 17 | | |
7 | 18 | | |
8 | 19 | | |
9 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
10 | 23 | | |
11 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
12 | 65 | | |
13 | 66 | | |
14 | 67 | | |
| |||
Lines changed: 53 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
7 | 17 | | |
8 | 18 | | |
9 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
10 | 22 | | |
11 | 23 | | |
12 | 24 | | |
| |||
18 | 30 | | |
19 | 31 | | |
20 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
21 | 73 | | |
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments