subdistributor

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const C4eDistributorCollectorName = types.GreenEnergyBoosterCollector
View Source
const NoValidatorsCollectorName = types.GovernanceBoosterCollector

Variables

View Source
var BaseAccountAddress = accAdresses[0]
View Source
var BaseAccountAddressString = BaseAccountAddress.String()
View Source
var HelperDestinationAccountAddress = accAdresses[2]
View Source
var HelperDestinationAccountAddressString = HelperDestinationAccountAddress.String()
View Source
var ShareDevelopmentFundAccountAddress = accAdresses[1]
View Source
var ShareDevelopmentFundAccountAddressString = ShareDevelopmentFundAccountAddress.String()

Functions

func PreparareHelperDistributorForDestination

func PreparareHelperDistributorForDestination(destination types.Account) types.SubDistributor

func PreparareMainDefaultDistributor

func PreparareMainDefaultDistributor() types.SubDistributor

func PrepareBurningDistributor

func PrepareBurningDistributor(destinationType DestinationType) types.SubDistributor

func PrepareInflationSubDistributor

func PrepareInflationSubDistributor(sourceAccoutType DestinationType, toValidators bool) types.SubDistributor

func PrepareInflationToPassAcoutSubDistr

func PrepareInflationToPassAcoutSubDistr(passThroughAccoutType DestinationType) types.SubDistributor

Types

type DestinationType

type DestinationType int64
const (
	MainCollector DestinationType = iota
	ModuleAccount
	InternalAccount
	BaseAccount
)

Jump to

Keyboard shortcuts

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