protocol_create_escrow
Create a new MilestoneEscrow contract via the PCCProtocol factory on-chain. Protocol-deployed escrows have fee collection and registry tracking built in. Requires PCC_GATEWAY_PRIVATE_KEY write access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwmId | Yes | Capability Work Module ID as a 32-byte hex string (0x + 64 chars) | |
| payer | Yes | Payer EVM address (0x...) | |
| token | Yes | ERC-20 token address for payment (0x...) | |
| arbiter | Yes | Arbiter EVM address (0x...) — resolves disputes |