User Story
As user I want to create a DAO, create a campaign, raise funds and withdraw them to spend it so I can reach my objective to build sth nice the community wants
Acceptance Criteria
- Create a DAO
- Create a campaign and collect funds
- Submit a withdrawal voting
- See funds being transferred to DAO treasury
- See fees being transferred to GameDAO treasury.
Additional Information
Wallets before Funding:
Controller Wallet 1: 5mark
|
|
|
Wallet: |
3b2qZTPzhpJkJULMtMjtL5dsiYvmfVyh15Xxg3K83UwGpCJz |
DAO Admin |
TOTAL: |
513.9296 ZERO |
- |
TRANSFERRABLE: |
351.2126 ZERO |
- |
LOCKED: |
10.0000 ZERO |
- |
RESERVED: |
152.7069 ZERO |
- |
treasury Wallet 2: Inan 2nd Wallet
|
|
|
Wallet: |
3bM6UuZYEQjDqSdsyevEWjdRqQbDTXahvLLvvFDnsnam8bN2 |
DAO Treasury |
TOTAL: |
39.9999 ZERO |
- |
TRANSFERRABLE: |
25.9989 ZERO |
- |
LOCKED: |
0 ZERO |
- |
RESERVED: |
14.0009 ZERO |
- |
funding Wallet 3: Allchainsfunding
|
|
|
Wallet: |
3ZYcKFCPWN5tDFsaYJVEgvCJjV5EXxSKMXtD7HgdmhALrCG6 |
DAO member |
TOTAL: |
74.9999 ZERO |
- |
TRANSFERRABLE: |
56.4999 ZERO |
- |
LOCKED: |
10.0000 ZERO |
- |
RESERVED: |
18.5000 ZERO |
- |
funding Wallet 4: Zero1
|
|
|
Wallet: |
3ZjAeLZWrhu1uFGxgFSPUuSBJmEJZpgHHM6qJUzuHb3B9ykb |
DAO member |
TOTAL: |
29.9999 ZERO |
- |
TRANSFERRABLE: |
18.9989 ZERO |
- |
RESERVED: |
11.0010 ZERO |
- |
funding Wallet 5: Zero2
|
|
|
Wallet: |
3Xg5B1ESG3pSRPejciW5RssF4LCKGqdow8A5gdhXUPmQ8Rb2 |
DAO member |
TOTAL: |
5.9999 ZERO |
- |
TRANSFERRABLE: |
4.9989 ZERO |
- |
RESERVED: |
1.0010 ZERO |
- |
funding Wallet 6: Zero3
|
|
|
Wallet: |
3ZJca4hGtBH68dzRLajMceUVSUhyvmhPu5yLM8CazwQoM4yk |
not DAO member |
TOTAL: |
21.9999 ZERO |
- |
TRANSFERRABLE: |
21.9989 ZERO |
- |
RESERVED: |
0.0010 ZERO |
- |
Campaign created
creating the Campaign resulted in that the treasury account also had 1 ZERO (Deposit) reserved. I was the owner of the account but I dont think that i approved or signed any transaction with that account. Not sure if it works same way if I would use a treasury account which is not my wallet.
|
|
|
Wallet: |
3bM6UuZYEQjDqSdsyevEWjdRqQbDTXahvLLvvFDnsnam8bN2 |
DAO Treasury |
TOTAL: |
39.9999 ZERO |
- |
TRANSFERRABLE: |
24.9989 ZERO |
- |
LOCKED: |
0 ZERO |
- |
RESERVED: |
15.0009 ZERO |
- |
After funding each contributor had the funding amount shown as reserved in their own wallet.
Campaign funded
After the campaign runtime expired and was declared successful the funds went to the DAO treasury account and were reserved (+10.000 ZERO)
|
|
|
Wallet: |
3bM6UuZYEQjDqSdsyevEWjdRqQbDTXahvLLvvFDnsnam8bN2 |
DAO Treasury |
TOTAL: |
49.9999 ZERO |
- |
TRANSFERRABLE: |
24.9989 ZERO |
- |
LOCKED: |
0 ZERO |
- |
RESERVED: |
25.0009 ZERO |
- |
Proposal was created and Zero1 & Zero2 voted yes and the proposal was closed.
Zero3 who also funded but is not a DAO member was not able to vote.
This was logged:
gameDaoGovernance.WithdrawalGranted
Hash
0xdbe78a5958ceebd37ea12d816bfbfd2a549f6ba56d5131ec571943dfc5f2770d
Hash
0xab8534164222107b9a216ee12d80ac7dec0801b72034f0ad70ea09c8d2b1f845
Hash
0xec3ffcc4186aa7fefc00b81fd029958f90b6084d30d07e695bb655fa08f498b1
balances.Unreserved
Some balance was unreserved (moved from reserved to free). [who, value]
AccountId
INAN 2ND WALLET
3bM6UuZYEQjDqSdsyevEWjdRqQbDTXahvLLvvFDnsnam8bN2
Balance
10.0000
After the Vote was expired somehow the controller account received the funds:
|
|
|
Wallet: |
3b2qZTPzhpJkJULMtMjtL5dsiYvmfVyh15Xxg3K83UwGpCJz |
DAO Admin |
TOTAL: |
521.9196 ZERO |
- |
TRANSFERRABLE: |
359.2126 ZERO |
- |
LOCKED: |
10.0000 ZERO |
- |
RESERVED: |
152.7069 ZERO |
- |
There are now 8 ZERO more on this account even though it should at least be 9.75 ZERO (10 minus GameDAO fee)