cooptypes - v2026.4.30-alpha-1
    Preparing search index...

    Строка таблицы accounts контракта ledger2 (бухгалтерский счёт по плану счетов). Source: table_ledger2_account.hpp.

    account_type:

    • 0 = ACTIVE → balance = debit_balance − credit_balance
    • 1 = PASSIVE → balance = credit_balance − debit_balance
    • 2 = ACTIVE_PASSIVE → balance = debit_balance − credit_balance (знаковая)
    interface IAccount2 {
        account_type: 0 | 1 | 2;
        balance: string;
        credit_balance: string;
        debit_balance: string;
        id: number;
        name: string;
    }
    Index

    Properties

    account_type: 0 | 1 | 2
    balance: string
    credit_balance: string
    debit_balance: string
    id: number
    name: string