Contract API
Solidity-callable precompile interfaces — OKRW (stablecoin), PCL (compliance), EAS (attestation), Agent (ERC-8004 indexing).
IPcl
Registers a new policy template into the PCL. Templates define the schema and logic for policies (e.g., volume limits, allowlists).
Retrieves the currently active policy configuration for a specific contract.
Executes a call to a target contract within the PCL's regulated context. This function is the entry point to the 'Regulated Track'. It first...
Registers a new set of compliance policies for a specific smart contract. This function sets the initial policy configuration. If policies a...
Updates an existing set of compliance policies for a smart contract. This function completely replaces the old policy configuration with the...
PCL
precompile.okrw
Mints a specified `amount` of OKRW tokens and credits them to the `recipient` address. This function can only be successfully called by the ...
Emitted by the OKRW precompile upon a successful call to the `mint` function. This event provides a verifiable, on-chain record of all OKRW ...