Contract ErrorCode

Cetus-Clmm

Module
ErrorCode
Details

clmm_math

0

token amount max exceed

clmm_math

1

token amount min subceeded

clmm_math

2

multiplication overflow

clmm_math

3

integer downcast overflow

clmm_math

4

invalid sqrt price input

clmm_math

5

invalid fixed token type

tick_math

1

invalid tick

tick_math

2

invalid sqrt price

config

1

fee tier already exist

config

2

fee tier not found

config

3

invalid fee rate

config

4

invalid protocol fee rate

config

5

no pool manage permission

config

6

no fee tier manager permission

config

7

no partner manager permission

config

8

no reward manager permission

config

9

no protocol fee claim permission

config

10

package version deprecate

factory

1

pool already existed

factory

2

invalid sqrt price

factory

3

same coin type

factory

4

amount in above max limit

factory

5

amount out below min limit

factory

6

invalid coin type sequence

partner

1

partner already exist

partner

2

invalid partner ref fee rate

partner

3

invalid partner cap

partner

4

invalid coin type

partner

5

invalid partner name

pool

0

amount incorrect

pool

1

liquidity overflow

pool

2

liquidity underflow

pool

3

liquidity is zero

pool

4

not enough liquidity

pool

5

remainder amount underflow

pool

6

swap amount in overflow

pool

7

swap amount out overflow

pool

8

fee amount overflow

pool

9

invalid fee rate

pool

10

invalid fixed coin type

pool

11

wrong sqrt price limit

pool

12

pool id is error

pool

13

pool is pause

pool

14

flash swap receipt not match

pool

15

invalid protocol fee rate

pool

16

invalid protocol ref fee rate

pool

17

reward not exist

pool

18

amount out is zero

position

1

remainder amount underflow

position

2

fee owned overflow

position

3

points owned overflow

position

4

invalid delta liquidity

position

5

invalid position tick range

position

6

position not exist

position

7

position is not empty

position

8

liquidity change overflow

position

9

liquidity change underflow

position

10

invalid raward index

reward

1

reward solt is full

reward

2

reward already exist

reward

3

invalid time

reward

4

reward amount insufficient

reward

5

reward not exist

tick

0

liquidity overflow

tick

1

liquidity underflow

tick

2

invalid tick

tick

3

tick not found

Last updated