We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new RPC endpoint to the proto definitions and stub out the handler in the server to generate reward amounts.
In order to reach parity with our current infrastructure, we need to generate rewards based on a snapshot date rather than a block height.
message GenerateRewardAmountsRequest { int64 snapshot = 1; // unix timestamp representation of the snapshot } message RewardAmount { string earner = 1; string token = 2; int64 snapshot = 3; // unix timestamp representation of the snapshot string cumulativeAmount = 4; } message GenerateRewardAmountsResponse { repeated RewardAmount rewards = 1; } rpc GenerateRewardAmounts(GenerateRewardAmountsRequest) returns GenerateRewardAmountsResponse { option (google.api.http) = { post: "/v1/reward-amounts" body: "*" }; }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Add a new RPC endpoint to the proto definitions and stub out the handler in the server to generate reward amounts.
In order to reach parity with our current infrastructure, we need to generate rewards based on a snapshot date rather than a block height.
The text was updated successfully, but these errors were encountered: