// AddDummyApps adds applications with given IDs to the account with the default
// AEMA schema.
AddDummyApps adds applications with given IDs to the account with the default
AEMA schema.
// AddDummyApps adds applications with given IDs to the account with the default // AEMA schema .
func (a *AlgorandMock) AddDummyApps(ids ...uint64) {
	if a.Account.CreatedApps == nil {
		return
	}
	loc, glob := GenerateSchemasModel()
	for _, val := range ids {
		params := models.ApplicationParams{GlobalStateSchema: glob, LocalStateSchema: loc}
		a.Account.CreatedApps = append(a.Account.CreatedApps, models.Application{Id: val, Params: params})
	}
}
func ( a * AlgorandMock ) AddDummyApps ( ids ... uint64 ) { if a . Account . CreatedApps == nil { return } loc , glob := GenerateSchemasModel ( ) for _ , val := range ids { params := models . ApplicationParams { GlobalStateSchema : glob , LocalStateSchema : loc } a . Account . CreatedApps = append ( a . Account . CreatedApps , models . Application { Id : val , Params : params } ) } }
AddDummyApps adds applications with given IDs to the account with the default
AEMA schema.
AddDummyApps adds applications with given IDs to the account with the default AEMA schema .