Some references about proposals writing #176
Unanswered
GaloisField2718
asked this question in
Q&A
Replies: 1 comment
-
For example, I found this in
kind: ProposalKind::AddBounty {
bounty: Bounty {
description: "test bounty".to_string(),
token: String::from(OLD_BASE_TOKEN),
amount: U128(to_yocto("10")),
times,
max_deadline: U64::from(1_000),
} But when I try this : near call $DAO add_proposal '{"proposal": {"description": "", "kind" : {"AddBounty": {"description": "First Bounty", "token":"", "amount": 10, "times": 3600, "max_deadline": 10000}}}}' --accountId anank1.testnet --gas $MAX_GAS there is an error : SyntaxError: Unexpected token in JSON at position 41 It's quite the same for every proposals which I try. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm developing DAO with this folder, I've finished README files.
Now I want to put some proposals like upgrade policy, deciding about money allocations and use different types of proposals.
But, I can't find the syntax of a proposal, I mean :
Doesn't work.
I have same type of problems for other tried proposals.
So, I don't want to create an issue for each ProposalKind and so on I need some references to write instantly right proposals.
Maybe a repo of examples or something like this can be enough but I didn't find some.
I found a repo of @ilblackdragon where he explains some syntax, but it's for v1 sputnik, so it's very depreciated.
If it's needed I can move this topic in other places.
Beta Was this translation helpful? Give feedback.
All reactions