supplier-interfacecontract and updates the amount of xBTC available to send. Send Bitcoin to the supplier bitcoin public key. Complete transaction of xBTC to the pool by sending xBTC from the bridge to the pool contract.
supplier-interfacecontract like in User Story #1 with the number of cycles parameter.
pool-v1-0contract to trigger a cooldown. Must wait for the withdrawal-cooldown-period set in the Globals contract to pass to start the withdrawal.
pool-v1-0contract to withdraw their share of the earned BTC rewards. The amount of earned rewards are accounted by the LP-token amount that is in their accounts. The xBTC is sent to the Magic Bridge contract so that the BTC can be sent to the provided address.
pool-v1-0contract with the
rewards-calcto mint new Zest tokens depending on the amount of cycles set when liquidity is provided.