Skip to content

Commit

Permalink
Remove bulk, delayed in next version
Browse files Browse the repository at this point in the history
  • Loading branch information
48ClubIan authored Dec 17, 2023
1 parent 5d9c384 commit 1cbb722
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \".
Expand Down

0 comments on commit 1cbb722

Please sign in to comment.