Documentation ¶
Index ¶
- Constants
- Variables
- func PreparareHelperDistributorForDestination(destination types.Account) types.SubDistributor
- func PreparareMainDefaultDistributor() types.SubDistributor
- func PrepareBurningDistributor(destinationType DestinationType) types.SubDistributor
- func PrepareInflationSubDistributor(sourceAccoutType DestinationType, toValidators bool) types.SubDistributor
- func PrepareInflationToPassAcoutSubDistr(passThroughAccoutType DestinationType) types.SubDistributor
- type DestinationType
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()
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 )
Click to show internal directories.
Click to hide internal directories.