2

When you set up a contract, you must provide, manager, delegate, spendable and delegatable. What do these fields mean?

1 Answer 1

5
  • 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)

2
  • if there is a smart contract, can there be no manager, and transactions can only be done by function calls?
    – Rob
    Mar 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.
    – Tom
    Mar 14, 2019 at 21:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.