Skip to main content
The following sections provide the addresses for the CPN payment smart contracts on supported blockchains. CPN has two versions of the payment settlement contract. PaymentSettlementV2 is the newer version. It supports payer and payee amounts that differ, and refunds that span multiple parties. You don’t choose which contract to use: the messageType of a transaction tells you which contract settles it:
  • PaymentSettlementV2: settles transactions with the messageType PAYMENT_SETTLEMENT_CONTRACT_V2_0_PAYMENT_INTENT
  • PaymentSettlement: settles transactions with the messageType PAYMENT_SETTLEMENT_CONTRACT_V1_0_PAYMENT_INTENT
Both contracts use Permit2 for token transfers. When you sign the Permit2 typed data for a transaction, the spender is the address of the contract that matches its messageType on the blockchain you’re using.

Mainnet

PaymentSettlementV2

PaymentSettlement

Testnet

PaymentSettlementV2

PaymentSettlement