The goal is to create a contract which allows party B to withdraw from party A's account according to some formula. I don't want to use an escrow model, rather just to:
- Let A attest that they are okay with B withdrawing at some future point in time.
- Set a threshold for how much/ long B can withdraw.
Are there any examples or best practices for this?