Introduction to solmate

The solmate contracts from t11s are “not designed with user safety in mind”. Implicit invariants are expected to be followed, and it’s easy to shoot yourself in the foot.

Therefore, I thought it’s a good idea to introduce some of the contracts, their footguns, and cross-check them with the OpenZeppelin library.

EVM Expeditions at byterocket

Recently, we at byterocket started to share internal learning sessions under the term EVM Expeditions.

If you ever wanted to know how to create an overflow in solmate’s ERC20 token, or finally want to understand the assembly in the SafeTransferLib, this presentation is for you.

Approved by the Author ✅

t11s-tweet