diff --git a/docs/config.yaml b/docs/config.yaml index ef37639f..2c75fea7 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -1,3 +1,4 @@ +--- swagger: '2.0' info: title: "AKASH - gRPC Gateway docs" @@ -7,10 +8,21 @@ apis: - url: "./.cache/tmp/swagger-gen/akash/audit/v1/query.swagger.json" - url: "./.cache/tmp/swagger-gen/akash/cert/v1/query.swagger.json" - url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta4/query.swagger.json" + operationIds: + rename: + Params: DeploymentParams - url: "./.cache/tmp/swagger-gen/akash/deployment/v1beta4/service.swagger.json" - url: "./.cache/tmp/swagger-gen/akash/market/v1beta5/query.swagger.json" + operationIds: + rename: + Params: MarketParams - url: "./.cache/tmp/swagger-gen/akash/market/v1beta5/service.swagger.json" - url: "./.cache/tmp/swagger-gen/akash/provider/v1beta4/query.swagger.json" - - url: "./vendor/github.com/cosmos/cosmos-sdk/client/docs/swagger-ui/swagger.yaml" + - url: "./.cache/tmp/swagger-gen/akash/take/v1/query.swagger.json" + operationIds: + rename: + Params: TakeParams + - url: "./.cache/tmp/swagger-gen/akash/take/v1/service.swagger.json" + - url: "./go/vendor/github.com/cosmos/cosmos-sdk/client/docs/swagger-ui/swagger.yaml" dereference: circular: "ignore" diff --git a/docs/proto/node.md b/docs/proto/node.md index 0c733118..95773ac1 100644 --- a/docs/proto/node.md +++ b/docs/proto/node.md @@ -11,9 +11,12 @@ - [akash/audit/v1/audit.proto](#akash/audit/v1/audit.proto) - [AttributesFilters](#akash.audit.v1.AttributesFilters) - - [AttributesResponse](#akash.audit.v1.AttributesResponse) - - [AuditedAttributes](#akash.audit.v1.AuditedAttributes) - - [Provider](#akash.audit.v1.Provider) + - [AuditedAttributesStore](#akash.audit.v1.AuditedAttributesStore) + - [AuditedProvider](#akash.audit.v1.AuditedProvider) + + - [akash/audit/v1/event.proto](#akash/audit/v1/event.proto) + - [EventTrustedAuditorCreated](#akash.audit.v1.EventTrustedAuditorCreated) + - [EventTrustedAuditorDeleted](#akash.audit.v1.EventTrustedAuditorDeleted) - [akash/audit/v1/genesis.proto](#akash/audit/v1/genesis.proto) - [GenesisState](#akash.audit.v1.GenesisState) @@ -96,21 +99,29 @@ - [Deployment](#akash.deployment.v1.Deployment) - [DeploymentID](#akash.deployment.v1.DeploymentID) - - [DeploymentState](#akash.deployment.v1.DeploymentState) + - [Deployment.State](#akash.deployment.v1.Deployment.State) - [akash/deployment/v1/group.proto](#akash/deployment/v1/group.proto) - [GroupID](#akash.deployment.v1.GroupID) + - [akash/deployment/v1/event.proto](#akash/deployment/v1/event.proto) + - [EventDeploymentClosed](#akash.deployment.v1.EventDeploymentClosed) + - [EventDeploymentCreated](#akash.deployment.v1.EventDeploymentCreated) + - [EventDeploymentUpdated](#akash.deployment.v1.EventDeploymentUpdated) + - [EventGroupClosed](#akash.deployment.v1.EventGroupClosed) + - [EventGroupPaused](#akash.deployment.v1.EventGroupPaused) + - [EventGroupStarted](#akash.deployment.v1.EventGroupStarted) + + - [akash/deployment/v1/msg.proto](#akash/deployment/v1/msg.proto) + - [MsgDepositDeployment](#akash.deployment.v1.MsgDepositDeployment) + - [MsgDepositDeploymentResponse](#akash.deployment.v1.MsgDepositDeploymentResponse) + - [akash/deployment/v1beta4/resourceunit.proto](#akash/deployment/v1beta4/resourceunit.proto) - [ResourceUnit](#akash.deployment.v1beta4.ResourceUnit) - [akash/deployment/v1beta4/groupspec.proto](#akash/deployment/v1beta4/groupspec.proto) - [GroupSpec](#akash.deployment.v1beta4.GroupSpec) - - [akash/deployment/v1/msg.proto](#akash/deployment/v1/msg.proto) - - [MsgDepositDeployment](#akash.deployment.v1.MsgDepositDeployment) - - [MsgDepositDeploymentResponse](#akash.deployment.v1.MsgDepositDeploymentResponse) - - [akash/deployment/v1beta4/deploymentmsg.proto](#akash/deployment/v1beta4/deploymentmsg.proto) - [MsgCloseDeployment](#akash.deployment.v1beta4.MsgCloseDeployment) - [MsgCloseDeploymentResponse](#akash.deployment.v1beta4.MsgCloseDeploymentResponse) @@ -121,11 +132,12 @@ - [akash/deployment/v1beta4/filters.proto](#akash/deployment/v1beta4/filters.proto) - [DeploymentFilters](#akash.deployment.v1beta4.DeploymentFilters) + - [GroupFilters](#akash.deployment.v1beta4.GroupFilters) - [akash/deployment/v1beta4/group.proto](#akash/deployment/v1beta4/group.proto) - [Group](#akash.deployment.v1beta4.Group) - - [GroupState](#akash.deployment.v1beta4.GroupState) + - [Group.State](#akash.deployment.v1beta4.Group.State) - [akash/deployment/v1beta4/params.proto](#akash/deployment/v1beta4/params.proto) - [Params](#akash.deployment.v1beta4.Params) @@ -142,13 +154,17 @@ - [MsgStartGroup](#akash.deployment.v1beta4.MsgStartGroup) - [MsgStartGroupResponse](#akash.deployment.v1beta4.MsgStartGroupResponse) - - [akash/escrow/v1/types.proto](#akash/escrow/v1/types.proto) - - [Account](#akash.escrow.v1.Account) + - [akash/deployment/v1beta4/paramsmsg.proto](#akash/deployment/v1beta4/paramsmsg.proto) + - [MsgUpdateParams](#akash.deployment.v1beta4.MsgUpdateParams) + - [MsgUpdateParamsResponse](#akash.deployment.v1beta4.MsgUpdateParamsResponse) + + - [akash/escrow/v1/accountid.proto](#akash/escrow/v1/accountid.proto) - [AccountID](#akash.escrow.v1.AccountID) - - [FractionalPayment](#akash.escrow.v1.FractionalPayment) - - [AccountState](#akash.escrow.v1.AccountState) - - [FractionalPayment.State](#akash.escrow.v1.FractionalPayment.State) + - [akash/escrow/v1/account.proto](#akash/escrow/v1/account.proto) + - [Account](#akash.escrow.v1.Account) + + - [Account.State](#akash.escrow.v1.Account.State) - [akash/deployment/v1beta4/query.proto](#akash/deployment/v1beta4/query.proto) - [QueryDeploymentRequest](#akash.deployment.v1beta4.QueryDeploymentRequest) @@ -157,6 +173,8 @@ - [QueryDeploymentsResponse](#akash.deployment.v1beta4.QueryDeploymentsResponse) - [QueryGroupRequest](#akash.deployment.v1beta4.QueryGroupRequest) - [QueryGroupResponse](#akash.deployment.v1beta4.QueryGroupResponse) + - [QueryParamsRequest](#akash.deployment.v1beta4.QueryParamsRequest) + - [QueryParamsResponse](#akash.deployment.v1beta4.QueryParamsResponse) - [Query](#akash.deployment.v1beta4.Query) @@ -169,6 +187,11 @@ - [akash/discovery/v1/akash.proto](#akash/discovery/v1/akash.proto) - [Akash](#akash.discovery.v1.Akash) + - [akash/escrow/v1/fractional_payment.proto](#akash/escrow/v1/fractional_payment.proto) + - [FractionalPayment](#akash.escrow.v1.FractionalPayment) + + - [FractionalPayment.State](#akash.escrow.v1.FractionalPayment.State) + - [akash/escrow/v1/genesis.proto](#akash/escrow/v1/genesis.proto) - [GenesisState](#akash.escrow.v1.GenesisState) @@ -201,23 +224,25 @@ - [akash/market/v1/bid.proto](#akash/market/v1/bid.proto) - [BidID](#akash.market.v1.BidID) - - [BidState](#akash.market.v1.BidState) + - [akash/market/v1/order.proto](#akash/market/v1/order.proto) + - [OrderID](#akash.market.v1.OrderID) - [akash/market/v1/lease.proto](#akash/market/v1/lease.proto) - [Lease](#akash.market.v1.Lease) - [LeaseID](#akash.market.v1.LeaseID) - - [LeaseState](#akash.market.v1.LeaseState) - - - [akash/market/v1/order.proto](#akash/market/v1/order.proto) - - [OrderID](#akash.market.v1.OrderID) + - [Lease.State](#akash.market.v1.Lease.State) - - [OrderState](#akash.market.v1.OrderState) + - [akash/market/v1/event.proto](#akash/market/v1/event.proto) + - [EventBidClosed](#akash.market.v1.EventBidClosed) + - [EventBidCreated](#akash.market.v1.EventBidCreated) + - [EventLeaseClosed](#akash.market.v1.EventLeaseClosed) + - [EventLeaseCreated](#akash.market.v1.EventLeaseCreated) + - [EventOrderClosed](#akash.market.v1.EventOrderClosed) + - [EventOrderCreated](#akash.market.v1.EventOrderCreated) - [akash/market/v1/filters.proto](#akash/market/v1/filters.proto) - - [BidFilters](#akash.market.v1.BidFilters) - [LeaseFilters](#akash.market.v1.LeaseFilters) - - [OrderFilters](#akash.market.v1.OrderFilters) - [akash/market/v1beta5/resourcesoffer.proto](#akash/market/v1beta5/resourcesoffer.proto) - [ResourceOffer](#akash.market.v1beta5.ResourceOffer) @@ -225,18 +250,26 @@ - [akash/market/v1beta5/bid.proto](#akash/market/v1beta5/bid.proto) - [Bid](#akash.market.v1beta5.Bid) + - [Bid.State](#akash.market.v1beta5.Bid.State) + - [akash/market/v1beta5/bidmsg.proto](#akash/market/v1beta5/bidmsg.proto) - [MsgCloseBid](#akash.market.v1beta5.MsgCloseBid) - [MsgCloseBidResponse](#akash.market.v1beta5.MsgCloseBidResponse) - [MsgCreateBid](#akash.market.v1beta5.MsgCreateBid) - [MsgCreateBidResponse](#akash.market.v1beta5.MsgCreateBidResponse) + - [akash/market/v1beta5/filters.proto](#akash/market/v1beta5/filters.proto) + - [BidFilters](#akash.market.v1beta5.BidFilters) + - [OrderFilters](#akash.market.v1beta5.OrderFilters) + - [akash/market/v1beta5/params.proto](#akash/market/v1beta5/params.proto) - [Params](#akash.market.v1beta5.Params) - [akash/market/v1beta5/order.proto](#akash/market/v1beta5/order.proto) - [Order](#akash.market.v1beta5.Order) + - [Order.State](#akash.market.v1beta5.Order.State) + - [akash/market/v1beta5/genesis.proto](#akash/market/v1beta5/genesis.proto) - [GenesisState](#akash.market.v1beta5.GenesisState) @@ -248,6 +281,10 @@ - [MsgWithdrawLease](#akash.market.v1beta5.MsgWithdrawLease) - [MsgWithdrawLeaseResponse](#akash.market.v1beta5.MsgWithdrawLeaseResponse) + - [akash/market/v1beta5/paramsmsg.proto](#akash/market/v1beta5/paramsmsg.proto) + - [MsgUpdateParams](#akash.market.v1beta5.MsgUpdateParams) + - [MsgUpdateParamsResponse](#akash.market.v1beta5.MsgUpdateParamsResponse) + - [akash/market/v1beta5/query.proto](#akash/market/v1beta5/query.proto) - [QueryBidRequest](#akash.market.v1beta5.QueryBidRequest) - [QueryBidResponse](#akash.market.v1beta5.QueryBidResponse) @@ -261,12 +298,19 @@ - [QueryOrderResponse](#akash.market.v1beta5.QueryOrderResponse) - [QueryOrdersRequest](#akash.market.v1beta5.QueryOrdersRequest) - [QueryOrdersResponse](#akash.market.v1beta5.QueryOrdersResponse) + - [QueryParamsRequest](#akash.market.v1beta5.QueryParamsRequest) + - [QueryParamsResponse](#akash.market.v1beta5.QueryParamsResponse) - [Query](#akash.market.v1beta5.Query) - [akash/market/v1beta5/service.proto](#akash/market/v1beta5/service.proto) - [Msg](#akash.market.v1beta5.Msg) + - [akash/provider/v1beta4/event.proto](#akash/provider/v1beta4/event.proto) + - [EventProviderCreated](#akash.provider.v1beta4.EventProviderCreated) + - [EventProviderDeleted](#akash.provider.v1beta4.EventProviderDeleted) + - [EventProviderUpdated](#akash.provider.v1beta4.EventProviderUpdated) + - [akash/provider/v1beta4/provider.proto](#akash/provider/v1beta4/provider.proto) - [Info](#akash.provider.v1beta4.Info) - [Provider](#akash.provider.v1beta4.Provider) @@ -299,15 +343,38 @@ - [akash/staking/v1beta3/genesis.proto](#akash/staking/v1beta3/genesis.proto) - [GenesisState](#akash.staking.v1beta3.GenesisState) - - [akash/take/v1beta3/params.proto](#akash/take/v1beta3/params.proto) - - [DenomTakeRate](#akash.take.v1beta3.DenomTakeRate) - - [Params](#akash.take.v1beta3.Params) + - [akash/staking/v1beta3/paramsmsg.proto](#akash/staking/v1beta3/paramsmsg.proto) + - [MsgUpdateParams](#akash.staking.v1beta3.MsgUpdateParams) + - [MsgUpdateParamsResponse](#akash.staking.v1beta3.MsgUpdateParamsResponse) + + - [akash/staking/v1beta3/query.proto](#akash/staking/v1beta3/query.proto) + - [QueryParamsRequest](#akash.staking.v1beta3.QueryParamsRequest) + - [QueryParamsResponse](#akash.staking.v1beta3.QueryParamsResponse) + + - [Query](#akash.staking.v1beta3.Query) - - [akash/take/v1beta3/genesis.proto](#akash/take/v1beta3/genesis.proto) - - [GenesisState](#akash.take.v1beta3.GenesisState) + - [akash/staking/v1beta3/service.proto](#akash/staking/v1beta3/service.proto) + - [Msg](#akash.staking.v1beta3.Msg) - - [akash/take/v1beta3/query.proto](#akash/take/v1beta3/query.proto) - - [Query](#akash.take.v1beta3.Query) + - [akash/take/v1/params.proto](#akash/take/v1/params.proto) + - [DenomTakeRate](#akash.take.v1.DenomTakeRate) + - [Params](#akash.take.v1.Params) + + - [akash/take/v1/genesis.proto](#akash/take/v1/genesis.proto) + - [GenesisState](#akash.take.v1.GenesisState) + + - [akash/take/v1/paramsmsg.proto](#akash/take/v1/paramsmsg.proto) + - [MsgUpdateParams](#akash.take.v1.MsgUpdateParams) + - [MsgUpdateParamsResponse](#akash.take.v1.MsgUpdateParamsResponse) + + - [akash/take/v1/query.proto](#akash/take/v1/query.proto) + - [QueryParamsRequest](#akash.take.v1.QueryParamsRequest) + - [QueryParamsResponse](#akash.take.v1.QueryParamsResponse) + + - [Query](#akash.take.v1.Query) + + - [akash/take/v1/service.proto](#akash/take/v1/service.proto) + - [Msg](#akash.take.v1.Msg) - [Scalar Value Types](#scalar-value-types) @@ -403,25 +470,25 @@ this behaviour to be discussed - + - ### AttributesResponse - AttributesResponse represents details of deployment along with group details + ### AuditedAttributesStore + Attributes | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `attributes` | [AuditedAttributes](#akash.audit.v1.AuditedAttributes) | repeated | | + | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | | - + - ### AuditedAttributes - Attributes + ### AuditedProvider + Provider stores owner auditor and attributes details | Field | Type | Label | Description | @@ -434,18 +501,49 @@ this behaviour to be discussed + + + + + + + + + + + +

