# Circles IP 7 - Improve the deadman switch logic

**URL:** <https://forum.aboutcircles.com/t/circles-ip-7-improve-the-deadman-switch-logic/450>\
**Category:** "Future" Circles DAO\
**Created:** [February 17, 2022, 10:45am UTC](https://forum.aboutcircles.com/t/circles-ip-7-improve-the-deadman-switch-logic/450 "2022-02-17T10:45:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuelandert](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@samuelandert](https://forum.aboutcircles.com/u/samuelandert)\
**Post date:** [February 17, 2022, 10:45am UTC](https://forum.aboutcircles.com/t/circles-ip-7-improve-the-deadman-switch-logic/450/1 "2022-02-17T10:45:42Z")

</div>

Based on the recent discussions from [Earth Circle IP 1 - Circles 2.0 Architecture](https://aboutcircles.com/t/earth-circle-ip-1-circles-2-0-architecture/428), I am pulling out the essence we agreed on so far.

There are currently plenty of different proposals on how to solve the deadman switch challenges. So far there is no concrete enough proposal and it’s still an open ground for Brainstroming.

---

<div class="post-metadata">

**Author:** ![ouie](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.aboutcircles.com/ouie/32/191_2.png) [@ouie](https://forum.aboutcircles.com/u/ouie)\
**Post date:** [April 21, 2022, 2:30pm UTC](https://forum.aboutcircles.com/t/circles-ip-7-improve-the-deadman-switch-logic/450/2 "2022-04-21T14:30:36Z")

</div>

Input from the bits:

- In favor of making the `update()` method private so that only the token owner can call it.
- Once the update method is private the account is automatically not minting until the user calls `update()` again and if that is indefinite it is essentially working like the Dead-man-switch/Liveness trigger, in that it stops UBI minting.
- Thus we are in favor of removing it all together because there’s no longer a use case.

---

<div class="post-metadata">

**Author:** ![ouie](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.aboutcircles.com/ouie/32/191_2.png) [@ouie](https://forum.aboutcircles.com/u/ouie)\
**Post date:** [April 21, 2022, 2:46pm UTC](https://forum.aboutcircles.com/t/circles-ip-7-improve-the-deadman-switch-logic/450/3 "2022-04-21T14:46:39Z")

</div>

It is also my understanding that land agreed to this in our last meeting concerning this.  
The Circles Coop also approves.

> <https://github.com/CirclesUBI/circles-contracts/issues/151>
>
> Contracts update discussion https://aboutcircles.com/t/earth-circle-ip-1-circles…-2-0-architecture/428/16
> 
> Specific thread for deadman's switch https://aboutcircles.com/t/earth-circle-ip-7-improve-the-deadman-switch-logic/450
> 
> Joint agreement between Munich team, Berlin team and bitspossessed dev team that the best choice is removing the dead man's switch
> 
> 
> Make the update() method private so that only the token owner can call it.
> Once the update method is private the account is automatically not minting until the user calls update() again and if that is indefinite it is essentially working like the Dead-man-switch/Liveness trigger, in that it stops UBI minting.
> Thus we can remove it all together because there’s no longer a use case.
> 
> Note that an "attack" where another user holds a "dead" account minting UBI by calling the update method could already be done previous to this update, by the public update method. The public update method could be used by anyone to keep an account from activating the deadmans switch and to mint it at any time. This is an improvement as now only the owner (or logged in user) can keep tokens minting. However a good way to identify dead accounts is still a nut to crack.
> 
> Furthermore, locked account currently produce more harm than good.
> The most important security approach is to prevent other users gaining access to seed phrases of inactive users. This is more of a human problem than a contract one.
> 
> \- \[\] Remove the deadman's switch
> \- \[\] Make update method private

---

<div class="post-metadata">

**Author:** ![samuelandert](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@samuelandert](https://forum.aboutcircles.com/u/samuelandert)\
**Post date:** [April 22, 2022, 6:04am UTC](https://forum.aboutcircles.com/t/circles-ip-7-improve-the-deadman-switch-logic/450/4 "2022-04-22T06:04:31Z")

</div>

I think this is quite a nice proposal and makes sense. As suggested the deadman’s logic, where somebody keeps an account alive, because they have access to the keys, is a different nut to be cracked.
