Skip to content

sushiswap/bento-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5136f82 · Dec 17, 2020

History

28 Commits
Dec 10, 2020
Dec 10, 2020
Dec 10, 2020
Dec 10, 2020
Dec 10, 2020
Dec 17, 2020
Dec 10, 2020
Dec 17, 2020
Dec 17, 2020
Dec 17, 2020
Dec 10, 2020
Dec 10, 2020

Repository files navigation

bento-data

Current Queries Supported

import bentoData from '@sushiswap/bento-data';

bentoData.bento
    .info()
    .then(info => console.log(info))

  bentoData.bento
    .masterContractApproval()
    .then(approvals => console.log(approvals))

  bentoData.bento
    .lendingPairs()
    .then(pairs => console.log(pairs))

  bentoData.bento
    .deposits()
    .then(deposits => console.log(deposits))

  bentoData.bento
    .withdrawals()
    .then(withdrawals => console.log(withdrawals))

  bentoData.bento
    .tokens()
    .then(tokens => console.log(tokens))

  bentoData.bento
    .userInfo("0x4f65e6157b6083b1121552c288ad938e394f144a")
    .then(user => console.log(user))