IPayment
Inherits: IPayableMulticall, IState
Functions
receive
unwrapWETH9
Unwrap WETH9 tokens into ETH and send that balance to recipient. If less than amountMinimum WETH is avialble, then revert.
sweepTokenAmount
Transfers specified token amount to recipient
sweepToken
Sweep entire ERC20 token balance on this contract to recipient. If less than amountMinimum balance is avialble, then revert.
refundETH
Send any ETH on this contract to msg.sender.
unwrapAndSweep
For tokenA and tokenB, sweep all of the non-WETH tokens to msg.sender. Any WETH balance is unwrapped to ETH and then all the ETH on this contract is sent to msg.sender.
Errors
PaymentSenderNotWETH9
PaymentInsufficientBalance
Last updated