Ross Campbell

@KD7I3fyYRY2hG7IJkMfM5g

Joined on Oct 22, 2019

  • Inari is a 'zap' router contract for token staking, swap and defi migration. The name is drawn in homage to Inari Ōkami , a deity for cultivation and industry, whose fox servants dine on offerings of sweet sushi (inarizushi). Development of Inari started with simple tools like Saave, a Sushi-Aave staking helper contract. Following community feedback and deployment of new SushiSwap protocols, like Kashi lending, Inari has grown to become more generalized and include requested bridges like Aave, Compound, and Cream, as well as SLP, Bento, Kashi, and MasterChefv2 TX helpers. In the Inari V1 implementation, zap functions are clearly listed out with interfaces, such as calling aaveToBento() to unstake and move an asset into a Bento account, or stakeSushiToAave() to stake Sushi into SushiBar and Aave (saave). These actions can also be combined into strategies and portfolio rebalancing through a batch() function (see below,Chef Batching). In addition to immediate UX improvements, Inari can also highlight better exchange rates, such as going from ETH to xSUSHI through a 'swap and stake'. Overall, Inari is designed to be an easy-to-understand wrapper on SushiSwap and BentoBox applications, and more generally, can help Sushi and the greater DeFi community build out common routing tools to reduce friction. Swap & Stake
     Like 1 Bookmark
  • Smart contracts provide a way to use code to rule over and execute on financial transactions. In this sense, they present a more pure form of agreement that is both evidence and executory logic for promises. Take for example the humble ICO. It is an open offer to exchange value on the internet, often the native ether of the Ethereum blockchain for "tokens"*. Purchasers accept this offer by signing a Ethereum TX to make the exchange and provide consideration in the fund transfer automated by the ICO smart contract. The agreement is completed after this signature. DAICOs extend this agreement with governance controls and obligations enforced on the token issuer. (*Interestingly, these ICO tokens themselves are smart contracts that essentially serve the limited purposes of tracking balances across Ethereum accounts, though they can contain permissions and other conditions. (**Heck, even some tokens are themselves ICOs. It's smart contracts all the way down.)) It seems useful for lawyers and coders alike to catalogue the different ways smart contracts might represent agreements and what, if any, emergent obligations might be placed on transaction signers here beyond the scope and "four corners" of signed smart contracts. Smart Contract Legal Effects Asset Swaps Uniswap
     Like  Bookmark