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
Name | Type | Description |
---|---|---|
|
| The target asset |
|
| The target rental period in seconds |
|
| 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
Name | Type | Description |
---|---|---|
|
| The target asset |
|
| The target rent |
Update Operator
Updates the operator for the given rent of an asset.
Params
Name | Type | Description |
---|---|---|
|
| The target asset |
|
| The target rent for the asset |
|
| The to-be-set new operator |
Get Operator
Gets the operator of the rent for the specified _assetId
Params
Name | Type | Description |
---|---|---|
|
| The target asset |
|
| The target rent for the asset |
Update Administrative State
Updates the corresponding Estate/LAND operator with the administrative operator.
Params
Name | Type | Description |
---|---|---|
|
| The target asset |
Last updated