When you set up a contract, you must provide, manager
, delegate
, spendable
and delegatable
. What do these fields mean?
1 Answer
- Manager : the keyhash (tz) of the account that can spend the money on the contract, if the contract is spendable, or change the delegate
- Spendable : is it possible to spend the money on this account without running any code (transfer money from this account)
- Delegatable : is it possible to change the contract by which all proof-of-stake activities for this contract should be performed
- Delegate : the contract that should perform all POS activities for this contract (can be changed later only if Delegatable)
(Updated thanks to Tom)
-
if there is a smart contract, can there be no manager, and transactions can only be done by function calls?– RobMar 14, 2019 at 20:07
-
Two nits: Delegate is allowed even if not delegatable. Delegatable could be explained more clearly like spendable: whether the manager can change the contract's delegate.– TomMar 14, 2019 at 21:01