Skip to content

Commit

Permalink
feat: update proto
Browse files Browse the repository at this point in the history
  • Loading branch information
emidev98 committed Jun 12, 2023
1 parent 24b831c commit f199f6f
Show file tree
Hide file tree
Showing 4 changed files with 359 additions and 103 deletions.
6 changes: 5 additions & 1 deletion docs/proto/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -854,13 +854,14 @@ Alliance
<a name="alliance.QueryAllianceUnbondingsByDenomAndDelegatorRequest"></a>

### QueryAllianceUnbondingsByDenomAndDelegatorRequest

AllianceDelegation


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `denom` | [string](#string) | | |
| `delegator_addr` | [string](#string) | | |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |



Expand All @@ -876,6 +877,7 @@ Alliance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `unbondings` | [UnbondingDelegation](#alliance.UnbondingDelegation) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |



Expand All @@ -893,6 +895,7 @@ Alliance
| `denom` | [string](#string) | | |
| `delegator_addr` | [string](#string) | | |
| `validator_addr` | [string](#string) | | |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |



Expand All @@ -908,6 +911,7 @@ Alliance
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `unbondings` | [UnbondingDelegation](#alliance.UnbondingDelegation) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |



Expand Down
5 changes: 4 additions & 1 deletion proto/alliance/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -285,20 +285,21 @@ message QueryAllianceValidatorsResponse {
}

// AllianceDelegation

message QueryAllianceUnbondingsByDenomAndDelegatorRequest {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

string denom = 1;
string delegator_addr = 2;
cosmos.base.query.v1beta1.PageRequest pagination = 3;
}

message QueryAllianceUnbondingsByDenomAndDelegatorResponse {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

repeated UnbondingDelegation unbondings = 1 [(gogoproto.nullable) = false];
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}

message QueryAllianceUnbondingsRequest {
Expand All @@ -308,13 +309,15 @@ message QueryAllianceUnbondingsRequest {
string denom = 1;
string delegator_addr = 2;
string validator_addr = 3;
cosmos.base.query.v1beta1.PageRequest pagination = 4;
}

message QueryAllianceUnbondingsResponse {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

repeated UnbondingDelegation unbondings = 1 [(gogoproto.nullable) = false];
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}

// Redelegations
Expand Down
Loading

0 comments on commit f199f6f

Please sign in to comment.