@bucket/core-interface
interest
- Move path
- 0xce7f…4db2::interest
- Functions
- 136 public, 0 entry
- Structs
- 2
interest
Functions13
Structs2
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- BottleInterestIndexstorekey
id UID active_interest_index u256 - InterestTablestorekey
id UID interest_rate u256 active_interest_index u256 last_active_index_update u64 interest_payable u256
Constants2
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Abort code | collect_interests |
| 1 | 1 | u64 | Abort code | calculate_interest_index |