Complete function task
transition claim(bid: Bid) -> Prize {
assert_eq(bid.is_winner, true);
return Prize {
owner: bid.bidder,
amount: bid.amount,
};
Aleo wallet: aleo1cqn5vhfadhlce83jayd4dmecr5xpctcnwz7fq5rzc86re34jfggs67yzf3
Deploy with leo deploy --private-key
⌛ Deployment at1edue7umlu3d233299sdpgctxsn0rtw4e0msdssfez8ksgpazygxqk9ed8q
('buildh3r_aleo_auction.aleo')
Owner signature : sign1vtqyycdqlqadm28cvz2jt25ndnjgkmqtgzqgmc25dky4wujacsqw8snluyrqccfz9g3chf6ct6keesw8wtsj9eckf62cmpvswky22pyp5mfak8xaq56a7sugacjtxyasunlu90d2wl8p5ke0lknzp49rqayc8ve97gq0n46pvz5ggxr4rage7ult9jc4fhky42s5480rvwnqyx9nzce