Skip to content

Commit 2435dbf

Browse files
committed
chore: add proposals to AddGenericNervousSystemFunction
1 parent 5af5fd8 commit 2435dbf

File tree

3 files changed

+64
-0
lines changed

3 files changed

+64
-0
lines changed

proposals/proposal-451.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/usr/bin/env bash
2+
3+
# quill can not support topic field, we should use dfx canister call to send proposal:
4+
dfx canister --network ic call dwv6s-6aaaa-aaaaq-aacta-cai manage_neuron '(
5+
record {
6+
subaccount = blob "\84\5a\11\4e\6c\35\0d\a9\24\ea\9c\6b\21\cf\f5\04\e2\02\19\e8\3b\60\a6\2c\96\da\36\ad\41\0e\e0\dd";
7+
command = opt variant {
8+
MakeProposal = record {
9+
title = "Add a generic function to \"Commit proposed assets for upgrading the anda_cloud_website canister\"";
10+
url = "https://internetcomputer.org/docs/current/developer-docs/daos/sns/managing/sns-asset-canister#sns-genericnervoussystemfunctions";
11+
summary = "Adding a new generic function that commit proposed assets for upgrading the anda_cloud_website canister.";
12+
action = opt variant {
13+
AddGenericNervousSystemFunction = record {
14+
id = 1_200 : nat64;
15+
name = "Commit proposed assets for upgrading the anda_cloud_website canister";
16+
description = opt "Commit proposed assets for upgrading the anda_cloud_website canister.";
17+
function_type = opt variant {
18+
GenericNervousSystemFunction = record {
19+
topic = opt variant { ApplicationBusinessLogic };
20+
validator_canister_id = opt principal "lxeb6-dyaaa-aaaap-an2ga-cai";
21+
target_canister_id = opt principal "lxeb6-dyaaa-aaaap-an2ga-cai";
22+
validator_method_name = opt "validate_commit_proposed_batch";
23+
target_method_name = opt "commit_proposed_batch";
24+
}
25+
};
26+
}
27+
};
28+
}
29+
};
30+
},
31+
)'

proposals/proposal-452.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/usr/bin/env bash
2+
3+
# quill can not support topic field, we should use dfx canister call to send proposal:
4+
dfx canister --network ic call dwv6s-6aaaa-aaaaq-aacta-cai manage_neuron '(
5+
record {
6+
subaccount = blob "\84\5a\11\4e\6c\35\0d\a9\24\ea\9c\6b\21\cf\f5\04\e2\02\19\e8\3b\60\a6\2c\96\da\36\ad\41\0e\e0\dd";
7+
command = opt variant {
8+
MakeProposal = record {
9+
title = "Add a generic function to \"Commit proposed assets for upgrading the one_bridge_app canister\"";
10+
url = "https://internetcomputer.org/docs/current/developer-docs/daos/sns/managing/sns-asset-canister#sns-genericnervoussystemfunctions";
11+
summary = "Adding a new generic function that commit proposed assets for upgrading the one_bridge_app canister.";
12+
action = opt variant {
13+
AddGenericNervousSystemFunction = record {
14+
id = 1_300 : nat64;
15+
name = "Commit proposed assets for upgrading the one_bridge_app canister";
16+
description = opt "Commit proposed assets for upgrading the one_bridge_app canister.";
17+
function_type = opt variant {
18+
GenericNervousSystemFunction = record {
19+
topic = opt variant { ApplicationBusinessLogic };
20+
validator_canister_id = opt principal "ejwdq-iyaaa-aaaap-an47q-cai";
21+
target_canister_id = opt principal "ejwdq-iyaaa-aaaap-an47q-cai";
22+
validator_method_name = opt "validate_commit_proposed_batch";
23+
target_method_name = opt "commit_proposed_batch";
24+
}
25+
};
26+
}
27+
};
28+
}
29+
};
30+
},
31+
)'

sns_functions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@
2323
1_115 5szpn-tiaaa-aaaaj-qncoq-cai admin_deploy_bucket
2424
1_116 n3bau-gaaaa-aaaaj-qa4oq-cai admin_remove_managers
2525
1_117 n3bau-gaaaa-aaaaj-qa4oq-cai admin_add_allowed_apis
26+
1_200 lxeb6-dyaaa-aaaap-an2ga-cai commit_proposed_batch
27+
1_300 ejwdq-iyaaa-aaaap-an47q-cai commit_proposed_batch
2628
2_000 7i4z4-fyaaa-aaaap-anzsa-cai transferPosition

0 commit comments

Comments
 (0)