Documentation ¶
Index ¶
- func FindAccount(accs []simtypes.Account, address string) (simtypes.Account, bool)
- func GenerateDirectory(address sdk.AccAddress) (paths []string, err error)
- func GetDirectory() (paths []string)
- func SimulateMsgAddEditors(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgAddViewers(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgChangeOwner(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgDeleteFile(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgMakeRoot(ak types.AccountKeeper, bk types.BankKeeper, _ keeper.Keeper) simtypes.Operation
- func SimulateMsgPostFile(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgPostkey(ak types.AccountKeeper, bk types.BankKeeper, _ keeper.Keeper) simtypes.Operation
- func SimulateMsgRemoveEditors(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgRemoveViewers(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgResetEditors(ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper) simtypes.Operation
- func SimulateMsgResetViewers(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 GenerateDirectory ¶
func GenerateDirectory(address sdk.AccAddress) (paths []string, err error)
Randomly generate a file directory using account address and returns paths of files ie. for path: s/home/document/meow.md returns {"s","s/home", "s/home/document", "s/home/document/meow.md"}
func GetDirectory ¶
func GetDirectory() (paths []string)
Returns seven predefined paths ie. "s", "s/home", "s/home/filetree", "s/home/filetree/meow.mp3"
func SimulateMsgAddEditors ¶
func SimulateMsgAddEditors( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgAddViewers ¶
func SimulateMsgAddViewers( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgChangeOwner ¶
func SimulateMsgChangeOwner( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgDeleteFile ¶
func SimulateMsgDeleteFile( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgMakeRoot ¶
func SimulateMsgMakeRoot( ak types.AccountKeeper, bk types.BankKeeper, _ keeper.Keeper, ) simtypes.Operation
func SimulateMsgPostFile ¶
func SimulateMsgPostFile( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgPostkey ¶
func SimulateMsgPostkey( ak types.AccountKeeper, bk types.BankKeeper, _ keeper.Keeper, ) simtypes.Operation
func SimulateMsgRemoveEditors ¶
func SimulateMsgRemoveEditors( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgRemoveViewers ¶
func SimulateMsgRemoveViewers( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgResetEditors ¶
func SimulateMsgResetEditors( ak types.AccountKeeper, bk types.BankKeeper, k keeper.Keeper, ) simtypes.Operation
func SimulateMsgResetViewers ¶
func SimulateMsgResetViewers( 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.