SablierV2ProxyPlugin
Inherits: OnlyDelegateCall, ISablierV2ProxyPlugin, PRBProxyPlugin
See the documentation in ISablierV2ProxyPlugin.
State Variables
archive
Retrieves the address of the archive contract.
ISablierV2Archive public immutable override archive;
Functions
constructor
constructor(ISablierV2Archive archive_);
methodList
function methodList() external pure returns (bytes4[] memory methods);
onStreamCanceled
Forwards the refunded assets to the proxy owner when the recipient cancel a stream whose sender is the proxy contract.
Requirements:
- Must be delegate called.
- The caller must be an address listed in the archive.
function onStreamCanceled(uint256 streamId, address, uint128 senderAmount, uint128) external onlyDelegateCall;