-
Notifications
You must be signed in to change notification settings - Fork 591
/
modules.go
127 lines (123 loc) · 5.37 KB
/
modules.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
package keepers
import (
"github.com/CosmWasm/wasmd/x/wasm"
wasmclient "github.com/CosmWasm/wasmd/x/wasm/client"
"github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v4/router"
transfer "github.com/cosmos/ibc-go/v4/modules/apps/transfer"
ibc "github.com/cosmos/ibc-go/v4/modules/core"
ibcclientclient "github.com/cosmos/ibc-go/v4/modules/core/02-client/client"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/auth"
"github.com/cosmos/cosmos-sdk/x/auth/vesting"
authzmodule "github.com/cosmos/cosmos-sdk/x/authz/module"
"github.com/cosmos/cosmos-sdk/x/bank"
"github.com/cosmos/cosmos-sdk/x/capability"
"github.com/cosmos/cosmos-sdk/x/crisis"
distr "github.com/cosmos/cosmos-sdk/x/distribution"
distrclient "github.com/cosmos/cosmos-sdk/x/distribution/client"
"github.com/cosmos/cosmos-sdk/x/evidence"
"github.com/cosmos/cosmos-sdk/x/genutil"
"github.com/cosmos/cosmos-sdk/x/gov"
"github.com/cosmos/cosmos-sdk/x/params"
paramsclient "github.com/cosmos/cosmos-sdk/x/params/client"
"github.com/cosmos/cosmos-sdk/x/slashing"
"github.com/cosmos/cosmos-sdk/x/staking"
"github.com/cosmos/cosmos-sdk/x/upgrade"
upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
icq "github.com/cosmos/ibc-apps/modules/async-icq/v4"
ica "github.com/cosmos/ibc-go/v4/modules/apps/27-interchain-accounts"
_ "github.com/osmosis-labs/osmosis/v20/client/docs/statik"
clclient "github.com/osmosis-labs/osmosis/v20/x/concentrated-liquidity/client"
concentratedliquidity "github.com/osmosis-labs/osmosis/v20/x/concentrated-liquidity/clmodule"
cwpoolclient "github.com/osmosis-labs/osmosis/v20/x/cosmwasmpool/client"
cosmwasmpoolmodule "github.com/osmosis-labs/osmosis/v20/x/cosmwasmpool/module"
downtimemodule "github.com/osmosis-labs/osmosis/v20/x/downtime-detector/module"
"github.com/osmosis-labs/osmosis/v20/x/gamm"
gammclient "github.com/osmosis-labs/osmosis/v20/x/gamm/client"
"github.com/osmosis-labs/osmosis/v20/x/ibc-rate-limit/ibcratelimitmodule"
"github.com/osmosis-labs/osmosis/v20/x/incentives"
incentivesclient "github.com/osmosis-labs/osmosis/v20/x/incentives/client"
"github.com/osmosis-labs/osmosis/v20/x/lockup"
"github.com/osmosis-labs/osmosis/v20/x/mint"
poolincentives "github.com/osmosis-labs/osmosis/v20/x/pool-incentives"
poolincentivesclient "github.com/osmosis-labs/osmosis/v20/x/pool-incentives/client"
poolmanagerclient "github.com/osmosis-labs/osmosis/v20/x/poolmanager/client"
poolmanager "github.com/osmosis-labs/osmosis/v20/x/poolmanager/module"
"github.com/osmosis-labs/osmosis/v20/x/protorev"
superfluid "github.com/osmosis-labs/osmosis/v20/x/superfluid"
superfluidclient "github.com/osmosis-labs/osmosis/v20/x/superfluid/client"
"github.com/osmosis-labs/osmosis/v20/x/tokenfactory"
"github.com/osmosis-labs/osmosis/v20/x/twap/twapmodule"
"github.com/osmosis-labs/osmosis/v20/x/txfees"
txfeesclient "github.com/osmosis-labs/osmosis/v20/x/txfees/client"
valsetprefmodule "github.com/osmosis-labs/osmosis/v20/x/valset-pref/valpref-module"
"github.com/osmosis-labs/osmosis/x/epochs"
ibc_hooks "github.com/osmosis-labs/osmosis/x/ibc-hooks"
)
// AppModuleBasics returns ModuleBasics for the module BasicManager.
var AppModuleBasics = []module.AppModuleBasic{
auth.AppModuleBasic{},
genutil.AppModuleBasic{},
bank.AppModuleBasic{},
capability.AppModuleBasic{},
staking.AppModuleBasic{},
mint.AppModuleBasic{},
downtimemodule.AppModuleBasic{},
distr.AppModuleBasic{},
gov.NewAppModuleBasic(
append(
wasmclient.ProposalHandlers,
paramsclient.ProposalHandler,
distrclient.ProposalHandler,
upgradeclient.ProposalHandler,
upgradeclient.CancelProposalHandler,
poolincentivesclient.UpdatePoolIncentivesHandler,
poolincentivesclient.ReplacePoolIncentivesHandler,
ibcclientclient.UpdateClientProposalHandler,
ibcclientclient.UpgradeProposalHandler,
superfluidclient.SetSuperfluidAssetsProposalHandler,
superfluidclient.RemoveSuperfluidAssetsProposalHandler,
superfluidclient.UpdateUnpoolWhitelistProposalHandler,
gammclient.ReplaceMigrationRecordsProposalHandler,
gammclient.UpdateMigrationRecordsProposalHandler,
gammclient.CreateCLPoolAndLinkToCFMMProposalHandler,
gammclient.SetScalingFactorControllerProposalHandler,
clclient.CreateConcentratedLiquidityPoolProposalHandler,
clclient.TickSpacingDecreaseProposalHandler,
cwpoolclient.UploadCodeIdAndWhitelistProposalHandler,
cwpoolclient.MigratePoolContractsProposalHandler,
txfeesclient.SubmitUpdateFeeTokenProposalHandler,
poolmanagerclient.DenomPairTakerFeeProposalHandler,
incentivesclient.HandleCreateGroupsProposal,
)...,
),
params.AppModuleBasic{},
crisis.AppModuleBasic{},
slashing.AppModuleBasic{},
authzmodule.AppModuleBasic{},
ibc.AppModuleBasic{},
upgrade.AppModuleBasic{},
evidence.AppModuleBasic{},
transfer.AppModuleBasic{},
vesting.AppModuleBasic{},
gamm.AppModuleBasic{},
poolmanager.AppModuleBasic{},
twapmodule.AppModuleBasic{},
concentratedliquidity.AppModuleBasic{},
protorev.AppModuleBasic{},
txfees.AppModuleBasic{},
incentives.AppModuleBasic{},
lockup.AppModuleBasic{},
poolincentives.AppModuleBasic{},
epochs.AppModuleBasic{},
superfluid.AppModuleBasic{},
tokenfactory.AppModuleBasic{},
valsetprefmodule.AppModuleBasic{},
wasm.AppModuleBasic{},
icq.AppModuleBasic{},
ica.AppModuleBasic{},
ibc_hooks.AppModuleBasic{},
ibcratelimitmodule.AppModuleBasic{},
router.AppModuleBasic{},
cosmwasmpoolmodule.AppModuleBasic{},
}