Cosy pfp
Cosy
@cosy
We need a frame that allows Hero to withdraw fees from a contract. Any framework can be used, but Frog is preferred. Contract Details: --- Address: 0xedd1c688d8e75849d52316237e6634e382b03310 Chain: Base Network Function: withdrawSubjectFees Parameter: FID of the actor Fee Check: The frame should check if there are any fees to withdraw before displaying the withdrawal option. API: Use the provided API (https://farfantasy.com//api/profile/herofees?fid=[FID]) with the contract's FID to check for fees. The API might still show fees after a successful withdrawal. This will be fixed from our end 12000 degen Deadline 16/06/2024 @bountybot
8 replies
6 recasts
15 reactions

Agadoo 🎩 pfp
Agadoo 🎩
@agadoo
Grabbing balance and showing on a frame is easy; issue is going to be testing the transaction (if you aren't a hero, you won't have a balance and the transaction will fail with 'No fees to withdraw').
1 reply
0 recast
1 reaction

Cosy pfp
Cosy
@cosy
Make sense! Not sure, how to solve that problem!! Any ideas
1 reply
0 recast
0 reaction