autoclaim

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: AGPL-3.0, AGPL-3.0-or-later Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAutoClaim

func NewAutoClaim(ctx context.Context, c *Config, blockchainManager *blockchainmanager.Client) (autoclaim, error)

Types

type Config

type Config struct {
	// AuthorizedClaimMessageAddresses are the allowed address to bridge message with autoClaim
	AuthorizedClaimMessageAddresses []common.Address `mapstructure:"AuthorizedClaimMessageAddresses"`
	// AutoClaimInterval is time between each iteration
	AutoClaimInterval types.Duration `mapstructure:"AutoClaimInterval"`
	// MaxNumberOfClaimsPerGroup is the maximum number of claims per group. 0 means group claims is disabled
	MaxNumberOfClaimsPerGroup int `mapstructure:"MaxNumberOfClaimsPerGroup"`
	// BridgeURL is the URL of the bridge service
	BridgeURL string `mapstructure:"BridgeURL"`
}

Config represents the configuration of the AutoClaim package

Jump to

Keyboard shortcuts

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