Skip to content

feat: add claimedAmount#333

Closed
dylan-zhuang wants to merge 2 commits into
mainfrom
feat/add-claimed-amount
Closed

feat: add claimedAmount#333
dylan-zhuang wants to merge 2 commits into
mainfrom
feat/add-claimed-amount

Conversation

@dylan-zhuang

Copy link
Copy Markdown

No description provided.

@vercel

vercel Bot commented Dec 10, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Dec 25, 2025 0:44am

const protocolTypeIdentifier = keccak256(toUtf8Bytes('symbiotic'));

// 2) Digest used in contract call
const ownerAddressDigest = keccak256(

Copy link
Copy Markdown

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())
);

Comment thread docs/staking/contract-integration.md Outdated
@@ -0,0 +1,32 @@
# Contract Integration Notes

## 1. Contract

@RoseRompkxm RoseRompkxm Dec 24, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*Reward Contract

Comment thread docs/staking/contract-integration.md Outdated

---

## 2. Function:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*interface

Comment thread docs/staking/contract-integration.md Outdated

Query how much reward has already been claimed by a specific owner.

**Conceptual signature:**

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*Code Example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants