Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Distributor ¶
type Distributor struct {
// contains filtered or unexported fields
}
Distributor is the process that manages sub-account distributions
func NewDistributor ¶
func NewDistributor( cli Client, signer Signer, ) *Distributor
NewDistributor creates a new instance of the distributor
func (*Distributor) Distribute ¶
func (d *Distributor) Distribute( accounts []keys.Info, transactions uint64, ) ([]*gnoland.GnoAccount, error)
Distribute distributes the funds from the base account (account 0 in the mnemonic) to other subaccounts
Click to show internal directories.
Click to hide internal directories.