Closed petrovska-petro closed 2 years ago
for stream creation: https://github.com/sablierhq/sablier/blob/develop/packages/protocol/contracts/Sablier.sol#L179, it will return the streamID
probably worthy to dump those data into a json for log purposes
Thinking that the streamID
will differ in the tx once it is mined in the msig, from the fork output. still we can grab those events in dune and drop a csv/json file in the repo
rinkeby stream testing
Events In This Transaction
--------------------------
├── ISablier (0xC1f3af5DC05b0C51955804b2afc80eF8FeED67b9)
│ └── CreateStream
│ ├── streamId: 100463
│ ├── sender: 0x6b11a8B734C3eeFd41Ff7b0e2D15F2b0F46D336b
│ ├── recipient: 0x10C7a2ca16116E5C998Bfa3BC9CEF464475B18ff
│ ├── deposit: 999999999999999979200
│ ├── tokenAddress: 0xc7AD46e0b8a400Bb3C915120d284AafbA8fc4735
│ ├── startTime: 1651842000
│ └── stopTime: 1651881600
│
└── Gnosis Safe (0x6b11a8B734C3eeFd41Ff7b0e2D15F2b0F46D336b)
└── ExecutionSuccess
├── txHash: 0xb6dc5db34d878e26693c3b0d855c24f42b29b7eb3f132130fc28692b2435074f
└── payment: 0
{
│ 'ethereum_client': <gnosis.eth.ethereum_client.EthereumClient object at 0x7fcba469dd00>,
│ 'safe_address': '0x6b11a8B734C3eeFd41Ff7b0e2D15F2b0F46D336b',
│ 'to': '0x40A2aCCbd92BCA938b02010E17A5b8929b49130D',
│ 'value': 0,
│ 'data': HexBytes('0x8d80ff0a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000019200c7ad46e0b8a400bb3c915120d284aafba8fc473500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044095ea7b3000000000000000000000000c1f3af5dc05b0c51955804b2afc80ef8feed67b900000000000000000000000000000000000000000000003635c9adc5de9faec000c1f3af5dc05b0c51955804b2afc80ef8feed67b9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4cc1b4bf600000000000000000000000010c7a2ca16116e5c998bfa3bc9cef464475b18ff00000000000000000000000000000000000000000000003635c9adc5de9faec0000000000000000000000000c7ad46e0b8a400bb3c915120d284aafba8fc47350000000000000000000000000000000000000000000000000000000062751bd0000000000000000000000000000000000000000000000000000000006275b6800000000000000000000000000000'),
│ 'operation': 1,
│ 'safe_tx_gas': 0,
│ 'base_gas': 0,
│ 'gas_price': 0,
│ 'gas_token': '0x0000000000000000000000000000000000000000',
│ 'refund_receiver': '0x0000000000000000000000000000000000000000',
│ 'signatures': b'',
│ '_safe_nonce': 44,
│ '_safe_version': '1.3.0',
│ '_chain_id': None
}
cancel test
Events In This Transaction
--------------------------
├── ISablier (0xC1f3af5DC05b0C51955804b2afc80eF8FeED67b9)
│ └── CancelStream
│ ├── streamId: 100463
│ ├── sender: 0x6b11a8B734C3eeFd41Ff7b0e2D15F2b0F46D336b
│ ├── recipient: 0x10C7a2ca16116E5C998Bfa3BC9CEF464475B18ff
│ ├── senderBalance: 969898989898989878816
│ └── recipientBalance: 9469696969696969500
│
└── Gnosis Safe (0x6b11a8B734C3eeFd41Ff7b0e2D15F2b0F46D336b)
└── ExecutionSuccess
├── txHash: 0xbbd0c8a45d0dd30081e1b244a50ccf7a25bf4965eef20e18159c50940ace7be9
└── payment: 0
{
│ 'ethereum_client': <gnosis.eth.ethereum_client.EthereumClient object at 0x7fbf27cdfeb0>,
│ 'safe_address': '0x6b11a8B734C3eeFd41Ff7b0e2D15F2b0F46D336b',
│ 'to': '0x40A2aCCbd92BCA938b02010E17A5b8929b49130D',
│ 'value': 0,
│ 'data': HexBytes('0x8d80ff0a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000007900c1f3af5dc05b0c51955804b2afc80ef8feed67b9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000246db9241b000000000000000000000000000000000000000000000000000000000001886f00000000000000'),
│ 'operation': 1,
│ 'safe_tx_gas': 0,
│ 'base_gas': 0,
│ 'gas_price': 0,
│ 'gas_token': '0x0000000000000000000000000000000000000000',
│ 'refund_receiver': '0x0000000000000000000000000000000000000000',
│ 'signatures': b'',
│ '_safe_nonce': 45,
│ '_safe_version': '1.3.0',
│ '_chain_id': None
}
Requirements:
Task
ref of request