sign

Create a SignedContract from a list of inputs, reads and a smartcontract

  1. Signature[] sign(const(SecureNet[]) nets, const(Contract) contract)
  2. const(SignedContract) sign(const(SecureNet[]) nets, DARTIndex[] inputs, const(Document[]) reads, const(Document) script)
    @safe
    sign
    (
    const(SecureNet[]) nets
    ,,
    const(Document[]) reads
    ,)
  3. const(SignedContract) sign(const(SecureNet[]) nets, const(Document[]) inputs, const(Document[]) reads, const(Document) script)