Overview
The Parabol SDK includes a set of helper functions designed to simplify common operations when interacting with Parabol protocol. These helpers are organized into two main categories:
Contract Helpers
Functions for getting contract addresses, ABIs, and contract information. These helpers ensure type safety and proper error handling when working with Parabol’s smart contracts.
Permit Helpers
Utilities for preparing typed data signatures for permit operations, enabling gasless approvals for both lending and claiming operations in the Parabol protocol.
Error Handling
All helper functions use the ParabolSDKError
class for consistent error handling. Common error cases include:
- Invalid contract addresses
- Missing or invalid contract ABIs
- Unsupported chain IDs
- Invalid parameters for permit operations