added reward for payer config - #14
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/glasseaters/hydra-dox/9EUipRVFGsWFN2FTBB8jh7736pXh |
|
Also add error code for when ATA should be supplied but is not |
|
This is pretty cool, i'm going through it now. |
|
See, I’m not just a pretty face 😃 just can’t find anything about computing the transaction fee on chain, and I don’t think it’s possible to allow someone to just input it because they can lie |
|
I am aware I have error in distribute for wallet function it was added to test you out ofc |
|
how's this coming along |
|
@austbot can we just guess? ie. metaplex guess for arweave ;) ;) plz, ser. there are nearly 2000 hydras. gib the power to the distbots |
| if payer_rewards > 0 { | ||
| if distribute_for_mint | ||
| } |
| if payer_reward_basis_points == 0 { | ||
| Ok(0) | ||
| } |
There was a problem hiding this comment.
woudln't this just work anyways since it would multiply by 0?

Not finished: