-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: update contracts #63
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
ideally, this file should be git ignored -- I can't remember if we had an special reason for not ignoring it
const mainnetRiverTokenAddress = '0x53319181e003E7f86fB79f794649a2aB680Db244' satisfies Address | ||
const baseRiverTokenAddress = '0x91930fd11ABAa5241241d3B07c02A8d0B5ac1920' satisfies Address | ||
const baseGammaSepoliaTokenAddress = '0x24e3123E1b30E041E2df26Da9d6140c5B07Fe4F0' satisfies Address |
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.
in the next @river-build/generated
version, we can replace this with values from npm
address: { | ||
[mainnet.id]: '0x53319181e003e7f86fb79f794649a2ab680db244', | ||
[sepolia.id]: '0x40ef1bb984503bb5adef041a88a4f9180e8586f9', | ||
}, | ||
}, | ||
{ | ||
name: 'RiverAuthorizer', | ||
name: 'Authorizer', | ||
address: { | ||
[mainnet.id]: '0x0bEe55b52d01C4D5d4D0cfcE1d6e0baE6722db05', | ||
[sepolia.id]: '0x2f5E8F6Fb7EcF63d13C13B698d1e0B3EA4Ef604B', |
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.
unsure if that's the most up-to-date address of the authorizer contract - if it is, we should document it in the river docs - only found one reference matching this mainnet address in the river repo (hardcoded in a solidity file - not even inside /contracts or /packages/generated)
}, | ||
} | ||
abi: rewardDistributionAbi, | ||
}, | ||
], | ||
plugins: [ | ||
etherscan({ |
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.
would love to import abi from npm instead of using etherscan plugin or manually hardcoding abi in this app
we probably want to wait the new flow to be ready to merge all together
I'm unsure about the claim flow, since I couldn't test it (I dont have river balance to claim)
Tested delegate & authorize claimer with address zero.