Skip to content

Commit

Permalink
snip20-stake dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-1857 committed Jan 3, 2024
1 parent fe17925 commit c4a3124
Show file tree
Hide file tree
Showing 131 changed files with 32,727 additions and 1,198 deletions.
5,239 changes: 4,482 additions & 757 deletions Cargo.lock

Large diffs are not rendered by default.

183 changes: 97 additions & 86 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ members = [
# "./contracts/external/*",
# "./contracts/proposal/*",
# "./contracts/pre-propose/*",
"./contracts/staking/cw20-stake",
"./contracts/staking/*",
# "./contracts/test/*",
# "./contracts/voting/*",
# "./packages/*",

"./packages/*",
"./dummy/"

# "ci/*",
]
resolver = "2"
Expand All @@ -36,108 +37,118 @@ overflow-checks = true
[workspace.dependencies]
anyhow = { version = "1.0" }
assert_matches = "1.5"
# cosm-orc = { version = "4.0" }
# cosm-tome = "0.2"
# cosmos-sdk-proto = "0.19"
cosmwasm-schema = { version = "1.2" }
# cosmwasm-storage = { version = "1.2" }
# cw-controllers = "1.1"
# cw-multi-test = "0.18"
# cw-storage-plus = { version = "1.1" }
# cw-utils = "1.0"
# cw2 = "1.1"
# cw20 = "1.1"
# cw20-base = "1.1"
# cw3 = "1.1"
# cw4 = "1.1"
# cw4-group = "1.1"
# cw721 = "0.18"
# cw721-base = "0.18"
# env_logger = "0.10"
# once_cell = "1.18"
osmosis-std = {path="./packages/osmosis-std-0.21.0/"}
osmosis-std-derive = {path="./packages/osmosis-std-derive-0.20.1/"}
osmosis-test-tube = {path="./packages/osmosis-test-tube-20.1.2/"}
cosm-orc = { version = "4.0" }
cosm-tome = "0.2"
cosmos-sdk-proto = "0.19"
# cosmwasm-schema = { version = "1.1.11", git = "https://github.com/scrtlabs/cosmwasm" }
cw-controllers = "1.1"
cw-multi-test = "0.18"
cw-storage-plus = { version = "1.1" }
cw-utils = "1.0"
cw2 = "1.1"
cw20 = "1.1"
cw20-base = "1.1"
cw3 = "1.1"
cw4 = "1.1"
cw4-group = "1.1"
cw721 = "0.18"
cw721-base = "0.18"
env_logger = "0.10"
once_cell = "1.18"
osmosis-std = { path = "./packages/osmosis-std-0.21.0/" }
osmosis-std-derive = { path = "./packages/osmosis-std-derive-0.20.1/" }
osmosis-test-tube = { path = "./packages/osmosis-test-tube-20.1.2/" }
# osmosis-std = "0.20.1"
# osmosis-std-derive = "0.20.1"
# osmosis-test-tube = "20.1.1"
proc-macro2 = "1.0"
# prost = { version = "0.12.3", features = ["prost-derive"] }
# prost-types = { version = "0.12.3", default-features = false }
prost = { version = "0.12.3", features = ["prost-derive"] }
prost-types = { version = "0.12.3", default-features = false }
quote = "1.0"
# rand = "0.8"
rand = "0.8"
# schemars = "0.8"
serde = { version = "1.0", default-features = false, features = ["derive"] }
# serde-cw-value = "0.7"
# serde_json = "1.0"
# serde_yaml = "0.9"
# sg-multi-test = "3.1.0"
# sg-std = "3.1.0"
# sg721 = "3.1.0"
# sg721-base = "3.1.0"
# serde = { version = "1.0", default-features = false, features = ["derive"] }
serde-cw-value = "0.7"
serde_json = "1.0"
serde_yaml = "0.9"
sg-multi-test = "3.1.0"
sg-std = "3.1.0"
sg721 = "3.1.0"
sg721-base = "3.1.0"
syn = { version = "1.0", features = ["derive"] }
# test-context = "0.1"
thiserror = { version = "1.0" }
# wynd-utils = "0.4"
test-context = "0.1"
# thiserror = { version = "1.0" }
wynd-utils = "0.4"

