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 SimulateMsgInitProvider(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
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 SimulateMsgInitProvider ¶
func SimulateMsgInitProvider( 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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.