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

Release 0.3 with Airdrop for Shade Protocol #161

Merged
merged 225 commits into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from 206 commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
16f321a
Started porting secretcli.py into a rust equivalent
FloppyDisck Sep 5, 2021
ee670dc
Started porting secretcli.py into a rust equivalent
FloppyDisck Sep 5, 2021
8d1fafa
implemented the t_query trait
FloppyDisck Sep 5, 2021
9a98063
new contract tester in rust
FloppyDisck Sep 5, 2021
a202beb
Added handle and init traits for the tester and started implementing …
FloppyDisck Sep 6, 2021
12bdb58
Updated returned output from handle functions
FloppyDisck Sep 7, 2021
5af8534
fixed snip20 compile issue
FloppyDisck Sep 7, 2021
a1e57ad
fixed test name (#85)
DrPresident Sep 8, 2021
3fd8184
moved band initializer into the shade_protocol package
FloppyDisck Sep 10, 2021
df72276
updated mint overlook
FloppyDisck Sep 10, 2021
dac3a2f
changed initializer query structure to match the standard
FloppyDisck Sep 10, 2021
bcf89bc
added rust tester support
FloppyDisck Sep 10, 2021
c93516b
removed
FloppyDisck Sep 10, 2021
69e8784
removed unnecessary feature
FloppyDisck Sep 10, 2021
e19e399
expanded tester
FloppyDisck Sep 10, 2021
335b7d5
made the tester independent to avoid rand issues
FloppyDisck Sep 10, 2021
be04b50
this initial tester now has all the support tester.py has
FloppyDisck Sep 10, 2021
6f47762
lock files update
FloppyDisck Sep 10, 2021
9b0e95c
Added minting limits
FloppyDisck Sep 11, 2021
a61081f
added account address querying
FloppyDisck Sep 11, 2021
3413c13
updated testers
FloppyDisck Sep 11, 2021
2928880
missing serializable type
FloppyDisck Sep 12, 2021
adecb94
fixed limit bug
FloppyDisck Sep 12, 2021
c773a1c
improved tests
FloppyDisck Sep 12, 2021
0f06164
updated docs
FloppyDisck Sep 12, 2021
8000dbd
renamed contract builder
FloppyDisck Sep 12, 2021
9a30ddc
Merge pull request #87 from securesecrets/contract-tester/rust-migration
FloppyDisck Sep 12, 2021
930495e
Merge pull request #88 from securesecrets/mint/minting-cap
FloppyDisck Sep 12, 2021
03bfb86
added setting the starting epoch
FloppyDisck Sep 12, 2021
a65b15d
can now remove supported assets
FloppyDisck Sep 12, 2021
1a2239c
updated documentation
FloppyDisck Sep 12, 2021
12fa8e1
Added secondary burn mechanism for then the supported snip20 contract…
FloppyDisck Sep 12, 2021
116f39b
fixed amount bug
FloppyDisck Sep 12, 2021
8c5146b
Merge pull request #97 from securesecrets/mint/secondary-burn
FloppyDisck Sep 14, 2021
3120366
initial airdrop contract
FloppyDisck Sep 15, 2021
5c80d2c
added support for more complex rules
FloppyDisck Sep 16, 2021
aa5f7c4
moved calculation
FloppyDisck Sep 18, 2021
91a193b
Added governance to protocol
FloppyDisck Sep 23, 2021
18790d7
extended features
FloppyDisck Sep 23, 2021
8f96468
added governance contract
FloppyDisck Sep 23, 2021
5f87503
made a quick tester for governance
FloppyDisck Sep 23, 2021
d939572
Add PR template
FloppyDisck Sep 23, 2021
f961f8f
Added ability to query total proposal count in governance
FloppyDisck Sep 25, 2021
8a45c58
added a more complete tester
FloppyDisck Sep 25, 2021
12443ef
Commission renamed to capture (#101)
DrPresident Sep 28, 2021
3ed1a3c
Merge pull request #106 from securesecrets/pull-request-template
FloppyDisck Sep 28, 2021
e416958
Renamed some parts of governance
FloppyDisck Sep 28, 2021
b405fff
Removed unnecessary handle msgs
FloppyDisck Sep 28, 2021
e476578
updated testers
FloppyDisck Sep 28, 2021
73608e4
cleaned imports
FloppyDisck Oct 1, 2021
0f0f491
Merge branch 'governance/contract' into governance/improved-tests
FloppyDisck Oct 3, 2021
1cdcb91
Moved governance functions
FloppyDisck Oct 3, 2021
382adbe
cleaned up protocol files
FloppyDisck Oct 3, 2021
53b2668
moved network tester to allow running it from cargo test
FloppyDisck Oct 3, 2021
4f83ae9
fixed rand issue
FloppyDisck Oct 3, 2021
942e81e
Merge pull request #103 from securesecrets/governance/contract
FloppyDisck Oct 4, 2021
ef376e9
Merge branch 'dev' into governance/improved-tests
FloppyDisck Oct 4, 2021
5292d25
Merge pull request #109 from securesecrets/governance/improved-tests
FloppyDisck Oct 6, 2021
c6e2547
rough
Oct 6, 2021
47bf41e
Fixed issues regarding the capture refactor
FloppyDisck Oct 8, 2021
40a1eb4
Merge pull request #111 from securesecrets/tester/minor-fixes
FloppyDisck Oct 8, 2021
91a7336
added staking contract
FloppyDisck Oct 9, 2021
d1404d0
Added better integration testing for staker
FloppyDisck Oct 10, 2021
24266ff
added binary heap tester and fixed heap comparator
FloppyDisck Oct 10, 2021
5c2821d
Merge branch 'dev' into airdrop/contract
FloppyDisck Oct 10, 2021
dfa2a74
Updated airdrop contract and added its tester
FloppyDisck Oct 10, 2021
e19f1f4
renamed some things
Oct 11, 2021
4b4c7e1
Added voting to governance / staking
FloppyDisck Oct 11, 2021
771a9b1
added ability to use governance without staker
FloppyDisck Oct 12, 2021
ad614bb
Shade protocol tool (#99)
DrPresident Oct 13, 2021
3c7dfb7
building
Oct 14, 2021
a35f30a
switch snip20 to permit branch
Oct 14, 2021
e2939e9
mocked up treasury interface, building, needs testing
Oct 14, 2021
c7bf0a3
added scrt_staking to makefile
Oct 14, 2021
d47eab9
updated toml
Oct 14, 2021
3c81396
fixed variable naming
FloppyDisck Oct 16, 2021
47e4f09
fixed variable naming
FloppyDisck Oct 16, 2021
414ce65
Merge pull request #115 from securesecrets/staking/initial-contract
FloppyDisck Oct 16, 2021
97e22b2
Merge branch 'dev' into airdrop/contract
FloppyDisck Oct 16, 2021
dea83cf
fixed weird merge issue
FloppyDisck Oct 16, 2021
af69024
Merge remote-tracking branch 'origin/dev' into governance/voting
FloppyDisck Oct 17, 2021
f493439
fixed contract logic
FloppyDisck Oct 19, 2021
e34b9f8
expanded tests
FloppyDisck Oct 19, 2021
b0534d9
added untested staking function
FloppyDisck Oct 20, 2021
3656dc6
Merge pull request #116 from securesecrets/airdrop/contract
FloppyDisck Oct 20, 2021
54e151e
Merge remote-tracking branch 'origin/dev' into governance/voting
FloppyDisck Oct 20, 2021
7c69763
cleaning up
FloppyDisck Oct 20, 2021
2239a0a
basic sending/staking working, needs collection/undbonding testing
Oct 21, 2021
dd07856
Merge remote-tracking branch 'origin/dev' into sscrt_staking
Oct 21, 2021
9c780e1
working for staking and unbonding, need claim testing & unit tests
Oct 22, 2021
3504bfc
rm cargo lock
Oct 22, 2021
f410bf0
added headings for readme
Oct 22, 2021
8a4ed79
Merge pull request #119 from securesecrets/governance/voting
FloppyDisck Oct 23, 2021
9b99f58
added shares to staking to allow for easier value distribution
FloppyDisck Oct 23, 2021
cbb1712
add doc2book tool with tests
Oct 21, 2021
de8af48
Added viewing keys and improved how staking works and is queried
FloppyDisck Oct 24, 2021
da1f724
Added support for airdrop task completion
FloppyDisck Oct 24, 2021
d08dd68
made enum more clear
FloppyDisck Oct 26, 2021
145d912
added constants for contract file names
FloppyDisck Oct 26, 2021
40bcaf1
added tests
FloppyDisck Oct 26, 2021
983a836
removed unused and reorganized
Oct 27, 2021
453eea1
admin only unbond
Oct 27, 2021
730100a
fixed goof
Oct 27, 2021
57a7bfa
owner to admin
Oct 27, 2021
a8c4823
replaced match
FloppyDisck Oct 30, 2021
81d351b
fixed total stake logic error
FloppyDisck Oct 30, 2021
c384301
Merge pull request #120 from securesecrets/sscrt_staking
FloppyDisck Oct 30, 2021
261b4c6
improvements
FloppyDisck Nov 1, 2021
05eabc3
Merge pull request #125 from securesecrets/shd-stake/rewards-distribu…
FloppyDisck Nov 1, 2021
b731a7e
Updated micro_mint documentation
FloppyDisck Nov 1, 2021
03a738a
minor fix
FloppyDisck Nov 1, 2021
3c2d1be
added documentation for initializer
FloppyDisck Nov 1, 2021
deb1b00
add airdrop documentation
FloppyDisck Nov 2, 2021
877aaff
Finally remembered to update this
FloppyDisck Nov 3, 2021
87998c2
Optimized proposal storage and prepared for funding implementation
FloppyDisck Nov 3, 2021
dfd6fbf
added a temporary custom toolkit
FloppyDisck Nov 4, 2021
aa7efaf
added funding period
FloppyDisck Nov 4, 2021
1b1e17d
added funding expiration tests
FloppyDisck Nov 4, 2021
8a75aad
removed unnecessary clone
FloppyDisck Nov 4, 2021
f75364d
Merge pull request #123 from chris-ricketts/doc2book
mohammedpatla Nov 10, 2021
47ee8b2
Warning cleanup (#134)
DrPresident Nov 10, 2021
619eea0
Merge branch 'dev' into airdrop/completion-flags
FloppyDisck Nov 16, 2021
9eb0acf
merged to dev
FloppyDisck Nov 16, 2021
d14742a
Merge pull request #127 from securesecrets/airdrop/completion-flags
FloppyDisck Nov 16, 2021
9e47e6a
Merge branch 'dev' into governance/pre-voting
FloppyDisck Nov 16, 2021
d54ae88
merged to dev
FloppyDisck Nov 16, 2021
1296770
Merge branch 'dev' into governance/pre-voting
FloppyDisck Nov 16, 2021
2ccbe79
Merge pull request #133 from securesecrets/governance/pre-voting
FloppyDisck Nov 16, 2021
7a9962c
fixed potential amount precision errors
FloppyDisck Nov 19, 2021
4e003bf
Replaced minting with sending
FloppyDisck Nov 20, 2021
57d5919
removed unused file
FloppyDisck Nov 20, 2021
c5d3ba4
Expanded queries
FloppyDisck Nov 20, 2021
cf6eb37
Can now dump to treasury; fixed bug with total sent tokens
FloppyDisck Nov 20, 2021
76ff676
moved send
FloppyDisck Nov 23, 2021
a730bdb
Merge pull request #138 from securesecrets/airdrop/minor-tweaks
FloppyDisck Nov 23, 2021
43d82e1
Restructured libraries
FloppyDisck Nov 28, 2021
91aaaaf
TX signatures
FloppyDisck Nov 28, 2021
de654c2
Fixed trait issues
FloppyDisck Nov 29, 2021
fc7dd89
Added tests and extended functionality
FloppyDisck Nov 29, 2021
310e265
added permits to airdrop
FloppyDisck Dec 1, 2021
793bd90
changed new for default
FloppyDisck Dec 1, 2021
1675e87
Improved permit security
FloppyDisck Dec 2, 2021
c668c04
updated to secretcli version 1.2.2
FloppyDisck Dec 2, 2021
e9ea97f
fixed query amounts bug
FloppyDisck Dec 2, 2021
cda9929
added new airdrop tests
FloppyDisck Dec 2, 2021
4142646
added decay and revoked permit tests
FloppyDisck Dec 4, 2021
f3d80da
airdrop list is now uploaded in chunks
FloppyDisck Dec 6, 2021
de35976
improved how some types are handled for reduced init gas costs
FloppyDisck Dec 6, 2021
73b506a
Oracle index (#143)
DrPresident Dec 14, 2021
dabb904
Added merkle tree verification to avoid uploading the airdrop data
FloppyDisck Dec 15, 2021
77abdc7
updated tests
FloppyDisck Dec 15, 2021
48f14d4
Merge branch 'dev' into documentation/contract-updates
FloppyDisck Dec 15, 2021
747d3ea
Merge pull request #132 from securesecrets/documentation/contract-upd…
FloppyDisck Dec 15, 2021
03cddb1
Merge branch 'dev' into airdrop/merkle-trees
FloppyDisck Dec 15, 2021
e2fc8ac
updated documentation
FloppyDisck Dec 15, 2021
8e606c5
changed from strings to binary to avoid redundancy in code
FloppyDisck Dec 15, 2021
ed47ff1
fixed docs
FloppyDisck Dec 15, 2021
dc03306
airdrop availability errors are more verbose
FloppyDisck Dec 16, 2021
4947eda
Merge pull request #141 from securesecrets/airdrop/account-permits
FloppyDisck Dec 16, 2021
e2a5b62
[governance] Query proposals by status
LasTshaMAN Dec 16, 2021
9739d4b
Rename fn param to better reflect what fn does
LasTshaMAN Dec 16, 2021
f660668
fixed possible date collisions
FloppyDisck Dec 19, 2021
745d1a1
added decay calculation
FloppyDisck Dec 19, 2021
d4a5ad0
Merge pull request #144 from LasTshaMAN/governance-query-proposal-by-…
FloppyDisck Dec 19, 2021
6bb21ff
added unit test for the decay multiplier
FloppyDisck Dec 19, 2021
336d1d3
Merge branch 'dev' into airdrop/merkle-trees
FloppyDisck Dec 19, 2021
ba08a5a
improved comments
FloppyDisck Dec 19, 2021
c7f9243
Merge pull request #145 from securesecrets/airdrop/merkle-trees
FloppyDisck Dec 19, 2021
31b0665
Merge branch 'dev' into airdrop/decay
FloppyDisck Dec 20, 2021
37f9936
added time based decay, improved some db redundancies and account now…
FloppyDisck Dec 20, 2021
ba60746
testing inverse normalized function
FloppyDisck Dec 20, 2021
f2d5ada
updated tests and improved how delays work
FloppyDisck Dec 20, 2021
9d1fe9b
improved ux
FloppyDisck Dec 20, 2021
f65c4a6
updated tests
FloppyDisck Dec 20, 2021
adbf7d4
updated docs
FloppyDisck Dec 20, 2021
b2a1900
cleaned up imports
FloppyDisck Dec 20, 2021
47971f6
updated docs
FloppyDisck Dec 20, 2021
2e46a3a
Merge pull request #150 from securesecrets/airdrop/decay
FloppyDisck Dec 22, 2021
cb910a6
accounts now use their own permit
FloppyDisck Dec 22, 2021
1df559e
updated docs
FloppyDisck Dec 22, 2021
b23174c
Merge pull request #151 from securesecrets/documentation/main_doc
FloppyDisck Dec 22, 2021
83989d5
Make format cmd
LasTshaMAN Dec 21, 2021
2fb6fa9
Use single rustfmt.toml configuraiton for Shade repo
LasTshaMAN Dec 21, 2021
c338076
Update max_width setting to fit on smaller screens
LasTshaMAN Dec 21, 2021
2f08b41
Leave cargo fix out of make format
LasTshaMAN Dec 22, 2021
0fe97b2
[oracle] Unregister Secret Swap pair (#149)
LasTshaMAN Dec 30, 2021
545994c
cross network permits
FloppyDisck Dec 30, 2021
d38e13d
airdrop testnet deployment script
FloppyDisck Dec 30, 2021
5adbe43
code cleanup
FloppyDisck Dec 30, 2021
65bc61e
Merge pull request #153 from LasTshaMAN/make-format-cmd
FloppyDisck Dec 30, 2021
42965e3
Merge pull request #154 from securesecrets/airdrop/permit_fixes
FloppyDisck Jan 4, 2022
c7baf33
migrated permits
FloppyDisck Jan 4, 2022
2407902
Merge pull request #156 from securesecrets/permits/use-new-repo
FloppyDisck Jan 7, 2022
8c725af
Merge pull request #155 from securesecrets/airdrop/testnet_deploy
FloppyDisck Jan 7, 2022
0aa48c3
Contract improvements
FloppyDisck Jan 7, 2022
97dbf0d
Merge pull request #157 from securesecrets/airdrop/bug-fixes
FloppyDisck Jan 7, 2022
37ac9a4
added more privacy for total amount queries
FloppyDisck Jan 7, 2022
311ddbf
added temp uint math functions
FloppyDisck Jan 7, 2022
7d1f166
fixed submodules
FloppyDisck Jan 8, 2022
6b48949
Merge pull request #158 from securesecrets/airdrop/query-protection
FloppyDisck Jan 8, 2022
fbf9caa
added multiple build targets
FloppyDisck Jan 9, 2022
13cfa65
added docker setup
FloppyDisck Jan 9, 2022
27e3336
improved documentation
FloppyDisck Jan 9, 2022
021f471
added unit testing
FloppyDisck Jan 9, 2022
d3e36ad
Merge pull request #160 from securesecrets/makefile-improvements
FloppyDisck Jan 10, 2022
5663ea2
removed some unused stuff (#159)
DrPresident Jan 11, 2022
41076db
Creat a Code Of Conduct
mohammedpatla Jan 13, 2022
c1171ba
ran cargo check and clippy
FloppyDisck Jan 15, 2022
94d27ca
formatted
FloppyDisck Jan 15, 2022
80ff7cf
minor cleanup
FloppyDisck Jan 15, 2022
e27b719
added padding
FloppyDisck Jan 15, 2022
f5b6af2
updated tests
FloppyDisck Jan 15, 2022
7e846e4
fixed command size check
FloppyDisck Jan 15, 2022
98806b0
Merge branch 'code-cleanup' into airdrop/improved-privacy
FloppyDisck Jan 15, 2022
c5f5bfb
fixed privacy leak
FloppyDisck Jan 15, 2022
479f7c0
updated documentation
FloppyDisck Jan 15, 2022
de83ad3
fixed
Jan 17, 2022
3935fb3
Merge pull request #164 from securesecrets/airdrop/improved-privacy
FloppyDisck Jan 17, 2022
cd5e74d
enigmampc -> scrtlabs
Jan 17, 2022
55dcac5
switched dependencies for secret stuff
Jan 17, 2022
fb5ff9c
reverted cosmwasm-schema
Jan 17, 2022
1dd88cd
Update dependencies (#166)
DrPresident Jan 17, 2022
29acb70
Merge pull request #163 from securesecrets/code-cleanup
FloppyDisck Jan 17, 2022
b8316cf
Merge branch 'dev' into add-code-of-conduct-1-1
FloppyDisck Jan 17, 2022
b17cec2
Merge pull request #162 from securesecrets/add-code-of-conduct-1-1
FloppyDisck Jan 17, 2022
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
20 changes: 20 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!-- NOTE: Listed items are examples and should be removed when making a PR -->

# Description
<!-- Quick description of what this PR achieves -->

<!-- If it tackles any issue use something like - Fixes # (issue) -->

## Notable changes

<!-- List what the notable changes are -->

- Lowered gas price on contract handle
- Added new contract query

## Next steps

<!-- Following this PR what things need to be done -->

- Documentation should be updated for query
- More tests to calculate gas price
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ contracts/hackatom/hash.txt
__pycache__/
compiled
logs
Cargo.lock
3 changes: 2 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "contracts/snip20"]
path = contracts/snip20
url = [email protected]:enigmampc/snip20-reference-impl.git
url = https://github.com/scrtlabs/snip20-reference-impl.git
branch = master
Loading