Skip to content

Commit

Permalink
SPL Gov program id + VSR plugin program id + MNDE slug for Marinade D…
Browse files Browse the repository at this point in the history
…AO (#1534)

* add spl gov program for marinade

* add vsr plugin program for marinade
  • Loading branch information
ochaloup committed Apr 12, 2023
1 parent 75b889f commit 6c64afa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions components/instructions/programs/names.ts
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
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
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
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
Expand Up @@ -501,8 +501,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

1 comment on commit 6c64afa

@vercel
Copy link

@vercel vercel bot commented on 6c64afa Apr 12, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.