claimcodes

package
v0.74.10 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployClaimCodes

func DeployClaimCodes(
	version ClaimCodesVersion,
	auth *bind.TransactOpts,
	backend bind.ContractBackend,
	vestingBridgeAddress common.Address,
) (address common.Address, tx *ethTypes.Transaction, err error)

Types

type ClaimCodes

type ClaimCodes struct {
	ClaimCodesCommon
	Address common.Address
	Version ClaimCodesVersion
	// contains filtered or unexported fields
}

func NewClaimCodes

func NewClaimCodes(
	ethClient *ethclient.Client,
	hexAddress string,
	version ClaimCodesVersion,
) (*ClaimCodes, error)

type ClaimCodesCommon

type ClaimCodesCommon interface {
	AllowedCountries(opts *bind.CallOpts, arg0 [2]byte) (bool, error)
	Commitments(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
	Controller(opts *bind.CallOpts) (common.Address, error)
	Issuers(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
	AllowCountries(opts *bind.TransactOpts, countries [][2]byte) (*types.Transaction, error)
	BlockCountries(opts *bind.TransactOpts, countries [][2]byte) (*types.Transaction, error)
	ClaimTargeted(opts *bind.TransactOpts, sig ClaimCodes_V1.Signature, clm ClaimCodes_V1.Claim, country [2]byte, target common.Address) (*types.Transaction, error)
	ClaimUntargeted(opts *bind.TransactOpts, sig ClaimCodes_V1.Signature, clm ClaimCodes_V1.Claim, country [2]byte) (*types.Transaction, error)
	CommitUntargeted(opts *bind.TransactOpts, s [32]byte) (*types.Transaction, error)
}

type ClaimCodesVersion

type ClaimCodesVersion string
const (
	ClaimCodesV1 ClaimCodesVersion = "v1"
)

func (ClaimCodesVersion) IsValid

func (n ClaimCodesVersion) IsValid() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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