Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MAX_EXT_AMOUNT

Maximum allowed external amount for deposits and withdrawals. This limit prevents overflow attacks and ensures system stability. # Value - 2^248 (approximately 4.5 × 10^74) - Provides sufficient range for practical transaction amounts - Prevents arithmetic overflow in calculations

Fully qualified path: obscura::constants::MAX_EXT_AMOUNT

pub const MAX_EXT_AMOUNT: u256 = 2_u256.pow(248);