ABI is the correct term here. This is the human-readable reference for the deployed
Application Binary Interface, not an HTTP API. JPYC, IDRX and IDRP use the same ABI at different
proxy addresses.
baseToken() returns the selected market’s JPYC, IDRX or IDRP, and quoteToken() returns Kaia
USDT. Copy-ready minimal viem ABIs for taker and maker integrations are provided in
Contract integration, and the complete machine-readable
arrays are provided on ABI JSON.
ABI types
uint8. getOrder returns this tuple in exactly the field order above.
Maker
Taker
Sweeper — no role
Views
openOrderIds and expiredOrderIds clamp a caller-supplied limit that would overflow
offset + limit, rather than panicking. Passing type(uint256).max is safe. For
expiredOrderIds, keep following nextOffset even when the filtered ids page is empty.Additional ABI entries
The complete ABI also contains inherited entries. Typical integrations need onlyhasRole,
supportsInterface and paused in addition to the functions above. The exact machine-readable
surface remains available on ABI JSON, while user-facing events and errors
are listed in Events & errors.
