Fees

Source: FeeFacet.sol

Functions

Claim Rent Fee

function claimRentFee(uint256 _assetId) public

Claims unclaimed rent fees for a given asset to an asset owner

Params

NameTypeDescription

_assetId

uint256

The target asset

Claim Multiple Rent Fees

 function claimMultipleRentFees(uint256[] calldata _assetIds) public

Claims unclaimed rent fees for a set of assets to assets' owners

Params

NameTypeDescription

_assetIds

uint256[]

The array of assets to claim rent for

Claim Protocol Fee

function claimProtocolFee(address _token) public

Claims protocol fees for a given payment token to the DAO. Provide 0x0000000000000000000000000000000000000001 for ETH

Params

NameTypeDescription

_token

address

The target token

Claim Protocol Fees

function claimProtocolFees(address[] calldata _tokens) public

Claims protocol fees for a set of tokens to the DAO. Provide 0x0000000000000000000000000000000000000001 for ETH

Params

NameTypeDescription

_tokens

address[]

The array of tokens

Asset Rent Fees For

function assetRentFeesFor(uint256 _assetId, address _token)
        external view returns (uint256)

Gets the unclaimed amount of asset rent fees of a payment token for an asset.

Params

NameTypeDescription

_assetId

uint256

The target asset

_token

address

The target token

Supports Token Payment

function supportsTokenPayment(address _token) external view returns (bool)

Gets whether the token payment is supported.

Params

NameTypeDescription

_token

address

The target token

Total Token Payments

function totalTokenPayments() external view returns (uint256)

Gets the total amount of token payments

Token Payment At

function tokenPaymentAt(uint256 _index) external view returns (address)

Gets the token payment at a given index

Params

NameTypeDescription

_index

uint256

The index of the token payment

Fee Percentage

function feePercentage(address _token) external view returns (uint256) 

Gets the fee percentage for a token

Params

NameTypeDescription

_token

address

The target token

Protocol Fee For

function protocolFeeFor(address _token) external view returns (uint256)

Gets the unclaimed amount of fees for a payment token

Params

NameTypeDescription

_token

address

The target token

Last updated