@bucket/core-interface
reservoir
- Move path
- 0xce7f…4db2::reservoir
- Functions
- 127 public, 0 entry
- Structs
- 3
- Friend modules
- buck
reservoir
Functions12
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- FeeConfigcopydropstore
charge_fee_rate u64 discharge_fee_rate u64 - FeeConfigKeycopydropstore
dummy_field bool - Reservoir<phantom T0>storekey
id UID conversion_rate u64 charge_fee_rate u64 discharge_fee_rate u64 pool Balance<T0> buck_minted_amount u64
Constants2
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1000000000 | u64 | Value | handle_chargehandle_discharge |
| 1 | 0 | u64 | Abort code | handle_discharge |