-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add proposals to update SNS functions
- Loading branch information
Showing
9 changed files
with
154 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '( | ||
record { | ||
title = "Remove the generic function \"admin_set_managers\""; | ||
url = "https://github.com/ldclabs/ic-panda/blob/main/src/ic_panda_luckypool/src/api_admin.rs"; | ||
summary = "Remove the generic function \"admin_set_managers\" on ic_panda_luckypool (a7cug-2qaaa-aaaap-ab3la-cai), which validator_method_name is wrong and can not be executed."; | ||
action = opt variant { | ||
RemoveGenericNervousSystemFunction = 1_001 | ||
}; | ||
} | ||
)' > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '( | ||
record { | ||
title = "Remove the generic function \"admin_collect_icp\""; | ||
url = "https://dashboard.internetcomputer.org/sns/d7wvo-iiaaa-aaaaq-aacsq-cai/proposal/5"; | ||
summary = "Remove the generic function \"admin_collect_icp\" on ic_panda_luckypool (a7cug-2qaaa-aaaap-ab3la-cai), which validator_method_name is wrong and can not be executed."; | ||
action = opt variant { | ||
RemoveGenericNervousSystemFunction = 1_002 | ||
}; | ||
} | ||
)' > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '( | ||
record { | ||
title = "Remove the generic function \"grant_permission\""; | ||
url = "https://dashboard.internetcomputer.org/sns/d7wvo-iiaaa-aaaaq-aacsq-cai/proposal/10"; | ||
summary = "Remove the generic function \"grant_permission\" on ic_panda_frontend (c63a7-6yaaa-aaaap-ab3gq-cai), which is not used."; | ||
action = opt variant { | ||
RemoveGenericNervousSystemFunction = 1_003 | ||
}; | ||
} | ||
)' > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '( | ||
record { | ||
title = "Remove the generic function \"withdraw\""; | ||
url = "https://dashboard.internetcomputer.org/sns/d7wvo-iiaaa-aaaaq-aacsq-cai/proposal/42"; | ||
summary = "Remove the generic function \"withdraw\" on ICDex Trader (6sul7-xqaaa-aaaap-ahdsq-cai), which is not used."; | ||
action = opt variant { | ||
RemoveGenericNervousSystemFunction = 1_004 | ||
}; | ||
} | ||
)' > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '( | ||
record { | ||
title = "Deregister ICDex Trader canister"; | ||
url = "https://dashboard.internetcomputer.org/sns/d7wvo-iiaaa-aaaaq-aacsq-cai/proposal/40"; | ||
summary = "Deregister ICDex Trader canister (6sul7-xqaaa-aaaap-ahdsq-cai), which is not used."; | ||
action = opt variant { | ||
DeregisterDappCanisters = record { | ||
canister_ids = vec {principal "6sul7-xqaaa-aaaap-ahdsq-cai"}; | ||
new_controllers = vec { principal "i2gam-uue3y-uxwyd-mzyhb-nirhd-hz3l4-2hw3f-4fzvw-lpvvc-dqdrg-7qe"}; | ||
} | ||
}; | ||
} | ||
)' > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '( | ||
record { | ||
title = "Add a generic function \"admin_collect_tokens\" to transfer PANDA tokens to DAO treasury"; | ||
url = "https://github.com/ldclabs/ic-panda/blob/main/src/ic_panda_luckypool/src/api_admin.rs#L39"; | ||
summary = "The `admin_collect_tokens` function is used to transfer PANDA tokens from ic_panda_luckypool to DAO treasury."; | ||
action = opt variant { | ||
AddGenericNervousSystemFunction = record { | ||
id = 1_005 : nat64; | ||
name = "`admin_collect_tokens` function"; | ||
description = opt "It is used to transfer PANDA tokens to DAO treasury."; | ||
function_type = opt variant { | ||
GenericNervousSystemFunction = record { | ||
validator_canister_id = opt principal "a7cug-2qaaa-aaaap-ab3la-cai"; | ||
target_canister_id = opt principal "a7cug-2qaaa-aaaap-ab3la-cai"; | ||
validator_method_name = opt "validate_admin_collect_tokens"; | ||
target_method_name = opt "admin_collect_tokens"; | ||
} | ||
}; | ||
} | ||
}; | ||
} | ||
)' > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Load the environment variables | ||
source "$(pwd)"/proposals/env.sh | ||
|
||
quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '( | ||
record { | ||
title = "Add a generic function \"admin_collect_icp\" to transfer ICP tokens to DAO treasury"; | ||
url = "https://github.com/ldclabs/ic-panda/blob/main/src/ic_panda_luckypool/src/api_admin.rs#L16"; | ||
summary = "The `admin_collect_icp` function is used to transfer ICP tokens from ic_panda_luckypool to DAO treasury."; | ||
action = opt variant { | ||
AddGenericNervousSystemFunction = record { | ||
id = 1_006 : nat64; | ||
name = "`admin_collect_tokens` function"; | ||
description = opt "It is used to transfer ICP tokens to DAO treasury."; | ||
function_type = opt variant { | ||
GenericNervousSystemFunction = record { | ||
validator_canister_id = opt principal "a7cug-2qaaa-aaaap-ab3la-cai"; | ||
target_canister_id = opt principal "a7cug-2qaaa-aaaap-ab3la-cai"; | ||
validator_method_name = opt "validate2_admin_collect_icp"; | ||
target_method_name = opt "admin_collect_icp"; | ||
} | ||
}; | ||
} | ||
}; | ||
} | ||
)' > proposal-message.json | ||
|
||
# quill send proposal-message.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters