Versions in this module Expand all Collapse all v0 v0.0.38 May 15, 2024 Changes in this version + var InterfaceReg = types.NewInterfaceRegistry() + var Marshaler = codec.NewProtoCodec(InterfaceReg) + var TxConfig = tx.NewTxConfig(Marshaler, tx.DefaultSignModes) + func GenerateRandomPubKey() cryptotypes.PubKey + func GetKey(mnemonic string) cryptotypes.PrivKey + type App struct + func NewTestApp() *App + func (a *App) Ctx() sdk.Context + func (a *App) FastEpoch() + func (a *App) FundAccount(acc sdk.AccAddress, amount int64) + func (a *App) FundAccountWithDenom(acc sdk.AccAddress, amount int64, denom string) + func (a *App) FundModule(moduleName string, amount int64) + func (a *App) FundModuleWithDenom(moduleName string, amount int64, denom string) + func (a *App) GenerateSignableKey(_ string) (addr sdk.AccAddress) + func (a *App) GetAllValidators() []stakingtypes.Validator + func (a *App) GetProposer() stakingtypes.Validator + func (a *App) GetVotes() []types.VoteInfo + func (a *App) NewAccount() sdk.AccAddress + func (a *App) NewContract(admin sdk.AccAddress, filePath string) sdk.AccAddress + func (a *App) NewDelegation(delegator sdk.AccAddress, validator sdk.ValAddress, amount int64) + func (a *App) NewMinter(amount uint64) + func (a *App) NewSignableAccount(name string) sdk.AccAddress + func (a *App) NewValidator() sdk.ValAddress + func (a *App) RunBlock(txs []signing.Tx) (resultCodes []uint32) + func (a *App) Sign(account sdk.AccAddress, fee int64, msgs ...sdk.Msg) xauthsigning.Tx + type Preset struct + Admin sdk.AccAddress + AllAccounts []sdk.AccAddress + AllContracts []sdk.AccAddress + AllDexMarkets []*msgs.Market + AllValidators []sdk.ValAddress + SignableAccounts []sdk.AccAddress + func CommonPreset(app *App) *Preset + func DexPreset(app *App, numAccounts int, numMarkets int) *Preset + func (p *Preset) AdminSign(app *App, msgs ...sdk.Msg) signing.Tx + func (p *Preset) DoRegisterMarkets(app *App) v0.0.29-fix Jan 24, 2024