chore: update contracts#63
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
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.
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.
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.
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.