Skip to content

Structs ​

Git Source

Structs ​

TickDebt ​

solidity
struct TickDebt {
    uint256 debtRaw;
    uint256 collateralRaw;
    uint256 debtNormal;
    uint256 collateralNormal;
    uint256 ratio;
    int256 tick;
}

VaultsTickDebt ​

solidity
struct VaultsTickDebt {
    TickDebt[] tickDebt;
    int256 toTick;
}

BranchDebt ​

solidity
struct BranchDebt {
    uint256 debtRaw;
    uint256 collateralRaw;
    uint256 debtNormal;
    uint256 collateralNormal;
    uint256 branchId;
    uint256 status;
    int256 tick;
    uint256 partials;
    uint256 ratio;
    uint256 debtFactor;
    uint256 baseBranchId;
    int256 baseBranchTick;
}

BranchesDebt ​

solidity
struct BranchesDebt {
    BranchDebt[] branchDebt;
}