Skip to content

Commit

Permalink
Merge pull request #8 from neutron-org/feat/NTRN-332-reflect-token-fa…
Browse files Browse the repository at this point in the history
…ctory-queries

feat: NTRN-332. Reflect token factory queries
  • Loading branch information
pr0n00gler authored Apr 3, 2023
2 parents 000f305 + 83f0db3 commit 82216e6
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
44 changes: 44 additions & 0 deletions contracts/reflect/schema/query_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,50 @@
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"full_denom"
],
"properties": {
"full_denom": {
"type": "object",
"required": [
"creator_addr",
"subdenom"
],
"properties": {
"creator_addr": {
"type": "string"
},
"subdenom": {
"type": "string"
}
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"denom_admin"
],
"properties": {
"denom_admin": {
"type": "object",
"required": [
"subdenom"
],
"properties": {
"subdenom": {
"type": "string"
}
}
}
},
"additionalProperties": false
}
]
},
Expand Down
7 changes: 7 additions & 0 deletions contracts/reflect/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ pub enum InterchainQueries {
query_id: u64,
},
MinIbcFee {},
FullDenom {
creator_addr: String,
subdenom: String,
},
DenomAdmin {
subdenom: String,
},
}

impl CustomQuery for InterchainQueries {}
Expand Down

0 comments on commit 82216e6

Please sign in to comment.