Skip to content

Latest commit

 

History

History
292 lines (260 loc) · 10.3 KB

IFeeSharingCollector.md

File metadata and controls

292 lines (260 loc) · 10.3 KB

Interface for contract governance/FeeSharingCollector/FeeSharingCollector.sol (IFeeSharingCollector.sol)

View Source: contracts/governance/IFeeSharingCollector.sol

↘ Derived Contracts: FeeSharingCollector, ILoanToken, ILoanTokenWRBTC

IFeeSharingCollector contract

Interfaces are used to cast a contract address into a callable instance.

Functions


withdrawFees

⤿ Overridden Implementation(s): FeeSharingCollector.withdrawFees,ILoanToken.withdrawFees,ILoanTokenWRBTC.withdrawFees

function withdrawFees(address[] _token) external nonpayable

Arguments

Name Type Description
_token address[]
Source Code
function withdrawFees(address[] calldata _token) external;

transferTokens

⤿ Overridden Implementation(s): FeeSharingCollector.transferTokens,ILoanToken.transferTokens,ILoanTokenWRBTC.transferTokens

function transferTokens(address _token, uint96 _amount) external nonpayable

Arguments

Name Type Description
_token address
_amount uint96
Source Code
function transferTokens(address _token, uint96 _amount) external;

withdraw

⤿ Overridden Implementation(s): FeeSharingCollector.withdraw,ILoanToken.withdraw,ILoanTokenWRBTC.withdraw

function withdraw(address _loanPoolToken, uint32 _maxCheckpoints, address _receiver) external nonpayable

Arguments

Name Type Description
_loanPoolToken address
_maxCheckpoints uint32
_receiver address
Source Code
function withdraw(
        address _loanPoolToken,
        uint32 _maxCheckpoints,
        address _receiver
    ) external;

Contracts