public interface RewardService
| Modifier and Type | Method and Description |
|---|---|
RewardReport |
getRewardReport(long periodDateInSeconds)
Compute rewards swicth configurations for the list of identities passed in
parameters
|
void |
sendRewards(long periodDateInSeconds,
String username)
Send rewards transactions
|
RewardReport getRewardReport(long periodDateInSeconds)
periodDateInSeconds - a timestamp in seconds inside the period time
that will be retrievedSet of WalletReward with the details of sent
tokens and tokens to sendvoid sendRewards(long periodDateInSeconds,
String username)
throws Exception
periodDateInSeconds - a timestamp in seconds inside the period time
that will be retrievedusername - current username sending rewardsException - if an error occurs while sending the rewards transactions
on blockchainCopyright © 2003–2019 eXo Platform SAS. All rights reserved.