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
spl-governance UI SDK expects that VoterWeightRecord and MaxVoterWeightRecord will be located by default address. These addresses calculate like this:
const [maxVoterWeightRecordAddress] = await PublicKey.findProgramAddress( [ Buffer.from('max-voter-weight-record'), realm.toBuffer(), governingTokenMint.toBuffer(), ], programId, ); const [voterWeightRecordAddress] = await PublicKey.findProgramAddress( [ Buffer.from('voter-weight-record'), realm.toBuffer(), governingTokenMint.toBuffer(), governingTokenOwner.toBuffer(), ], programId, );
┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered:
Place VoterWeightRecord and MaxVoterWeightRecord by default address #31
2120088
57c8fc8
Place VoterWeightRecord and MaxVoterWeightRecord by default address #31…
6552b24
… (#32) Co-authored-by: Semen Medvedev <[email protected]>
s-medvedev
No branches or pull requests
spl-governance UI SDK expects that VoterWeightRecord and MaxVoterWeightRecord will be located by default address. These addresses calculate like this:
┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: