From 1c0d1eb9e4b66dc81bcd16104ac045f425e59d31 Mon Sep 17 00:00:00 2001 From: Petrovska Date: Mon, 15 Jul 2024 14:13:59 +0900 Subject: [PATCH] docs: add table with bytes returned by `checkUpkeep(bytes)` --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index bb92e4c..2ad9a4c 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,13 @@ $ make startAnvil ``` $ make deployAnvil ``` + +## 3. `checkUpkeep(bytes)` raw values returned mapping (`bytes` -> `string`) + +| Bytes | Readable String | +| -------- | ------- | +| 0x5669727475616c206d6f64756c65206973206e6f7420656e61626c6564000000 | Virtual module is not enabled | +| 0x45787465726e616c207472616e73616374696f6e20696e2071756575652c207761697420666f7220697420746f20626520657865637574656400000000000000 | External transaction in queue, wait for it to be executed | +| 0x496e7465726e616c207472616e73616374696f6e20696e20636f6f6c646f776e2073746174757300000000000000000000000000000000000000000000000000 | Internal transaction in cooldown status | +| 0x4e6f207374616b6564204250542062616c616e6365206f6e20746865206361726400000000000000000000000000000000000000000000000000000000000000 | No staked BPT balance on the card | +| 0x4e6569746865722064656669636974206e6f7220737572706c75733b206e6f20616374696f6e206e656564656400000000000000000000000000000000000000 | Neither deficit nor surplus; no action needed | \ No newline at end of file