Skip to content

Commit

Permalink
Preaudit changes (#305)
Browse files Browse the repository at this point in the history
+ rename InvariantTrait to InvariantEntrypoints
+ split route into route and route_mut to make quote_route take an immutable reference
+ get_position and get_positions take an immutable reference
+ require passing the correct address to withdraw_all_wazero 
+ add dev feature that removes the requirement of passing mainnet's withdraw_all_wazero address
+update `transfer_position` entrypoint description
  • Loading branch information
DevRozaDev authored Oct 9, 2024
1 parent a8842f9 commit b609ba7
Show file tree
Hide file tree
Showing 41 changed files with 253 additions and 196 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ scale-info = { version = "2.11.3", default-features = false }
[dev-dependencies]
ink_e2e = "5.0.0"
test_helpers = { path = "src/test_helpers", default-features = false }
scale-info = "2.11.3"

[lib]
name = "invariant"
Expand All @@ -29,6 +30,7 @@ default = ["std"]
std = ["ink/std", "token/std", "decimal/std"]
ink-as-dependency = []
e2e-tests = []
dev = []

# comment this out for release build
[profile.release]
Expand Down
Loading

0 comments on commit b609ba7

Please sign in to comment.