Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 468 Bytes

0018-rework_cancel_contracts.md

File metadata and controls

19 lines (12 loc) · 468 Bytes

18. Allow collective approval to cancel contracts

Date: 2023-11-06

Status

Accepted

Context

See here for more details.

Decision

In pallet-smart-contract, add cancel_contract_collective() extrinsic to allow a collective approval (council or farmers) to cancel a contract. For this purpose we also add a new entry CanceledByCollective in Cause enum to better qualify the cancelation cause.