Skip to content

Commit

Permalink
Updated error in entrypoints.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sniezka1927 committed Dec 11, 2023
1 parent 46d52c7 commit 8989b0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/contracts/entrypoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ pub trait Invariant {
/// - Fails if the specified fee tier cannot be found.
/// - Fails if the user attempts to create a pool for the same tokens.
/// - Fails if Pool with same tokens and fee tier already exist.
/// - Fails if the init tick is not divisible by the tick spacing.
/// - Fails if the init sqrt price is not related to the init tick.
///
#[ink(message)]
fn create_pool(
&mut self,
Expand Down

0 comments on commit 8989b0f

Please sign in to comment.