RealityETH / subjectivocracy

Design and code prototypes for a system of forking oracle-enshrined L2 ledgers
26 stars 3 forks source link

Suppport more tokens #222

Closed josojo closed 6 months ago

josojo commented 7 months ago

bytes memory metadata = abi.encode( IERC20Metadata(token).name(), IERC20Metadata(token).symbol(), IERC20Metadata(token).decimals() );

Some tokens might not support those methods, one needs to call them using staticcall

edmundedgar commented 6 months ago

Is this an upstream polygon decision or did we do it?

josojo commented 6 months ago

I opened the Pr to make it clearer