Decentraland
Source: DecentralandFacet.sol
Functions
Rent Decentraland
Rents Decentraland Estate/LAND. Charges msg.sender
for the rent upfront. Rent starts from the last rented timestamp or from the current timestamp of the transaction if the property is available right now.
Params
_assetId
uint256
The target asset
_period
uint256
The target rental period in seconds
_operator
address
The target operator, which will be set as operator once the rent is active
Update State
Updates the corresponding Estate/LAND operator from the given rent. When the rent becomes active (the current block.timestamp
is between the rent's start and end), this function should be executed to set the provided rent operator to the Estate/LAND scene operator.
Params
_assetId
uint256
The target asset
_rentId
uint256
The target rent
Update Operator
Updates the operator for the given rent of an asset.
Params
_assetId
uint256
The target asset
_rentId
uint256
The target rent for the asset
_newOperator
address
The to-be-set new operator
Get Operator
Gets the operator of the rent for the specified _assetId
Params
_assetId
uint256
The target asset
_rentId
uint256
The target rent for the asset
Update Administrative State
Updates the corresponding Estate/LAND operator with the administrative operator.
Params
_assetId
uint256
The target asset
Last updated