locker

package
v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// timeout seconds
	Timeout     int
	AccessToken string
}

type Locker

type Locker struct {
	Config *Config
}

func NewLocker

func NewLocker(config *Config) *Locker

func (*Locker) LockerLPV3

func (s *Locker) LockerLPV3(chainId string, poolAddress string, pageNum int32, pageSize int32) (*LockerLPV3Result, error)

func (*Locker) LockerToken

func (s *Locker) LockerToken(chainId string, tokenAddress string, pageNum int32, pageSize int32) (*LockerTokenResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL