From 581e13118e030df432ed72489e03d20d532a4106 Mon Sep 17 00:00:00 2001 From: Uxio Fuentefria <6909403+Uxio0@users.noreply.github.com> Date: Thu, 23 Jan 2025 13:14:26 +0100 Subject: [PATCH] Add `data` for Multisig Transaction events - Related to https://github.com/safe-global/safe-transaction-service/pull/2392 --- README.md | 58 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index f9794b3..599fc83 100644 --- a/README.md +++ b/README.md @@ -60,9 +60,10 @@ Some parameters are common to every event: ```json { "address": "", - "to": "", "type": "EXECUTED_MULTISIG_TRANSACTION", "safeTxHash": "<0x-prefixed-hex-string>", + "to": "", + "data": "<0x-prefixed-hex-string>", "failed": "true" | "false", "txHash": "<0x-prefixed-hex-string>", "chainId": "" @@ -74,9 +75,10 @@ Some parameters are common to every event: ```json { "address": "", - "to": "", "type": "PENDING_MULTISIG_TRANSACTION", "safeTxHash": "<0x-prefixed-hex-string>", + "to": "", + "data": "<0x-prefixed-hex-string>", "chainId": "" } ``` @@ -108,12 +110,12 @@ Some parameters are common to every event: ```json { -"address": "", -"type": "INCOMING_TOKEN" | "OUTGOING_TOKEN", -"tokenAddress": "", -"txHash": "<0x-prefixed-hex-string>", -"value": "", -"chainId": "" + "address": "", + "type": "INCOMING_TOKEN" | "OUTGOING_TOKEN", + "tokenAddress": "", + "txHash": "<0x-prefixed-hex-string>", + "value": "", + "chainId": "" } ``` @@ -121,12 +123,12 @@ Some parameters are common to every event: ```json { -"address": "", -"type": "INCOMING_TOKEN" | "OUTGOING_TOKEN", -"tokenAddress": "", -"txHash": "<0x-prefixed-hex-string>", -"tokenId": "", -"chainId": "" + "address": "", + "type": "INCOMING_TOKEN" | "OUTGOING_TOKEN", + "tokenAddress": "", + "txHash": "<0x-prefixed-hex-string>", + "tokenId": "", + "chainId": "" } ``` @@ -134,10 +136,10 @@ Some parameters are common to every event: ```json { -"address": "", -"type": "MESSAGE_CREATED" | "MESSAGE_CONFIRMATION", -"messageHash": "<0x-prefixed-hex-string>", -"chainId": "" + "address": "", + "type": "MESSAGE_CREATED" | "MESSAGE_CONFIRMATION", + "messageHash": "<0x-prefixed-hex-string>", + "chainId": "" } ``` @@ -145,9 +147,9 @@ Some parameters are common to every event: ```json { -"type": "REORG_DETECTED", -"blockNumber": "", -"chainId": "" + "type": "REORG_DETECTED", + "blockNumber": "", + "chainId": "" } ``` @@ -155,13 +157,13 @@ Some parameters are common to every event: ```json { -"address": "" | null, -"type": "NEW_DELEGATE" | "UPDATED_DELEGATE" | "DELETED_DELEGATE", -"delegate": "", -"delegator": "", -"label": "", -"expiryDateSeconds": "" | null, -"chainId": "" + "address": "" | null, + "type": "NEW_DELEGATE" | "UPDATED_DELEGATE" | "DELETED_DELEGATE", + "delegate": "", + "delegator": "", + "label": "", + "expiryDateSeconds": "" | null, + "chainId": "" } ```