Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smartdev0328 committed Dec 5, 2022
1 parent aafac17 commit a32e22e
Show file tree
Hide file tree
Showing 61 changed files with 18,005 additions and 55 deletions.
96 changes: 96 additions & 0 deletions docs/static/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32879,6 +32879,41 @@ paths:
additionalProperties: {}
tags:
- Query
/smartdev0328/bluechip/pageinflation/minted_pool:
get:
summary: Queries a MintedPool by index.
operationId: Smartdev0328BluechipPageinflationMintedPool
responses:
'200':
description: A successful response.
schema:
type: object
properties:
MintedPool:
type: object
properties:
value:
type: string
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
tags:
- Query
/smartdev0328/bluechip/pageinflation/params:
get:
summary: Parameters queries the parameters of the module.
Expand Down Expand Up @@ -32915,6 +32950,41 @@ paths:
additionalProperties: {}
tags:
- Query
/smartdev0328/bluechip/pageinflation/start_block:
get:
summary: Queries a StartBlock by index.
operationId: Smartdev0328BluechipPageinflationStartBlock
responses:
'200':
description: A successful response.
schema:
type: object
properties:
StartBlock:
type: object
properties:
value:
type: string
default:
description: An unexpected error response.
schema:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
'@type':
type: string
additionalProperties: {}
tags:
- Query
definitions:
bluechip.mint.Params:
type: object
Expand Down Expand Up @@ -55200,6 +55270,11 @@ definitions:
properties:
value:
type: string
smartdev0328.bluechip.pageinflation.MintedPool:
type: object
properties:
value:
type: string
smartdev0328.bluechip.pageinflation.MsgCreatorPoolMintResponse:
type: object
smartdev0328.bluechip.pageinflation.Params:
Expand All @@ -55213,10 +55288,31 @@ definitions:
properties:
value:
type: string
smartdev0328.bluechip.pageinflation.QueryGetMintedPoolResponse:
type: object
properties:
MintedPool:
type: object
properties:
value:
type: string
smartdev0328.bluechip.pageinflation.QueryGetStartBlockResponse:
type: object
properties:
StartBlock:
type: object
properties:
value:
type: string
smartdev0328.bluechip.pageinflation.QueryParamsResponse:
type: object
properties:
params:
description: params holds all the parameters of this module.
type: object
description: QueryParamsResponse is response type for the Query/Params RPC method.
smartdev0328.bluechip.pageinflation.StartBlock:
type: object
properties:
value:
type: string
4 changes: 4 additions & 0 deletions proto/pageinflation/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ package smartdev0328.bluechip.pageinflation;
import "gogoproto/gogo.proto";
import "pageinflation/params.proto";
import "pageinflation/mint_denom.proto";
import "pageinflation/start_block.proto";
import "pageinflation/minted_pool.proto";
// this line is used by starport scaffolding # genesis/proto/import

option go_package = "github.com/smartdev0328/bluechip/x/pageinflation/types";
Expand All @@ -12,5 +14,7 @@ option go_package = "github.com/smartdev0328/bluechip/x/pageinflation/types";
message GenesisState {
Params params = 1 [(gogoproto.nullable) = false];
MintDenom mintDenom = 2;
StartBlock startBlock = 3;
MintedPool mintedPool = 4;
// this line is used by starport scaffolding # genesis/proto/state
}
9 changes: 9 additions & 0 deletions proto/pageinflation/minted_pool.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
syntax = "proto3";
package smartdev0328.bluechip.pageinflation;

option go_package = "github.com/smartdev0328/bluechip/x/pageinflation/types";

message MintedPool {
uint64 value = 1;

}
20 changes: 20 additions & 0 deletions proto/pageinflation/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import "google/api/annotations.proto";
import "cosmos/base/query/v1beta1/pagination.proto";
import "pageinflation/params.proto";
import "pageinflation/mint_denom.proto";
import "pageinflation/start_block.proto";
import "pageinflation/minted_pool.proto";
// this line is used by starport scaffolding # 1

option go_package = "github.com/smartdev0328/bluechip/x/pageinflation/types";
Expand All @@ -20,6 +22,14 @@ service Query {
rpc MintDenom(QueryGetMintDenomRequest) returns (QueryGetMintDenomResponse) {
option (google.api.http).get = "/smartdev0328/bluechip/pageinflation/mint_denom";
}
// Queries a StartBlock by index.
rpc StartBlock(QueryGetStartBlockRequest) returns (QueryGetStartBlockResponse) {
option (google.api.http).get = "/smartdev0328/bluechip/pageinflation/start_block";
}
// Queries a MintedPool by index.
rpc MintedPool(QueryGetMintedPoolRequest) returns (QueryGetMintedPoolResponse) {
option (google.api.http).get = "/smartdev0328/bluechip/pageinflation/minted_pool";
}
// this line is used by starport scaffolding # 2
}

Expand All @@ -37,4 +47,14 @@ message QueryGetMintDenomRequest {}
message QueryGetMintDenomResponse {
MintDenom MintDenom = 1 [(gogoproto.nullable) = false];
}
message QueryGetStartBlockRequest {}

message QueryGetStartBlockResponse {
StartBlock StartBlock = 1 [(gogoproto.nullable) = false];
}
message QueryGetMintedPoolRequest {}

message QueryGetMintedPoolResponse {
MintedPool MintedPool = 1 [(gogoproto.nullable) = false];
}
// this line is used by starport scaffolding # 3
9 changes: 9 additions & 0 deletions proto/pageinflation/start_block.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
syntax = "proto3";
package smartdev0328.bluechip.pageinflation;

option go_package = "github.com/smartdev0328/bluechip/x/pageinflation/types";

message StartBlock {
string value = 1;

}
29 changes: 29 additions & 0 deletions vue/src/store/generated/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// THIS FILE IS GENERATED AUTOMATICALLY. DO NOT MODIFY.

import Smartdev0328BluechipBluechipMint from './smartdev0328/bluechip/bluechip.mint'
import Smartdev0328BluechipSmartdev0328BluechipPageinflation from './smartdev0328/bluechip/smartdev0328.bluechip.pageinflation'


export default {
Smartdev0328BluechipBluechipMint: load(Smartdev0328BluechipBluechipMint, 'bluechip.mint'),
Smartdev0328BluechipSmartdev0328BluechipPageinflation: load(Smartdev0328BluechipSmartdev0328BluechipPageinflation, 'smartdev0328.bluechip.pageinflation'),

}


function load(mod, fullns) {
return function init(store) {
if (store.hasModule([fullns])) {
throw new Error('Duplicate module name detected: '+ fullns)
}else{
store.registerModule([fullns], mod)
store.subscribe((mutation) => {
if (mutation.type == 'common/env/INITIALIZE_WS_COMPLETE') {
store.dispatch(fullns+ '/init', null, {
root: true
})
}
})
}
}
}
17 changes: 17 additions & 0 deletions vue/src/store/generated/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "smartdev0328-bluechip-js",
"version": "0.1.0",
"description": "Autogenerated cosmos modules vuex store",
"author": "Starport Codegen <[email protected]>",
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"main": "index.js",
"publishConfig": {
"access": "public"
}
}
1 change: 1 addition & 0 deletions vue/src/store/generated/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
THIS FOLDER IS GENERATED AUTOMATICALLY. DO NOT MODIFY.
Loading

0 comments on commit a32e22e

Please sign in to comment.