🌍2. (De)centralization

The smart contract itself can be considered decentralized: moderation functions rely on pre-determined conditions and can be called by anyone when these conditions are met.

There are several moderation functions:

Function:

destroyShares

Effect:

remove shares from the targeted address; mints accrued CDP to the targeted address

Condition:

targeted address hasn’t interacted with the system for over 1111 days

Function:

doDailyUpdate -> mintDailyCDPandShares

Effect:

Calculates and appoints shares to the auction winners; mints and stores CDP inflation.

Condition:

Inserted day isn’t updated yet

No single address can change the smart contract’s functionalities, nor can it restrict other addresses in any way. Carpe Diem Pension consists of three interconnected smart contracts. To make this possible and efficient, the creator of the smart contracts must set up different parameters after publishing the contracts. When this process is done, ownership is automatically renounced.

Some functions can only be called from certain addresses. These addresses are always one of the three smart contracts in the Carpe Diem Pension system.

Last updated