IERC721WarperController
IERC721WarperController
rentalBalance
function rentalBalance(address metahub, address warper, address renter) external view returns (uint256)
Get the active rental balance for a given warper and a renter. Used in Warper->Renting Manager communication.
| Name | Type | Description |
|---|---|---|
| metahub | address | Address of the metahub. |
| warper | address | Address of the warper. |
| renter | address | Address of the renter whose active rental counts we need to fetch. |
rentalStatus
function rentalStatus(address metahub, address warper, uint256 tokenId) external view returns (enum Rentings.RentalStatus)
Get the rental status of a specific token. Used in Warper->Renting Manager communication.
| Name | Type | Description |
|---|---|---|
| metahub | address | Address of the metahub. |
| warper | address | Address of the warper. |
| tokenId | uint256 | The token ID to be checked for status. |