b30f680549
* Remove eager operator and delegator rewarding * Add mixnodes snapshoting * Add Intervals map, getter and setter * Refactor reward params * Refactor MixnodeToReward * Persist node reward params and results on chain * Update cw-storage-plus to 0.12.1 * Refactor delegation storage * Compound delegator reward command * Compound delegator reward command * Add defered delegate and undelegate * Compound on behalf command * Scale calculations to epoch * Rename interval -> epoch where practical * Store epochs on chain * Cleanup first pass * Adapt reporting to lazy rewarding * make clippy --all
26 lines
848 B
TOML
26 lines
848 B
TOML
[package]
|
|
name = "vesting-contract"
|
|
version = "0.1.0"
|
|
authors = ["Drazen Urch <durch@users.noreply.github.com>"]
|
|
edition = "2021"
|
|
|
|
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",
|
|
]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
mixnet-contract-common = { path = "../../common/cosmwasm-smart-contracts/mixnet-contract" }
|
|
vesting-contract-common = { path = "../../common/cosmwasm-smart-contracts/vesting-contract" }
|
|
config = { path = "../../common/config" }
|
|
|
|
cosmwasm-std = { version = "1.0.0-beta4"}
|
|
cw-storage-plus = { version = "0.12.1", features = ["iterator"] }
|
|
|
|
schemars = "0.8"
|
|
serde = { version = "1.0", default-features = false, features = ["derive"] }
|
|
thiserror = { version = "1.0" } |