https://github.com/sablier-labs/flow/blob/9213c4eb38419be233bd74cdca7b6afb24cd7bcd/src/SablierFlow.sol#L672
Function SablierFlow.depositViaBroker()
allow sender to deposit funds to stream using broker and consequently sending fees to broker address. Default function to deposit SablierFlow._deposit() emmits event ISablierFlow.DepositFlowStream
with amount passed to this function. SablierFlow.depositViaBroker()
inside it also use SablierFlow._deposit()
but because of broker fees amount
that is passed to SablierFlow._deposit()
(and emmited in ISablierFlow.DepositFlowStream
event) is smaller then total transfered amount. And because of that there is no way to distinguish whether user deposited by or SablierFlow.deposit()
by SablierFlow.depositViaBroker()
. This can be valuable to show some statistic as it would show different value even though user deposited more.
Add event for depositing via broker:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.