Skip to content
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

SPL Gov program id + VSR plugin program id + MNDE slug for Marinade DAO #1534

Merged
merged 2 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions components/instructions/programs/names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const GOVERNANCE_PROGRAM_NAMES = {
GovHgfDPyQ1GwazJTDY2avSVY8GGcpmCapmmCsymRaGe: 'PSY DO Governance Program',
'7e75Nwsz8i5i4NiDa43CNzKJ4AeQGyRimha46VKTM1Ls': 'spl-governance v3 test',
MGovW65tDhMMcpEmsegpsdgvzb6zUwGsNjhXFxRAnjd: 'MEAN DAO Governance Program',
GovMaiHfpVPw8BAM1mbdzgmSZYDw2tdP32J2fapoQoYs: 'Marinade Governance Program',
}

// Well known program names displayed on the instruction card
Expand Down Expand Up @@ -57,6 +58,8 @@ export const PROGRAM_NAMES = {
[HELIUM_VSR_PROGRAM_ID.toBase58()]: 'Helium Voter Stake Registry Program',
VoteWPk9yyGmkX4U77nEWRJWpcc8kUfrPoghxENpstL:
'Raydium Voter Stake Registry Program',
VoteMBhDCqGLRgYpp9o7DGyq81KNmwjXQRAHStjtJsS:
'Marinade Voter Stake Registry Program',
[foresightConsts.PROGRAM_ID]: 'Foresight Dex',
[NAME_PROGRAM_ID.toBase58()]: 'Solana Name Service Program',
AwyKDr1Z5BfdvK3jX1UWopyjsJSV5cq4cuJpoYLofyEn: 'Validator Dao',
Expand Down
3 changes: 3 additions & 0 deletions components/instructions/programs/voteStakeRegistry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -428,4 +428,7 @@ export const VOTE_STAKE_REGISTRY_INSTRUCTIONS = {
VoteWPk9yyGmkX4U77nEWRJWpcc8kUfrPoghxENpstL: common_instructions(
new PublicKey('VoteWPk9yyGmkX4U77nEWRJWpcc8kUfrPoghxENpstL')
),
VoteMBhDCqGLRgYpp9o7DGyq81KNmwjXQRAHStjtJsS: common_instructions(
new PublicKey('VoteMBhDCqGLRgYpp9o7DGyq81KNmwjXQRAHStjtJsS')
),
}
1 change: 1 addition & 0 deletions hooks/useVotingPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const vsrPluginsPks: string[] = [
'vsr2nfGVNHmSY8uxoBGqq8AQbwz3JwaEaHqGbsTPXqQ',
'VotEn9AWwTFtJPJSMV5F9jsMY6QwWM5qn3XP9PATGW7',
'VoteWPk9yyGmkX4U77nEWRJWpcc8kUfrPoghxENpstL',
'VoteMBhDCqGLRgYpp9o7DGyq81KNmwjXQRAHStjtJsS'
]

export const heliumVsrPluginsPks: string[] = [
Expand Down
6 changes: 3 additions & 3 deletions public/realms/devnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@
},
{
"symbol": "MNDE",
"displayName": "Marinade DAO",
"programId": "GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw",
"realmId": "Bdow7yGwdvsAjbTFHk5h8jXd7AW3bbMxwxkawNuoVqE3",
"displayName": "Marinade.Finance",
"programId": "GovMaiHfpVPw8BAM1mbdzgmSZYDw2tdP32J2fapoQoYs",
"realmId": "899YG3yk4F66ZgbNWLHriZHTXSKk9e1kvsKEquW7L6Mo",
"ogImage": "https://marinade.finance/static/8665458407ac84338260b729267d0c53/ce52d/marinade-logo.avif",
"website": "https://marinade.finance/",
"twitter": "@marinadefinance"
Expand Down
4 changes: 2 additions & 2 deletions public/realms/mainnet-beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,8 @@
"category": "defi",
"bannerImage": "https://i.imgur.com/I30J9NT.png",
"displayName": "Marinade.Finance",
"programId": "GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw",
"realmId": "3gmcbygQUUDgmtDtx41R7xSf3K4oFXrH9icPNijyq9pS",
"programId": "GovMaiHfpVPw8BAM1mbdzgmSZYDw2tdP32J2fapoQoYs",
"realmId": "899YG3yk4F66ZgbNWLHriZHTXSKk9e1kvsKEquW7L6Mo",
"ogImage": "https://i.imgur.com/vEFzgY4.png",
"shortDescription": "Secure Solana and earn rewards without your funds locked in.",
"sortRank": 3,
Expand Down