genesis

package
v2.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DevelopmentFundAddr = accountsAddresses[0]
	LpAccountAddr       = accountsAddresses[1]
)
View Source
var CfeDistributorParams = distributortypes.Params{
	SubDistributors: []distributortypes.SubDistributor{
		{
			Name: "tx_fee_distributor",
			Destinations: distributortypes.Destinations{
				PrimaryShare: distributortypes.Account{
					Id:   "c4e_distributor",
					Type: distributortypes.Main,
				},
				BurnShare: sdk.ZeroDec(),
			},
			Sources: []*distributortypes.Account{
				{
					Id:   "fee_collector",
					Type: distributortypes.ModuleAccount,
				},
			},
		},
		{
			Name: "inflation_and_fee_distributor",
			Destinations: distributortypes.Destinations{
				PrimaryShare: distributortypes.Account{
					Id:   distributortypes.ValidatorsRewardsCollector,
					Type: distributortypes.ModuleAccount,
				},
				BurnShare: sdk.ZeroDec(),
				Shares: []*distributortypes.DestinationShare{
					{
						Name:  "development_fund",
						Share: sdk.MustNewDecFromStr("0.05"),
						Destination: distributortypes.Account{
							Id:   DevelopmentFundAddr.String(),
							Type: distributortypes.BaseAccount,
						},
					},
					{
						Name:  "usage_incentives",
						Share: sdk.MustNewDecFromStr("0.35"),
						Destination: distributortypes.Account{
							Id:   "usage_incentives_collector",
							Type: distributortypes.InternalAccount,
						},
					},
				},
			},
			Sources: []*distributortypes.Account{
				{
					Id:   "c4e_distributor",
					Type: distributortypes.Main,
				},
			},
		},
		{
			Name: "usage_incentives_distributor",
			Destinations: distributortypes.Destinations{
				PrimaryShare: distributortypes.Account{
					Id:   LpAccountAddr.String(),
					Type: distributortypes.BaseAccount,
				},
				BurnShare: sdk.ZeroDec(),
				Shares: []*distributortypes.DestinationShare{
					{
						Name:  "green_energy_booster",
						Share: sdk.MustNewDecFromStr("0.34"),
						Destination: distributortypes.Account{
							Id:   "green_energy_booster_collector",
							Type: distributortypes.ModuleAccount,
						},
					},
					{
						Name:  "governance_booster",
						Share: sdk.MustNewDecFromStr("0.33"),
						Destination: distributortypes.Account{
							Id:   "governance_booster_collector",
							Type: distributortypes.ModuleAccount,
						},
					},
				},
			},
			Sources: []*distributortypes.Account{
				{
					Id:   "usage_incentives_collector",
					Type: distributortypes.InternalAccount,
				},
			},
		},
	},
}

Functions

func CfeMinterrParams

func CfeMinterrParams() mintertypes.Params

Types

This section is empty.

Jump to

Keyboard shortcuts

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