Skip to content

Commit 4ef9414

Browse files
committed
chore: fix docs
1 parent db302c5 commit 4ef9414

File tree

1 file changed

+13
-10
lines changed
  • src/contracts/extensions/v3-config-engine

1 file changed

+13
-10
lines changed

src/contracts/extensions/v3-config-engine/README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,26 @@ Change eMode category configuration? Same as previous, just define the update wi
3232

3333
Change eMode category of a particular asset? Same as previous, just define the update within a `assetsEModeUpdates()` function, and the base payload will take care of the rest.
3434

35+
Create a new eMode category? Same as previous, just define the update within a `eModeCategoryCreations()` function, and the base payload will take care of the rest.
36+
3537
### Internal aspects to consider
3638

3739
- Frequently, at the same time that you want to do an update of parameters or listing, you also want to do something extra before or after.
3840
The `Base Aave v3 Payload` defines `_preExecute()` and `_postExecute()` hook functions, that you can redefine on your payload and will the execute before and after all configs changes/listings you define.
3941

4042
- The payload also allow you to group changes of parameters and listings, just by defining at the same time the aforementioned `newListings()`, `capsUpdate()` and/or `collateralsUpdates()` and so on. For reference, the execution ordering is the following:
4143
1. `_preExecute()`
42-
2. `eModeCategoriesUpdates()`
43-
3. `newListings()`
44-
4. `newListingsCustom()`
45-
5. `borrowsUpdates()`
46-
6. `collateralsUpdates()`
47-
7. `rateStrategiesUpdates()`
48-
8. `priceFeedsUpdates()`
49-
9. `assetsEModeUpdates()`
50-
10. `capsUpdates()`
51-
11. `_postExecute()`
44+
2. `newListings()`
45+
3. `newListingsCustom()`
46+
4. `eModeCategoriesUpdates()`
47+
5. `assetsEModeUpdates()`
48+
6. `eModeCategoryCreations()`
49+
7. `borrowsUpdates()`
50+
8. `collateralsUpdates()`
51+
9. `rateStrategiesUpdates()`
52+
10. `priceFeedsUpdates()`
53+
11. `capsUpdates()`
54+
12. `_postExecute()`
5255

5356
## Links to examples
5457

0 commit comments

Comments
 (0)