contractsV2
contractsV2 copied to clipboard
Ooki Protocol Smart Contracts
Allow protocol to increase/decrease existing position leverage. as discussed with Drypto this is best done by controlling position size directly instead of specifying leverage. Drypto:I think we need to change...
Hi team, I've read the document (https://ooki.gitbook.io/ooki/developers/contracts) and found the following code snippet. ``` BZX = Contract.from_abi("BZX", "0xfe4F0eb0A1Ad109185c9AaDE64C48ff8e928e54B", interface.IBZx.abi) iUSDTAddress = BZX.underlyingToLoanPool(USDT.address) iUSDT = Contract.from_abi("iUSDT", address=iUSDTAddress, abi=LoanTokenLogicStandard.abi) iUSDT.marginTrade('0x0000000000000000000000000000000000000000000000000000000000000000', 5e18, 0,...