Skip to content

Commit

Permalink
update schema format
Browse files Browse the repository at this point in the history
  • Loading branch information
JSHan94 committed Feb 28, 2024
1 parent 2ced963 commit ccb43d7
Showing 1 changed file with 51 additions and 15 deletions.
66 changes: 51 additions & 15 deletions chain.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -595,22 +595,58 @@
"type": "boolean",
"description": "[Optional] Indicates if the chain is a layer 1 chain."
},
"op_bridge_id": "string",
"creator": "string",
"op_denoms": [
"string"
],
"free_tx_threshold": [
{
"denom": "string",
"amount": "number"
}
],
"op_bridge_id": {
"type": "string",
"description": "[Optional] The identifier of the OPinit bridge used to transfer assets between L1 and L2."
},
"creator": {
"type": "string",
"description": "[Optional] The creator of the OPinit bridge."
},
"op_denoms": {
"type": "array",
"items": {
"type": "string"
},
"description": "[Optional] The list of denoms that are supported by the OPinit bridge."
},
"free_tx_threshold": {
"type": "array",
"items": {
"type": "object",
"required": [
"denom",
"amount"
],
"properties": {
"denom": {
"type": "string"
},
"amount": {
"type": "number"
}
},
"additionalProperties": false
},
"description": "[Optional] The list of denoms and their respective amounts that are allowed to be transferred without fees."
},
"ibc_channels": {
"chain_id": {
"transfer": "string",
"nft-transfer": "string"
}
"type": "object",
"properties": {
"chain_id": {
"type": "object",
"properties": {
"transfer": {
"type": "string"
},
"nft-transfer": {
"type": "string"
}
}
}
},
"additionalProperties": false,
"description": "[Optional] The list of IBC channels that are supported by the chain."
}
}
},
Expand Down

0 comments on commit ccb43d7

Please sign in to comment.