Documentation ¶
Index ¶
- type Config
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { Sugar *zap.SugaredLogger // contains filtered or unexported fields }
func (*Node) AddAirdrop ¶
func (*Node) AddWhitelist ¶
func (*Node) AirdropQuota ¶
Click to show internal directories.
Click to hide internal directories.