-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1868 from hirosystems/master
merge master into develop
- Loading branch information
Showing
44 changed files
with
1,452 additions
and
503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v18 | ||
v20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
docs/api/smart-contracts/get-smart-contracts-status.example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.swap-helper-bridged-v1-1": { | ||
"found": true, | ||
"result": { | ||
"contract_id": "SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.swap-helper-bridged-v1-1", | ||
"status": "success", | ||
"tx_id": "0x8542d28e427256ea3c29dcd8793222891999ceff4ef1bb062e2f21cb6def6884", | ||
"block_height": 111021 | ||
} | ||
}, | ||
"SP1JTCR202ECC6333N7ZXD7MK7E3ZTEEE1MJ73C60.name-registrar": { | ||
"found": true, | ||
"result": { | ||
"contract_id": "SP1JTCR202ECC6333N7ZXD7MK7E3ZTEEE1MJ73C60.name-registrar", | ||
"status": "success", | ||
"tx_id": "0x6e1114cce8c6f2e9c8130f9acd75d67bb667ae584f882acdd2db6dd74e6cbe5e", | ||
"block_height": 113010 | ||
} | ||
}, | ||
"SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBG.stacking-dao-core-v1": { | ||
"found": true, | ||
"result": { | ||
"contract_id": "SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBG.stacking-dao-core-v1", | ||
"status": "pending", | ||
"tx_id": "0x10bdcf10ffee72994f493ac36760f4e95a76c8471370182fd4705c2153dc173d" | ||
} | ||
}, | ||
"SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBG.stacking-dao-core": { | ||
"found": false | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
docs/api/smart-contracts/get-smart-contracts-status.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"description": "GET request that returns the deployment status of multiple smart contracts", | ||
"title": "SmartContractsStatusResponse", | ||
"type": "object", | ||
"additionalProperties": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "./smart-contract-found.schema.json" | ||
}, | ||
{ | ||
"$ref": "./smart-contract-not-found.schema.json" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"type": "object", | ||
"title": "SmartContractFound", | ||
"additionalProperties": false, | ||
"required": ["found", "result"], | ||
"properties": { | ||
"found": { | ||
"type": "boolean", | ||
"enum": [true] | ||
}, | ||
"result": { | ||
"$ref": "../../entities/smart-contracts/smart-contract-status.schema.json" | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
docs/api/smart-contracts/smart-contract-not-found.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"type": "object", | ||
"title": "SmartContractNotFound", | ||
"additionalProperties": false, | ||
"properties": { | ||
"found": { | ||
"type": "boolean", | ||
"enum": [false] | ||
} | ||
}, | ||
"required": ["found"] | ||
} |
6 changes: 6 additions & 0 deletions
6
docs/entities/smart-contracts/smart-contract-status.example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"contract_id": "SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.swap-helper-bridged-v1-1", | ||
"status": "success", | ||
"tx_id": "0x8542d28e427256ea3c29dcd8793222891999ceff4ef1bb062e2f21cb6def6884", | ||
"block_height": 111021 | ||
} |
29 changes: 29 additions & 0 deletions
29
docs/entities/smart-contracts/smart-contract-status.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"title": "SmartContractStatus", | ||
"description": "Deployment status of a smart contract", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ | ||
"status", | ||
"tx_id", | ||
"contract_id" | ||
], | ||
"properties": { | ||
"status": { | ||
"type": "string", | ||
"description": "Smart contract deployment transaction status" | ||
}, | ||
"tx_id": { | ||
"type": "string", | ||
"description": "Deployment transaction ID" | ||
}, | ||
"contract_id": { | ||
"type": "string", | ||
"description": "Smart contract ID" | ||
}, | ||
"block_height": { | ||
"type": "integer", | ||
"description": "Height of the transaction confirmation block" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.