Closed frenchtoasters closed 6 years ago
We have the basic idea that they will be sent to pay fees, that is pretty solid but does anyone know how to make that actually work in NEO? Ive looked here for lots of examples on how to write the code maybe they have something on this topic as well http://docs.neo.org/en-us/sc/introduction.html
I think Switcheo would have a good example. You can use their token to pay for trading fees (or at least discount them). Here is the link: https://github.com/ConjurTech/switcheo/blob/master/switcheo/BrokerContract.cs)
Line 423 starts the FillOffer function, and then at line 458 they start calculating offer amount and fees. I'll need to read through a few times to fully understand it, but I think this is the same idea
Yes! That is what I started to base the C# contract off, I outlined things but still need to get to the real meat on it. The more I look at examples thought I'm seeing how things are setup over all.
I actually dont think this is needed anymore. We can make them pay the tx fees out of their wallets to post the contributions since they are basically just filling an order for a pool they are just sent directly to the operators address.
Message me if you cant add a comment to this
This story is to figure out how exactly we need to configure the smart contract to allow for the SPLASH tokens being sent to be used for the TX fee's of sending the NEO to the pool operator.