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. At the user’s next claim period, the rewards will be based on that user’s custom defined portfolio settings
Note: reward percentages are defined in pips (1/100 of 1%)
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]