Top

+ + ## akash/audit/v1/event.proto + + - + - ### Provider - Provider stores owner auditor and attributes details + ### EventTrustedAuditorCreated + EventTrustedAuditorCreated defines an SDK message for signing a provider attributes + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `owner` | [string](#string) | | | + | `auditor` | [string](#string) | | | + + + + + + + + + ### EventTrustedAuditorDeleted + EventTrustedAuditorCreated defines an SDK message for signing a provider attributes | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `owner` | [string](#string) | | | | `auditor` | [string](#string) | | | - | `attributes` | [akash.base.attributes.v1.Attribute](#akash.base.attributes.v1.Attribute) | repeated | | @@ -476,7 +574,7 @@ this behaviour to be discussed | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `attributes` | [AuditedAttributes](#akash.audit.v1.AuditedAttributes) | repeated | | + | `providers` | [AuditedProvider](#akash.audit.v1.AuditedProvider) | repeated | | @@ -656,7 +754,7 @@ this behaviour to be discussed | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `providers` | [Provider](#akash.audit.v1.Provider) | repeated | | + | `providers` | [AuditedProvider](#akash.audit.v1.AuditedProvider) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | | @@ -1034,7 +1132,7 @@ if field is nil resource is not present in the given data-structure | ----- | ---- | ----- | ----------- | | `owner` | [string](#string) | | | | `serial` | [string](#string) | | | - | `state` | [State](#akash.cert.v1.State) | | | + | `state` | [string](#string) | | | @@ -1233,7 +1331,7 @@ if field is nil resource is not present in the given data-structure | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | | ----------- | ------------ | ------------- | ------------| ------- | -------- | - | `Certificates` | [QueryCertificatesRequest](#akash.cert.v1.QueryCertificatesRequest) | [QueryCertificatesResponse](#akash.cert.v1.QueryCertificatesResponse) | Certificates queries certificates | GET|/akash/cert/1/certificates/list| + | `Certificates` | [QueryCertificatesRequest](#akash.cert.v1.QueryCertificatesRequest) | [QueryCertificatesResponse](#akash.cert.v1.QueryCertificatesResponse) | Certificates queries certificates | GET|/akash/cert/v1/certificates/list| @@ -1308,13 +1406,13 @@ the granter's account for a deployment. ### Deployment - Deployment stores deploymentID, state and version details + Deployment stores deploymentID, state and checksum details | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | | - | `state` | [DeploymentState](#akash.deployment.v1.DeploymentState) | | | + | `state` | [Deployment.State](#akash.deployment.v1.Deployment.State) | | | | `hash` | [bytes](#bytes) | | | | `created_at` | [int64](#int64) | | | @@ -1341,10 +1439,10 @@ the granter's account for a deployment. - + - ### DeploymentState - DeploymentState is an enum which refers to state of deployment + ### Deployment.State + State is an enum which refers to state of deployment | Name | Number | Description | | ---- | ------ | ----------- | @@ -1394,57 +1492,99 @@ the granter's account for a deployment. - +

Top

- ## akash/deployment/v1beta4/resourceunit.proto + ## akash/deployment/v1/event.proto - + - ### ResourceUnit - ResourceUnit extends Resources and adds Count along with the Price + ### EventDeploymentClosed + EventDeploymentClosed is triggered when deployment is closed on chain | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `resource` | [akash.base.resources.v1beta4.Resources](#akash.base.resources.v1beta4.Resources) | | | - | `count` | [uint32](#uint32) | | | - | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | + | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | | - + + - + ### EventDeploymentCreated + EventDeploymentCreated event is triggered when deployment is created on chain - + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | | + | `hash` | [bytes](#bytes) | | | + + - + + + + ### EventDeploymentUpdated + EventDeploymentUpdated is triggered when deployment is updated on chain + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `id` | [DeploymentID](#akash.deployment.v1.DeploymentID) | | | + | `hash` | [bytes](#bytes) | | | + - -

Top

- ## akash/deployment/v1beta4/groupspec.proto - + - ### GroupSpec - Spec stores group specifications + ### EventGroupClosed + EventGroupClosed is triggered when deployment group is closed | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `name` | [string](#string) | | | - | `requirements` | [akash.base.attributes.v1.PlacementRequirements](#akash.base.attributes.v1.PlacementRequirements) | | | - | `resources` | [ResourceUnit](#akash.deployment.v1beta4.ResourceUnit) | repeated | | + | `id` | [GroupID](#akash.deployment.v1.GroupID) | | | + + + + + + + + + ### EventGroupPaused + EventGroupPaused is triggered when deployment group is paused + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `id` | [GroupID](#akash.deployment.v1.GroupID) | | | + + + + + + + + + ### EventGroupStarted + EventGroupStarted is triggered when deployment group is started + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `id` | [GroupID](#akash.deployment.v1.GroupID) | | | @@ -1493,6 +1633,72 @@ the granter's account for a deployment. + + + + + + + + + + + +

Top

+ + ## akash/deployment/v1beta4/resourceunit.proto + + + + + + ### ResourceUnit + ResourceUnit extends Resources and adds Count along with the Price + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `resource` | [akash.base.resources.v1beta4.Resources](#akash.base.resources.v1beta4.Resources) | | | + | `count` | [uint32](#uint32) | | | + | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | + + + + + + + + + + + + + + + + +

Top

+ + ## akash/deployment/v1beta4/groupspec.proto + + + + + + ### GroupSpec + Spec stores group specifications + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `name` | [string](#string) | | | + | `requirements` | [akash.base.attributes.v1.PlacementRequirements](#akash.base.attributes.v1.PlacementRequirements) | | | + | `resources` | [ResourceUnit](#akash.deployment.v1beta4.ResourceUnit) | repeated | | + + + + + @@ -1616,7 +1822,25 @@ the granter's account for a deployment. | ----- | ---- | ----- | ----------- | | `owner` | [string](#string) | | | | `dseq` | [uint64](#uint64) | | | - | `state` | [akash.deployment.v1.DeploymentState](#akash.deployment.v1.DeploymentState) | | | + | `state` | [string](#string) | | | + + + + + + + + + ### GroupFilters + GroupFilters defines filters used to filter groups + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `owner` | [string](#string) | | | + | `dseq` | [uint64](#uint64) | | | + | `gseq` | [uint64](#uint64) | | | + | `state` | [string](#string) | | | @@ -1648,7 +1872,7 @@ the granter's account for a deployment. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `id` | [akash.deployment.v1.GroupID](#akash.deployment.v1.GroupID) | | | - | `state` | [GroupState](#akash.deployment.v1beta4.GroupState) | | | + | `state` | [Group.State](#akash.deployment.v1beta4.Group.State) | | | | `group_spec` | [GroupSpec](#akash.deployment.v1beta4.GroupSpec) | | | | `created_at` | [int64](#int64) | | | @@ -1659,10 +1883,10 @@ the granter's account for a deployment. - + - ### GroupState - GroupState is an enum which refers to state of group + ### Group.State + State is an enum which refers to state of group | Name | Number | Description | | ---- | ------ | ----------- | @@ -1691,7 +1915,7 @@ the granter's account for a deployment. ### Params - Params defines the parameters for the x/deployment package + Params defines the parameters for the x/deployment module | Field | Type | Label | Description | @@ -1851,32 +2075,59 @@ the granter's account for a deployment. - +

Top

- ## akash/escrow/v1/types.proto + ## akash/deployment/v1beta4/paramsmsg.proto - + - ### Account - Account stores state for an escrow account + ### MsgUpdateParams + MsgUpdateParams is the Msg/UpdateParams request type. + +Since: akash v1.0.0 | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `id` | [AccountID](#akash.escrow.v1.AccountID) | | unique identifier for this escrow account | - | `owner` | [string](#string) | | bech32 encoded account address of the owner of this escrow account | - | `state` | [AccountState](#akash.escrow.v1.AccountState) | | current state of this escrow account | - | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | unspent coins received from the owner's wallet | - | `transferred` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | total coins spent by this account | - | `settled_at` | [int64](#int64) | | block height at which this account was last settled | - | `depositor` | [string](#string) | | bech32 encoded account address of the depositor. If depositor is same as the owner, then any incoming coins are added to the Balance. If depositor isn't same as the owner, then any incoming coins are added to the Funds. | - | `funds` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | Funds are unspent coins received from the (non-Owner) Depositor's wallet. If there are any funds, they should be spent before spending the Balance. | + | `authority` | [string](#string) | | authority is the address of the governance account. | + | `params` | [Params](#akash.deployment.v1beta4.Params) | | params defines the x/deployment parameters to update. + +NOTE: All parameters must be supplied. | + + + + + + + + + ### MsgUpdateParamsResponse + MsgUpdateParamsResponse defines the response structure for executing a +MsgUpdateParams message. + +Since: akash v1.0.0 + + + + + + + + + + + + + + +

Top

+ ## akash/escrow/v1/accountid.proto @@ -1895,22 +2146,39 @@ the granter's account for a deployment. - - + - ### FractionalPayment - Payment stores state for a payment + + + + + + + + + +

Top

+ + ## akash/escrow/v1/account.proto + + + + + + ### Account + Account stores state for an escrow account | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `account_id` | [AccountID](#akash.escrow.v1.AccountID) | | | - | `payment_id` | [string](#string) | | | - | `owner` | [string](#string) | | | - | `state` | [FractionalPayment.State](#akash.escrow.v1.FractionalPayment.State) | | | - | `rate` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | - | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | - | `withdrawn` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | + | `id` | [AccountID](#akash.escrow.v1.AccountID) | | unique identifier for this escrow account | + | `owner` | [string](#string) | | bech32 encoded account address of the owner of this escrow account | + | `state` | [Account.State](#akash.escrow.v1.Account.State) | | current state of this escrow account | + | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | unspent coins received from the owner's wallet | + | `transferred` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | total coins spent by this account | + | `settled_at` | [int64](#int64) | | block height at which this account was last settled | + | `depositor` | [string](#string) | | bech32 encoded account address of the depositor. If depositor is same as the owner, then any incoming coins are added to the Balance. If depositor isn't same as the owner, then any incoming coins are added to the Funds. | + | `funds` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | Funds are unspent coins received from the (non-Owner) Depositor's wallet. If there are any funds, they should be spent before spending the Balance. | @@ -1919,9 +2187,9 @@ the granter's account for a deployment. - + - ### AccountState + ### Account.State State stores state for an escrow account | Name | Number | Description | @@ -1932,20 +2200,6 @@ the granter's account for a deployment. | overdrawn | 3 | AccountOverdrawn is the state when an account is overdrawn | - - - - ### FractionalPayment.State - Payment State - - | Name | Number | Description | - | ---- | ------ | ----------- | - | invalid | 0 | PaymentStateInvalid is the state when the payment is invalid | - | open | 1 | PaymentStateOpen is the state when the payment is open | - | closed | 2 | PaymentStateClosed is the state when the payment is closed | - | overdrawn | 3 | PaymentStateOverdrawn is the state when the payment is overdrawn | - - @@ -2054,6 +2308,31 @@ the granter's account for a deployment. + + + + ### QueryParamsRequest + QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + + + + + ### QueryParamsResponse + QueryParamsResponse is the response type for the Query/Params RPC method. + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `params` | [Params](#akash.deployment.v1beta4.Params) | | params defines the parameters of the module. | + + + + + @@ -2068,9 +2347,10 @@ the granter's account for a deployment. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | | ----------- | ------------ | ------------- | ------------| ------- | -------- | - | `Deployments` | [QueryDeploymentsRequest](#akash.deployment.v1beta4.QueryDeploymentsRequest) | [QueryDeploymentsResponse](#akash.deployment.v1beta4.QueryDeploymentsResponse) | Deployments queries deployments | GET|/akash/deployment/v1/deployments/list| - | `Deployment` | [QueryDeploymentRequest](#akash.deployment.v1beta4.QueryDeploymentRequest) | [QueryDeploymentResponse](#akash.deployment.v1beta4.QueryDeploymentResponse) | Deployment queries deployment details | GET|/akash/deployment/v1/deployments/info| - | `Group` | [QueryGroupRequest](#akash.deployment.v1beta4.QueryGroupRequest) | [QueryGroupResponse](#akash.deployment.v1beta4.QueryGroupResponse) | Group queries group details | GET|/akash/deployment/v1/groups/info| + | `Deployments` | [QueryDeploymentsRequest](#akash.deployment.v1beta4.QueryDeploymentsRequest) | [QueryDeploymentsResponse](#akash.deployment.v1beta4.QueryDeploymentsResponse) | Deployments queries deployments | GET|/akash/deployment/v1beta4/deployments/list| + | `Deployment` | [QueryDeploymentRequest](#akash.deployment.v1beta4.QueryDeploymentRequest) | [QueryDeploymentResponse](#akash.deployment.v1beta4.QueryDeploymentResponse) | Deployment queries deployment details | GET|/akash/deployment/v1beta4/deployments/info| + | `Group` | [QueryGroupRequest](#akash.deployment.v1beta4.QueryGroupRequest) | [QueryGroupResponse](#akash.deployment.v1beta4.QueryGroupResponse) | Group queries group details | GET|/akash/deployment/v1beta4/groups/info| + | `Params` | [QueryParamsRequest](#akash.deployment.v1beta4.QueryParamsRequest) | [QueryParamsResponse](#akash.deployment.v1beta4.QueryParamsResponse) | Params returns the total set of minting parameters. | GET|/akash/deployment/v1beta4/params| @@ -2092,7 +2372,7 @@ the granter's account for a deployment. ### Msg - Msg defines the deployment Msg service. + Msg defines the x/deployment Msg service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | | ----------- | ------------ | ------------- | ------------| ------- | -------- | @@ -2103,6 +2383,9 @@ the granter's account for a deployment. | `CloseGroup` | [MsgCloseGroup](#akash.deployment.v1beta4.MsgCloseGroup) | [MsgCloseGroupResponse](#akash.deployment.v1beta4.MsgCloseGroupResponse) | CloseGroup defines a method to close a group of a deployment given proper inputs. | | | `PauseGroup` | [MsgPauseGroup](#akash.deployment.v1beta4.MsgPauseGroup) | [MsgPauseGroupResponse](#akash.deployment.v1beta4.MsgPauseGroupResponse) | PauseGroup defines a method to close a group of a deployment given proper inputs. | | | `StartGroup` | [MsgStartGroup](#akash.deployment.v1beta4.MsgStartGroup) | [MsgStartGroupResponse](#akash.deployment.v1beta4.MsgStartGroupResponse) | StartGroup defines a method to close a group of a deployment given proper inputs. | | + | `UpdateParams` | [MsgUpdateParams](#akash.deployment.v1beta4.MsgUpdateParams) | [MsgUpdateParamsResponse](#akash.deployment.v1beta4.MsgUpdateParamsResponse) | UpdateParams defines a governance operation for updating the x/deployment module parameters. The authority is hard-coded to the x/gov module account. + +Since: akash v1.0.0 | | @@ -2170,6 +2453,57 @@ the granter's account for a deployment. + +

Top

+ + ## akash/escrow/v1/fractional_payment.proto + + + + + + ### FractionalPayment + Payment stores state for a payment + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `account_id` | [AccountID](#akash.escrow.v1.AccountID) | | | + | `payment_id` | [string](#string) | | | + | `owner` | [string](#string) | | | + | `state` | [FractionalPayment.State](#akash.escrow.v1.FractionalPayment.State) | | | + | `rate` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | + | `balance` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | + | `withdrawn` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | + + + + + + + + + + + ### FractionalPayment.State + State defines payment state + + | Name | Number | Description | + | ---- | ------ | ----------- | + | invalid | 0 | PaymentStateInvalid is the state when the payment is invalid | + | open | 1 | PaymentStateOpen is the state when the payment is open | + | closed | 2 | PaymentStateClosed is the state when the payment is closed | + | overdrawn | 3 | PaymentStateOverdrawn is the state when the payment is overdrawn | + + + + + + + + + +

Top

@@ -2180,7 +2514,7 @@ the granter's account for a deployment. ### GenesisState - GenesisState defines the basic genesis state used by escrow module + GenesisState defines the basic genesis state used by the escrow module | Field | Type | Label | Description | @@ -2518,21 +2852,40 @@ A successful bid becomes a Lease(ID). + + + + + + + + + +

Top

+ + ## akash/market/v1/order.proto - - ### BidState - BidState is an enum which refers to state of bid + + + + ### OrderID + OrderID stores owner and all other seq numbers + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `owner` | [string](#string) | | | + | `dseq` | [uint64](#uint64) | | | + | `gseq` | [uint32](#uint32) | | | + | `oseq` | [uint32](#uint32) | | | + + - | Name | Number | Description | - | ---- | ------ | ----------- | - | bid_invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state | - | bid_open | 1 | BidOpen denotes state for bid open | - | bid_active | 2 | BidMatched denotes state for bid open | - | bid_lost | 3 | BidLost denotes state for bid lost | - | bid_closed | 4 | BidClosed denotes state for bid closed | + + @@ -2557,7 +2910,7 @@ A successful bid becomes a Lease(ID). | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `id` | [LeaseID](#akash.market.v1.LeaseID) | | | - | `state` | [LeaseState](#akash.market.v1.LeaseState) | | | + | `state` | [Lease.State](#akash.market.v1.Lease.State) | | | | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | | `created_at` | [int64](#int64) | | | | `closed_on` | [int64](#int64) | | | @@ -2588,17 +2941,17 @@ A successful bid becomes a Lease(ID). - + - ### LeaseState + ### Lease.State State is an enum which refers to state of lease | Name | Number | Description | | ---- | ------ | ----------- | - | lease_invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state | - | lease_active | 1 | LeaseActive denotes state for lease active | - | lease_insufficient_funds | 2 | LeaseInsufficientFunds denotes state for lease insufficient_funds | - | lease_closed | 3 | LeaseClosed denotes state for lease closed | + | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state | + | active | 1 | LeaseActive denotes state for lease active | + | insufficient_funds | 2 | LeaseInsufficientFunds denotes state for lease insufficient_funds | + | closed | 3 | LeaseClosed denotes state for lease closed | @@ -2609,105 +2962,125 @@ A successful bid becomes a Lease(ID). - +

