@dainprotocol/drift-sdk
Version:
SDK for Drift Protocol
9 lines (8 loc) • 313 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isUserProtectedMaker = void 0;
const __1 = require("..");
function isUserProtectedMaker(userAccount) {
return (userAccount.status & __1.UserStatus.PROTECTED_MAKER) > 0;
}
exports.isUserProtectedMaker = isUserProtectedMaker;