Skip to content

Commit

Permalink
Merge pull request #15 from hadronlabs-org/feat/LIDO-77-distribution
Browse files Browse the repository at this point in the history
feat: LIDO-77. Distribution contract
  • Loading branch information
oldremez authored Dec 26, 2023
2 parents 50dca68 + 687b762 commit c0f0fab
Show file tree
Hide file tree
Showing 14 changed files with 891 additions and 88 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion contracts/distribution/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
authors = []
authors = ["Albert Andrejev <[email protected]>"]
description = "Contract to support staking distribution"
edition = "2021"
name = "lido-distribution"
Expand Down Expand Up @@ -28,6 +28,7 @@ prost = { workspace = true }
prost-types = { workspace = true }
protobuf = { workspace = true }
tendermint-proto = { workspace = true }
thiserror = { workspace = true }

cosmwasm-schema = { workspace = true }
cosmwasm-std = { workspace = true }
Expand All @@ -40,6 +41,7 @@ serde = { workspace = true }
serde-json-wasm = { workspace = true }

neutron-sdk = { workspace = true }
lido-staking-base = { workspace = true }

[dev-dependencies]
cosmwasm-storage = { workspace = true }
Expand Down
9 changes: 2 additions & 7 deletions contracts/distribution/src/bin/lido-distribution-schema.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
use cosmwasm_schema::write_api;
use lido_distribution::{
msg::{ExecuteMsg, InstantiateMsg, MigrateMsg},
state::QueryMsg,
};
use lido_staking_base::msg::distribution::{InstantiateMsg, QueryMsg};

fn main() {
write_api! {
instantiate: InstantiateMsg,
query: QueryMsg,
execute: ExecuteMsg,
migrate: MigrateMsg
query: QueryMsg
}
}
Loading

0 comments on commit c0f0fab

Please sign in to comment.