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

Add Osmosis IBC Rate Limit module #1603

Closed
wants to merge 5 commits into from
Closed
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
125 changes: 125 additions & 0 deletions docs/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@

- [Msg](#provenance.attribute.v1.Msg)

- [provenance/ibc-rate-limit/v1beta1/params.proto](#provenance/ibc-rate-limit/v1beta1/params.proto)
- [Params](#provenance.ibcratelimit.v1beta1.Params)

- [provenance/ibc-rate-limit/v1beta1/genesis.proto](#provenance/ibc-rate-limit/v1beta1/genesis.proto)
- [GenesisState](#provenance.ibcratelimit.v1beta1.GenesisState)

- [provenance/ibc-rate-limit/v1beta1/query.proto](#provenance/ibc-rate-limit/v1beta1/query.proto)
- [ParamsRequest](#provenance.ibcratelimit.v1beta1.ParamsRequest)
- [ParamsResponse](#provenance.ibcratelimit.v1beta1.ParamsResponse)

- [Query](#provenance.ibcratelimit.v1beta1.Query)

- [provenance/marker/v1/accessgrant.proto](#provenance/marker/v1/accessgrant.proto)
- [AccessGrant](#provenance.marker.v1.AccessGrant)

Expand Down Expand Up @@ -1170,6 +1182,119 @@ Msg defines the attribute module Msg service.



<a name="provenance/ibc-rate-limit/v1beta1/params.proto"></a>
<p align="right"><a href="#top">Top</a></p>

## provenance/ibc-rate-limit/v1beta1/params.proto



<a name="provenance.ibcratelimit.v1beta1.Params"></a>

### Params
Params defines the parameters for the ibc-rate-limit module.


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `contract_address` | [string](#string) | | |





<!-- end messages -->

<!-- end enums -->

<!-- end HasExtensions -->

<!-- end services -->



<a name="provenance/ibc-rate-limit/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>

## provenance/ibc-rate-limit/v1beta1/genesis.proto



<a name="provenance.ibcratelimit.v1beta1.GenesisState"></a>

### GenesisState
GenesisState defines the ibc-rate-limit module's genesis state.


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#provenance.ibcratelimit.v1beta1.Params) | | params are all the parameters of the module |





<!-- end messages -->

<!-- end enums -->

<!-- end HasExtensions -->

<!-- end services -->



<a name="provenance/ibc-rate-limit/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>

## provenance/ibc-rate-limit/v1beta1/query.proto



<a name="provenance.ibcratelimit.v1beta1.ParamsRequest"></a>

### ParamsRequest
ParamsRequest is the request type for the Query/Params RPC method.






<a name="provenance.ibcratelimit.v1beta1.ParamsResponse"></a>

### ParamsResponse
aramsResponse is the response type for the Query/Params RPC method.


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#provenance.ibcratelimit.v1beta1.Params) | | params defines the parameters of the module. |





<!-- end messages -->

<!-- end enums -->

<!-- end HasExtensions -->


<a name="provenance.ibcratelimit.v1beta1.Query"></a>

### Query
Query defines the gRPC querier service.

| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Params` | [ParamsRequest](#provenance.ibcratelimit.v1beta1.ParamsRequest) | [ParamsResponse](#provenance.ibcratelimit.v1beta1.ParamsResponse) | Params defines a gRPC query method that returns the ibc-rate-limit module's parameters. | GET|/provenance/ibc-rate-limit/v1beta1/params|

<!-- end services -->



<a name="provenance/marker/v1/accessgrant.proto"></a>
<p align="right"><a href="#top">Top</a></p>

Expand Down
15 changes: 15 additions & 0 deletions proto/provenance/ibc-rate-limit/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
syntax = "proto3";
package provenance.ibcratelimit.v1beta1;

Check failure on line 2 in proto/provenance/ibc-rate-limit/v1beta1/genesis.proto

View workflow job for this annotation

GitHub Actions / Protobuf Checks

Files with package "provenance.ibcratelimit.v1beta1" must be within a directory "provenance/ibcratelimit/v1beta1" relative to root but were in directory "provenance/ibc-rate-limit/v1beta1".

import "gogoproto/gogo.proto";
import "provenance/ibc-rate-limit/v1beta1/params.proto";

option go_package = "github.com/provenance-io/provenance/x/ibc-rate-limit/types";
option java_package = "io.provenance.ibcratelimit.v1beta1";
option java_multiple_files = true;

// GenesisState defines the ibc-rate-limit module's genesis state.
message GenesisState {
// params are all the parameters of the module
Params params = 1 [(gogoproto.nullable) = false];
}
13 changes: 13 additions & 0 deletions proto/provenance/ibc-rate-limit/v1beta1/params.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
syntax = "proto3";
package provenance.ibcratelimit.v1beta1;

Check failure on line 2 in proto/provenance/ibc-rate-limit/v1beta1/params.proto

View workflow job for this annotation

GitHub Actions / Protobuf Checks

Files with package "provenance.ibcratelimit.v1beta1" must be within a directory "provenance/ibcratelimit/v1beta1" relative to root but were in directory "provenance/ibc-rate-limit/v1beta1".

import "gogoproto/gogo.proto";

option go_package = "github.com/provenance-io/provenance/x/ibc-rate-limit/types";
option java_package = "io.provenance.ibcratelimit.v1beta1";
option java_multiple_files = true;

// Params defines the parameters for the ibc-rate-limit module.
message Params {
string contract_address = 1 [(gogoproto.moretags) = "yaml:\"contract_address\""];
}
29 changes: 29 additions & 0 deletions proto/provenance/ibc-rate-limit/v1beta1/query.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
syntax = "proto3";
package provenance.ibcratelimit.v1beta1;

Check failure on line 2 in proto/provenance/ibc-rate-limit/v1beta1/query.proto

View workflow job for this annotation

GitHub Actions / Protobuf Checks

Files with package "provenance.ibcratelimit.v1beta1" must be within a directory "provenance/ibcratelimit/v1beta1" relative to root but were in directory "provenance/ibc-rate-limit/v1beta1".

import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
import "cosmos/base/query/v1beta1/pagination.proto";

Check failure on line 6 in proto/provenance/ibc-rate-limit/v1beta1/query.proto

View workflow job for this annotation

GitHub Actions / Protobuf Checks

Import "cosmos/base/query/v1beta1/pagination.proto" is unused.
import "provenance/ibc-rate-limit/v1beta1/params.proto";

option go_package = "github.com/provenance-io/provenance/x/ibc-rate-limit/types";
option java_package = "io.provenance.ibcratelimit.v1beta1";
option java_multiple_files = true;

// Query defines the gRPC querier service.
service Query {
// Params defines a gRPC query method that returns the ibc-rate-limit module's
// parameters.
rpc Params(ParamsRequest) returns (ParamsResponse) {
option (google.api.http).get = "/provenance/ibc-rate-limit/v1beta1/params";
}
}

// ParamsRequest is the request type for the Query/Params RPC method.
message ParamsRequest {}

// aramsResponse is the response type for the Query/Params RPC method.
message ParamsResponse {
// params defines the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false];
}
Loading
Loading