FeedProjects
Developers
Settings
🎉 A new chapter begins: Boardroom has joined Agora
Learn more
protocol logo
Explore / Projects
TrueFi

Proposals

Discussions

Members

Information

Create Proposal

TrueFi

ProposalsDiscussionsMembersInformation
Proposal
Back to Proposals
executedEnded 3 years ago ·  Onchain

[TFIP-3] Accept New Treasury Smart Contracts (Second Attempt)

By 0x3501...62b05B

The previous TFIP-3 vote did not reach quorum. This on-chain proposal is the second attempt to reach quorum on TFIP-3.

Description

Abstract

This proposal revokes a deployer wallet’s DEFAULT_ADMIN_ROLE for these two new contracts:

  • Protocol Treasury
  • Incentives Treasury

These two new contracts will grant the DAO ultimate responsibility over its ERC20 funds. After this proposal executes, the current Gnosis Safes would be able transfer DAO-owned ERC20 funds to these Treasury contracts.

Revoking the deployer wallet’s role has two consequences:

  • removes risk of compromise of the single deployer wallet
  • confirms with a positive action that the DAO has control over these two Treasury contracts

Security

As these contracts are going to store all of the TrueFi treasury at some point in the future, it is extremely important to make sure they are bullet proof.

Contract code had been:

  • designed, implemented and deployed by TrueFi Security team
  • formally verified by TrueFi Security team
  • audited by Zellic

Do not trust. Verify. It is your responsibility as a voter to make sure new TrueFi DAO treasury is a safe place for DAOs ERC-20 tokens.

Motivation

DAO ERC20 funds are currently held by two Gnosis Safes:

  • A Protocol Safe that earns protocol fees and can later distribute them
  • An Incentives Safe that distributes TRU rewards to stakers and liquidity providers

While TrueFi places high trust in the current Safe signers, there is currently no mechanism for the DAO to revoke the Safe signers’ privileges in case of disagreement. Formally, these Safes currently act as autonomous owners of the DAO’s ERC20 funds.

Details

The new Protocol Treasury and Incentives Treasury contracts both have transfer() and approve() functions that delegate to the ERC20s held by the contracts. These functions can only be called by addresses with the MANAGER_ROLE, and only when the contract has not been paused by addresses with the PAUSER_ROLE.

The DAO has already been granted DEFAULT_ADMIN_ROLE for these Treasury contracts, so this revokeRole() is the RBAC analogue of the claimOwnership() from the deprecated Claimable design pattern.

After this proposal, the DAO will be the only address that is able to grant and revoke MANAGER_ROLE and PAUSER_ROLE in the Treasury contracts. The MANAGER_ROLE is intended to prevent voter fatigue, since it would be cumbersome for DAO voters to micromanage day-to-day funds transfers. The PAUSER_ROLE is a fast arbiter to prevent a MANAGER_ROLE rugpull if the DAO votes (delayed by a timelock) to revoke an address’s MANAGER_ROLE.

Forum discussion

https://forum.truefi.io/t/tfip-3-accept-new-treasury-smart-contracts-to-custody-erc20-tokens/1312

Continue Reading
Connect Wallet to Add Note
0
Votes 17
VoterCast PowerVote & Rationale
0x2bBd...BfB1bF
0.00

FOR

0xDF53...76a44A
0.00

FOR

0xc8A6...9ddfFC
0.00

FOR

0xf149...a63D4A
0.00

FOR

0x150e...9B65A5
0.00

FOR

SHOW MORE
VOTE POWER
0
Connect Wallet
Proposal Status
  • Mon December 12 2022, 10:34 amPublished Onchain 0x3501...62b05B
  • Wed December 14 2022, 06:40 amVoting Period Starts
  • Sat December 17 2022, 12:48 amEnd Voting Period
  • Sat December 17 2022, 04:32 pmQueue Proposal
  • Mon December 19 2022, 05:50 pmExecute Proposal
Current Results

1-FOR

0.009

2-AGAINST

N/A Tokens

0%

3-ABSTAIN

N/A Tokens

0%
DocumentationBrandingContact Us
Home
This Project is Currently Disabled

If you would like to enable it, please checkout below.

Boardroom Subscription

Sign up for an individual subscription (access all projects on the platform)

Subscribe
Enable Project

Enable the entire project for every user

Enable Project
Contact Us