Storage and types overview
token_type
stake_params_type
is_v1_lp
bool
Flag that indicates: QuipuSwap V1 LP token staked or not
fees_type
harvest_fee
nat
Float value multiplied by 1e+16
Fee that applies in time of rewards claiming
withdrawal_fee
nat
Float value multiplied by 1e+16
Fee that applies in time of withdrawing (unstaking) tokens only in farms with timelock. Applies only in case of early withdrawal
burn_reward
nat
Float value multiplied by 1e+16
The % of the rewards that will be minted to the transaction sender when he calls burn_farm_rewards entrypoint
farm_type
upd
timestamp
Last time of farm's rewards updating
timelock
nat
Timelock in seconds (0 for farms without timelock)
current_delegated
key_hash
A baker account TEZ tokens are currently delegated for
next_candidate
key_hash
A best candidate to become current delegated
paused
bool
Flag that indicates: farm is paused or not
reward_per_second
nat
Reward per second
reward_per_share
nat
Accumulator for reward per 1 staked token's unit
staked
nat
Total count of staked tokens in farm
claimed
nat
Total count of claimed tokens
start_time
timestamp
Farm's start time
fid
fid_type (nat)
Farm's ID
user_info_type
last_staked
timestamp
Last time when user staked tokens
staked
nat
Total amount of tokens staked by user
earned
nat
Amount of tokens earned by user
claimed
nat
A mount of tokens claimed by user per all time
prev_earned
nat
Amount of tokens staked by user multiplied by rewards per share
prev_staked
nat
Total amount of tokens staked by user in previous contract call
allowances
set(address)
Set of user's allowances for staked tokens transfer
baker_type
period
nat
Period during which baker will be banned (in seconds)
start
timestamp
Ban start time
tok_meta_type
token_id
nat
Token ID
token_info
map(string, bytes)
Mapping of token's keys to token's info
storage_type - main contract storage
referrers
big_map(address, address)
Mapping of users' addresses to their referrers' addresses
users_info
big_map((fid_type * address), user_info_type)
Mapping of farms' IDs and users' addresses (in pair) to users' info
votes
big_map((fid_type * key_hash), nat)
Mapping of farms' IDs and bakers' addresses (in pair) to votes for this bakers
candidates
big_map((fid_type * address), key_hash)
Mapping of farms' IDs and users' addresses (in pair) to users' candidates in voting
qsgov
fa2_type
QuipuSwap Governance token info (address and token ID)
admin
address
Administrator of the contract
pending_admin
address
Pending administrator that should accept his new administrator role (if it is possible)
farms_count
nat
Number of farms created on this contract
full_storage_type - storage root
storage
storage_type
Actual storage of the contract
q_farm_lambdas
big_map(nat, bytes)
Contract's lambda-methods
Last updated