Skip to content

Commit d2efbf1

Browse files
committed
Add endpoint for deploying contracts
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
1 parent 5074508 commit d2efbf1

32 files changed

+1357
-17
lines changed

docs/reference/types/event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ nav_order: 2
4141
|------------|-------------|------|
4242
| `id` | The UUID assigned to this event by your local FireFly node | [`UUID`](simpletypes#uuid) |
4343
| `sequence` | A sequence indicating the order in which events are delivered to your application. Assure to be unique per event in your local FireFly database (unlike the created timestamp) | `int64` |
44-
| `type` | All interesting activity in FireFly is emitted as a FireFly event, of a given type. The 'type' combined with the 'reference' can be used to determine how to process the event within your application | `FFEnum`:<br/>`"transaction_submitted"`<br/>`"message_confirmed"`<br/>`"message_rejected"`<br/>`"datatype_confirmed"`<br/>`"identity_confirmed"`<br/>`"identity_updated"`<br/>`"token_pool_confirmed"`<br/>`"token_pool_op_failed"`<br/>`"token_transfer_confirmed"`<br/>`"token_transfer_op_failed"`<br/>`"token_approval_confirmed"`<br/>`"token_approval_op_failed"`<br/>`"contract_interface_confirmed"`<br/>`"contract_api_confirmed"`<br/>`"blockchain_event_received"`<br/>`"blockchain_invoke_op_succeeded"`<br/>`"blockchain_invoke_op_failed"` |
44+
| `type` | All interesting activity in FireFly is emitted as a FireFly event, of a given type. The 'type' combined with the 'reference' can be used to determine how to process the event within your application | `FFEnum`:<br/>`"transaction_submitted"`<br/>`"message_confirmed"`<br/>`"message_rejected"`<br/>`"datatype_confirmed"`<br/>`"identity_confirmed"`<br/>`"identity_updated"`<br/>`"token_pool_confirmed"`<br/>`"token_pool_op_failed"`<br/>`"token_transfer_confirmed"`<br/>`"token_transfer_op_failed"`<br/>`"token_approval_confirmed"`<br/>`"token_approval_op_failed"`<br/>`"contract_interface_confirmed"`<br/>`"contract_api_confirmed"`<br/>`"blockchain_event_received"`<br/>`"blockchain_invoke_op_succeeded"`<br/>`"blockchain_invoke_op_failed"`<br/>`"blockchain_contract_deploy_op_succeeded"`<br/>`"blockchain_contract_deploy_op_failed"` |
4545
| `namespace` | The namespace of the event. Your application must subscribe to events within a namespace | `string` |
4646
| `reference` | The UUID of an resource that is the subject of this event. The event type determines what type of resource is referenced, and whether this field might be unset | [`UUID`](simpletypes#uuid) |
4747
| `correlator` | For message events, this is the 'header.cid' field from the referenced message. For certain other event types, a secondary object is referenced such as a token pool | [`UUID`](simpletypes#uuid) |

docs/reference/types/message.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ nav_order: 15
7272
| `id` | The UUID of the message. Unique to each message | [`UUID`](simpletypes#uuid) |
7373
| `cid` | The correlation ID of the message. Set this when a message is a response to another message | [`UUID`](simpletypes#uuid) |
7474
| `type` | The type of the message | `FFEnum`:<br/>`"definition"`<br/>`"broadcast"`<br/>`"private"`<br/>`"groupinit"`<br/>`"transfer_broadcast"`<br/>`"transfer_private"` |
75-
| `txtype` | The type of transaction used to order/deliver this message | `FFEnum`:<br/>`"none"`<br/>`"unpinned"`<br/>`"batch_pin"`<br/>`"network_action"`<br/>`"token_pool"`<br/>`"token_transfer"`<br/>`"contract_invoke"`<br/>`"token_approval"`<br/>`"data_publish"` |
75+
| `txtype` | The type of transaction used to order/deliver this message | `FFEnum`:<br/>`"none"`<br/>`"unpinned"`<br/>`"batch_pin"`<br/>`"network_action"`<br/>`"token_pool"`<br/>`"token_transfer"`<br/>`"contract_deploy"`<br/>`"contract_invoke"`<br/>`"token_approval"`<br/>`"data_publish"` |
7676
| `author` | The DID of identity of the submitter | `string` |
7777
| `key` | The on-chain signing key used to sign the transaction | `string` |
7878
| `created` | The creation time of the message | [`FFTime`](simpletypes#fftime) |

docs/reference/types/operation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ nav_order: 7
4747
| `id` | The UUID of the operation | [`UUID`](simpletypes#uuid) |
4848
| `namespace` | The namespace of the operation | `string` |
4949
| `tx` | The UUID of the FireFly transaction the operation is part of | [`UUID`](simpletypes#uuid) |
50-
| `type` | The type of the operation | `FFEnum`:<br/>`"blockchain_pin_batch"`<br/>`"blockchain_network_action"`<br/>`"blockchain_invoke"`<br/>`"sharedstorage_upload_batch"`<br/>`"sharedstorage_upload_blob"`<br/>`"sharedstorage_upload_value"`<br/>`"sharedstorage_download_batch"`<br/>`"sharedstorage_download_blob"`<br/>`"dataexchange_send_batch"`<br/>`"dataexchange_send_blob"`<br/>`"token_create_pool"`<br/>`"token_activate_pool"`<br/>`"token_transfer"`<br/>`"token_approval"` |
50+
| `type` | The type of the operation | `FFEnum`:<br/>`"blockchain_pin_batch"`<br/>`"blockchain_network_action"`<br/>`"blockchain_deploy"`<br/>`"blockchain_invoke"`<br/>`"sharedstorage_upload_batch"`<br/>`"sharedstorage_upload_blob"`<br/>`"sharedstorage_upload_value"`<br/>`"sharedstorage_download_batch"`<br/>`"sharedstorage_download_blob"`<br/>`"dataexchange_send_batch"`<br/>`"dataexchange_send_blob"`<br/>`"token_create_pool"`<br/>`"token_activate_pool"`<br/>`"token_transfer"`<br/>`"token_approval"` |
5151
| `status` | The current status of the operation | `OpStatus` |
5252
| `plugin` | The plugin responsible for performing the operation | `string` |
5353
| `input` | The input to this operation | [`JSONObject`](simpletypes#jsonobject) |

docs/reference/types/transaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ nav_order: 6
4040
|------------|-------------|------|
4141
| `id` | The UUID of the FireFly transaction | [`UUID`](simpletypes#uuid) |
4242
| `namespace` | The namespace of the FireFly transaction | `string` |
43-
| `type` | The type of the FireFly transaction | `FFEnum`:<br/>`"none"`<br/>`"unpinned"`<br/>`"batch_pin"`<br/>`"network_action"`<br/>`"token_pool"`<br/>`"token_transfer"`<br/>`"contract_invoke"`<br/>`"token_approval"`<br/>`"data_publish"` |
43+
| `type` | The type of the FireFly transaction | `FFEnum`:<br/>`"none"`<br/>`"unpinned"`<br/>`"batch_pin"`<br/>`"network_action"`<br/>`"token_pool"`<br/>`"token_transfer"`<br/>`"contract_deploy"`<br/>`"contract_invoke"`<br/>`"token_approval"`<br/>`"data_publish"` |
4444
| `created` | The time the transaction was created on this node. Note the transaction is individually created with the same UUID on each participant in the FireFly transaction | [`FFTime`](simpletypes#fftime) |
4545
| `blockchainIds` | The blockchain transaction ID, in the format specific to the blockchain involved in the transaction. Not all FireFly transactions include a blockchain. FireFly transactions are extensible to support multiple blockchain transactions | `string[]` |
4646

0 commit comments

Comments
 (0)