Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmos SDK Staked Balance Voting Module #832

Draft
wants to merge 34 commits into
base: development
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0cc8ae9
started adding x/onft staking module
NoahSaso Jun 7, 2024
ac4cb9b
use omniflix-std
NoahSaso Jun 17, 2024
d261490
updated cw-multi-test to v0.20.1
NoahSaso Jun 17, 2024
ef5c855
added dao-voting-onft-staked tests
NoahSaso Jun 17, 2024
c5e6ce2
added more tests
NoahSaso Jun 17, 2024
1b344dd
removed unused errors
NoahSaso Jun 17, 2024
8fca1be
added schema
NoahSaso Jun 17, 2024
1fafcdd
added more tests
NoahSaso Jun 17, 2024
fc0bfc5
added to readme
NoahSaso Jun 17, 2024
30bd751
added missing feature flags
NoahSaso Jun 17, 2024
6b9347e
added codecov token
NoahSaso Jun 18, 2024
ba5fce5
removed unused test mocks and improved coverage
NoahSaso Jun 18, 2024
1c48e3d
added README
NoahSaso May 17, 2024
dd07793
added contract and tests
NoahSaso May 17, 2024
9618393
fixed lint errors
NoahSaso May 17, 2024
b912d74
added staking feature flag to cosmwasm-std
NoahSaso May 20, 2024
daf1f10
fixed integration tests err
NoahSaso May 20, 2024
d09dd5f
removed unnecessary error
NoahSaso May 20, 2024
2cb0ac4
added auth multitest
NoahSaso May 20, 2024
e2c39b9
removed unused MigrateMsg
NoahSaso May 20, 2024
0a9285f
fix validator integration test error
NoahSaso May 20, 2024
bf1b81c
fixed proposal creation with no pre-propose
NoahSaso May 20, 2024
c05ec5c
removed time increases
NoahSaso May 20, 2024
9b67455
lowered threshold/quorum for DAO
NoahSaso May 20, 2024
f08096e
fixed MsgGrant type
NoahSaso May 21, 2024
6368d8a
set authz expiration
NoahSaso May 21, 2024
3dafa7a
fixed timestamp type
NoahSaso May 21, 2024
d525787
convert types
NoahSaso May 21, 2024
35a867f
increase time before querying total staked, and fixed height in execu…
NoahSaso May 22, 2024
93c29ac
added custom query for total staked tokens
NoahSaso Jun 24, 2024
d94def6
support custom stargate query in tests
NoahSaso Jun 25, 2024
23e6c6f
fmt
NoahSaso Jun 25, 2024
df2cf22
updated schema
NoahSaso Jun 25, 2024
ba10e8d
fixed test tube tests
NoahSaso Jun 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added to readme
  • Loading branch information
NoahSaso committed Jun 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit fc0bfc5c7f9b474bd20eea9a05fb88310c7efd13
4 changes: 3 additions & 1 deletion contracts/voting/dao-voting-onft-staked/README.md
Original file line number Diff line number Diff line change
@@ -27,7 +27,9 @@ it), there is also a `CancelStake` action to help recover NFTs. If called by:
will be sent back if the staking contract owns them.
- the current NFT(s) owner, the preparation will be canceled, if any.
- the DAO, the preparation will be canceled (if any exists), and the NFT(s) will
be sent to the specified recipient (if the staking contract owns them).
be sent to the specified recipient (if the staking contract owns them). if no
recipient is specified but the NFT was prepared, it will be sent back to the
preparer.

The recipient field only applies when the sender is the DAO. In the other cases,
the NFT(s) will always be sent back to the sender. Note: if the NFTs were sent
Loading