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

fix: Remove-fund-100 | NPG-000 #704

Merged
merged 1 commit into from
Jul 11, 2024
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
78 changes: 1 addition & 77 deletions src/event-db/stage_data/dev/00001_fund12_event.sql
Original file line number Diff line number Diff line change
@@ -1,78 +1,2 @@
-- F12
INSERT INTO event (
row_id,
name,
description,
registration_snapshot_time,
snapshot_start,
voting_power_threshold,
max_voting_power_pct,
review_rewards,
start_time,
end_time,
insight_sharing_start,
proposal_submission_start,
refine_proposals_start,
finalize_proposals_start,
proposal_assessment_start,
assessment_qa_start,
voting_start,
voting_end,
tallying_end,
block0,
block0_hash,
committee_size,
committee_threshold,
extra,
cast_to
) VALUES (
12,
'Fund 12',
'Catalyst Testnet - Fund 12',
'2024-10-12 11:00:00', -- Registration Snapshot Time
'2024-10-12 11:15:00', -- Snapshot Start.
50000000, -- Voting Power Threshold
1, -- Max Voting Power PCT
NULL, -- Review Rewards
'2024-05-02 15:00:00', -- Start Time
'2024-10-14 07:00:00', -- End Time
'2024-04-17 11:00:00', -- Insight Sharing Start
'2024-04-17 11:00:00', -- Proposal Submission Start
'2024-04-17 11:00:00', -- Refine Proposals Start
'2024-04-17 11:00:00', -- Finalize Proposals Start
'2024-04-17 11:00:00', -- Proposal Assessment Start
'2024-04-17 11:00:00', -- Assessment QA Start
'2024-10-13 11:00:00', -- Voting Starts
'2024-10-13 20:00:00', -- Voting Ends
'2024-10-14 07:00:00', -- Tallying Ends
NULL, -- Block 0 Data
NULL, -- Block 0 Hash
1, -- Committee Size
1, -- Committee Threshold
NULL, -- Extra
NULL -- Cast to
) ON CONFLICT (row_id) DO UPDATE
SET name = EXCLUDED.name,
description = EXCLUDED.description,
registration_snapshot_time = EXCLUDED.registration_snapshot_time,
snapshot_start = EXCLUDED.snapshot_start,
voting_power_threshold = EXCLUDED.voting_power_threshold,
max_voting_power_pct = EXCLUDED.max_voting_power_pct,
review_rewards = EXCLUDED.review_rewards,
start_time = EXCLUDED.start_time,
end_time = EXCLUDED.end_time,
insight_sharing_start = EXCLUDED.insight_sharing_start,
proposal_submission_start = EXCLUDED.proposal_submission_start,
refine_proposals_start = EXCLUDED.refine_proposals_start,
finalize_proposals_start = EXCLUDED.finalize_proposals_start,
proposal_assessment_start = EXCLUDED.proposal_assessment_start,
assessment_qa_start = EXCLUDED.assessment_qa_start,
voting_start = EXCLUDED.voting_start,
voting_end = EXCLUDED.voting_end,
tallying_end = EXCLUDED.tallying_end,
block0 = EXCLUDED.block0,
block0_hash = EXCLUDED.block0_hash,
committee_size = EXCLUDED.committee_size,
committee_threshold = EXCLUDED.committee_threshold,
extra = EXCLUDED.extra,
cast_to = EXCLUDED.cast_to;
DELETE FROM event WHERE row_id='100';
61 changes: 3 additions & 58 deletions src/event-db/stage_data/dev/00002_fund12_params.sql
Original file line number Diff line number Diff line change
@@ -1,61 +1,6 @@
-- Define F12 IdeaScale parameters.
INSERT INTO config (id, id2, id3, value) VALUES (
'ideascale',
'12',
'',
'{
"group_id": 31051,
"review_stage_ids": [143, 145],
"nr_allocations": [30, 80],
"campaign_group_id": 63,
"questions": {
"You are reviewing the positive IMPACT this project will have on the Cardano Ecosystem.\nHas this project clearly demonstrated in all aspects of the proposal that it will have a positive impact on the Cardano Ecosystem?": "Impact / Alignment",
"You are reviewing the FEASIBILITY of this project.\nIs this project feasible based on the proposal submitted? Does the plan and associated budget and milestones look achievable? Does the team have the skills, experience, capability and capacity to complete the project successfully?": "Feasibility",
"You are reviewing the VALUE FOR MONEY this represents for the Treasury and the Community\nIs the funding amount requested for this project reasonable and does it provide good Value for Money to the Treasury?": "Auditability"
},
"stage_ids": [4590, 4596, 4602, 4608, 4614, 4620, 4626, 4632, 4638, 4644, 4650, 4656, 4662, 4591, 4597, 4603, 4609, 4615, 4621, 4627, 4633, 4639, 4645, 4651, 4657, 4663, 4592, 4598, 4604, 4610, 4616, 4622, 4628, 4634, 4640, 4646, 4652, 4658, 4664],
"proposals": {
"field_mappings": {
"proposer_url": ["relevant_link_1", "website__github_repository__or_any_other_relevant_link__", "relevant_link_3"],
"proposer_relevant_experience": "f11_project_team",
"public_key": "ada_payment_address__",
"funds": ["f11_requested_funds", "requested_funds_in_ada","requested_funds_coti"]
},
"extra_field_mappings": {
"metrics": "key_metrics_to_measure",
"goal": "how_does_success_look_like_",
"solution": "f11_proposal_solution",
"brief": "challenge_brief",
"importance": "importance",
"full_solution": "please_describe_your_proposed_solution",
"team_details": "please_provide_details_of_the_people_who_will_work_on_the_project_",
"auto_translated": "auto_translated",
"budget_breakdown": "please_provide_a_detailed_budget_breakdown",
"challenges_or_risks": "what_main_challenges_or_risks_do_you_foresee_to_deliver_this_project_successfully_",
"timeline_and_key_milestones": "please_provide_a_detailed_plan__a_timeline__and_key_milestones_for_delivering_your_proposal_",
"how_solution_address_challenge": "please_describe_how_your_proposed_solution_will_address_the_challenge_",
"sdg_rating": "sdg_rating",
"return_in_a_later_round": "if_you_are_funded__will_you_return_to_catalyst_in_a_later_round_for_further_funding__please_explain",
"relevant_link_1": "relevant_link_1",
"relevant_link_2": "website__github_repository__or_any_other_relevant_link__",
"relevant_link_3": "relevant_link_3",
"progress_metrics": "what_will_you_measure_to_track_your_project_s_progress__and_how_will_you_measure_it_",
"new_proposal": "is_this_proposal_is_a_continuation_of_a_previously_funded_project_in_catalyst__or_an_entirely_new_o"
}
},
"proposals_scores_csv": {
"id_field": "proposal_id",
"score_field": "Rating"
}
}'
) ON CONFLICT (id, id2, id3) DO UPDATE
SET value = EXCLUDED.value;
DELETE FROM config WHERE id2='100';

-- Use F12 params for event with row_id = 12.
INSERT INTO config (id, id2, id3, value) VALUES (
'event',
'ideascale_params',
'12',
'{"params_id": "F12"}'
) ON CONFLICT (id, id2, id3) DO UPDATE
SET value = EXCLUDED.value;
DELETE FROM config WHERE id3='100';

Loading