Getting Started
How to depend on this service?
Dependencies
CetusDlmm = { git = "https://github.com/CetusProtocol/cetus-dlmm-interface.git", subdir = "packages/dlmm", rev = "mainnet-v1.0.0" }
IntegerMate = { git = "https://github.com/CetusProtocol/integer-mate.git", rev = "mainnet-v1.3.0", override = true }
MoveSTL = { git = "https://github.com/CetusProtocol/move-stl.git", rev = "mainnet-v1.3.0", override = true }
Example
[package]
name= "cetus_example"
version = "0.0.1"
[dependencies]
CetusDlmm = { git = "https://github.com/CetusProtocol/cetus-dlmm-interface.git", rev = "main" }
IntegerMate = { git = "https://github.com/CetusProtocol/integer-mate.git", rev = "mainnet-v1.3.0", override = true }
MoveSTL = { git = "https://github.com/CetusProtocol/move-stl.git", rev = "mainnet-v1.3.0", override = true }
[address]
cetus_example = "0x0"
How to build and publish?
Cetus dlmm interface is not complete in terms of code base (only function definition is provided), so it will get failed when sui client checks its code version. However, this does not affect its actual functionality.
Therefore, we need to add a --dependencies-are-root
during the build and publish.
Share Object IDs
Name
Object ID
Global Config ID
0xf31b605d117f959b9730e8c07b08b856cb05143c5e81d5751c90d2979e82f599
Versioned ID
0x05370b2d656612dd5759cbe80463de301e3b94a921dfc72dd9daa2ecdeb2d0a8
Registry ID
0xb1d55e7d895823c65f98d99b81a69436cf7d1638629c9ccb921326039cda1f1b
Last updated