File tree Expand file tree Collapse file tree 4 files changed +75
-1
lines changed
Expand file tree Collapse file tree 4 files changed +75
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Load the environment variables
4+ source " $( pwd) " /proposals/env.sh
5+
6+ quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal ' (
7+ record {
8+ title = "Add a generic function \"admin_update_bucket_canister_settings\" to IC-OSS service";
9+ url = "https://internetcomputer.org/docs/current/developer-docs/daos/sns/managing/sns-asset-canister#sns-genericnervoussystemfunctions";
10+ summary = "The `admin_update_bucket_canister_settings` function is used to update bucket canister settings from the ic_oss_cluster canister.";
11+ action = opt variant {
12+ AddGenericNervousSystemFunction = record {
13+ id = 1_114 : nat64;
14+ name = "`admin_update_bucket_canister_settings` function";
15+ description = opt "It is used to update bucket canister settings from the ic_oss_cluster canister.";
16+ function_type = opt variant {
17+ GenericNervousSystemFunction = record {
18+ validator_canister_id = opt principal "5szpn-tiaaa-aaaaj-qncoq-cai";
19+ target_canister_id = opt principal "5szpn-tiaaa-aaaaj-qncoq-cai";
20+ validator_method_name = opt "validate_admin_update_bucket_canister_settings";
21+ target_method_name = opt "admin_update_bucket_canister_settings";
22+ }
23+ };
24+ }
25+ };
26+ }
27+ )' > proposal-message.json
28+
29+ # quill send proposal-message.json
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Load the environment variables
4+ source " $( pwd) " /proposals/env.sh
5+
6+ export BLOB=" $( didc encode --format blob ' (record {canister_id=principal "532er-faaaa-aaaaj-qncpa-cai"; settings=record { controllers = opt vec {principal "5szpn-tiaaa-aaaaj-qncoq-cai"; principal "5vdms-kaaaa-aaaap-aa3uq-cai";}}})' ) "
7+
8+ quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal " (
9+ record {
10+ title = \" Execute admin_update_bucket_canister_settings() to update ic-oss-bucket controllers\" ;
11+ url = \" https://github.com/ldclabs/ic-oss/blob/main/src/ic_oss_cluster/src/api_admin.rs#L490\" ;
12+ summary = \" This proposal executes admin_update_bucket_canister_settings() on ic_oss_cluster 5szpn-tiaaa-aaaaj-qncoq-cai to add CycleOps blackhole 5vdms-kaaaa-aaaap-aa3uq-cai as ic-oss-bucket 532er-faaaa-aaaaj-qncpa-cai controllers.\" ;
13+ action = opt variant {
14+ ExecuteGenericNervousSystemFunction = record {
15+ function_id = 1_114 : nat64;
16+ payload = ${BLOB} ;
17+ }
18+ };
19+ }
20+ )" > proposal-message.json
21+
22+ # quill send proposal-message.json
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Load the environment variables
4+ source " $( pwd) " /proposals/env.sh
5+
6+ export BLOB=" $( didc encode --format blob ' (record {canister_id=principal "sb6zj-3aaaa-aaaaj-qndla-cai"; settings=record { controllers = opt vec {principal "5szpn-tiaaa-aaaaj-qncoq-cai"; principal "5vdms-kaaaa-aaaap-aa3uq-cai";}}})' ) "
7+
8+ quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal " (
9+ record {
10+ title = \" Execute admin_update_bucket_canister_settings() to update ic-oss-bucket controllers\" ;
11+ url = \" https://github.com/ldclabs/ic-oss/blob/main/src/ic_oss_cluster/src/api_admin.rs#L490\" ;
12+ summary = \" This proposal executes admin_update_bucket_canister_settings() on ic_oss_cluster 5szpn-tiaaa-aaaaj-qncoq-cai to add CycleOps blackhole 5vdms-kaaaa-aaaap-aa3uq-cai as ic-oss-bucket sb6zj-3aaaa-aaaaj-qndla-cai controllers.\" ;
13+ action = opt variant {
14+ ExecuteGenericNervousSystemFunction = record {
15+ function_id = 1_114 : nat64;
16+ payload = ${BLOB} ;
17+ }
18+ };
19+ }
20+ )" > proposal-message.json
21+
22+ # quill send proposal-message.json
Original file line number Diff line number Diff line change 16161_110 ijyxz-wyaaa-aaaaj-qa4qa-cai admin_remove_managers
17171_111 nvdn4-5qaaa-aaaaj-qa4pq-cai admin_remove_managers
18181_112 zof5a-5yaaa-aaaai-acr2q-cai admin_remove_managers
19- 1_113 4jxyd-pqaaa-aaaah-qdqtq-cai admin_remove_managers
19+ 1_113 4jxyd-pqaaa-aaaah-qdqtq-cai admin_remove_managers
20+ 1_114 5szpn-tiaaa-aaaaj-qncoq-cai admin_update_bucket_canister_settings
You can’t perform that action at this time.
0 commit comments