ProtocolFeeRecipient
LooksRare protocol team (👀,💎)
ProtocolFeeRecipient
This contract is used to receive protocol fees and transfer them to the fee sharing setter. Fee sharing setter cannot receive ETH directly, so we need to use this contract as a middleman to convert ETH into WETH before sending it.
Methods​
FEE_SHARING_SETTER​
function FEE_SHARING_SETTER() external view returns (address)
Returns​
Name | Type | Description |
---|---|---|
_0 | address | undefined |
WETH​
function WETH() external view returns (contract IWETH)
Returns​
Name | Type | Description |
---|---|---|
_0 | contract IWETH | undefined |
transferERC20​
function transferERC20(address currency) external nonpayable
Parameters​
Name | Type | Description |
---|---|---|
currency | address | ERC20 currency address |
transferETH​
function transferETH() external nonpayable
Errors​
ERC20TransferFail​
error ERC20TransferFail()
It is emitted if the ERC20 transfer fails.
NotAContract​
error NotAContract()
It is emitted if the call recipient is not a contract.
NothingToTransfer​
error NothingToTransfer()