bottle
Module0x2153…d9ba
- Move path
- 0x2153…d9ba::bottle
- Functions
- 3715 public, 0 entry
- Structs
- 2
- Friend modules
- bucket
bottle
Functions37
Structs2
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- Bottlestorekey
id UID collateral_amount u64 buck_amount u64 stake_amount u64 reward_coll_snapshot u128 reward_debt_snapshot u128 - BottleTablestorekey
id UID table linked_table::LinkedTable<address, Bottle> total_stake u64 total_stake_snapshot u64 total_collateral_snapshot u64 debt_per_unit_stake u128 reward_per_unit_stake u128 last_reward_error u128 last_debt_error u128
Constants6
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Value | |
| 1 | 1 | u64 | Abort code | record_redeem |
| 2 | 2 | u64 | Abort code | destroy_bottle |
| 3 | 3 | u64 | Abort code | record_borrowrecord_repay |
| 4 | 4 | u64 | Abort code | borrow_bottleborrow_bottle_mutremove_bottlepop_front |
| 5 | 5 | u64 | Abort code | insert |