Storage and types overview
user_reward_info_t
reward_f
nat
Float value multiplied by 1e+18
Reward that must be paid to a user
reward_paid_f
nat
Float value multiplied by 1e+18
Reward that is already paid to a user
baker_t
ban_start_time
timestamp
Start timestamp of baker's banning period
ban_period
nat
Banning period duration (in seconds)
votes
nat
Amount of votes delegated to baker by all users
user_t
candidate
option(key_hash)
Baker candidate of a user
votes
nat
Amount of votes delegated to the user's candidate
storage_t - main contract storage
previous_delegated
key_hash
Previous delegate
current_delegated
key_hash
Current delegate
next_candidate
key_hash
Next possible delegate
next_reward
nat
Accumulator for bakers' rewards that will be distributed between all voters
total_reward
nat
Total rewards that will be distributed among all voters
reward_paid
nat
Amount of paid to users bakers' rewards
reward_per_share
nat
Accumulator for reward per 1 staked token's unit
reward_per_block
nat
Reward per 1 block
last_update_level
nat
Level when a rewards were updated last time
collecting_period_end
nat
Level when rewards will be collected and distributed among all voters
Last updated