Documentation ¶
Index ¶
- func FindAccount(accs []simtypes.Account, address string) (simtypes.Account, bool)
- func GetMerkleProof() (item, jProof string)
- func GetMerkleRoot() string
- func ParamChanges(r *rand.Rand) []simtypes.ParamChange
- func RandIPv4Url(r *rand.Rand) string
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgAddProviderClaimer(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgBuyStorage(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgCancelContract(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgClaimStray(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgInitProvider(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgPostContract(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgPostproof(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgRemoveProviderClaimer(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgSetProviderIP(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgSetProviderTotalspace(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgSignContract(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgUpgradeStorage(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAccount ¶
FindAccount find a specific address from an account list
func GetMerkleProof ¶
func GetMerkleProof() (item, jProof string)
Generate merkle proof with similar operation as jackal provider daemon but the file used to generate is much simpler Returns json encoding of merkle proof
func GetMerkleRoot ¶
func GetMerkleRoot() string
Generate merkle root with similar operation as jackal provider daemon
func ParamChanges ¶
func ParamChanges(r *rand.Rand) []simtypes.ParamChange
func RandIPv4Url ¶
Generate random IPv4 url e.g http://1.1.1.1 It may not be unique
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
func SimulateMsgAddProviderClaimer ¶
func SimulateMsgAddProviderClaimer( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgBuyStorage ¶
func SimulateMsgBuyStorage( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgCancelContract ¶
func SimulateMsgCancelContract( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgClaimStray ¶
func SimulateMsgClaimStray( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgInitProvider ¶
func SimulateMsgInitProvider( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgPostContract ¶
func SimulateMsgPostContract( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgPostproof ¶
func SimulateMsgPostproof( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgRemoveProviderClaimer ¶
func SimulateMsgRemoveProviderClaimer( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgSetProviderIP ¶
func SimulateMsgSetProviderIP( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgSetProviderTotalspace ¶
func SimulateMsgSetProviderTotalspace( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgSignContract ¶
func SimulateMsgSignContract( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgUpgradeStorage ¶
func SimulateMsgUpgradeStorage( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.