distributor

package
v0.0.0-...-db344e9 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistributeAccount

type DistributeAccount struct {
	MissingFunds  *big.Int
	Address       common.Address
	MnemonicIndex int
}

type Distributor

type Distributor struct {
	// contains filtered or unexported fields
}

func NewDistributor

func NewDistributor(mnemonic string, subAccounts, totalTx int, runtimeEstimator tooltypes.TxBuilder, url string) (*Distributor, error)

func (*Distributor) Distribute

func (d *Distributor) Distribute() ([]int, error)

type RuntimeCosts

type RuntimeCosts struct {
	AccDistributionCost *big.Int
	SubAccount          *big.Int
}

type TokenDistributor

type TokenDistributor struct {
	// contains filtered or unexported fields
}

func NewTokenDistributor

func NewTokenDistributor(mnemonic string, readyMnemonicIndexes []int, totalTx int, tokenRuntime tooltypes.Erc20TxBuilder) (*TokenDistributor, error)

func (*TokenDistributor) DistributeTokens

func (td *TokenDistributor) DistributeTokens() ([]int, error)

type TokenRuntimeCosts

type TokenRuntimeCosts struct {
	TotalCost  int64
	SubAccount int64
}

Jump to

Keyboard shortcuts

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