Skip to content

Commit 3db1762

Browse files
gix-botyhabib
authored andcommitted
Update SNS aggregator response
1 parent 6a6437c commit 3db1762

File tree

6 files changed

+1222
-461
lines changed

6 files changed

+1222
-461
lines changed

frontend/src/tests/workflows/Launchpad/sns-agg-page-0.json

Lines changed: 118 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"ledger_canister_id": "ryjl3-tyaaa-aaaaa-aaaba-cai",
4040
"treasury": 1,
41-
"timestamp_seconds": 1763602219
41+
"timestamp_seconds": 1764208019
4242
},
4343
{
4444
"name": "TOKEN_SNS_TOKEN",
@@ -56,27 +56,27 @@
5656
},
5757
"ledger_canister_id": "zfcdd-tqaaa-aaaaq-aaaga-cai",
5858
"treasury": 2,
59-
"timestamp_seconds": 1763602219
59+
"timestamp_seconds": 1764208019
6060
}
6161
],
6262
"voting_power_metrics": {
63-
"governance_total_potential_voting_power": 918685956529991417,
64-
"timestamp_seconds": 1763602219
63+
"governance_total_potential_voting_power": 919168526333129884,
64+
"timestamp_seconds": 1764208019
6565
},
66-
"last_ledger_block_timestamp": 1763603189,
67-
"num_recently_executed_proposals": 4,
68-
"num_recently_submitted_proposals": 4,
66+
"last_ledger_block_timestamp": 1764208749,
67+
"num_recently_executed_proposals": 2,
68+
"num_recently_submitted_proposals": 2,
6969
"genesis_timestamp_seconds": 1669073902
7070
}
7171
}
7272
},
7373
"latest_reward_event": {
7474
"rounds_since_last_distribution": 1,
75-
"actual_timestamp_seconds": 1763596810,
76-
"end_timestamp_seconds": 1763596800,
75+
"actual_timestamp_seconds": 1764201604,
76+
"end_timestamp_seconds": 1764201600,
7777
"total_available_e8s_equivalent": 0,
7878
"distributed_e8s_equivalent": 0,
79-
"round": 20492,
79+
"round": 20499,
8080
"settled_proposals": []
8181
},
8282
"parameters": {
@@ -532,7 +532,7 @@
532532
]
533533
],
534534
"icrc1_fee": [100000],
535-
"icrc1_total_supply": 799999891324794000,
535+
"icrc1_total_supply": 799999891149594000,
536536
"swap_params": {
537537
"params": {
538538
"min_participant_icp_e8s": 10000000,
@@ -1003,14 +1003,14 @@
10031003
{
10041004
"name": "TOKEN_ICP",
10051005
"original_amount_e8s": 100000000000000,
1006-
"amount_e8s": 9279539763296,
1006+
"amount_e8s": 9279793583296,
10071007
"account": {
10081008
"owner": "2jvtu-yqaaa-aaaaq-aaama-cai",
10091009
"subaccount": null
10101010
},
10111011
"ledger_canister_id": "ryjl3-tyaaa-aaaaa-aaaba-cai",
10121012
"treasury": 1,
1013-
"timestamp_seconds": 1763601613
1013+
"timestamp_seconds": 1764207429
10141014
},
10151015
{
10161016
"name": "TOKEN_SNS_TOKEN",
@@ -1028,27 +1028,27 @@
10281028
},
10291029
"ledger_canister_id": "2ouva-viaaa-aaaaq-aaamq-cai",
10301030
"treasury": 2,
1031-
"timestamp_seconds": 1763601613
1031+
"timestamp_seconds": 1764207429
10321032
}
10331033
],
10341034
"voting_power_metrics": {
1035-
"governance_total_potential_voting_power": 7195509146574833,
1036-
"timestamp_seconds": 1763601613
1035+
"governance_total_potential_voting_power": 7189742294244687,
1036+
"timestamp_seconds": 1764207429
10371037
},
1038-
"last_ledger_block_timestamp": 1763604381,
1039-
"num_recently_executed_proposals": 22,
1040-
"num_recently_submitted_proposals": 28,
1038+
"last_ledger_block_timestamp": 1764210582,
1039+
"num_recently_executed_proposals": 30,
1040+
"num_recently_submitted_proposals": 35,
10411041
"genesis_timestamp_seconds": 1677261213
10421042
}
10431043
}
10441044
},
10451045
"latest_reward_event": {
10461046
"rounds_since_last_distribution": 1,
1047-
"actual_timestamp_seconds": 1763574824,
1048-
"end_timestamp_seconds": 1763574813,
1049-
"total_available_e8s_equivalent": 3490101312736,
1047+
"actual_timestamp_seconds": 1764179617,
1048+
"end_timestamp_seconds": 1764179613,
1049+
"total_available_e8s_equivalent": 1396259448415,
10501050
"distributed_e8s_equivalent": 0,
1051-
"round": 999,
1051+
"round": 1006,
10521052
"settled_proposals": []
10531053
},
10541054
"parameters": {
@@ -1776,6 +1776,34 @@
17761776
}
17771777
}
17781778
},
1779+
{
1780+
"id": 10001,
1781+
"name": "Grant permission to manage frontend assets",
1782+
"description": "This will grant the specified principal the permission to perform the specified action on the frontend assets canister.",
1783+
"function_type": {
1784+
"GenericNervousSystemFunction": {
1785+
"topic": "DappCanisterManagement",
1786+
"validator_canister_id": "6hsbt-vqaaa-aaaaf-aaafq-cai",
1787+
"target_canister_id": "6hsbt-vqaaa-aaaaf-aaafq-cai",
1788+
"validator_method_name": "validate_grant_permission",
1789+
"target_method_name": "grant_permission"
1790+
}
1791+
}
1792+
},
1793+
{
1794+
"id": 10002,
1795+
"name": "Revoke permission to manage frontend assets",
1796+
"description": "This will revoke the permission of the specified principal to perform the specified action on the frontend assets canister.",
1797+
"function_type": {
1798+
"GenericNervousSystemFunction": {
1799+
"topic": "DappCanisterManagement",
1800+
"validator_canister_id": "6hsbt-vqaaa-aaaaf-aaafq-cai",
1801+
"target_canister_id": "6hsbt-vqaaa-aaaaf-aaafq-cai",
1802+
"validator_method_name": "validate_revoke_permission",
1803+
"target_method_name": "revoke_permission"
1804+
}
1805+
}
1806+
},
17791807
{
17801808
"id": 101000,
17811809
"name": "Call trade_tokens on the CHAT/CYCLES trading pair canister at the CYCLES-TRANSFER-STATION.",
@@ -1975,7 +2003,7 @@
19752003
]
19762004
],
19772005
"icrc1_fee": [100000],
1978-
"icrc1_total_supply": 10199034418648161,
2006+
"icrc1_total_supply": 10199667512187229,
19792007
"swap_params": {
19802008
"params": {
19812009
"min_participant_icp_e8s": 100000000,
@@ -2471,6 +2499,34 @@
24712499
"target_method_name": "commit_proposed_batch"
24722500
}
24732501
}
2502+
},
2503+
{
2504+
"id": 10001,
2505+
"name": "Grant permission to manage frontend assets",
2506+
"description": "This will grant the specified principal the permission to perform the specified action on the frontend assets canister.",
2507+
"function_type": {
2508+
"GenericNervousSystemFunction": {
2509+
"topic": "DappCanisterManagement",
2510+
"validator_canister_id": "6hsbt-vqaaa-aaaaf-aaafq-cai",
2511+
"target_canister_id": "6hsbt-vqaaa-aaaaf-aaafq-cai",
2512+
"validator_method_name": "validate_grant_permission",
2513+
"target_method_name": "grant_permission"
2514+
}
2515+
}
2516+
},
2517+
{
2518+
"id": 10002,
2519+
"name": "Revoke permission to manage frontend assets",
2520+
"description": "This will revoke the permission of the specified principal to perform the specified action on the frontend assets canister.",
2521+
"function_type": {
2522+
"GenericNervousSystemFunction": {
2523+
"topic": "DappCanisterManagement",
2524+
"validator_canister_id": "6hsbt-vqaaa-aaaaf-aaafq-cai",
2525+
"target_canister_id": "6hsbt-vqaaa-aaaaf-aaafq-cai",
2526+
"validator_method_name": "validate_revoke_permission",
2527+
"target_method_name": "revoke_permission"
2528+
}
2529+
}
24742530
}
24752531
]
24762532
},
@@ -3199,7 +3255,7 @@
31993255
},
32003256
"ledger_canister_id": "ryjl3-tyaaa-aaaaa-aaaba-cai",
32013257
"treasury": 1,
3202-
"timestamp_seconds": 1763602970
3258+
"timestamp_seconds": 1764208749
32033259
},
32043260
{
32053261
"name": "TOKEN_SNS_TOKEN",
@@ -3217,28 +3273,32 @@
32173273
},
32183274
"ledger_canister_id": "73mez-iiaaa-aaaaq-aaasq-cai",
32193275
"treasury": 2,
3220-
"timestamp_seconds": 1763602970
3276+
"timestamp_seconds": 1764208749
32213277
}
32223278
],
32233279
"voting_power_metrics": {
3224-
"governance_total_potential_voting_power": 473200508468230,
3225-
"timestamp_seconds": 1763602970
3280+
"governance_total_potential_voting_power": 473049007044116,
3281+
"timestamp_seconds": 1764208749
32263282
},
3227-
"last_ledger_block_timestamp": 1763599639,
3228-
"num_recently_executed_proposals": 3,
3229-
"num_recently_submitted_proposals": 2,
3283+
"last_ledger_block_timestamp": 1764209430,
3284+
"num_recently_executed_proposals": 2,
3285+
"num_recently_submitted_proposals": 4,
32303286
"genesis_timestamp_seconds": 1685678632
32313287
}
32323288
}
32333289
},
32343290
"latest_reward_event": {
32353291
"rounds_since_last_distribution": 1,
3236-
"actual_timestamp_seconds": 1763525033,
3237-
"end_timestamp_seconds": 1763525032,
3238-
"total_available_e8s_equivalent": 725429857954,
3239-
"distributed_e8s_equivalent": 0,
3240-
"round": 901,
3241-
"settled_proposals": []
3292+
"actual_timestamp_seconds": 1764129838,
3293+
"end_timestamp_seconds": 1764129832,
3294+
"total_available_e8s_equivalent": 1024218543473,
3295+
"distributed_e8s_equivalent": 1024218543279,
3296+
"round": 908,
3297+
"settled_proposals": [
3298+
{
3299+
"id": 169
3300+
}
3301+
]
32423302
},
32433303
"parameters": {
32443304
"reserved_ids": [],
@@ -3674,7 +3734,7 @@
36743734
]
36753735
],
36763736
"icrc1_fee": [100000],
3677-
"icrc1_total_supply": 623608635666042,
3737+
"icrc1_total_supply": 623650871130137,
36783738
"swap_params": {
36793739
"params": {
36803740
"min_participant_icp_e8s": 100000000,
@@ -4124,7 +4184,7 @@
41244184
},
41254185
"ledger_canister_id": "ryjl3-tyaaa-aaaaa-aaaba-cai",
41264186
"treasury": 1,
4127-
"timestamp_seconds": 1763604251
4187+
"timestamp_seconds": 1764209975
41284188
},
41294189
{
41304190
"name": "TOKEN_SNS_TOKEN",
@@ -4142,14 +4202,14 @@
41424202
},
41434203
"ledger_canister_id": "6rdgd-kyaaa-aaaaq-aaavq-cai",
41444204
"treasury": 2,
4145-
"timestamp_seconds": 1763604251
4205+
"timestamp_seconds": 1764209975
41464206
}
41474207
],
41484208
"voting_power_metrics": {
4149-
"governance_total_potential_voting_power": 173651308673579904,
4150-
"timestamp_seconds": 1763604251
4209+
"governance_total_potential_voting_power": 173811869996473684,
4210+
"timestamp_seconds": 1764209975
41514211
},
4152-
"last_ledger_block_timestamp": 1763597436,
4212+
"last_ledger_block_timestamp": 1764207659,
41534213
"num_recently_executed_proposals": 4,
41544214
"num_recently_submitted_proposals": 8,
41554215
"genesis_timestamp_seconds": 1687191979
@@ -4158,11 +4218,11 @@
41584218
},
41594219
"latest_reward_event": {
41604220
"rounds_since_last_distribution": 1,
4161-
"actual_timestamp_seconds": 1763569580,
4162-
"end_timestamp_seconds": 1763569579,
4163-
"total_available_e8s_equivalent": 69078659383709,
4221+
"actual_timestamp_seconds": 1764174387,
4222+
"end_timestamp_seconds": 1764174379,
4223+
"total_available_e8s_equivalent": 230272486066093,
41644224
"distributed_e8s_equivalent": 0,
4165-
"round": 884,
4225+
"round": 891,
41664226
"settled_proposals": []
41674227
},
41684228
"parameters": {
@@ -4527,7 +4587,7 @@
45274587
]
45284588
],
45294589
"icrc1_fee": [100000],
4530-
"icrc1_total_supply": 106818276257281933,
4590+
"icrc1_total_supply": 107083150693714994,
45314591
"swap_params": {
45324592
"params": {
45334593
"min_participant_icp_e8s": 100000000,
@@ -5189,7 +5249,7 @@
51895249
},
51905250
"ledger_canister_id": "ryjl3-tyaaa-aaaaa-aaaba-cai",
51915251
"treasury": 1,
5192-
"timestamp_seconds": 1763604122
5252+
"timestamp_seconds": 1764209919
51935253
},
51945254
{
51955255
"name": "TOKEN_SNS_TOKEN",
@@ -5207,14 +5267,14 @@
52075267
},
52085268
"ledger_canister_id": "4c4fd-caaaa-aaaaq-aaa3a-cai",
52095269
"treasury": 2,
5210-
"timestamp_seconds": 1763604122
5270+
"timestamp_seconds": 1764209919
52115271
}
52125272
],
52135273
"voting_power_metrics": {
5214-
"governance_total_potential_voting_power": 475081256042040207,
5215-
"timestamp_seconds": 1763604122
5274+
"governance_total_potential_voting_power": 475649574636587906,
5275+
"timestamp_seconds": 1764209919
52165276
},
5217-
"last_ledger_block_timestamp": 1763601882,
5277+
"last_ledger_block_timestamp": 1764195766,
52185278
"num_recently_executed_proposals": 1,
52195279
"num_recently_submitted_proposals": 1,
52205280
"genesis_timestamp_seconds": 1689856131
@@ -5223,11 +5283,11 @@
52235283
},
52245284
"latest_reward_event": {
52255285
"rounds_since_last_distribution": 1,
5226-
"actual_timestamp_seconds": 1763555336,
5227-
"end_timestamp_seconds": 1763555331,
5228-
"total_available_e8s_equivalent": 1504596542787993,
5286+
"actual_timestamp_seconds": 1764160139,
5287+
"end_timestamp_seconds": 1764160131,
5288+
"total_available_e8s_equivalent": 1728725492976117,
52295289
"distributed_e8s_equivalent": 0,
5230-
"round": 853,
5290+
"round": 860,
52315291
"settled_proposals": []
52325292
},
52335293
"parameters": {
@@ -5598,7 +5658,7 @@
55985658
]
55995659
],
56005660
"icrc1_fee": [100000000],
5601-
"icrc1_total_supply": 935573982881203077,
5661+
"icrc1_total_supply": 935597866388708472,
56025662
"swap_params": {
56035663
"params": {
56045664
"min_participant_icp_e8s": 100000000,

0 commit comments

Comments
 (0)