From cf427f77615512e0d2d49cab4082e30ea5f32e80 Mon Sep 17 00:00:00 2001 From: sa-github-api <138766536+sa-github-api@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:00:08 +0200 Subject: [PATCH] bot: Update SNS Aggregator Response (#5524) # Motivation We would like to keep the ProdLaunchpad.spec up to date with mainnet data. # Changes * Update the files used for the fetch mock in ProdLaunchpad.spec. # Tests Only test changes. Co-authored-by: gix-bot --- .../workflows/Launchpad/sns-agg-page-0.json | 10 +- .../workflows/Launchpad/sns-agg-page-1.json | 23 ++--- .../workflows/Launchpad/sns-agg-page-2.json | 98 +++++++++++++++++-- .../workflows/Launchpad/sns-agg-page-3.json | 29 ++++-- 4 files changed, 124 insertions(+), 36 deletions(-) diff --git a/frontend/src/tests/workflows/Launchpad/sns-agg-page-0.json b/frontend/src/tests/workflows/Launchpad/sns-agg-page-0.json index 62e0a97a4b..c2b8e9ebf8 100644 --- a/frontend/src/tests/workflows/Launchpad/sns-agg-page-0.json +++ b/frontend/src/tests/workflows/Launchpad/sns-agg-page-0.json @@ -282,7 +282,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 799999985134494000, + "icrc1_total_supply": 799999984322194000, "swap_params": { "params": { "min_participant_icp_e8s": 10000000, @@ -1072,7 +1072,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 10109225589925564, + "icrc1_total_supply": 10110264198002368, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -1802,7 +1802,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 607796828547684, + "icrc1_total_supply": 608455704834266, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -2199,7 +2199,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 102145451254106000, + "icrc1_total_supply": 102193657588712590, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -2848,7 +2848,7 @@ ] ], "icrc1_fee": [100000000], - "icrc1_total_supply": 925551383078459000, + "icrc1_total_supply": 925585736749586200, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, diff --git a/frontend/src/tests/workflows/Launchpad/sns-agg-page-1.json b/frontend/src/tests/workflows/Launchpad/sns-agg-page-1.json index f1806cb4ad..378b842014 100644 --- a/frontend/src/tests/workflows/Launchpad/sns-agg-page-1.json +++ b/frontend/src/tests/workflows/Launchpad/sns-agg-page-1.json @@ -312,7 +312,7 @@ ] ], "icrc1_fee": [10000], - "icrc1_total_supply": 98155081086499360, + "icrc1_total_supply": 98164130842847710, "swap_params": { "params": { "min_participant_icp_e8s": 100000278, @@ -768,7 +768,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 100659308216649490, + "icrc1_total_supply": 100664915648953940, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -1424,7 +1424,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 50285955999650150, + "icrc1_total_supply": 50308240470224060, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -2301,7 +2301,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 9955994393223880, + "icrc1_total_supply": 9955995091754052, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -3369,7 +3369,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 10063159320586224, + "icrc1_total_supply": 10069380616784136, "swap_params": { "params": { "min_participant_icp_e8s": 1000000000, @@ -4448,7 +4448,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 12612207000343716, + "icrc1_total_supply": 12612261809874656, "swap_params": { "params": { "min_participant_icp_e8s": 500000000, @@ -5703,13 +5703,10 @@ "index": "efv5g-kqaaa-aaaaq-aacaa-cai", "governance": "tr3th-kiaaa-aaaaq-aab6q-cai", "dapps": [ - "oh54a-baaaa-aaaap-abryq-cai", - "oo6x4-xiaaa-aaaap-abrza-cai", - "o4yaf-3yaaa-aaaap-abr2a-cai", - "bojx2-iaaaa-aaaag-ab3jq-cai", - "j4jiq-sqaaa-aaaap-ab23a-cai", + "rbsh4-yyaaa-aaaal-qdigq-cai", "iyehc-lqaaa-aaaap-ab25a-cai", - "rbsh4-yyaaa-aaaal-qdigq-cai" + "j4jiq-sqaaa-aaaap-ab23a-cai", + "bojx2-iaaaa-aaaag-ab3jq-cai" ], "archives": ["fgzua-6iaaa-aaaaq-aacgq-cai"] }, @@ -6343,7 +6340,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 99832777829037070, + "icrc1_total_supply": 99816883634597000, "swap_params": { "params": { "min_participant_icp_e8s": 800000000, diff --git a/frontend/src/tests/workflows/Launchpad/sns-agg-page-2.json b/frontend/src/tests/workflows/Launchpad/sns-agg-page-2.json index 4a8841b0e7..7f6534e956 100644 --- a/frontend/src/tests/workflows/Launchpad/sns-agg-page-2.json +++ b/frontend/src/tests/workflows/Launchpad/sns-agg-page-2.json @@ -1475,7 +1475,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 100435532847715040, + "icrc1_total_supply": 100435549616384800, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -2965,6 +2965,19 @@ } } }, + { + "id": 6111, + "name": "DeVeFi:ICP/DKP:Modify Vector", + "description": "Modifies a vector", + "function_type": { + "GenericNervousSystemFunction": { + "validator_canister_id": "hospv-uaaaa-aaaal-qkkda-cai", + "target_canister_id": "hospv-uaaaa-aaaal-qkkda-cai", + "validator_method_name": "validate_modify_vector", + "target_method_name": "modify_vector" + } + } + }, { "id": 6210, "name": "DeVeFi:ICP/nICP:Create Vector", @@ -3432,7 +3445,7 @@ ] ], "icrc1_fee": [10000], - "icrc1_total_supply": 100486037144290, + "icrc1_total_supply": 100486280746113, "swap_params": { "params": { "min_participant_icp_e8s": 500000000, @@ -4037,6 +4050,19 @@ "target_method_name": "deploy_icrc1_tokens_to_icpswap" } } + }, + { + "id": 2005, + "name": "transfer_icpex_lp_position", + "description": null, + "function_type": { + "GenericNervousSystemFunction": { + "validator_canister_id": "ok64y-uiaaa-aaaag-qdcbq-cai", + "target_canister_id": "ok64y-uiaaa-aaaag-qdcbq-cai", + "validator_method_name": "validate_transfer_icpex_lp_position", + "target_method_name": "transfer_icpex_lp_position" + } + } } ] }, @@ -4176,7 +4202,7 @@ ] ], "icrc1_fee": [1000], - "icrc1_total_supply": 995578140980, + "icrc1_total_supply": 995577291980, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -7076,7 +7102,7 @@ ] ], "icrc1_fee": [1000000], - "icrc1_total_supply": 20155372508130356, + "icrc1_total_supply": 20159038345076300, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -9076,7 +9102,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 25132309667154780, + "icrc1_total_supply": 25132841578062892, "swap_params": { "params": { "min_participant_icp_e8s": 500000000, @@ -10543,7 +10569,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 10025613453950780, + "icrc1_total_supply": 10028342670062032, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -11282,6 +11308,58 @@ "target_method_name": "withdraw" } } + }, + { + "id": 1101, + "name": "`admin_add_canister` function", + "description": "It is used to add more COSE, Profile, and Channel service canisters to the messaging cluster.", + "function_type": { + "GenericNervousSystemFunction": { + "validator_canister_id": "nscli-qiaaa-aaaaj-qa4pa-cai", + "target_canister_id": "nscli-qiaaa-aaaaj-qa4pa-cai", + "validator_method_name": "validate_admin_add_canister", + "target_method_name": "admin_add_canister" + } + } + }, + { + "id": 1102, + "name": "`admin_update_price` function", + "description": "It is used to update the price for registering a username and creating a channel.", + "function_type": { + "GenericNervousSystemFunction": { + "validator_canister_id": "nscli-qiaaa-aaaaj-qa4pa-cai", + "target_canister_id": "nscli-qiaaa-aaaaj-qa4pa-cai", + "validator_method_name": "validate_admin_update_price", + "target_method_name": "admin_update_price" + } + } + }, + { + "id": 1103, + "name": "`admin_collect_token` function", + "description": "It is used to collect tokens to a account.", + "function_type": { + "GenericNervousSystemFunction": { + "validator_canister_id": "nscli-qiaaa-aaaaj-qa4pa-cai", + "target_canister_id": "nscli-qiaaa-aaaaj-qa4pa-cai", + "validator_method_name": "validate_admin_collect_token", + "target_method_name": "admin_collect_token" + } + } + }, + { + "id": 1104, + "name": "`admin_update_price` function", + "description": "It is used to update the price for registering a username and creating a channel.", + "function_type": { + "GenericNervousSystemFunction": { + "validator_canister_id": "nscli-qiaaa-aaaaj-qa4pa-cai", + "target_canister_id": "nscli-qiaaa-aaaaj-qa4pa-cai", + "validator_method_name": "validate2_admin_update_price", + "target_method_name": "admin_update_price" + } + } } ] }, @@ -11587,7 +11665,7 @@ ] ], "icrc1_fee": [10000], - "icrc1_total_supply": 101964808964515660, + "icrc1_total_supply": 102309943512548290, "swap_params": { "params": { "min_participant_icp_e8s": 1000000000, @@ -12654,7 +12732,7 @@ ] ], "icrc1_fee": [1000000], - "icrc1_total_supply": 99296599453265740, + "icrc1_total_supply": 99302470989084960, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -13827,7 +13905,7 @@ ] ], "icrc1_fee": [1000000], - "icrc1_total_supply": 100005311937889090, + "icrc1_total_supply": 100005396264859820, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -14999,7 +15077,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 100052110663144290, + "icrc1_total_supply": 100052129608695440, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, diff --git a/frontend/src/tests/workflows/Launchpad/sns-agg-page-3.json b/frontend/src/tests/workflows/Launchpad/sns-agg-page-3.json index 5a208d1d27..96fec73b59 100644 --- a/frontend/src/tests/workflows/Launchpad/sns-agg-page-3.json +++ b/frontend/src/tests/workflows/Launchpad/sns-agg-page-3.json @@ -1431,7 +1431,7 @@ ] ], "icrc1_fee": [10000], - "icrc1_total_supply": 999878760000, + "icrc1_total_supply": 999874020000, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -1818,7 +1818,7 @@ ] ], "icrc1_fee": [10000], - "icrc1_total_supply": 99999859540000, + "icrc1_total_supply": 99999852650000, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -2212,7 +2212,7 @@ ] ], "icrc1_fee": [200000], - "icrc1_total_supply": 1041761167331897700, + "icrc1_total_supply": 1041757559388853200, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -2498,7 +2498,7 @@ "max_number_of_proposals_with_ballots": 700, "max_age_bonus_percentage": 25, "neuron_grantable_permissions": { - "permissions": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + "permissions": [0, 1, 3, 4, 5, 6, 7, 8, 9] }, "voting_rewards_parameters": { "final_reward_rate_basis_points": 24, @@ -2846,7 +2846,7 @@ ] ], "icrc1_fee": [1000000], - "icrc1_total_supply": 11639657071386826, + "icrc1_total_supply": 11640991137446582, "swap_params": { "params": { "min_participant_icp_e8s": 1000000000, @@ -3356,6 +3356,19 @@ "target_method_name": "upgrade_top_level_canister" } } + }, + { + "id": 40001, + "name": "Upgrade the trade-contracts", + "description": "This proposal type calls the cycles-market-main (cm_main) canister and then the cycles-market-main canister upgrades the trade-contract canisters.", + "function_type": { + "GenericNervousSystemFunction": { + "validator_canister_id": "el2py-miaaa-aaaar-qabxq-cai", + "target_canister_id": "el2py-miaaa-aaaar-qabxq-cai", + "validator_method_name": "sns_validate_controller_upgrade_tcs", + "target_method_name": "controller_upgrade_tcs" + } + } } ] }, @@ -3732,7 +3745,7 @@ ] ], "icrc1_fee": [100000], - "icrc1_total_supply": 2003301737538769, + "icrc1_total_supply": 2003475126896391, "swap_params": { "params": { "min_participant_icp_e8s": 400000000, @@ -4340,7 +4353,7 @@ ] ], "icrc1_fee": [705032704, 1], - "icrc1_total_supply": 2467193479353053000, + "icrc1_total_supply": 2423783138890657000, "swap_params": { "params": { "min_participant_icp_e8s": 100000000, @@ -4879,7 +4892,7 @@ ] ], "icrc1_fee": [10000], - "icrc1_total_supply": 1999999990330000, + "icrc1_total_supply": 1999999988820000, "swap_params": { "params": { "min_participant_icp_e8s": 100000000000,