claims

package
v0.0.0-...-4a9829e Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClaimSlp

func ClaimSlp(
	ethClient *ethclient.Client,
	jwt string,
	address common2.RoninAddress,
	quantity int,
) (err error)

func GetClaimableSlp

func GetClaimableSlp(address common.Address) (claimable int, err error)

Types

type MockClient

type MockClient struct {
	mock.Mock
}

func (*MockClient) ClaimSlp

func (client *MockClient) ClaimSlp(
	ethClient *ethclient.Client,
	jwt string,
	address common2.RoninAddress,
	quantity int,
) (
	err error,
)

func (*MockClient) GetClaimableSlp

func (client *MockClient) GetClaimableSlp(
	address common.Address,
) (
	resp int,
	err error,
)

Jump to

Keyboard shortcuts

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