Help for creating a basic Function call #1547
Unanswered
GaloisField2718
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
For the Metabuild III hackathon I want to purpose a project on DAOs.
For this project I have some issues and the first one is very basic but I don't know how to solve it easily without use a big useless engine.
I want to create a new proposal TYPE (like ft_transfer-call, Bounty, BountyDone, AddMemberToRole,..). T
his type might be named POST.
What this proposal type does ?
Very easy, the same things as POLL (put simple question in a DAO, named VOTE in sputnik-dao-contract/sputnikdao2/src/proposal.rs).
I think use a Function Call and call the pool method in the DAO itself like this :
sputnikdao proposal call nearcontest.sputnikv2.testnet pool "IkkgbWFkZSB0aGlzIHBvc3QgdGhyb3VnaCBzcHV0bmlrZGFvIGNsaSB3aXRoIGEgY2FsbCBmdW5jdGlvbiB3aGljaCBhcmUgY2FsbGluZyBwb29sIGZ1bmN0aW9uIGluIHRoaXMgY29udHJhY3Qi" --daoAcc nearcontest --accountId 1901.testnet
This code doesn't work for a MIN_BOND_ERROR :
But moreover, as if working this will not rename the proposal as POST proposal.
The idea behind that is to be able to watch transactions (with a program) make by the DAO and act only on POST proposals.
To make it, I need to create this type but which acts as POLL proposals (just a vote).
I have near-cli and sputnik-dao-contract on my computer so I can use them. I can deploy my own DAO (without sputnikv2) if it's really necessary but I think that it could be really easier with sputnik tools. Only I don't see how to make such things.
I'm totally available to discuss about it and find a way to solve it.
My TG : @dev_block
Beta Was this translation helpful? Give feedback.
All reactions