Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Vaults module #10

Merged
merged 20 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
898 changes: 898 additions & 0 deletions api/reserve/vaults/genesis.pulsar.go

Large diffs are not rendered by default.

576 changes: 576 additions & 0 deletions api/reserve/vaults/module/module.pulsar.go

Large diffs are not rendered by default.

2,850 changes: 2,850 additions & 0 deletions api/reserve/vaults/params.pulsar.go

Large diffs are not rendered by default.

6,170 changes: 6,170 additions & 0 deletions api/reserve/vaults/tx.pulsar.go

Large diffs are not rendered by default.

327 changes: 327 additions & 0 deletions api/reserve/vaults/tx_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package app

Check failure on line 1 in app/app.go

View workflow job for this annotation

GitHub Actions / lint

: # github.com/onomyprotocol/reserve/app

import (
"io"
Expand Down Expand Up @@ -77,7 +77,8 @@
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"

oraclemodulekeeper "github.com/onomyprotocol/reserve/x/oracle/keeper"
// this line is used by starport scaffolding # stargate/app/moduleImport

vaultskeeper "github.com/onomyprotocol/reserve/x/vaults/keeper"

"github.com/onomyprotocol/reserve/docs"
)
Expand Down Expand Up @@ -142,6 +143,7 @@
ScopedICAHostKeeper capabilitykeeper.ScopedKeeper

OracleKeeper oraclemodulekeeper.Keeper
VaultsKeeper vaultskeeper.Keeper
// this line is used by starport scaffolding # stargate/app/keeperDeclaration

// simulation manager
Expand Down Expand Up @@ -295,6 +297,7 @@
&app.GroupKeeper,
&app.CircuitBreakerKeeper,
&app.OracleKeeper,
&app.VaultsKeeper,
// this line is used by starport scaffolding # stargate/app/keeperDefinition
); err != nil {
panic(err)
Expand Down Expand Up @@ -335,7 +338,7 @@
app.App = appBuilder.Build(db, traceStore, baseAppOptions...)

// Register legacy modules
if err := app.registerIBCModules(appOpts); err != nil {
if err := app.registerIBCModules(); err != nil {
return nil, err
}

Expand Down
Loading
Loading