Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sunspirit99 committed Dec 25, 2024
1 parent f44b11a commit 5c7bc3d
Show file tree
Hide file tree
Showing 12 changed files with 2,828 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkg/liquidity-source/beets-ss/abis.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package beets_ss

import (
"bytes"

"github.com/ethereum/go-ethereum/accounts/abi"
)

var (
sonicStakingABI abi.ABI
)

func init() {
builder := []struct {
ABI *abi.ABI
data []byte
}{
{
&sonicStakingABI, sonicStakingABIJson,
},
}

for _, b := range builder {
var err error
*b.ABI, err = abi.JSON(bytes.NewReader(b.data))
if err != nil {
panic(err)
}
}
}
Loading

0 comments on commit 5c7bc3d

Please sign in to comment.