mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
* refactor: update import paths in gateway handlers * refactor: remove obsolete devtools Makefile and README * build: optimize build process for improved efficiency * refactor: remove obsolete pkl files related to Matrix and Sonr network configurations * refactor: move embed code to x/dwn/types
31 lines
851 B
Go
31 lines
851 B
Go
package appmodule
|
|
|
|
import (
|
|
"cosmossdk.io/core/event"
|
|
"cosmossdk.io/core/gas"
|
|
"cosmossdk.io/core/header"
|
|
"cosmossdk.io/core/store"
|
|
|
|
"github.com/onsonr/sonr/internal/chain/branch"
|
|
"github.com/onsonr/sonr/internal/chain/log"
|
|
"github.com/onsonr/sonr/internal/chain/router"
|
|
"github.com/onsonr/sonr/internal/chain/transaction"
|
|
)
|
|
|
|
// Environment is used to get all services to their respective module.
|
|
// Contract: All fields of environment are always populated by runtime.
|
|
type Environment struct {
|
|
Logger log.Logger
|
|
|
|
BranchService branch.Service
|
|
EventService event.Service
|
|
GasService gas.Service
|
|
HeaderService header.Service
|
|
QueryRouterService router.Service
|
|
MsgRouterService router.Service
|
|
TransactionService transaction.Service
|
|
|
|
KVStoreService store.KVStoreService
|
|
MemStoreService store.MemoryStoreService
|
|
}
|