Distributed Ledger Declarative Smart Actions