Closed GaloisField2718 closed 2 years ago
Proposal : ChangePolicyAddOrUpdateRole
Must be written as :
near call $DAO add_proposal ' {
"proposal": {
"description": "Add the new role member Stagiaire",
"kind": {
"ChangePolicyAddOrUpdateRole": {
"role": {
"name": "stagiaire",
"kind": {
"Group": ["'$NEAR_ACCT.testnet'"]
},
"permissions": ["*:AddProposal", "*:VoteApprove", "*:VoteReject"],
"vote_policy": {}
}
}
}
}
} ' --accountId $NEAR_ACCT --amount $BOND_AMOUNT
Especially, "permissions": ["*:AddProposal", "*:VoteApprove", "*:VoteReject"]
, it's a list of string
.
Hello,
How looks an HashSet element ?
It's to create a proposal to add a new role.
Return the error
In the code there are :