9285aaf487
* removed sealed impl of serde for tx::Fee * further upgraded cosmwasm to 1.3.0 * wip * created schema for mixnet contract * updated return type of 'GetBondedMixnodeDetailsByIdentity' query * fixed imported version of serde_json_wasm * updated return type of 'GetFamilyByHead' query * updated return type of 'GetFamilyByLabel' query * updated return type of 'GetFamilyMembersByHead' and 'GetFamilyMembersByLabel' queries * fixed broken tests due to type changes * added support for GetFamilyMembersByLabel and GetFamilyMembersByHead queries in 'mixnet_query_client' * moved 'Account' and 'VestingContractError' to common crate * created schema for vesting contract * Added documentation for all query messages in the vesting contract * improved mixnet contract schema by adding documentation to all query types * feature-locking cw2 import * created schema for the name service contract * created schema for the service provider directory contract * created schema for the coconut bandwidth contract * created schema for the coconut dkg contract * created schema for the coconut cw4 group contract * created schema for the coconut cw3 multisig contract * fixed missing import and adjusted makefile * cargo fmt * clippy * adjusted contract CI to build with --lib flag * missing --lib flag in the makefile * updated lock files * makefile for generating the schemas * added github action to check for schema difference * adding missing step to checkout the repo
55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[package]
|
|
name = "nym-vesting-contract"
|
|
version = "1.4.0"
|
|
description = "Nym vesting contract"
|
|
edition = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
readme = "README.md"
|
|
|
|
exclude = [
|
|
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication.
|
|
"contract.wasm",
|
|
"hash.txt",
|
|
"artifacts",
|
|
]
|
|
|
|
[[bin]]
|
|
name = "schema"
|
|
required-features = ["schema-gen"]
|
|
|
|
[lib]
|
|
name = "vesting_contract"
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
mixnet-contract-common = { path = "../../common/cosmwasm-smart-contracts/mixnet-contract", package = "nym-mixnet-contract-common", version = "0.6.0" }
|
|
contracts-common = { path = "../../common/cosmwasm-smart-contracts/contracts-common", package = "nym-contracts-common", version = "0.5.0" }
|
|
vesting-contract-common = { path = "../../common/cosmwasm-smart-contracts/vesting-contract", package = "nym-vesting-contract-common", version = "0.7.0" }
|
|
|
|
cosmwasm-schema = { workspace = true, optional = true }
|
|
cosmwasm-std = { workspace = true }
|
|
cosmwasm-derive = { workspace = true }
|
|
cw2 = { workspace = true }
|
|
cw-storage-plus = { workspace = true, features = ["iterator"] }
|
|
|
|
serde = { version = "1.0", default-features = false, features = ["derive"] }
|
|
thiserror = { version = "1.0" }
|
|
semver = { version = "1.0.16", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
rand_chacha = "0.3.1"
|
|
base64 = "0.21.0"
|
|
hex = "0.4.3"
|
|
serde_json = "1.0.66"
|
|
cosmwasm-crypto = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
vergen = { version = "=7.4.3", default-features = false, features = ["build", "git", "rustc"] }
|
|
|
|
[profile.release]
|
|
overflow-checks = true
|
|
|
|
[features]
|
|
schema-gen = ["vesting-contract-common/schema", "cosmwasm-schema"] |