1.0.9 • Published 11 months ago

orchai-combinator-tron-sdk-v1 v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

orchai-combinator-tron-sdk

JustlendDAO Lending Pool

JustlendDAO Collateral

const justlend_dao_collateral_action = new actions.justlend_dao.JustlendDAOSupply(
    list cTokenAddress,
    list EnableAsCol,
    action justlend_dao collateral address
)

JustlendDAO Supply

const justlend_dao_supply_action = new actions.justlend_dao.JustlendDAOSupply(
    cTokenAddress,
    from,
    amount,
    enableAsColl: false,
    action justlend_dao supply address
)

JustlendDAO Withdraw

const justlend_dao_withdraw_action = new actions.justlend_dao.JustlendDAOWithdraw(
    cTokenAddress,
    amount,
    to,
    action justlend_dao withdraw address
)

JustlendDAO Borrow

const justlend_dao_borrow_action = new actions.justlend_dao.JustlendDAOBorrow(
    cTokenAddress,
    amount,
    to,
    action justlend_dao borrow address
)

JustlendDAO Repay

const justlend_dao_repay_action = new actions.justlend_dao.JustlendDAORepay(
    cTokenAddress,
    amount,
    from,
    smart wallet address
    action justlend_dao repay address
)