epoch

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx flarectx.ClientContext) (*client, error)

NewClient creates a client that manages reward epoch tasks.

func NewRegistryContractClient

func NewRegistryContractClient(
	ethClient *ethclient.Client,
	gasCfg *config.Gas,
	registryAddress common.Address,
	preregistryAddress common.Address,
	senderTxOpts *bind.TransactOpts,
	signerPk *ecdsa.PrivateKey,
) (*registryContractClientImpl, error)

func NewRelayContractClient

func NewRelayContractClient(
	ethClient *ethclient.Client,
	address common.Address,
) (*relayContractClientImpl, error)

func NewSystemsManagerClient

func NewSystemsManagerClient(ethClient *ethclient.Client, address common.Address, senderTxOpts *bind.TransactOpts, signerPrivateKey *ecdsa.PrivateKey, chainId int) (*systemsManagerContractClientImpl, error)

func SigningPolicyHash

func SigningPolicyHash(signingPolicy []byte) []byte

Types

type ClaimType

type ClaimType uint8
const (
	Direct ClaimType = iota
	Fee
	WNat
	Mirror
	CChain
)

Jump to

Keyboard shortcuts

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