# One commit ahead of version 0.3.0. Allows initialization with an
# optional owner.
cw-ownable = { path="./packages/cw-ownable-0.5.1/"}
cw-ownable = { path = "./packages/cw-ownable-0.5.1/" }
# cw-ownable = "0.5"

# cw-admin-factory = { path = "./contracts/external/cw-admin-factory", version = "2.4.0" }

cw-admin-factory = { path = "./contracts/external/cw-admin-factory", version = "2.4.0" }
cw-denom = { path = "./packages/cw-denom", version = "2.4.0" }
cw-hooks = { path = "./packages/cw-hooks", version = "2.4.0" }
cw-paginate-storage = { path = "./packages/cw-paginate-storage", version = "2.4.0" }
# cw-payroll-factory = { path = "./contracts/external/cw-payroll-factory", version = "2.4.0" }
# cw-stake-tracker = { path = "./packages/cw-stake-tracker", version = "2.4.0" }
# cw-tokenfactory-issuer = { path = "./contracts/external/cw-tokenfactory-issuer", version = "2.4.0" }
# cw-tokenfactory-types = { path = "./packages/cw-tokenfactory-types", version = "2.4.0", default-features = false }
# cw-vesting = { path = "./contracts/external/cw-vesting", version = "2.4.0" }
# cw-wormhole = { path = "./packages/cw-wormhole", version = "2.4.0" }
cw-payroll-factory = { path = "./contracts/external/cw-payroll-factory", version = "2.4.0" }
cw-stake-tracker = { path = "./packages/cw-stake-tracker", version = "2.4.0" }
cw-tokenfactory-issuer = { path = "./contracts/external/cw-tokenfactory-issuer", version = "2.4.0" }
cw-tokenfactory-types = { path = "./packages/cw-tokenfactory-types", version = "2.4.0", default-features = false }
cw-vesting = { path = "./contracts/external/cw-vesting", version = "2.4.0" }
cw-wormhole = { path = "./packages/cw-wormhole", version = "2.4.0" }
cw20-stake = { path = "./contracts/staking/cw20-stake", version = "2.4.0" }
# cw721-controllers = { path = "./packages/cw721-controllers", version = "2.4.0" }
# cw721-roles = { path = "./contracts/external/cw721-roles", version = "2.4.0" }
# dao-cw721-extensions = { path = "./packages/dao-cw721-extensions", version = "2.4.0" }
# dao-dao-core = { path = "./contracts/dao-dao-core", version = "2.4.0" }
cw721-controllers = { path = "./packages/cw721-controllers", version = "2.4.0" }
cw721-roles = { path = "./contracts/external/cw721-roles", version = "2.4.0" }
dao-cw721-extensions = { path = "./packages/dao-cw721-extensions", version = "2.4.0" }
dao-dao-core = { path = "./contracts/dao-dao-core", version = "2.4.0" }
dao-dao-macros = { path = "./packages/dao-dao-macros", version = "2.4.0" }
dao-hooks = { path = "./packages/dao-hooks", version = "2.4.0" }
dao-interface = { path = "./packages/dao-interface", version = "2.4.0" }
# dao-pre-propose-approval-single = { path = "./contracts/pre-propose/dao-pre-propose-approval-single", version = "2.4.0" }
# dao-pre-propose-approver = { path = "./contracts/pre-propose/dao-pre-propose-approver", version = "2.4.0" }
dao-pre-propose-approval-single = { path = "./contracts/pre-propose/dao-pre-propose-approval-single", version = "2.4.0" }
dao-pre-propose-approver = { path = "./contracts/pre-propose/dao-pre-propose-approver", version = "2.4.0" }
dao-pre-propose-base = { path = "./packages/dao-pre-propose-base", version = "2.4.0" }
# dao-pre-propose-multiple = { path = "./contracts/pre-propose/dao-pre-propose-multiple", version = "2.4.0" }
# dao-pre-propose-single = { path = "./contracts/pre-propose/dao-pre-propose-single", version = "2.4.0" }
# dao-proposal-condorcet = { path = "./contracts/proposal/dao-proposal-condorcet", version = "2.4.0" }
# dao-proposal-hook-counter = { path = "./contracts/test/dao-proposal-hook-counter", version = "2.4.0" }
# dao-proposal-multiple = { path = "./contracts/proposal/dao-proposal-multiple", version = "2.4.0" }
# dao-proposal-single = { path = "./contracts/proposal/dao-proposal-single", version = "2.4.0" }
# dao-proposal-sudo = { path = "./contracts/test/dao-proposal-sudo", version = "2.4.0" }
# dao-test-custom-factory = { path = "./contracts/test/dao-test-custom-factory", version = "2.4.0" }
# dao-testing = { path = "./packages/dao-testing", version = "2.4.0" }
dao-pre-propose-multiple = { path = "./contracts/pre-propose/dao-pre-propose-multiple", version = "2.4.0" }
dao-pre-propose-single = { path = "./contracts/pre-propose/dao-pre-propose-single", version = "2.4.0" }
dao-proposal-condorcet = { path = "./contracts/proposal/dao-proposal-condorcet", version = "2.4.0" }
dao-proposal-hook-counter = { path = "./contracts/test/dao-proposal-hook-counter", version = "2.4.0" }
dao-proposal-multiple = { path = "./contracts/proposal/dao-proposal-multiple", version = "2.4.0" }
dao-proposal-single = { path = "./contracts/proposal/dao-proposal-single", version = "2.4.0" }
dao-proposal-sudo = { path = "./contracts/test/dao-proposal-sudo", version = "2.4.0" }
dao-test-custom-factory = { path = "./contracts/test/dao-test-custom-factory", version = "2.4.0" }
dao-testing = { path = "./packages/dao-testing", version = "2.4.0" }
dao-voting = { path = "./packages/dao-voting", version = "2.4.0" }
# dao-voting-cw20-balance = { path = "./contracts/test/dao-voting-cw20-balance", version = "2.4.0" }
# dao-voting-cw20-staked = { path = "./contracts/voting/dao-voting-cw20-staked", version = "2.4.0" }
# dao-voting-cw4 = { path = "./contracts/voting/dao-voting-cw4", version = "2.4.0" }
# dao-voting-cw721-roles = { path = "./contracts/voting/dao-voting-cw721-roles", version = "2.4.0" }
# dao-voting-cw721-staked = { path = "./contracts/voting/dao-voting-cw721-staked", version = "2.4.0" }
# dao-voting-token-staked = { path = "./contracts/voting/dao-voting-token-staked", version = "2.4.0" }
dao-voting-cw20-balance = { path = "./contracts/test/dao-voting-cw20-balance", version = "2.4.0" }
dao-voting-cw20-staked = { path = "./contracts/voting/dao-voting-cw20-staked", version = "2.4.0" }
dao-voting-cw4 = { path = "./contracts/voting/dao-voting-cw4", version = "2.4.0" }
dao-voting-cw721-roles = { path = "./contracts/voting/dao-voting-cw721-roles", version = "2.4.0" }
dao-voting-cw721-staked = { path = "./contracts/voting/dao-voting-cw721-staked", version = "2.4.0" }
dao-voting-token-staked = { path = "./contracts/voting/dao-voting-token-staked", version = "2.4.0" }