Top

- ## akash/market/v1/order.proto + ## akash/market/v1/event.proto - + - ### OrderID - OrderID stores owner and all other seq numbers + ### EventBidClosed + EventBidClosed | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `owner` | [string](#string) | | | - | `dseq` | [uint64](#uint64) | | | - | `gseq` | [uint32](#uint32) | | | - | `oseq` | [uint32](#uint32) | | | + | `id` | [BidID](#akash.market.v1.BidID) | | | - + + + + ### EventBidCreated + EventBidCreated + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `id` | [BidID](#akash.market.v1.BidID) | | | + | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | + + + + - + - ### OrderState - OrderState is an enum which refers to state of order + ### EventLeaseClosed + EventLeaseClosed - | Name | Number | Description | - | ---- | ------ | ----------- | - | order_invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state | - | order_open | 1 | OrderOpen denotes state for order open | - | order_active | 2 | OrderMatched denotes state for order matched | - | order_closed | 3 | OrderClosed denotes state for order lost | + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `id` | [LeaseID](#akash.market.v1.LeaseID) | | | + - + - + + - + ### EventLeaseCreated + EventLeaseCreated + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `id` | [LeaseID](#akash.market.v1.LeaseID) | | | + | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | + - -

Top

- ## akash/market/v1/filters.proto - + - ### BidFilters - BidFilters defines flags for bid list filter + ### EventOrderClosed + EventOrderClosed | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `owner` | [string](#string) | | | - | `dseq` | [uint64](#uint64) | | | - | `gseq` | [uint32](#uint32) | | | - | `oseq` | [uint32](#uint32) | | | - | `provider` | [string](#string) | | | - | `state` | [BidState](#akash.market.v1.BidState) | | | + | `id` | [OrderID](#akash.market.v1.OrderID) | | | - + - ### LeaseFilters - LeaseFilters defines flags for lease list filter + ### EventOrderCreated + EventOrderCreated | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `owner` | [string](#string) | | | - | `dseq` | [uint64](#uint64) | | | - | `gseq` | [uint32](#uint32) | | | - | `oseq` | [uint32](#uint32) | | | - | `provider` | [string](#string) | | | - | `state` | [LeaseState](#akash.market.v1.LeaseState) | | | + | `id` | [OrderID](#akash.market.v1.OrderID) | | | + + + + + + + + + + + + + + +

Top

+ ## akash/market/v1/filters.proto - + - ### OrderFilters - OrderFilters defines flags for order list filter + ### LeaseFilters + LeaseFilters defines flags for lease list filter | Field | Type | Label | Description | @@ -2716,7 +3089,8 @@ A successful bid becomes a Lease(ID). | `dseq` | [uint64](#uint64) | | | | `gseq` | [uint32](#uint32) | | | | `oseq` | [uint32](#uint32) | | | - | `state` | [OrderState](#akash.market.v1.OrderState) | | | + | `provider` | [string](#string) | | | + | `state` | [string](#string) | | | @@ -2781,7 +3155,7 @@ for deployment | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `id` | [akash.market.v1.BidID](#akash.market.v1.BidID) | | | - | `state` | [akash.market.v1.BidState](#akash.market.v1.BidState) | | | + | `state` | [Bid.State](#akash.market.v1beta5.Bid.State) | | | | `price` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | | `created_at` | [int64](#int64) | | | | `resources_offer` | [ResourceOffer](#akash.market.v1beta5.ResourceOffer) | repeated | | @@ -2792,6 +3166,21 @@ for deployment + + + + ### Bid.State + BidState is an enum which refers to state of bid + + | Name | Number | Description | + | ---- | ------ | ----------- | + | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state | + | open | 1 | BidOpen denotes state for bid open | + | active | 2 | BidMatched denotes state for bid open | + | lost | 3 | BidLost denotes state for bid lost | + | closed | 4 | BidClosed denotes state for bid closed | + + @@ -2870,35 +3259,90 @@ for deployment - +

Top

- ## akash/market/v1beta5/params.proto + ## akash/market/v1beta5/filters.proto - + - ### Params - Params is the params for the x/market module + ### BidFilters + BidFilters defines flags for bid list filter | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | - | `order_max_bids` | [uint32](#uint32) | | | + | `owner` | [string](#string) | | | + | `dseq` | [uint64](#uint64) | | | + | `gseq` | [uint32](#uint32) | | | + | `oseq` | [uint32](#uint32) | | | + | `provider` | [string](#string) | | | + | `state` | [string](#string) | | | - - - - - + + - + ### OrderFilters + OrderFilters defines flags for order list filter + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `owner` | [string](#string) | | | + | `dseq` | [uint64](#uint64) | | | + | `gseq` | [uint32](#uint32) | | | + | `oseq` | [uint32](#uint32) | | | + | `state` | [string](#string) | | | + + + + + + + + + + + + + + + + +

Top

+ + ## akash/market/v1beta5/params.proto + + + + + + ### Params + Params is the params for the x/market module + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `bid_min_deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | | + | `order_max_bids` | [uint32](#uint32) | | | + + + + + + + + + + + + @@ -2918,7 +3362,7 @@ for deployment | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `id` | [akash.market.v1.OrderID](#akash.market.v1.OrderID) | | | - | `state` | [akash.market.v1.OrderState](#akash.market.v1.OrderState) | | | + | `state` | [Order.State](#akash.market.v1beta5.Order.State) | | | | `spec` | [akash.deployment.v1beta4.GroupSpec](#akash.deployment.v1beta4.GroupSpec) | | | | `created_at` | [int64](#int64) | | | @@ -2928,6 +3372,20 @@ for deployment + + + + ### Order.State + State is an enum which refers to state of order + + | Name | Number | Description | + | ---- | ------ | ----------- | + | invalid | 0 | Prefix should start with 0 in enum. So declaring dummy state | + | open | 1 | OrderOpen denotes state for order open | + | active | 2 | OrderMatched denotes state for order matched | + | closed | 3 | OrderClosed denotes state for order lost | + + @@ -3030,7 +3488,7 @@ for deployment ### MsgWithdrawLease - MsgWithdrawLease defines an SDK message for closing bid + MsgWithdrawLease defines an SDK message for withdrawing lease funds | Field | Type | Label | Description | @@ -3051,6 +3509,55 @@ for deployment + + + + + + + + + + + +

Top

+ + ## akash/market/v1beta5/paramsmsg.proto + + + + + + ### MsgUpdateParams + MsgUpdateParams is the Msg/UpdateParams request type. + +Since: akash v1.0.0 + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `authority` | [string](#string) | | authority is the address of the governance account. | + | `params` | [Params](#akash.market.v1beta5.Params) | | params defines the x/deployment parameters to update. + +NOTE: All parameters must be supplied. | + + + + + + + + + ### MsgUpdateParamsResponse + MsgUpdateParamsResponse defines the response structure for executing a +MsgUpdateParams message. + +Since: akash v1.0.0 + + + + + @@ -3107,7 +3614,7 @@ for deployment | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `filters` | [akash.market.v1.BidFilters](#akash.market.v1.BidFilters) | | | + | `filters` | [BidFilters](#akash.market.v1beta5.BidFilters) | | | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | | @@ -3232,7 +3739,7 @@ for deployment | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `filters` | [akash.market.v1.OrderFilters](#akash.market.v1.OrderFilters) | | | + | `filters` | [OrderFilters](#akash.market.v1beta5.OrderFilters) | | | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | | @@ -3255,6 +3762,31 @@ for deployment + + + + ### QueryParamsRequest + QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + + + + + ### QueryParamsResponse + QueryParamsResponse is the response type for the Query/Params RPC method. + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `params` | [Params](#akash.market.v1beta5.Params) | | params defines the parameters of the module. | + + + + + @@ -3275,6 +3807,7 @@ for deployment | `Bid` | [QueryBidRequest](#akash.market.v1beta5.QueryBidRequest) | [QueryBidResponse](#akash.market.v1beta5.QueryBidResponse) | Bid queries bid details | GET|/akash/market/v1beta5/bids/info| | `Leases` | [QueryLeasesRequest](#akash.market.v1beta5.QueryLeasesRequest) | [QueryLeasesResponse](#akash.market.v1beta5.QueryLeasesResponse) | Leases queries leases with filters | GET|/akash/market/v1beta5/leases/list| | `Lease` | [QueryLeaseRequest](#akash.market.v1beta5.QueryLeaseRequest) | [QueryLeaseResponse](#akash.market.v1beta5.QueryLeaseResponse) | Lease queries lease details | GET|/akash/market/v1beta5/leases/info| + | `Params` | [QueryParamsRequest](#akash.market.v1beta5.QueryParamsRequest) | [QueryParamsResponse](#akash.market.v1beta5.QueryParamsResponse) | Params returns the total set of minting parameters. | GET|/akash/market/v1beta5/params| @@ -3305,11 +3838,75 @@ for deployment | `WithdrawLease` | [MsgWithdrawLease](#akash.market.v1beta5.MsgWithdrawLease) | [MsgWithdrawLeaseResponse](#akash.market.v1beta5.MsgWithdrawLeaseResponse) | WithdrawLease withdraws accrued funds from the lease payment | | | `CreateLease` | [MsgCreateLease](#akash.market.v1beta5.MsgCreateLease) | [MsgCreateLeaseResponse](#akash.market.v1beta5.MsgCreateLeaseResponse) | CreateLease creates a new lease | | | `CloseLease` | [MsgCloseLease](#akash.market.v1beta5.MsgCloseLease) | [MsgCloseLeaseResponse](#akash.market.v1beta5.MsgCloseLeaseResponse) | CloseLease defines a method to close an order given proper inputs. | | + | `UpdateParams` | [MsgUpdateParams](#akash.market.v1beta5.MsgUpdateParams) | [MsgUpdateParamsResponse](#akash.market.v1beta5.MsgUpdateParamsResponse) | UpdateParams defines a governance operation for updating the x/market module parameters. The authority is hard-coded to the x/gov module account. + +Since: akash v1.0.0 | | + +

Top

+ + ## akash/provider/v1beta4/event.proto + + + + + + ### EventProviderCreated + EventProviderCreated defines an SDK message for provider created event + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `owner` | [string](#string) | | | + + + + + + + + + ### EventProviderDeleted + EventProviderDeleted defines an SDK message for provider deleted event + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `owner` | [string](#string) | | | + + + + + + + + + ### EventProviderUpdated + EventProviderUpdated defines an SDK message for provider updated event + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `owner` | [string](#string) | | | + + + + + + + + + + + + + + +

Top

@@ -3666,14 +4263,142 @@ for deployment - +

Top

- ## akash/take/v1beta3/params.proto + ## akash/staking/v1beta3/paramsmsg.proto - + + + ### MsgUpdateParams + MsgUpdateParams is the Msg/UpdateParams request type. + +Since: akash v1.0.0 + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `authority` | [string](#string) | | authority is the address of the governance account. | + | `params` | [Params](#akash.staking.v1beta3.Params) | | params defines the x/deployment parameters to update. + +NOTE: All parameters must be supplied. | + + + + + + + + + ### MsgUpdateParamsResponse + MsgUpdateParamsResponse defines the response structure for executing a +MsgUpdateParams message. + +Since: akash v1.0.0 + + + + + + + + + + + + + + + + +

