0xProject / 0x-monorepo

0x protocol monorepo - includes our smart contracts and many developer tools
Other
1.41k stars 466 forks source link

chore: Refactor Sampler to Solidity 0.6 and try/catch #2737

Closed dekz closed 3 years ago

dekz commented 3 years ago

Description

Upgrades the sampler to solidity 0.6. Refactors into try/catch where possible

Sell sims

Missing:

Included in price comparisons, just not good pricing at the moment

{
name: "Shell",
price: "0.980418",
gas: "300000"
},
{
name: "Eth2Dai",
price: "0.968364",
gas: "400000"
},
{
name: "mStable",
price: "0.9994",
gas: "700000"
},

Testing instructions

Types of changes

Checklist: