Skip to content

Commit

Permalink
external contracts added
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-1857 committed Apr 4, 2024
1 parent 2737344 commit 1f45877
Show file tree
Hide file tree
Showing 14 changed files with 429 additions and 272 deletions.
21 changes: 21 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ members = [
"./contracts/external/cw-vesting/",
"./contracts/external/cw-token-swap/",
"./contracts/external/dao-migrator/",
"./contracts/external/cw-payroll-factory/",
"./contracts/proposal/*",
"./contracts/pre-propose/*",
"./contracts/staking/*",
Expand Down
2 changes: 1 addition & 1 deletion contracts/external/cw-fund-distributor/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ pub fn query_native_entitlements(
sender = deps.api.addr_validate(&address)?;
}
let relative_share = get_relative_share(&deps, auth)?;
let mut start = start_at.map(|h| deps.api.addr_validate(&h)).transpose()?;
let mut start = start_at.clone(); // Clone start_after to mutate it if necessary
let limit = limit.unwrap_or(DEFAULT_LIMIT).min(MAX_LIMIT) as usize;
// let natives = paginate_map(deps, &NATIVE_BALANCES, start_at, limit, Order::Descending)?;
let mut natives: Vec<(String, Uint128)> = Vec::new();
Expand Down
2 changes: 1 addition & 1 deletion contracts/external/cw-payroll-factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ secret-utils = { workspace = true }
serde ={ workspace = true }
schemars ={ workspace = true }
snip20-reference-impl = { workspace = true}
cw-storage-plus ={ version = "2.0.0"}
secret-toolkit ={ workspace = true }

[dev-dependencies]
secret-multi-test = { workspace = true }
Expand Down
Loading

0 comments on commit 1f45877

Please sign in to comment.