Top

+ + ## akash/staking/v1beta3/query.proto + + + + + + ### QueryParamsRequest + QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + + + + + ### QueryParamsResponse + QueryParamsResponse is the response type for the Query/Params RPC method. + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `params` | [Params](#akash.staking.v1beta3.Params) | | params defines the parameters of the module. | + + + + + + + + + + + + + + + ### Query + Query defines the gRPC querier service + + | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | + | ----------- | ------------ | ------------- | ------------| ------- | -------- | + | `Params` | [QueryParamsRequest](#akash.staking.v1beta3.QueryParamsRequest) | [QueryParamsResponse](#akash.staking.v1beta3.QueryParamsResponse) | Params returns the total set of minting parameters. | GET|/akash/staking/v1beta3/params| + + + + + + +

Top

+ + ## akash/staking/v1beta3/service.proto + + + + + + + + + + + + ### Msg + Msg defines the market Msg service + + | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | + | ----------- | ------------ | ------------- | ------------| ------- | -------- | + | `UpdateParams` | [MsgUpdateParams](#akash.staking.v1beta3.MsgUpdateParams) | [MsgUpdateParamsResponse](#akash.staking.v1beta3.MsgUpdateParamsResponse) | UpdateParams defines a governance operation for updating the x/market module parameters. The authority is hard-coded to the x/gov module account. + +Since: akash v1.0.0 | | + + + + + + +

Top

+ + ## akash/take/v1/params.proto + + + + ### DenomTakeRate DenomTakeRate describes take rate for specified denom @@ -3689,7 +4414,7 @@ for deployment - + ### Params Params defines the parameters for the x/take package @@ -3697,7 +4422,7 @@ for deployment | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `denom_take_rates` | [DenomTakeRate](#akash.take.v1beta3.DenomTakeRate) | repeated | denom -> % take rate | + | `denom_take_rates` | [DenomTakeRate](#akash.take.v1.DenomTakeRate) | repeated | denom -> % take rate | | `default_take_rate` | [uint32](#uint32) | | | @@ -3714,14 +4439,14 @@ for deployment - +

Top

- ## akash/take/v1beta3/genesis.proto + ## akash/take/v1/genesis.proto - + ### GenesisState GenesisState stores slice of genesis deployment instance @@ -3729,8 +4454,57 @@ for deployment | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | - | `params` | [Params](#akash.take.v1beta3.Params) | | | + | `params` | [Params](#akash.take.v1.Params) | | | + + + + + + + + + + + + + + + + +

Top

+ + ## akash/take/v1/paramsmsg.proto + + + + + + ### MsgUpdateParams + MsgUpdateParams is the Msg/UpdateParams request type. + +Since: akash v1.0.0 + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `authority` | [string](#string) | | authority is the address of the governance account. | + | `params` | [Params](#akash.take.v1.Params) | | params defines the x/deployment parameters to update. + +NOTE: All parameters must be supplied. | + + + + + + + + ### MsgUpdateParamsResponse + MsgUpdateParamsResponse defines the response structure for executing a +MsgUpdateParams message. + +Since: akash v1.0.0 + @@ -3745,10 +4519,35 @@ for deployment - +

Top

- ## akash/take/v1beta3/query.proto + ## akash/take/v1/query.proto + + + + + + ### QueryParamsRequest + QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + + + + + ### QueryParamsResponse + QueryParamsResponse is the response type for the Query/Params RPC method. + + + | Field | Type | Label | Description | + | ----- | ---- | ----- | ----------- | + | `params` | [Params](#akash.take.v1.Params) | | params defines the parameters of the module. | + + + @@ -3758,13 +4557,42 @@ for deployment - + ### Query Query defines the gRPC querier service | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | | ----------- | ------------ | ------------- | ------------| ------- | -------- | + | `Params` | [QueryParamsRequest](#akash.take.v1.QueryParamsRequest) | [QueryParamsResponse](#akash.take.v1.QueryParamsResponse) | Params returns the total set of minting parameters. | GET|/akash/take/v1/params| + + + + + + +

Top

