Skip to content

Commit

Permalink
feat: withdraw module types and proto (#409)
Browse files Browse the repository at this point in the history
* feat: withdraw module types and proto

* ignore proto for semgrep

* proto gen and swagger

* swagger

* tests

* address comments
  • Loading branch information
fedekunze authored Mar 21, 2022
1 parent bb46a34 commit 646f259
Show file tree
Hide file tree
Showing 21 changed files with 2,407 additions and 2,319 deletions.
3 changes: 3 additions & 0 deletions .semgrepignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ vendor/
.tox/
*.min.js

# Ignore proto
*.proto

# Common test paths
test/
tests/
Expand Down
320 changes: 164 additions & 156 deletions client/docs/config.json
Original file line number Diff line number Diff line change
@@ -1,157 +1,165 @@
{
"swagger": "2.0",
"info": {
"title": "Evmos Chain - gRPC Gateway docs",
"description": "A REST interface for state queries and transactions",
"version": "1.0.0"
},
"apis": [
{
"url": "./tmp-swagger-gen/evmos/claims/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ClaimsParams"
}
}
},
{
"url": "./tmp-swagger-gen/evmos/epochs/v1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/evmos/erc20/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ERC20Params"
}
}
},
{
"url": "./tmp-swagger-gen/evmos/incentives/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "IncentivesParams"
}
}
},
{
"url": "./tmp-swagger-gen/evmos/inflation/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "InflationParams",
"TotalSupply": "InflationTotalSupply"
}
}
},
{
"url": "./tmp-swagger-gen/evmos/vesting/v1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/ethermint/evm/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "EvmParams"
}
}
},
{
"url": "./tmp-swagger-gen/ethermint/feemarket/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "FeeMarketParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/applications/transfer/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "TransferParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/core/client/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ClientParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/core/connection/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ConnectionParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/core/channel/v1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/cosmos/auth/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Account": "AuthAccount",
"Params": "AuthParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/authz/v1beta1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/cosmos/bank/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Balance": "BankBalance",
"Params": "BankParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/distribution/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "DistributionParams",
"DelegatorValidators": "DistDelegatorValidators"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/feegrant/v1beta1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/cosmos/evidence/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "EvidenceParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/gov/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "GovParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/slashing/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "SlashingParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/staking/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "StakingParams"
}
}
}
]
}
"swagger": "2.0",
"info": {
"title": "Evmos Chain - gRPC Gateway docs",
"description": "A REST interface for state queries and transactions",
"version": "1.0.0"
},
"apis": [
{
"url": "./tmp-swagger-gen/evmos/claims/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ClaimsParams"
}
}
},
{
"url": "./tmp-swagger-gen/evmos/epochs/v1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/evmos/erc20/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ERC20Params"
}
}
},
{
"url": "./tmp-swagger-gen/evmos/incentives/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "IncentivesParams"
}
}
},
{
"url": "./tmp-swagger-gen/evmos/inflation/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "InflationParams",
"TotalSupply": "InflationTotalSupply"
}
}
},
{
"url": "./tmp-swagger-gen/evmos/vesting/v1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/evmos/withdraw/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "WithdrawParams"
}
}
},
{
"url": "./tmp-swagger-gen/ethermint/evm/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "EvmParams"
}
}
},
{
"url": "./tmp-swagger-gen/ethermint/feemarket/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "FeeMarketParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/applications/transfer/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "TransferParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/core/client/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ClientParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/core/connection/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ConnectionParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/core/channel/v1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/cosmos/auth/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Account": "AuthAccount",
"Params": "AuthParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/authz/v1beta1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/cosmos/bank/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Balance": "BankBalance",
"Params": "BankParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/distribution/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "DistributionParams",
"DelegatorValidators": "DistDelegatorValidators"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/feegrant/v1beta1/query.swagger.json"
},
{
"url": "./tmp-swagger-gen/cosmos/evidence/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "EvidenceParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/gov/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "GovParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/slashing/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "SlashingParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/staking/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "StakingParams"
}
}
}
]
}
9 changes: 5 additions & 4 deletions client/docs/statik/statik.go

Large diffs are not rendered by default.

Loading

0 comments on commit 646f259

Please sign in to comment.