Guides/EVM/Precompiles

Leasing

Reference for the deployed LeasingPrecompile.

View as Markdown
PropertyValue
Rust implementationLeasingPrecompile
Solidity interfaceILeasing
Address0x000000000000000000000000000000000000080a
StatusDeployed

Views

getLease(uint32)
getContributorShare(uint32,bytes32)
getLeaseIdForSubnet(uint16)
getNextLeaseId()
getAccumulatedLeaseDividends(uint32)

Operations

createLeaseCrowdloan(uint64,uint64,uint64,uint32,uint8,bool,uint32)
terminateLease(uint32,bytes32)

Both operations are payable.

Added operation

FunctionSource extrinsic
startCallSubtensorModule.start_call

startCall accepts a signed subnet owner. The Root-only start-call delay configuration is not exposed.

Source: leasing.sol