Skip to content

Commit

Permalink
feat: initial airdrop contract (#110)
Browse files Browse the repository at this point in the history
* feat: initial airdrop contract

* create cargo config

* test: instantiate message

* remove owner from instantiate msg

* test: query functions

* test: execute functions

* feat: add manager list

* feat: implement manager list

* Create README.md

* Update contracts/airdrop/src/contract.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update contracts/airdrop/src/contract.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update contracts/airdrop/src/contract.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update contracts/airdrop/src/contract.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix error messages

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
k-yang and coderabbitai[bot] authored Jan 3, 2024
1 parent 88ae9fd commit bd792e4
Show file tree
Hide file tree
Showing 19 changed files with 1,007 additions and 59 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ yarn.lock

contracts/*/.editorconfig
packages/*/.editorconfig
lcov.info
lcov.info

.DS_Store
121 changes: 64 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ nibiru-macro = { path = "packages/nibiru-macro" }
bash-rs = { path = "packages/bash-rs" }

# deps: CosmWasm
cosmwasm-std = { version = "1.5.0", features = ["stargate"] }
cosmwasm-std = { version = "1.5.0", features = ["stargate", "staking"] }
cosmwasm-schema = "1.5.0"
cw-storage-plus = { version = "1.2.0" }
cw-multi-test = { version = "0.20.0" }
Expand Down
4 changes: 4 additions & 0 deletions contracts/airdrop/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[alias]
wasm = "build --release --target wasm32-unknown-unknown"
wasm-debug = "build --target wasm32-unknown-unknown"
schema = "run --example schema"
Loading

0 comments on commit bd792e4

Please sign in to comment.