metaora dlmm init

This commit is contained in:
thloyi
2026-02-02 17:59:47 +08:00
parent 0eb1628119
commit 5da088ce13
4 changed files with 152 additions and 12 deletions

View File

@@ -29,3 +29,9 @@ func TestTradeEvent(t *testing.T) {
fmt.Println(len(xx), err)
}
func TestCal(t *testing.T) {
//e445a52e51cb9a1db94afc7d1bd7bc6f5e99e54b
// . b94afc7d1bd7bc6f
s := calculateDiscriminator("event:LbPairCreate")
fmt.Println(hex.EncodeToString(s[:]))
}