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
Click to show internal directories.
Click to hide internal directories.