File tree 2 files changed +15
-15
lines changed
2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mina-govbot" ,
3
- "version" : " 0.0.15 " ,
3
+ "version" : " 0.0.16 " ,
4
4
"description" : " Discord bot for collective decision making for Mina Protocol" ,
5
5
"main" : " index.js" ,
6
6
"directories" : {
Original file line number Diff line number Diff line change 1
1
export class OCVLinkGenerator {
2
- private static BASE_URL = 'http ://localhost:4321 /vote' // Replace with actual voting page URL
3
-
4
- static generateFundingRoundVoteLink ( fundingRoundId : number ) : string {
5
- return `${ this . BASE_URL } /funding-round?id=${ fundingRoundId } &action=vote` ;
6
- }
7
-
8
- static generateFundingRoundUnvoteLink ( fundingRoundId : number ) : string {
9
- return `${ this . BASE_URL } /funding-round?id=${ fundingRoundId } &action=unvote` ;
10
- }
11
-
12
- static generateProjectVoteLink ( projectId : number , phase : string ) : string {
13
- return `${ this . BASE_URL } /${ projectId } ` ;
14
- }
15
- }
2
+ private static BASE_URL = 'https ://ocv-staging.minaprotocol.network /vote' ;
3
+
4
+ static generateFundingRoundVoteLink ( fundingRoundId : number ) : string {
5
+ return `${ this . BASE_URL } /funding-round?id=${ fundingRoundId } &action=vote` ;
6
+ }
7
+
8
+ static generateFundingRoundUnvoteLink ( fundingRoundId : number ) : string {
9
+ return `${ this . BASE_URL } /funding-round?id=${ fundingRoundId } &action=unvote` ;
10
+ }
11
+
12
+ static generateProjectVoteLink ( projectId : number , phase : string ) : string {
13
+ return `${ this . BASE_URL } /${ projectId } ` ;
14
+ }
15
+ }
You can’t perform that action at this time.
0 commit comments