+ + ## akash/take/v1/service.proto + + + + + + + + + + + + ### Msg + Msg defines the market Msg service + + | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | + | ----------- | ------------ | ------------- | ------------| ------- | -------- | + | `UpdateParams` | [MsgUpdateParams](#akash.take.v1.MsgUpdateParams) | [MsgUpdateParamsResponse](#akash.take.v1.MsgUpdateParamsResponse) | UpdateParams defines a governance operation for updating the x/market module parameters. The authority is hard-coded to the x/gov module account. + +Since: akash v1.0.0 | | diff --git a/docs/proto/provider.md b/docs/proto/provider.md index 0f7e759e..2af7eee7 100644 --- a/docs/proto/provider.md +++ b/docs/proto/provider.md @@ -591,6 +591,7 @@ | `count` | [uint32](#uint32) | | | | `expose` | [ServiceExpose](#akash.manifest.v2beta3.ServiceExpose) | repeated | | | `params` | [ServiceParams](#akash.manifest.v2beta3.ServiceParams) | | | + | `credentials` | [ImageCredentials](#akash.manifest.v2beta3.ImageCredentials) | | | diff --git a/docs/swagger-ui/swagger.yaml b/docs/swagger-ui/swagger.yaml index 8597ed41..ddc9c451 100644 --- a/docs/swagger-ui/swagger.yaml +++ b/docs/swagger-ui/swagger.yaml @@ -547,7 +547,7 @@ paths: type: boolean tags: - Query - /akash/cert/1/certificates/list: + /akash/cert/v1/certificates/list: get: summary: Certificates queries certificates operationId: Certificates @@ -655,18 +655,9 @@ paths: required: false type: string - name: filter.state - description: |2- - - invalid: Prefix should start with 0 in enum. So declaring dummy state - - valid: CertificateValid denotes state for deployment active - - revoked: CertificateRevoked denotes state for deployment closed in: query required: false type: string - enum: - - invalid - - valid - - revoked - default: invalid - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -725,7 +716,7 @@ paths: type: boolean tags: - Query - /akash/deployment/v1/deployments/info: + /akash/deployment/v1beta4/deployments/info: get: summary: Deployment queries deployment details operationId: Deployment @@ -759,16 +750,14 @@ paths: declaring dummy state - active: DeploymentActive denotes state for deployment active - closed: DeploymentClosed denotes state for deployment closed - title: >- - DeploymentState is an enum which refers to state of - deployment + title: State is an enum which refers to state of deployment hash: type: string format: byte created_at: type: string format: int64 - title: Deployment stores deploymentID, state and version details + title: Deployment stores deploymentID, state and checksum details groups: type: array items: @@ -804,7 +793,7 @@ paths: - paused: GroupOrdered denotes state for group ordered - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds - closed: GroupClosed denotes state for group closed - title: GroupState is an enum which refers to state of group + title: State is an enum which refers to state of group group_spec: type: object properties: @@ -1153,7 +1142,7 @@ paths: format: uint64 tags: - Query - /akash/deployment/v1/deployments/list: + /akash/deployment/v1beta4/deployments/list: get: summary: Deployments queries deployments operationId: Deployments @@ -1192,9 +1181,7 @@ paths: declaring dummy state - active: DeploymentActive denotes state for deployment active - closed: DeploymentClosed denotes state for deployment closed - title: >- - DeploymentState is an enum which refers to state of - deployment + title: State is an enum which refers to state of deployment hash: type: string format: byte @@ -1202,7 +1189,7 @@ paths: type: string format: int64 title: >- - Deployment stores deploymentID, state and version + Deployment stores deploymentID, state and checksum details groups: type: array @@ -1239,9 +1226,7 @@ paths: - paused: GroupOrdered denotes state for group ordered - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds - closed: GroupClosed denotes state for group closed - title: >- - GroupState is an enum which refers to state of - group + title: State is an enum which refers to state of group group_spec: type: object properties: @@ -1622,18 +1607,9 @@ paths: type: string format: uint64 - name: filters.state - description: |2- - - invalid: Prefix should start with 0 in enum. So declaring dummy state - - active: DeploymentActive denotes state for deployment active - - closed: DeploymentClosed denotes state for deployment closed in: query required: false type: string - enum: - - invalid - - active - - closed - default: invalid - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -1692,7 +1668,7 @@ paths: type: boolean tags: - Query - /akash/deployment/v1/groups/info: + /akash/deployment/v1beta4/groups/info: get: summary: Group queries group details operationId: Group @@ -1735,7 +1711,7 @@ paths: - paused: GroupOrdered denotes state for group ordered - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds - closed: GroupClosed denotes state for group closed - title: GroupState is an enum which refers to state of group + title: State is an enum which refers to state of group group_spec: type: object properties: @@ -1992,6 +1968,65 @@ paths: format: int64 tags: - Query + /akash/deployment/v1beta4/params: + get: + summary: Params returns the total set of minting parameters. + operationId: DeploymentParams + responses: + '200': + description: A successful response. + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + min_deposits: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the + custom method + + signatures required by gogoproto. + title: Params defines the parameters for the x/deployment module + description: >- + QueryParamsResponse is the response type for the Query/Params RPC + method. + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query /akash/market/v1beta5/bids/info: get: summary: Bid queries bid details @@ -2027,19 +2062,19 @@ paths: state: type: string enum: - - bid_invalid - - bid_open - - bid_active - - bid_lost - - bid_closed - default: bid_invalid + - invalid + - open + - active + - lost + - closed + default: invalid description: >- - - bid_invalid: Prefix should start with 0 in enum. So + - invalid: Prefix should start with 0 in enum. So declaring dummy state - - bid_open: BidOpen denotes state for bid open - - bid_active: BidMatched denotes state for bid open - - bid_lost: BidLost denotes state for bid lost - - bid_closed: BidClosed denotes state for bid closed + - open: BidOpen denotes state for bid open + - active: BidMatched denotes state for bid open + - lost: BidLost denotes state for bid lost + - closed: BidClosed denotes state for bid closed title: BidState is an enum which refers to state of bid price: type: object @@ -2394,19 +2429,19 @@ paths: state: type: string enum: - - bid_invalid - - bid_open - - bid_active - - bid_lost - - bid_closed - default: bid_invalid + - invalid + - open + - active + - lost + - closed + default: invalid description: >- - - bid_invalid: Prefix should start with 0 in enum. - So declaring dummy state - - bid_open: BidOpen denotes state for bid open - - bid_active: BidMatched denotes state for bid open - - bid_lost: BidLost denotes state for bid lost - - bid_closed: BidClosed denotes state for bid closed + - invalid: Prefix should start with 0 in enum. So + declaring dummy state + - open: BidOpen denotes state for bid open + - active: BidMatched denotes state for bid open + - lost: BidLost denotes state for bid lost + - closed: BidClosed denotes state for bid closed title: BidState is an enum which refers to state of bid price: type: object @@ -2757,22 +2792,9 @@ paths: required: false type: string - name: filters.state - description: |2- - - bid_invalid: Prefix should start with 0 in enum. So declaring dummy state - - bid_open: BidOpen denotes state for bid open - - bid_active: BidMatched denotes state for bid open - - bid_lost: BidLost denotes state for bid lost - - bid_closed: BidClosed denotes state for bid closed in: query required: false type: string - enum: - - bid_invalid - - bid_open - - bid_active - - bid_lost - - bid_closed - default: bid_invalid - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -2864,17 +2886,17 @@ paths: state: type: string enum: - - lease_invalid - - lease_active - - lease_insufficient_funds - - lease_closed - default: lease_invalid + - invalid + - active + - insufficient_funds + - closed + default: invalid description: >- - - lease_invalid: Prefix should start with 0 in enum. So + - invalid: Prefix should start with 0 in enum. So declaring dummy state - - lease_active: LeaseActive denotes state for lease active - - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds - - lease_closed: LeaseClosed denotes state for lease closed + - active: LeaseActive denotes state for lease active + - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds + - closed: LeaseClosed denotes state for lease closed title: State is an enum which refers to state of lease price: type: object @@ -2928,7 +2950,7 @@ paths: - open: PaymentStateOpen is the state when the payment is open - closed: PaymentStateClosed is the state when the payment is closed - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn - title: Payment State + title: State defines payment state rate: type: object properties: @@ -3064,17 +3086,17 @@ paths: state: type: string enum: - - lease_invalid - - lease_active - - lease_insufficient_funds - - lease_closed - default: lease_invalid + - invalid + - active + - insufficient_funds + - closed + default: invalid description: >- - - lease_invalid: Prefix should start with 0 in enum. - So declaring dummy state - - lease_active: LeaseActive denotes state for lease active - - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds - - lease_closed: LeaseClosed denotes state for lease closed + - invalid: Prefix should start with 0 in enum. So + declaring dummy state + - active: LeaseActive denotes state for lease active + - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds + - closed: LeaseClosed denotes state for lease closed title: State is an enum which refers to state of lease price: type: object @@ -3128,7 +3150,7 @@ paths: - open: PaymentStateOpen is the state when the payment is open - closed: PaymentStateClosed is the state when the payment is closed - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn - title: Payment State + title: State defines payment state rate: type: object properties: @@ -3259,20 +3281,9 @@ paths: required: false type: string - name: filters.state - description: |2- - - lease_invalid: Prefix should start with 0 in enum. So declaring dummy state - - lease_active: LeaseActive denotes state for lease active - - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds - - lease_closed: LeaseClosed denotes state for lease closed in: query required: false type: string - enum: - - lease_invalid - - lease_active - - lease_insufficient_funds - - lease_closed - default: lease_invalid - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -3362,18 +3373,18 @@ paths: state: type: string enum: - - order_invalid - - order_open - - order_active - - order_closed - default: order_invalid + - invalid + - open + - active + - closed + default: invalid description: >- - - order_invalid: Prefix should start with 0 in enum. So + - invalid: Prefix should start with 0 in enum. So declaring dummy state - - order_open: OrderOpen denotes state for order open - - order_active: OrderMatched denotes state for order matched - - order_closed: OrderClosed denotes state for order lost - title: OrderState is an enum which refers to state of order + - open: OrderOpen denotes state for order open + - active: OrderMatched denotes state for order matched + - closed: OrderClosed denotes state for order lost + title: State is an enum which refers to state of order spec: type: object properties: @@ -3668,18 +3679,18 @@ paths: state: type: string enum: - - order_invalid - - order_open - - order_active - - order_closed - default: order_invalid + - invalid + - open + - active + - closed + default: invalid description: >- - - order_invalid: Prefix should start with 0 in enum. So + - invalid: Prefix should start with 0 in enum. So declaring dummy state - - order_open: OrderOpen denotes state for order open - - order_active: OrderMatched denotes state for order matched - - order_closed: OrderClosed denotes state for order lost - title: OrderState is an enum which refers to state of order + - open: OrderOpen denotes state for order open + - active: OrderMatched denotes state for order matched + - closed: OrderClosed denotes state for order lost + title: State is an enum which refers to state of order spec: type: object properties: @@ -3970,20 +3981,9 @@ paths: type: integer format: int64 - name: filters.state - description: |2- - - order_invalid: Prefix should start with 0 in enum. So declaring dummy state - - order_open: OrderOpen denotes state for order open - - order_active: OrderMatched denotes state for order matched - - order_closed: OrderClosed denotes state for order lost in: query required: false type: string - enum: - - order_invalid - - order_open - - order_active - - order_closed - default: order_invalid - name: pagination.key description: |- key is a value returned in PageResponse.next_key to begin @@ -4042,6 +4042,66 @@ paths: type: boolean tags: - Query + /akash/market/v1beta5/params: + get: + summary: Params returns the total set of minting parameters. + operationId: MarketParams + responses: + '200': + description: A successful response. + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + bid_min_deposit: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the + custom method + + signatures required by gogoproto. + order_max_bids: + type: integer + format: int64 + title: Params is the params for the x/market module + description: >- + QueryParamsResponse is the response type for the Query/Params RPC + method. + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query /akash/provider/v1beta4/providers: get: summary: Providers queries providers @@ -4260,6 +4320,63 @@ paths: type: string tags: - Query + /akash/take/v1/params: + get: + summary: Params returns the total set of minting parameters. + operationId: TakeParams + responses: + '200': + description: A successful response. + schema: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + denom_take_rates: + type: array + items: + type: object + properties: + denom: + type: string + rate: + type: integer + format: int64 + title: DenomTakeRate describes take rate for specified denom + title: denom -> % take rate + default_take_rate: + type: integer + format: int64 + title: Params defines the parameters for the x/take package + description: >- + QueryParamsResponse is the response type for the Query/Params RPC + method. + default: + description: An unexpected error response. + schema: + type: object + properties: + error: + type: string + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + type_url: + type: string + value: + type: string + format: byte + tags: + - Query /cosmos/auth/v1beta1/account_info/{address}: get: summary: AccountInfo queries account info which is common to all account types. @@ -40817,7 +40934,7 @@ paths: tags: - Query definitions: - akash.audit.v1.Provider: + akash.audit.v1.AuditedProvider: type: object properties: owner: @@ -41335,17 +41452,6 @@ definitions: type: string state: type: string - enum: - - invalid - - valid - - revoked - default: invalid - description: >- - - invalid: Prefix should start with 0 in enum. So declaring dummy - state - - valid: CertificateValid denotes state for deployment active - - revoked: CertificateRevoked denotes state for deployment closed - title: State is an enum which refers to state of deployment title: CertificateFilter defines filters used to filter certificates akash.cert.v1.CertificateResponse: type: object @@ -41782,24 +41888,15 @@ definitions: state - active: DeploymentActive denotes state for deployment active - closed: DeploymentClosed denotes state for deployment closed - title: DeploymentState is an enum which refers to state of deployment + title: State is an enum which refers to state of deployment hash: type: string format: byte created_at: type: string format: int64 - title: Deployment stores deploymentID, state and version details - akash.deployment.v1.DeploymentID: - type: object - properties: - owner: - type: string - dseq: - type: string - format: uint64 - title: DeploymentID stores owner and sequence number - akash.deployment.v1.DeploymentState: + title: Deployment stores deploymentID, state and checksum details + akash.deployment.v1.Deployment.State: type: string enum: - invalid @@ -41810,7 +41907,16 @@ definitions: - invalid: Prefix should start with 0 in enum. So declaring dummy state - active: DeploymentActive denotes state for deployment active - closed: DeploymentClosed denotes state for deployment closed - title: DeploymentState is an enum which refers to state of deployment + title: State is an enum which refers to state of deployment + akash.deployment.v1.DeploymentID: + type: object + properties: + owner: + type: string + dseq: + type: string + format: uint64 + title: DeploymentID stores owner and sequence number akash.deployment.v1.GroupID: type: object properties: @@ -41833,17 +41939,6 @@ definitions: format: uint64 state: type: string - enum: - - invalid - - active - - closed - default: invalid - description: >- - - invalid: Prefix should start with 0 in enum. So declaring dummy - state - - active: DeploymentActive denotes state for deployment active - - closed: DeploymentClosed denotes state for deployment closed - title: DeploymentState is an enum which refers to state of deployment title: DeploymentFilters defines filters used to filter deployments akash.deployment.v1beta4.Group: type: object @@ -41878,7 +41973,7 @@ definitions: - paused: GroupOrdered denotes state for group ordered - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds - closed: GroupClosed denotes state for group closed - title: GroupState is an enum which refers to state of group + title: State is an enum which refers to state of group group_spec: type: object properties: @@ -42075,6 +42170,22 @@ definitions: type: string format: int64 title: Group stores group id, state and specifications of group + akash.deployment.v1beta4.Group.State: + type: string + enum: + - invalid + - open + - paused + - insufficient_funds + - closed + default: invalid + description: |- + - invalid: Prefix should start with 0 in enum. So declaring dummy state + - open: GroupOpen denotes state for group open + - paused: GroupOrdered denotes state for group ordered + - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds + - closed: GroupClosed denotes state for group closed + title: State is an enum which refers to state of group akash.deployment.v1beta4.GroupSpec: type: object properties: @@ -42261,22 +42372,24 @@ definitions: signatures required by gogoproto. title: ResourceUnit extends Resources and adds Count along with the Price title: Spec stores group specifications - akash.deployment.v1beta4.GroupState: - type: string - enum: - - invalid - - open - - paused - - insufficient_funds - - closed - default: invalid - description: |- - - invalid: Prefix should start with 0 in enum. So declaring dummy state - - open: GroupOpen denotes state for group open - - paused: GroupOrdered denotes state for group ordered - - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds - - closed: GroupClosed denotes state for group closed - title: GroupState is an enum which refers to state of group + akash.deployment.v1beta4.Params: + type: object + properties: + min_deposits: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + title: Params defines the parameters for the x/deployment module akash.deployment.v1beta4.QueryDeploymentResponse: type: object properties: @@ -42304,14 +42417,14 @@ definitions: state - active: DeploymentActive denotes state for deployment active - closed: DeploymentClosed denotes state for deployment closed - title: DeploymentState is an enum which refers to state of deployment + title: State is an enum which refers to state of deployment hash: type: string format: byte created_at: type: string format: int64 - title: Deployment stores deploymentID, state and version details + title: Deployment stores deploymentID, state and checksum details groups: type: array items: @@ -42347,7 +42460,7 @@ definitions: - paused: GroupOrdered denotes state for group ordered - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds - closed: GroupClosed denotes state for group closed - title: GroupState is an enum which refers to state of group + title: State is an enum which refers to state of group group_spec: type: object properties: @@ -42681,16 +42794,14 @@ definitions: dummy state - active: DeploymentActive denotes state for deployment active - closed: DeploymentClosed denotes state for deployment closed - title: >- - DeploymentState is an enum which refers to state of - deployment + title: State is an enum which refers to state of deployment hash: type: string format: byte created_at: type: string format: int64 - title: Deployment stores deploymentID, state and version details + title: Deployment stores deploymentID, state and checksum details groups: type: array items: @@ -42726,7 +42837,7 @@ definitions: - paused: GroupOrdered denotes state for group ordered - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds - closed: GroupClosed denotes state for group closed - title: GroupState is an enum which refers to state of group + title: State is an enum which refers to state of group group_spec: type: object properties: @@ -43106,7 +43217,7 @@ definitions: - paused: GroupOrdered denotes state for group ordered - insufficient_funds: GroupInsufficientFunds denotes state for group insufficient_funds - closed: GroupClosed denotes state for group closed - title: GroupState is an enum which refers to state of group + title: State is an enum which refers to state of group group_spec: type: object properties: @@ -43312,6 +43423,32 @@ definitions: format: int64 title: Group stores group id, state and specifications of group title: QueryGroupResponse is response type for the Query/Group RPC method + akash.deployment.v1beta4.QueryParamsResponse: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + min_deposits: + type: array + items: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom + method + + signatures required by gogoproto. + title: Params defines the parameters for the x/deployment module + description: QueryParamsResponse is the response type for the Query/Params RPC method. akash.deployment.v1beta4.ResourceUnit: type: object properties: @@ -43535,15 +43672,7 @@ definitions: NOTE: The amount field is an Dec which implements the custom method signatures required by gogoproto. title: Account stores state for an escrow account - akash.escrow.v1.AccountID: - type: object - properties: - scope: - type: string - xid: - type: string - title: AccountID is the account identifier - akash.escrow.v1.AccountState: + akash.escrow.v1.Account.State: type: string enum: - invalid @@ -43557,6 +43686,26 @@ definitions: - closed: AccountClosed is the state when an account is closed - overdrawn: AccountOverdrawn is the state when an account is overdrawn title: State stores state for an escrow account + akash.escrow.v1.AccountID: + type: object + properties: + scope: + type: string + xid: + type: string + title: AccountID is the account identifier + cosmos.base.v1beta1.Coin: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. cosmos.base.v1beta1.DecCoin: type: object properties: @@ -43596,18 +43745,13 @@ definitions: description: >- MsgUpdateDeploymentResponse defines the Msg/UpdateDeployment response type. - cosmos.base.v1beta1.Coin: + akash.deployment.v1beta4.MsgUpdateParamsResponse: type: object - properties: - denom: - type: string - amount: - type: string description: |- - Coin defines a token with a denomination and an amount. + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. + Since: akash v1.0.0 akash.escrow.v1.FractionalPayment: type: object properties: @@ -43637,7 +43781,7 @@ definitions: - open: PaymentStateOpen is the state when the payment is open - closed: PaymentStateClosed is the state when the payment is closed - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn - title: Payment State + title: State defines payment state rate: type: object properties: @@ -43688,41 +43832,7 @@ definitions: - open: PaymentStateOpen is the state when the payment is open - closed: PaymentStateClosed is the state when the payment is closed - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn - title: Payment State - akash.market.v1.BidFilters: - type: object - properties: - owner: - type: string - dseq: - type: string - format: uint64 - gseq: - type: integer - format: int64 - oseq: - type: integer - format: int64 - provider: - type: string - state: - type: string - enum: - - bid_invalid - - bid_open - - bid_active - - bid_lost - - bid_closed - default: bid_invalid - description: >- - - bid_invalid: Prefix should start with 0 in enum. So declaring dummy - state - - bid_open: BidOpen denotes state for bid open - - bid_active: BidMatched denotes state for bid open - - bid_lost: BidLost denotes state for bid lost - - bid_closed: BidClosed denotes state for bid closed - title: BidState is an enum which refers to state of bid - title: BidFilters defines flags for bid list filter + title: State defines payment state akash.market.v1.BidID: type: object properties: @@ -43742,23 +43852,6 @@ definitions: description: |- BidID stores owner and all other seq numbers A successful bid becomes a Lease(ID). - akash.market.v1.BidState: - type: string - enum: - - bid_invalid - - bid_open - - bid_active - - bid_lost - - bid_closed - default: bid_invalid - description: >- - - bid_invalid: Prefix should start with 0 in enum. So declaring dummy - state - - bid_open: BidOpen denotes state for bid open - - bid_active: BidMatched denotes state for bid open - - bid_lost: BidLost denotes state for bid lost - - bid_closed: BidClosed denotes state for bid closed - title: BidState is an enum which refers to state of bid akash.market.v1.Lease: type: object properties: @@ -43782,17 +43875,17 @@ definitions: state: type: string enum: - - lease_invalid - - lease_active - - lease_insufficient_funds - - lease_closed - default: lease_invalid + - invalid + - active + - insufficient_funds + - closed + default: invalid description: >- - - lease_invalid: Prefix should start with 0 in enum. So declaring - dummy state - - lease_active: LeaseActive denotes state for lease active - - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds - - lease_closed: LeaseClosed denotes state for lease closed + - invalid: Prefix should start with 0 in enum. So declaring dummy + state + - active: LeaseActive denotes state for lease active + - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds + - closed: LeaseClosed denotes state for lease closed title: State is an enum which refers to state of lease price: type: object @@ -43813,6 +43906,20 @@ definitions: type: string format: int64 title: Lease stores LeaseID, state of lease and price + akash.market.v1.Lease.State: + type: string + enum: + - invalid + - active + - insufficient_funds + - closed + default: invalid + description: |- + - invalid: Prefix should start with 0 in enum. So declaring dummy state + - active: LeaseActive denotes state for lease active + - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds + - closed: LeaseClosed denotes state for lease closed + title: State is an enum which refers to state of lease akash.market.v1.LeaseFilters: type: object properties: @@ -43831,19 +43938,6 @@ definitions: type: string state: type: string - enum: - - lease_invalid - - lease_active - - lease_insufficient_funds - - lease_closed - default: lease_invalid - description: >- - - lease_invalid: Prefix should start with 0 in enum. So declaring - dummy state - - lease_active: LeaseActive denotes state for lease active - - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds - - lease_closed: LeaseClosed denotes state for lease closed - title: State is an enum which refers to state of lease title: LeaseFilters defines flags for lease list filter akash.market.v1.LeaseID: type: object @@ -43862,51 +43956,6 @@ definitions: provider: type: string title: LeaseID stores bid details of lease - akash.market.v1.LeaseState: - type: string - enum: - - lease_invalid - - lease_active - - lease_insufficient_funds - - lease_closed - default: lease_invalid - description: >- - - lease_invalid: Prefix should start with 0 in enum. So declaring dummy - state - - lease_active: LeaseActive denotes state for lease active - - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds - - lease_closed: LeaseClosed denotes state for lease closed - title: State is an enum which refers to state of lease - akash.market.v1.OrderFilters: - type: object - properties: - owner: - type: string - dseq: - type: string - format: uint64 - gseq: - type: integer - format: int64 - oseq: - type: integer - format: int64 - state: - type: string - enum: - - order_invalid - - order_open - - order_active - - order_closed - default: order_invalid - description: >- - - order_invalid: Prefix should start with 0 in enum. So declaring - dummy state - - order_open: OrderOpen denotes state for order open - - order_active: OrderMatched denotes state for order matched - - order_closed: OrderClosed denotes state for order lost - title: OrderState is an enum which refers to state of order - title: OrderFilters defines flags for order list filter akash.market.v1.OrderID: type: object properties: @@ -43922,21 +43971,6 @@ definitions: type: integer format: int64 title: OrderID stores owner and all other seq numbers - akash.market.v1.OrderState: - type: string - enum: - - order_invalid - - order_open - - order_active - - order_closed - default: order_invalid - description: >- - - order_invalid: Prefix should start with 0 in enum. So declaring dummy - state - - order_open: OrderOpen denotes state for order open - - order_active: OrderMatched denotes state for order matched - - order_closed: OrderClosed denotes state for order lost - title: OrderState is an enum which refers to state of order akash.market.v1beta5.Bid: type: object properties: @@ -43962,19 +43996,19 @@ definitions: state: type: string enum: - - bid_invalid - - bid_open - - bid_active - - bid_lost - - bid_closed - default: bid_invalid + - invalid + - open + - active + - lost + - closed + default: invalid description: >- - - bid_invalid: Prefix should start with 0 in enum. So declaring dummy + - invalid: Prefix should start with 0 in enum. So declaring dummy state - - bid_open: BidOpen denotes state for bid open - - bid_active: BidMatched denotes state for bid open - - bid_lost: BidLost denotes state for bid lost - - bid_closed: BidClosed denotes state for bid closed + - open: BidOpen denotes state for bid open + - active: BidMatched denotes state for bid open + - lost: BidLost denotes state for bid lost + - closed: BidClosed denotes state for bid closed title: BidState is an enum which refers to state of bid price: type: object @@ -44127,6 +44161,41 @@ definitions: ResourceOffer describes resources that provider is offering for deployment title: Bid stores BidID, state of bid and price + akash.market.v1beta5.Bid.State: + type: string + enum: + - invalid + - open + - active + - lost + - closed + default: invalid + description: |- + - invalid: Prefix should start with 0 in enum. So declaring dummy state + - open: BidOpen denotes state for bid open + - active: BidMatched denotes state for bid open + - lost: BidLost denotes state for bid lost + - closed: BidClosed denotes state for bid closed + title: BidState is an enum which refers to state of bid + akash.market.v1beta5.BidFilters: + type: object + properties: + owner: + type: string + dseq: + type: string + format: uint64 + gseq: + type: integer + format: int64 + oseq: + type: integer + format: int64 + provider: + type: string + state: + type: string + title: BidFilters defines flags for bid list filter akash.market.v1beta5.Order: type: object properties: @@ -44148,18 +44217,18 @@ definitions: state: type: string enum: - - order_invalid - - order_open - - order_active - - order_closed - default: order_invalid + - invalid + - open + - active + - closed + default: invalid description: >- - - order_invalid: Prefix should start with 0 in enum. So declaring - dummy state - - order_open: OrderOpen denotes state for order open - - order_active: OrderMatched denotes state for order matched - - order_closed: OrderClosed denotes state for order lost - title: OrderState is an enum which refers to state of order + - invalid: Prefix should start with 0 in enum. So declaring dummy + state + - open: OrderOpen denotes state for order open + - active: OrderMatched denotes state for order matched + - closed: OrderClosed denotes state for order lost + title: State is an enum which refers to state of order spec: type: object properties: @@ -44356,6 +44425,56 @@ definitions: type: string format: int64 title: Order stores orderID, state of order and other details + akash.market.v1beta5.Order.State: + type: string + enum: + - invalid + - open + - active + - closed + default: invalid + description: |- + - invalid: Prefix should start with 0 in enum. So declaring dummy state + - open: OrderOpen denotes state for order open + - active: OrderMatched denotes state for order matched + - closed: OrderClosed denotes state for order lost + title: State is an enum which refers to state of order + akash.market.v1beta5.OrderFilters: + type: object + properties: + owner: + type: string + dseq: + type: string + format: uint64 + gseq: + type: integer + format: int64 + oseq: + type: integer + format: int64 + state: + type: string + title: OrderFilters defines flags for order list filter + akash.market.v1beta5.Params: + type: object + properties: + bid_min_deposit: + type: object + properties: + denom: + type: string + amount: + type: string + description: |- + Coin defines a token with a denomination and an amount. + + NOTE: The amount field is an Int which implements the custom method + signatures required by gogoproto. + order_max_bids: + type: integer + format: int64 + title: Params is the params for the x/market module akash.market.v1beta5.QueryBidResponse: type: object properties: @@ -44384,19 +44503,19 @@ definitions: state: type: string enum: - - bid_invalid - - bid_open - - bid_active - - bid_lost - - bid_closed - default: bid_invalid + - invalid + - open + - active + - lost + - closed + default: invalid description: >- - - bid_invalid: Prefix should start with 0 in enum. So declaring - dummy state - - bid_open: BidOpen denotes state for bid open - - bid_active: BidMatched denotes state for bid open - - bid_lost: BidLost denotes state for bid lost - - bid_closed: BidClosed denotes state for bid closed + - invalid: Prefix should start with 0 in enum. So declaring dummy + state + - open: BidOpen denotes state for bid open + - active: BidMatched denotes state for bid open + - lost: BidLost denotes state for bid lost + - closed: BidClosed denotes state for bid closed title: BidState is an enum which refers to state of bid price: type: object @@ -44678,19 +44797,19 @@ definitions: state: type: string enum: - - bid_invalid - - bid_open - - bid_active - - bid_lost - - bid_closed - default: bid_invalid + - invalid + - open + - active + - lost + - closed + default: invalid description: >- - - bid_invalid: Prefix should start with 0 in enum. So - declaring dummy state - - bid_open: BidOpen denotes state for bid open - - bid_active: BidMatched denotes state for bid open - - bid_lost: BidLost denotes state for bid lost - - bid_closed: BidClosed denotes state for bid closed + - invalid: Prefix should start with 0 in enum. So declaring + dummy state + - open: BidOpen denotes state for bid open + - active: BidMatched denotes state for bid open + - lost: BidLost denotes state for bid lost + - closed: BidClosed denotes state for bid closed title: BidState is an enum which refers to state of bid price: type: object @@ -45008,17 +45127,17 @@ definitions: state: type: string enum: - - lease_invalid - - lease_active - - lease_insufficient_funds - - lease_closed - default: lease_invalid + - invalid + - active + - insufficient_funds + - closed + default: invalid description: >- - - lease_invalid: Prefix should start with 0 in enum. So declaring - dummy state - - lease_active: LeaseActive denotes state for lease active - - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds - - lease_closed: LeaseClosed denotes state for lease closed + - invalid: Prefix should start with 0 in enum. So declaring dummy + state + - active: LeaseActive denotes state for lease active + - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds + - closed: LeaseClosed denotes state for lease closed title: State is an enum which refers to state of lease price: type: object @@ -45071,7 +45190,7 @@ definitions: - open: PaymentStateOpen is the state when the payment is open - closed: PaymentStateClosed is the state when the payment is closed - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn - title: Payment State + title: State defines payment state rate: type: object properties: @@ -45150,17 +45269,17 @@ definitions: state: type: string enum: - - lease_invalid - - lease_active - - lease_insufficient_funds - - lease_closed - default: lease_invalid + - invalid + - active + - insufficient_funds + - closed + default: invalid description: >- - - lease_invalid: Prefix should start with 0 in enum. So - declaring dummy state - - lease_active: LeaseActive denotes state for lease active - - lease_insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds - - lease_closed: LeaseClosed denotes state for lease closed + - invalid: Prefix should start with 0 in enum. So declaring + dummy state + - active: LeaseActive denotes state for lease active + - insufficient_funds: LeaseInsufficientFunds denotes state for lease insufficient_funds + - closed: LeaseClosed denotes state for lease closed title: State is an enum which refers to state of lease price: type: object @@ -45214,7 +45333,7 @@ definitions: - open: PaymentStateOpen is the state when the payment is open - closed: PaymentStateClosed is the state when the payment is closed - overdrawn: PaymentStateOverdrawn is the state when the payment is overdrawn - title: Payment State + title: State defines payment state rate: type: object properties: @@ -45315,18 +45434,18 @@ definitions: state: type: string enum: - - order_invalid - - order_open - - order_active - - order_closed - default: order_invalid + - invalid + - open + - active + - closed + default: invalid description: >- - - order_invalid: Prefix should start with 0 in enum. So declaring - dummy state - - order_open: OrderOpen denotes state for order open - - order_active: OrderMatched denotes state for order matched - - order_closed: OrderClosed denotes state for order lost - title: OrderState is an enum which refers to state of order + - invalid: Prefix should start with 0 in enum. So declaring dummy + state + - open: OrderOpen denotes state for order open + - active: OrderMatched denotes state for order matched + - closed: OrderClosed denotes state for order lost + title: State is an enum which refers to state of order spec: type: object properties: @@ -45558,18 +45677,18 @@ definitions: state: type: string enum: - - order_invalid - - order_open - - order_active - - order_closed - default: order_invalid + - invalid + - open + - active + - closed + default: invalid description: >- - - order_invalid: Prefix should start with 0 in enum. So - declaring dummy state - - order_open: OrderOpen denotes state for order open - - order_active: OrderMatched denotes state for order matched - - order_closed: OrderClosed denotes state for order lost - title: OrderState is an enum which refers to state of order + - invalid: Prefix should start with 0 in enum. So declaring + dummy state + - open: OrderOpen denotes state for order open + - active: OrderMatched denotes state for order matched + - closed: OrderClosed denotes state for order lost + title: State is an enum which refers to state of order spec: type: object properties: @@ -45805,6 +45924,33 @@ definitions: PageResponse page = 2; } title: QueryOrdersResponse is response type for the Query/Orders RPC method + akash.market.v1beta5.QueryParamsResponse: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + bid_min_deposit: + type: object + properties: + denom: + type: string + amount: + type: string + description: >- + Coin defines a token with a denomination and an amount. + + + NOTE: The amount field is an Int which implements the custom + method + + signatures required by gogoproto. + order_max_bids: + type: integer + format: int64 + title: Params is the params for the x/market module + description: QueryParamsResponse is the response type for the Query/Params RPC method. akash.market.v1beta5.ResourceOffer: type: object properties: @@ -45949,6 +46095,13 @@ definitions: akash.market.v1beta5.MsgCreateLeaseResponse: type: object title: MsgCreateLeaseResponse is the response from creating a lease + akash.market.v1beta5.MsgUpdateParamsResponse: + type: object + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: akash v1.0.0 akash.market.v1beta5.MsgWithdrawLeaseResponse: type: object description: MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type. @@ -46074,6 +46227,65 @@ definitions: PageResponse page = 2; } title: QueryProvidersResponse is response type for the Query/Providers RPC method + akash.take.v1.DenomTakeRate: + type: object + properties: + denom: + type: string + rate: + type: integer + format: int64 + title: DenomTakeRate describes take rate for specified denom + akash.take.v1.Params: + type: object + properties: + denom_take_rates: + type: array + items: + type: object + properties: + denom: + type: string + rate: + type: integer + format: int64 + title: DenomTakeRate describes take rate for specified denom + title: denom -> % take rate + default_take_rate: + type: integer + format: int64 + title: Params defines the parameters for the x/take package + akash.take.v1.QueryParamsResponse: + type: object + properties: + params: + description: params defines the parameters of the module. + type: object + properties: + denom_take_rates: + type: array + items: + type: object + properties: + denom: + type: string + rate: + type: integer + format: int64 + title: DenomTakeRate describes take rate for specified denom + title: denom -> % take rate + default_take_rate: + type: integer + format: int64 + title: Params defines the parameters for the x/take package + description: QueryParamsResponse is the response type for the Query/Params RPC method. + akash.take.v1.MsgUpdateParamsResponse: + type: object + description: |- + MsgUpdateParamsResponse defines the response structure for executing a + MsgUpdateParams message. + + Since: akash v1.0.0 cosmos.auth.v1beta1.AddressBytesToStringResponse: type: object properties: diff --git a/go/go.mod b/go/go.mod index ddfd8160..ed77d18b 100644 --- a/go/go.mod +++ b/go/go.mod @@ -71,9 +71,9 @@ require ( filippo.io/edwards25519 v1.1.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect + github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect - github.com/Masterminds/sprig v2.15.0+incompatible // indirect - github.com/aokoli/goutils v1.0.1 // indirect + github.com/Masterminds/sprig v2.22.0+incompatible // indirect github.com/armon/go-metrics v0.4.1 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect @@ -122,7 +122,7 @@ require ( github.com/hashicorp/hcl v1.0.1-0.20191016231534-914dc3f8dd7c // indirect github.com/hdevalence/ed25519consensus v0.1.0 // indirect github.com/huandu/skiplist v1.2.0 // indirect - github.com/huandu/xstrings v1.3.3 // indirect + github.com/huandu/xstrings v1.4.0 // indirect github.com/imdario/mergo v0.3.13 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jmhodges/levigo v1.0.1-0.20191019112844-b572e7f4cdac // indirect @@ -135,7 +135,9 @@ require ( github.com/mattn/go-isatty v0.0.20 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect + github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/mtibben/percent v0.2.1 // indirect diff --git a/go/go.sum b/go/go.sum index 71fba37c..8877e000 100644 --- a/go/go.sum +++ b/go/go.sum @@ -22,10 +22,12 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/ChainSafe/go-schnorrkel v1.0.0 h1:3aDA67lAykLaG1y3AOjs88dMxC88PgUuHRrLeDnvGIM= github.com/ChainSafe/go-schnorrkel v1.0.0/go.mod h1:dpzHYVxLZcp8pjlV+O+UR8K0Hp/z7vcchBSbMBEhCw4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= +github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= +github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/Masterminds/sprig v2.15.0+incompatible h1:0gSxPGWS9PAr7U2NsQ2YQg6juRDINkUyuvbb4b2Xm8w= -github.com/Masterminds/sprig v2.15.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= +github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= +github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE= @@ -35,8 +37,6 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuy github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/aokoli/goutils v1.0.1 h1:7fpzNGoJ3VA8qcrm++XEE1QUe0mIwNeLa02Nwq7RDkg= -github.com/aokoli/goutils v1.0.1/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA= github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= @@ -263,8 +263,8 @@ github.com/huandu/go-assert v1.1.5 h1:fjemmA7sSfYHJD7CUqs9qTwwfdNAx7/j2/ZlHXzNB3 github.com/huandu/go-assert v1.1.5/go.mod h1:yOLvuqZwmcHIC5rIzrBhT7D3Q9c3GFnd0JrPVhn/06U= github.com/huandu/skiplist v1.2.0 h1:gox56QD77HzSC0w+Ws3MH3iie755GBJU1OER3h5VsYw= github.com/huandu/skiplist v1.2.0/go.mod h1:7v3iFjLcSAzO4fN5B8dvebvo/qsfumiLiDXMrPiHF9w= -github.com/huandu/xstrings v1.3.3 h1:/Gcsuc1x8JVbJ9/rlye4xZnVAbEkGauT8lbebqcQws4= -github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= +github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/improbable-eng/grpc-web v0.15.0 h1:BN+7z6uNXZ1tQGcNAuaU1YjsLTApzkjt2tzCixLaUPQ= @@ -314,10 +314,14 @@ github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 h1:QRUSJEgZn2Snx0Em github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= +github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= +github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= +github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= diff --git a/make/mod.mk b/make/mod.mk index c532540f..abcb4ea8 100644 --- a/make/mod.mk +++ b/make/mod.mk @@ -32,7 +32,7 @@ modvendor: export VENDOR_BUF:=$(VENDOR_BUF) modvendor: $(MODVENDOR) modsensure @echo "vendoring non-go files..." @(cd $(GO_ROOT); \ - $(MODVENDOR) -copy="**/*.proto" -include=k8s.io/apimachinery \ + $(MODVENDOR) -copy="**/*.proto" -include=k8s.io/apimachinery; \ $(MODVENDOR) -copy="**/swagger.yaml" -include=github.com/cosmos/cosmos-sdk/client/docs/swagger-ui \ ) @mkdir -p .cache/include/k8s diff --git a/script/protocgen.sh b/script/protocgen.sh index eeeb3526..adeee591 100755 --- a/script/protocgen.sh +++ b/script/protocgen.sh @@ -175,6 +175,7 @@ function gen_doc() { swagger-combine \ ./docs/config.yaml \ -o ./docs/swagger-ui/swagger.yaml \ + -f yaml \ --continueOnConflictingPaths=true \ --includeDefinitions=true }