Versions in this module Expand all Collapse all v0 v0.1.0 Nov 10, 2021 Changes in this version + type Config struct + Account int + Contract string + Log hs.LogConf + Mnemonic string + RPC string + type Node struct + Sugar *zap.SugaredLogger + func New(cfg Config) *Node + func (n *Node) AddAirdrop(ctx context.Context, owners []common.Address, amount uint8) error + func (n *Node) AddWhitelist(ctx context.Context, owners []common.Address, amount uint8) error + func (n *Node) AirdropQuota(ctx context.Context, owner common.Address) (Quota, error) + func (n *Node) Init(ctx context.Context) error + func (n *Node) MintQuota(ctx context.Context, owner common.Address) (Quota, error) + func (n *Node) Pause(ctx context.Context) error + func (n *Node) Paused(ctx context.Context) (bool, error) + func (n *Node) Phase(ctx context.Context) (int8, error) + func (n *Node) SetPhase(ctx context.Context, newPhase int8) error + func (n *Node) Unpause(ctx context.Context) error + type Quota struct + Cap uint8 + Minted uint8