Exploring the trustfulness of the Sablier protocol – Sablier

Exploring the trustfulness of the Sablier protocol – Sablier

All of our smart contracts inherits from a forked version of OpenZeppelin’s Ownable.sol, which means they each have an “owner” property, further referred to as the administrator.

The administrator is the same across all contracts:

Which is an account controlled by Sablier Inc., the developer of the protocol— a company legally established as a C-Corp in the state of Delaware, United States.

The rights the administrator has are different for each smart contract.

Dapp Proxy

View the source code of this contract here.

The administrator has the exclusive permission to call these two functions:

Adds a new account as a relayer tied to a specific stream. The relayer can then withdraw money for end users.

Removes a previously whitelisted relayer.

For more information about how our relayer system works, head to this section of the FAQ.

Money Streaming Engine

View the source code of this contract here.

The administrator has the exclusive permission to call these two functions:

Updates the fee charged by using compounding streams. This is a percentage that can take integer values between 0 and 100. The fee is currently set to 0 and we have no plans to update it in the near future.

Withdraws any earnings that accrued in the smart contract.

For a thorough explanation of how compounding streams work, and how our business fee can technically be mandated, head to this section of our protocol documentation.

Compound Token Manager

View the source code of this contract here.

The administrator has the exclusive permission to call these two functions:

Adds a new cToken to the whitelist, so that users can create compounding streams with it.

Discards a previously whitelisted cToken. Previously created compounding streams are *not* affected.

There aren’t many cTokens in circulations, so one might wonder why we added this limitation in the first place. The answer is that the math surrounding the Compound protocol is complex and we wanted to limit the risk.

Published at Tue, 14 Jan 2020 00:40:30 +0000

{flickr|100|campaign}

Swap your tokens below to get the best prices across all decentralized crypto exchanges.

Spread the word. Share this post!