engineering @ rari capital

Joined September 2020
This morning I deposited into @RariCapital's Fuse (a lending market protocol on L1) from @optimismPBC optimistic.etherscan.io/tx/0… etherscan.io/tx/0xba04d1bf31… And it only took 20 lines of code. How? In short: Nova. (1/x) 🧵
23
117
34
522
Show this thread
I thought I had found a Solidity bug with differential fuzzing between optimization levels. function f() public {assembly {mstore(and(keccak256(0,18446744057039951614),0), 123)}}
1
2
0
32
Show this thread
new panel on metrics.rari.capital shows liquidation increases in 30 minute chunks— pretty cool for visualizing a dip's impact on levered up users can see here how a brief OHM dip spiked liquidations across a bunch of pools that accept it as collateral
0
0
0
15
ppl poke fun at sites like this but they're extremely functional and load instantly cuz they're like 900 bytes of pure html
8
4
1
85
reject modernity return to the og web
6
0
0
47
gnosis engineering is extremely underrated gp-v2 codebase is a work of art, some wild shit in there
2
0
0
60
society if @NLordello was active on twitter
0
0
0
10
lol @r_ross_campbell is slowly learning how insane i am by opening up minor PRs on solmate and watching me nitpick them to death
2
0
0
10
"yea you cant use a period to end that comment it looks weird next to the period in the code snippet before it "
0
0
0
8
t11s retweeted
Solidity trivia #29: To index or not to index, that is the question. Does using indexed in events increase runtime gas costs? How about bytecode size? feat. @transmissions11 & @NoahCitron
7
6
1
40
Show this thread
the answer: Remco's is 500-400 gas cheaper proof: github.com/transmissions11/m…
has anyone benchmarked @recmo's mulDiv against Mikhail Vladimirov's? xn--2-umb.com/21/muldiv/ medium.com/coinmonks/math-in…
Show this thread
2
0
1
22
Replying to @JetJadeja
ur mom is so fat she cannot be deployed after spurious dragon
1
1
0
12
cc @PaulRBerg because I believe you've got a fork in PRBMath?
1
0
0
1
Show this thread
Don't know if anyone finds this useful but I ported Remco Bloemen's overflow-safe "mulDiv" function to Solidity v0.8 I made two changes: 1. Rewrote "-denominator" as "type(uint256).max - denominator + 1" 2. Wrapped the bottom half in "unchecked { ... }" gist.github.com/paulrberg/43…
1
3
0
21
Show this thread
bit ironic innit
1
1
1
53