How does it work?
Using bloks.io: https://bloks.io/account/proxy4nation?action=setportfolio&loadContract=true&tab=Actions
Using cleos: https://github.com/EOS-Nation/eosn-proxy#action-setportfolio
1. The user calls the setportfolio ACTION with the following paramaters:
- your account name
- list of tokens you want to receive ( EOS and/or DAPP and/or USDT)
- percentage received per token (in the same order)
2. The upcoming rewards are now be based on that user’s custom defined portfolio settings.
Note: reward percentages are defined in pips (1/100 of 1%)
Warning: Sometimes when users try to copy-paste these formulas into bloks.io, the ” symbol gets rejected. Simply type in the formula directly into bloks.io and it should work fine. If you are having difficulties, reach out to us and we will be happy to help!
Example A:
Staker wants to receive 100% EOS
ACTION data:
name = myaccount
rewards = [“EOS”]
percentages = [10000]
Example B:
Staker wants to receive 50% EOS and 50% USDT
ACTION data:
name = myaccount
rewards = [“EOS”, “USDT”]
percentages = [5000, 5000]
Example C (illustrated below):
Staker wants to receive 70% DAPP, 28.5% EOS and 1.5% USDT
ACTION data:
name = myaccount
rewards = [“DAPP”, “EOS”, “USDT”]
percentages = [7000, 2850, 150]
I received an error about misuse of double quotes when I tried this. How should I fix it?
If you tried to copy-paste the double quote, try typing it directly instead. If you still have an issue, email us: info@eosnation.io