# v1 dependencies. used for state migrations.
# cw-core-v1 = { package = "cw-core", version = "0.1.0" }
# cw-proposal-single-v1 = { package = "cw-proposal-single", version = "0.1.0" }
# cw-utils-v1 = { package = "cw-utils", version = "0.13" }
# cw20-stake-external-rewards-v1 = { package = "stake-cw20-external-rewards", version = "0.2.6" }
# cw20-stake-reward-distributor-v1 = { package = "stake-cw20-reward-distributor", version = "0.1.0" }
# cw20-stake-v1 = { package = "cw20-stake", version = "0.2.6" }
# cw20-staked-balance-voting-v1 = { package = "cw20-staked-balance-voting", version = "0.1.0" }
# cw4-voting-v1 = { package = "cw4-voting", version = "0.1.0" }
# stake-cw20-v03 = { package = "stake-cw20", version = "0.2.6" }
# voting-v1 = { package = "dao-voting", version = "0.1.0" }
cw-core-v1 = { package = "cw-core", version = "0.1.0" }
cw-proposal-single-v1 = { package = "cw-proposal-single", version = "0.1.0" }
cw-utils-v1 = { package = "cw-utils", version = "0.13" }
cw20-stake-external-rewards-v1 = { package = "stake-cw20-external-rewards", version = "0.2.6" }
cw20-stake-reward-distributor-v1 = { package = "stake-cw20-reward-distributor", version = "0.1.0" }
cw20-stake-v1 = { package = "cw20-stake", version = "0.2.6" }
cw20-staked-balance-voting-v1 = { package = "cw20-staked-balance-voting", version = "0.1.0" }
cw4-voting-v1 = { package = "cw4-voting", version = "0.1.0" }
stake-cw20-v03 = { package = "stake-cw20", version = "0.2.6" }
voting-v1 = { package = "dao-voting", version = "0.1.0" }


