Fees
function claimRentFee(uint256 _assetId) public
Claims unclaimed rent fees for a given asset to an asset owner
Params
Name | Type | Description |
---|---|---|
_assetId | uint256 | The target asset |
function claimMultipleRentFees(uint256[] calldata _assetIds) public
Claims unclaimed rent fees for a set of assets to assets' owners
Params
Name | Type | Description |
---|---|---|
_assetIds | uint256[] | The array of assets to claim rent for |
function claimProtocolFee(address _token) public
Claims protocol fees for a given payment token to the DAO. Provide
0x0000000000000000000000000000000000000001
for ETH
Params
Name | Type | Description |
---|---|---|
_token | address | The target token |
function claimProtocolFees(address[] calldata _tokens) public
Claims protocol fees for a set of tokens to the DAO. Provide
0x0000000000000000000000000000000000000001
for ETH
Params
Name | Type | Description |
---|---|---|
_tokens | address[] | The array of tokens |
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
Name | Type | Description |
---|---|---|
_assetId | uint256 | The target asset |
_token | address | The target token |
function supportsTokenPayment(address _token) external view returns (bool)
Gets whether the token payment is supported.
Params
Name | Type | Description |
---|---|---|
_token | address | The target token |
function totalTokenPayments() external view returns (uint256)
Gets the total amount of token payments
function tokenPaymentAt(uint256 _index) external view returns (address)
Gets the token payment at a given index
Params
Name | Type | Description |
---|---|---|
_index | uint256 | The index of the token payment |
function feePercentage(address _token) external view returns (uint256)
Gets the fee percentage for a token
Params
Name | Type | Description |
---|---|---|
_token | address | The target token |
function protocolFeeFor(address _token) external view returns (uint256)
Gets the unclaimed amount of fees for a payment token
Params
Name | Type | Description |
---|---|---|
_token | address | The target token |
Last modified 1yr ago