Documentation ¶
Index ¶
- Constants
- func GenBorChainId(r *rand.Rand) string
- func GenHeimdallAddress() hmTypes.HeimdallAddress
- func GenMainchainTxConfirmations(r *rand.Rand) uint64
- func GenMaticchainTxConfirmations(r *rand.Rand) uint64
- func ParamChanges(r *rand.Rand) []simtypes.ParamChange
- func RandomizedGenState(simState *module.SimulationState)
Constants ¶
View Source
const ( MainchainTxConfirmations = "mainchain_tx_confirmations" MaticchainTxConfirmations = "maticchain_tx_confirmations" BorChainID = "bor_chain_id" MaticTokenAddress = "matic_token_address" //nolint StakingManagerAddress = "staking_manager_address" //nolint SlashManagerAddress = "slash_manager_address" //nolint RootChainAddress = "root_chain_address" //nolint StakingInfoAddress = "staking_info_address" //nolint StateSenderAddress = "state_sender_address" //nolint // Bor Chain Contracts StateReceiverAddress = "state_receiver_address" //nolint ValidatorSetAddress = "validator_set_address" //nolint )
Parameter keys
View Source
const ( KeyMainchainTxConfirmations = "MainchainTxConfirmations" KeyMaticchainTxConfirmations = "MaticchainTxConfirmations" KeyChainParams = "ChainParams" )
Variables ¶
This section is empty.
Functions ¶
func GenHeimdallAddress ¶
func GenHeimdallAddress() hmTypes.HeimdallAddress
func ParamChanges ¶
func ParamChanges(r *rand.Rand) []simtypes.ParamChange
ParamChanges defines the parameters that can be modified by param change proposals on the simulation
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.