Loading
Loading
0x000000000000000000000000000000000000080a
Subnet leasing: creates a lease crowdloan (Crowdloan::create wrapping SubtensorModule::register_leased_network), starts or terminates a lease (SubtensorModule::start_call / terminate_lease), and reads lease state and dividends.
Written from precompiles/src/leasing.rs (github.com, opens in a new tab, external site) at c004cebf3 (runtime 471)
8 in total, 8 live, 5 documented. Retired functions stay listed so older calls still decode.
| Signature | Selector | Mutability | Runtime |
|---|---|---|---|
createLeaseCrowdloan(uint64,uint64,uint64,uint32,uint8,bool,uint32) | Selector 0xafed65f9 | Mutability payable | Since runtime 298 |
Create a lease crowdloan. Parameters
| |||
getAccumulatedLeaseDividends(uint32) | Selector 0x5476deb6 | Mutability view | Since runtime 444 |
No documentation in the source. Parameters
Returns
| |||
getContributorShare(uint32,bytes32) | Selector 0x3175bd98 | Mutability view | Since runtime 298 |
Retrieves the contributor share for a given lease id and contributor. The share is returned as a tuple of two uint128 values, where the first value is the integer part and the second value is the fractional part. Parameters
Returns
| |||
getLease(uint32) | Selector 0xda2d4c2b | Mutability view | Since runtime 298 |
Retrieves the lease info for a given lease id. Parameters
Returns
| |||
getLeaseIdForSubnet(uint16) | Selector 0xe42363d5 | Mutability view | Since runtime 298 |
Retrieves the lease id for a given subnet. Parameters
Returns
| |||
getNextLeaseId() | Selector 0x0d8dc643 | Mutability view | Since runtime 444 |
No documentation in the source. Returns
| |||
startCall(uint16) | Selector 0x6f2c5e62 | Mutability nonpayable | Since runtime 444 |
No documentation in the source. Parameters
| |||
terminateLease(uint32,bytes32) | Selector 0x90cfa75b | Mutability payable | Since runtime 298 |
Terminates a lease and transfers the ownership to the beneficiary. Parameters
| |||
Data: precompile-abis/v471-summaries, subtensor c004cebf3 (github.com, opens in a new tab, external site) (runtime 471). Runtime ranges are the spec versions on subtensor’s main branch when an entry first and last appeared, not the block it went live on chain.