STAKEHOUSE Technical Information
Create a Pool:
Input :
Stake Duration [1 - 5555 Days]
Enrollment Period [1 - 369 Hours]
Creator Fee [0 - 1%]
Creator Fee is received in HEX when Stake matures
Stake Length
Mint period duration (Enrollment period)
Set Creator Fee (0% -> 1%) received in HEX when Stake matures (Principal & Yield)
Create new token with ticker
SH<poolId›
Pool Creator pays a 3690 gwei fee to create pool
Enter a Pool:
Deposit HEX to pool
Pool Token is minted 1:1 with HEX deposited in pool
User can withdraw HEX prior to enrollment period ending
Deposits and Withdrawals cost a 3690 gwei fee
Start Stake:
Anybody can start the stake once enrollment period is over
Transfers pool enrollment fees to Buffet
Creator fee is incentive to start stake
Starting a stake is cheap. Anybody can start a stake even if creator fees are 0
End Stake:
Anybody can call end the stake once stake has matured, there is no emergency end stake!
The user that calls end stake pays the entire gas fee and gets reminbursed by users as they claim their HEX.
By calling the end stake function it will claim #HEX from the official HEX contract to the pool.
Auto claims Hedron to pool
Withdraw from Pool:
Pay
Pool_Token_Amount / Total_Pool_Tokens * End_Stake_Gas
to Stake_EnderPay
End_Stake_Gas / 20
to BuffetTransfer 80% of Hedron earned to User
Transfer 20% of Hedron to Buffet
Transfer Creator_Fee % to Creator if applicable
Transfer Hex to User after deducting Creator_Fee
Bleed Hedron:
Anybody can call Bleed
No bleed for first 7 days ( 7 days starts from when the HEX stake matures on the HEX contract! )
Stake_Ender gets 50% of bled Hedron
50% of bled Hedron is sent to Buffet for MCR stakers
The Hedron bleed is incentive to end stake as well as call bleed itself.
Bleed HEX:
Anybody can call Bleed
No bleed for first 7 days ( 7 days starts from when the HEX stake matures on the HEX contract! )
HEX Bleeds @ 1% per day
HEX bleed buton lights up once per day in sync with HEX days timer
Creator gets their fee of bled HEX
Bled HEX after deducting Creator_Fee gets transferred to Buffet for MCR stakers
Bleed accumulates if not called daily.
If a user claims when bleed is not called, the Creator and the Buffet miss out on the bleed revenue from that user.
Creator_Fees is incentive for the creator to call bleed.
Enter or Exit a Pool:
You can enter and exit a pool at anytime prior to the enrollment period ending! The advantage of this feature allows you to move to another pool that is offering either a lower fee creator fee or no creator fee or a greater BPB (Big Pays Better Bonus).
Last updated