Skip to content

hopag/interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hop Interface Packages

Stub packages for Hop smart contracts on Sui. These expose all public types and function signatures so external projects can compile against Hop contracts without the full source.

Full documentation: docs.hop.fun

Packages

  • integer-library — Signed integer types (I32, I64, I128) and math utilities
  • hopv4 — Concentrated liquidity AMM (CLMM)
  • hoplaunch — Bonding curve launchpad (depends on hopv4)

Usage

Add to your Move.toml:

[dependencies]
# For AMM interactions only:
hopv4 = { git = "https://github.com/hopfun/interfaces", subdir = "interface/hopv4", rev = "main" }

# For bonding curve interactions (includes hopv4 transitively):
hoplaunch = { git = "https://github.com/hopfun/interfaces", subdir = "interface/hoplaunch", rev = "main" }

Contract Addresses

HopLaunch

Address
Package (current) 0x3b2612ad888338fb054bd485513095646a0c113b2d491fcc6feba46db0967aa3
Package (original) 0x4cf881ad2ba05c0eb54b599897b3606b438b10136f5a6eb52d56781ef5d6f37e
Config 0xbb8d6f6e4f6a3b11965dc4c3aa487f0d3b98a6f458f2a98b00fab05fc34c0297

HopV4

Address
Package (current) 0x6288124732512a4624c4623b30a85c0d7079147951e5f17a8c1e8693c5feba6e
Package (original) 0xd41e5cb31a5310f14d66f35cda3d2b3d0ab078959cbc015e63fff9829b83bf12
Config 0x1e9e187c0877b6cf059370259b24ac6a7733961f69dfbdc8ffd808815521b377
Dynamic Fee 0x3bc5dd26cb2e4215623d4c0fd51376bf660c119d0a57b2e0db0b7294e46c26ca

About

Hop smart contract interfaces in Move.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages