The Paused
field is a collections.Item
that stores the current paused state (vaults.PauseType
).
const PausedKey = []byte("paused")
The Rewards
field is a mapping (collections.Map
) between indexes (int64
) and a vaults.Reward
value.
const RewardPrefix = []byte("reward/")
The Positions
field is a mapping (collections.Map
) between the keys <address, vault, timestamp> ([]byte
, vaults.VaultType
, int64
) and a vaults.Position
value.
const PositionPrefix = []byte("position/")
The TotalFlexiblePrincipal
field is a collections.Item
that stores the current total principal stored in the flexible vault (math.Int
).
const TotalFlexiblePrincipalKey = []byte("paused")