Gas Golfing by Optimizing Storage

The do’s and don’ts

Photo by NRKbeta on Unsplash

Cheat Sheet

Photo by Gabby K from Pexels (not actually discrete math)

1. Definitions

// Set A contains elements 1,2 and 3
A = {1,2,3}
// 2 is an element of A
// 4 is not an element of A

2. Number Sets

Naturals    N = {1,2,3,4,...}
Integers Z = {...,-2,-1,0,1,2,...}
Rationals Q = Ratio of 2 integers. example…

Validating for Staleness

The Math Behind The Madness

  1. The governance protocol, for which I was responsible for.
  2. And…

Does it work yet?

Image by mohamed Hassan from Pixabay

Get crypto prices in a single function call

Photo by Miloslav Hamřík on Pixabay.

Earn interest using the Aave protocol: a JavaScript tutorial


Find and use oracles to retrieve off-chain data in your smart contracts

Image by Gerd Altmann from Pixabay

Choosing who we trust and share our lives with

Photo by Sam Manns on Unsplash

Alex Roan

Engineer at Chainlink Labs.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store