# cosmwasm-storage = { version = "1.1.11", package = "secret-cosmwasm-storage",features = ["iterator"] }
secret-utils = { git = "https://github.com/securesecrets/secret-plus-utils", version = "0.13.4"}
cosmwasm-std = { version = "1.1.11", package = "secret-cosmwasm-std"}
secret-toolkit = {version="0.10.0",features = ["viewing-key"]}
# cosmwasm-storage = { version = "1.1.11", package = "secret-cosmwasm-storage", default-features = false }
secret-utils = { path="./packages/utils/"}
# cosmwasm-std = { version = "1.1.11", package = "secret-cosmwasm-std", default-features = false }
secret-toolkit = { git = "https://github.com/scrtlabs/secret-toolkit", tag = "v0.8.0",features = ["viewing-key"] }
secret-storage-plus = { path = "./packages/storage-plus/"}
secret-cw-controllers = { path = "./packages/controllers/"}
secret-cw2 = { path="./packages/cw2/" }
secret-multi-test = {path = "./packages/multi-test/"}

secret-storage-plus = { git = "https://github.com/securesecrets/secret-plus-utils", version = "0.13.4" }
secret-cw-controllers = { git = "https://github.com/securesecrets/secret-plus-utils" }
secret-cw2 = { git = "https://github.com/securesecrets/secret-plus-utils" }
secret-multi-test = { git = "https://github.com/securesecrets/secret-plus-utils", version = "0.13.4"}
cosmwasm-std = { git = "https://github.com/scrtlabs/cosmwasm", tag = "v1.1.9-secret" }
cosmwasm-storage = { git = "https://github.com/scrtlabs/cosmwasm", tag = "v1.1.9-secret" }
schemars = { version = "0.8.11" }
serde = { version = "1.0" }
thiserror = { version = "1.0" }
cosmwasm-schema = "1.0.0"
15 changes: 8 additions & 7 deletions contracts/staking/cw20-stake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,24 @@ backtraces = ["cosmwasm-std/backtraces"]
library = []

[dependencies]
# cosmwasm-storage = { workspace = true }
cosmwasm-storage = { workspace = true }
cosmwasm-schema = { workspace = true }
serde={workspace=true}
schemars={ workspace=true }
cw-hooks = { workspace = true }
thiserror = { workspace = true }
cw-paginate-storage = { workspace = true }
cw-ownable = { workspace = true }
dao-hooks = { workspace = true }
dao-voting = { workspace = true }

# cw20-stake-v1 = { workspace = true, features = ["library"] }
# cw-utils-v1 = { workspace = true }
cw20-stake-v1 = { workspace = true, features = ["library"] }
cw-utils-v1 = { workspace = true }

secret-utils = { workspace = true }
cosmwasm-std ={ workspace = true }
cosmwasm-storage = { version = "1.0.0", package = "secret-cosmwasm-storage",features = ["iterator"]}
secret-toolkit = { workspace = true }
secret-storage-plus = { workspace = true }
cosmwasm-std = { workspace = true, default-features = false }
secret-toolkit = { workspace = true, default-features = false }
secret-storage-plus = { workspace = true, default-features = false }
secret-cw-controllers = { workspace = true }
secret-cw2 = { workspace = true }

Expand Down
Loading

0 comments on commit c4a3124

Please sign in to comment.