Context: The library named LibStaking defines the staking behavior, while the contract responsible for handling the staking logic is the SubnetActor (SubnetActorDiamond.sol).
TBD: Describe here or in the resulting PR the changes introduced at each layer to accomplish our implementation.
Note: If the word collateral is encountered, it is safe to assume it refers to the stake amount in a subnet.