-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CL: Re-design Concentrated Liquidity Module (#3296)
* Initial commit for pool * Fix some tests * Fix lint * Clean up :) * Fixing merge conflict is fun * Adams code review * Code review * lint * lint * remove cdc from module * shuffle tests around Co-authored-by: Adam Tucker <adamleetucker@outlook.com> Co-authored-by: Roman <roman@osmosis.team>
- Loading branch information
1 parent
35fa5dd
commit 66cf765
Showing
27 changed files
with
2,452 additions
and
1,804 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
syntax = "proto3"; | ||
// this is a legacy package that requires additional migration logic | ||
// in order to use the correct packge. Decision made to use legacy package path | ||
// until clear steps for migration logic and the unknowns for state breaking are | ||
// investigated for changing proto package. | ||
package osmosis.concentratedliquidity.v1beta1; | ||
|
||
import "cosmos_proto/cosmos.proto"; | ||
import "gogoproto/gogo.proto"; | ||
|
||
option go_package = "github.com/osmosis-labs/osmosis/v13/x/concentrated-liquidity/internal/model"; | ||
|
||
message Position { | ||
string liquidity = 1 [ | ||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", | ||
(gogoproto.moretags) = "yaml:\"liquidity\"", | ||
(gogoproto.nullable) = false | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
syntax = "proto3"; | ||
// this is a legacy package that requires additional migration logic | ||
// in order to use the correct packge. Decision made to use legacy package path | ||
// until clear steps for migration logic and the unknowns for state breaking are | ||
// investigated for changing proto package. | ||
package osmosis.concentratedliquidity.v1beta1; | ||
|
||
import "cosmos_proto/cosmos.proto"; | ||
import "gogoproto/gogo.proto"; | ||
|
||
option go_package = "github.com/osmosis-labs/osmosis/v13/x/concentrated-liquidity/internal/model"; | ||
|
||
message TickInfo { | ||
string liquidity_gross = 1 [ | ||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", | ||
(gogoproto.moretags) = "yaml:\"liquidity_gross\"", | ||
(gogoproto.nullable) = false | ||
]; | ||
string liquidity_net = 2 [ | ||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", | ||
(gogoproto.moretags) = "yaml:\"liquidity_net\"", | ||
(gogoproto.nullable) = false | ||
]; | ||
} |
Oops, something went wrong.