Skip to content

Commit

Permalink
commit base
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Jan 29, 2024
1 parent c73552b commit 4ddeeae
Show file tree
Hide file tree
Showing 55 changed files with 8,313 additions and 24 deletions.
67 changes: 59 additions & 8 deletions Cargo.lock

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

6 changes: 6 additions & 0 deletions contracts/vesting-lp-pcl/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[alias]
wasm = "build --release --target wasm32-unknown-unknown"
wasm-debug = "build --target wasm32-unknown-unknown"
unit-test = "test --lib"
integration-test = "test --test integration"
schema = "run --example vesting-lp_schema"
28 changes: 28 additions & 0 deletions contracts/vesting-lp-pcl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[package]
name = "vesting-lp"
version = "1.1.0"
authors = ["Neutron"]
edition = "2021"
description = "Vesting contract with a voting capabilities. Provides queries to get the amount of tokens are being held by user at certain height."

[lib]
crate-type = ["cdylib", "rlib"]

[features]
# for more explicit tests, cargo test --features=backtraces
backtraces = ["cosmwasm-std/backtraces"]
# use library feature to disable all init/handle/query exports
library = []

[dependencies]
cw2 = { workspace = true }
cw20 = { workspace = true }
astroport = { workspace = true }
vesting-base = { workspace = true }
cosmwasm-schema = { workspace = true }
cosmwasm-std = { workspace = true }

[dev-dependencies]
cw-multi-test = { workspace = true }
astroport-token = {git = "https://github.com/astroport-fi/astroport-core.git", rev = "65ce7d1879cc5d95b09fa14202f0423bba52ae0e" }
cw-utils = "0.15"
12 changes: 12 additions & 0 deletions contracts/vesting-lp-pcl/examples/vesting-lp_schema.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
use cosmwasm_schema::write_api;
use vesting_base::msg::{ExecuteMsg, MigrateMsg, QueryMsg};
use vesting_lp::msg::InstantiateMsg;

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

0 comments on commit 4ddeeae

Please sign in to comment.