From 1cbb72296e92a9b08b4c9bd260955ab1eff475ce Mon Sep 17 00:00:00 2001 From: Ian <39881426+48ClubIan@users.noreply.github.com> Date: Mon, 18 Dec 2023 01:56:35 +0800 Subject: [PATCH] Remove bulk, delayed in next version --- README.md | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/README.md b/README.md index 4bd9f74..2107acf 100644 --- a/README.md +++ b/README.md @@ -45,31 +45,6 @@ data:application/json, ``` Where json is explicitly specified. -Bulk commands are allowed when all commands share an op. If multiple commands is carried in a sigle transaction, the data should be packed in an array, each item of which contains a complete command, and each command will be handled in order. In which case, all combined commands are executed atomicly, i.e. either all of them are successfully executed or none of them. - -Specially, `mint` `recap` and `deploy` command must be a standalone command. If bulk commands in a single transaction contains a `mint` `recap` or `deploy`, the entire bulk should be considered as invalid. - -example: - -``` -data:application/json, -[ - { - "p":"bnb-48", - "op":"transfer", - "tick":"token1", - ... - }, - { - "p":"bnb-48", - "op":"transfer", - "tick":"token2", - ... - } -] -``` - - Indexer should correctly parse the data object according to data format instead of relying on a fixed piece of (hex) data, which means, spaces and breaks don't change a command, as well as the serialized sequence of key-value pairs. To maintain the compatibility of cross-platform, all tuples in data object should be a string, i.e. quoted by \".