You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Donate funds to REX, increases REX pool return buckets * An inline transfer from payer to system contract of tokens will be executed. * * @param payer - the payer of donated funds. * @param quantity - the quantity of tokens to donated to REX with. * @param memo - the memo string to accompany the transaction.*/
[[eosio::action]]
voiddonatetorex( const name& payer, const asset& quantity, const std::string& memo );
Preconditions
require_auth(payer)
must provide quantity above 0 amount
funds received to contribute to REX return buckets
Purpose
Create
donatetorex
ACTION where any account can donate EOS funds to REX pool.System contract transfers EOS from
owner
account and adds liquidity to REX pool (increases APY%).Donating to REX can be implemented by via automated smart contracts fee distribution or done via manual operation.
Feedback provided by
donatetorex
ACTIONPreconditions
require_auth(payer)
quantity
above 0 amountReferences
channel_to_rex
add_to_rex_pool
The text was updated successfully, but these errors were encountered: