Skip to main content

Smart Contract Architecture

Veyra's current settlement contract is deployed on Arc Testnet.

VeyraJobEscrow​

Current testnet address:

0xe422ba48559A4ef5B1fad8A5AAc4F646b252d9F5

The contract combines funded USDC custody with the software-job lifecycle.

Core operations include:

createJob(...)
claimJob(uint256 jobId)
submitWork(uint256 jobId, bytes32 commitHash, uint64 pullRequestNumber)
verifyAndPay(uint256 jobId, bytes32 deliverableHash, bytes32 reportHash)
rejectAndRefund(uint256 jobId, bytes32 deliverableHash, bytes32 reportHash, bytes32 reasonHash)

Client recovery includes bounded cancellation/refund paths for eligible states.

Commitments​

The contract stores compact hashes rather than entire GitHub issue bodies or verifier reports.

Important commitments include:

repositoryHash
taskHash
policyHash
deliverableHash
reportHash
reasonHash when rejected

Worker authorisation​

Operational worker wallets must be authorised before they participate in the worker side of the contract lifecycle.

Verifier authority​

Settlement requires the configured verifier authority and evidence-bound resolution path.

Testnet warning​

The addresses in this documentation describe the current Arc Testnet release. Treat future mainnet or redeployed addresses as separate deployments.

See Arc Network & Contracts.