Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 Changes in this version type EconomicsData + func (ed *EconomicsData) ProtocolSustainabilityAddress() string + func (ed *EconomicsData) ProtocolSustainabilityPercentage() float64 v0.0.1 Oct 30, 2023 Changes in this version + type EconomicsData struct + func NewEconomicsData(economics *config.EconomicsConfig) (*EconomicsData, error) + func (ed *EconomicsData) AuctionEnableNonce() uint64 + func (ed *EconomicsData) BleedPercentagePerRound() float64 + func (ed *EconomicsData) CheckValidityTxValues(tx process.TransactionWithFeeHandler) error + func (ed *EconomicsData) CommunityAddress() string + func (ed *EconomicsData) CommunityPercentage() float64 + func (ed *EconomicsData) ComputeFee(tx process.TransactionWithFeeHandler) *big.Int + func (ed *EconomicsData) ComputeGasLimit(tx process.TransactionWithFeeHandler) uint64 + func (ed *EconomicsData) DeveloperPercentage() float64 + func (ed *EconomicsData) GasPerDataByte() uint64 + func (ed *EconomicsData) GenesisNodePrice() *big.Int + func (ed *EconomicsData) GenesisTotalSupply() *big.Int + func (ed *EconomicsData) IsInterfaceNil() bool + func (ed *EconomicsData) LeaderPercentage() float64 + func (ed *EconomicsData) MaxGasLimitPerBlock(shardID uint32) uint64 + func (ed *EconomicsData) MaxInflationRate(year uint32) float64 + func (ed *EconomicsData) MaximumPercentageToBleed() float64 + func (ed *EconomicsData) MinGasLimit() uint64 + func (ed *EconomicsData) MinGasPrice() uint64 + func (ed *EconomicsData) MinInflationRate() float64 + func (ed *EconomicsData) MinStepValue() *big.Int + func (ed *EconomicsData) NumRoundsWithoutBleed() uint64 + func (ed *EconomicsData) StakeEnableNonce() uint64 + func (ed *EconomicsData) UnBondPeriod() uint64 + func (ed *EconomicsData) UnJailValue() *big.Int + type TestEconomicsData struct + func (ted *TestEconomicsData) GetMinGasLimit() uint64 + func (ted *TestEconomicsData) GetMinGasPrice() uint64 + func (ted *TestEconomicsData) SetDataLimitForBaseCalc(dataLimitForBaseCalc uint64) + func (ted *TestEconomicsData) SetGasPerDataByte(gasPerDataByte uint64) + func (ted *TestEconomicsData) SetGenesisNodePrice(nodePrice *big.Int) + func (ted *TestEconomicsData) SetMaxGasLimitPerBlock(maxGasLimitPerBlock uint64) + func (ted *TestEconomicsData) SetMinGasLimit(minGasLimit uint64) + func (ted *TestEconomicsData) SetMinGasPrice(minGasPrice uint64) + func (ted *TestEconomicsData) SetMinStep(minStep *big.Int) + func (ted *TestEconomicsData) SetTotalSupply(totalSupply *big.Int) + func (ted *TestEconomicsData) SetUnJailPrice(unJailPrice *big.Int)