-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #262 from comdex-official/feature/lend
adding lend module
- Loading branch information
Showing
44 changed files
with
20,324 additions
and
1,527 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
Binary file not shown.
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,38 @@ | ||
syntax = "proto3"; | ||
package comdex.lend.v1beta1; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "comdex/lend/v1beta1/lend.proto"; | ||
|
||
|
||
option go_package = "github.com/comdex-official/comdex/x/lend/types"; | ||
|
||
message LendPairsProposal { | ||
string title = 1 [(gogoproto.moretags) = "yaml:\"title\""]; | ||
string description = 2 [(gogoproto.moretags) = "yaml:\"description\""]; | ||
repeated Extended_Pair pairs = 3 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
message UpdatePairProposal { | ||
string title = 1 [(gogoproto.moretags) = "yaml:\"title\""]; | ||
string description = 2 [(gogoproto.moretags) = "yaml:\"description\""]; | ||
Extended_Pair pair = 3 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
message AddPoolsProposal { | ||
string title = 1 [(gogoproto.moretags) = "yaml:\"title\""]; | ||
string description = 2 [(gogoproto.moretags) = "yaml:\"description\""]; | ||
Pool Pool = 3 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
message AddAssetToPairProposal { | ||
string title = 1 [(gogoproto.moretags) = "yaml:\"title\""]; | ||
string description = 2 [(gogoproto.moretags) = "yaml:\"description\""]; | ||
AssetToPairMapping AssetToPairMapping = 3 [(gogoproto.nullable) = false]; | ||
} | ||
|
||
message AddAssetRatesStats { | ||
string title = 1 [(gogoproto.moretags) = "yaml:\"title\""]; | ||
string description = 2 [(gogoproto.moretags) = "yaml:\"description\""]; | ||
repeated AssetRatesStats AssetRatesStats = 3 [(gogoproto.nullable) = false]; | ||
} |
Oops, something went wrong.