Storage and types overview
token_type
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
stake_params_type
staked_token
FA1.2/FA2 staked token
is_v1_lp
bool
Flag that indicates: QuipuSwap V1 LP token staked or not
farm_type
fees
Fees that applies to the farming
upd
timestamp
Last time of farm's rewards updating
stake_params
Staking parameters
reward_token
FA1.2/FA2 token
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
end_time
timestamp
Farm's end 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
farms
Mapping of all farmings on the contract
referrers
big_map(address, address)
Mapping of users' addresses to their referrers' addresses
users_info
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
banned_bakers
Mapping of banned bakers' addresses to their ban info
token_metadata
Mapping of tokens' IDs to tokens' metadata
qsgov
fa2_type
QuipuSwap Governance token info (address and token ID)
qsgov_lp
address
admin
address
Administrator of the contract
pending_admin
address
Pending administrator that should accept his new administrator role (if it is possible)
burner
address
baker_registry
address
farms_count
nat
Number of farms created on this contract
full_storage_type - storage root
storage
Actual storage of the contract
t_farm_lambdas
big_map(nat, bytes)
Contract's lambda-methods
metadata
big_map(string, bytes)
Last updated