-
Notifications
You must be signed in to change notification settings - Fork 84
feat: add claimedAmount #333
New issue
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| const protocolTypeIdentifier = keccak256(toUtf8Bytes('symbiotic')); | ||
|
|
||
| // 2) Digest used in contract call | ||
| const ownerAddressDigest = keccak256( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// if you are an operator
const ownerAddressDigest = keccak256(
toUtf8Bytes(protocolTypeIdentifier + ADDRESS.toLowerCase()) + 'operator',
);
// if you are an delegator
const ownerAddressDigest = keccak256(
toUtf8Bytes(protocolTypeIdentifier + ADDRESS.toLowerCase())
);
docs/staking/contract-integration.md
Outdated
| @@ -0,0 +1,32 @@ | |||
| # Contract Integration Notes | |||
|
|
|||
| ## 1. Contract | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Reward Contract
docs/staking/contract-integration.md
Outdated
|
|
||
| --- | ||
|
|
||
| ## 2. Function: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*interface
docs/staking/contract-integration.md
Outdated
|
|
||
| Query how much reward has already been claimed by a specific owner. | ||
|
|
||
| **Conceptual signature:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Code Example
No description provided.