Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.remlo.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Remlo runs five Solidity contracts plus three ERC-8004 registries on Tempo Moderato (chainId 42431), and one Anchor program plus four SAS schemas on Solana devnet.

Tempo Moderato

ContractAddressPurpose
PayrollTreasury0xEC73B9762b13148C54De792d70a2DB48690fD1F7Per employer stablecoin custody with memo indexed deposits and per employer accounting. The deposit memo’s first 8 bytes must equal bytes8(keccak256(employerAdminWallet)) so off-chain accounting can’t be spoofed (audit fix M-1).
PayrollBatcher0xeEBa523F0AB45838F4e2c2872cEd0d5512bb4e88Atomic multi employee distribution. Pulls the exact total from PayrollTreasury, distributes to N recipients in one transaction with per item ISO 20022 memos, and emits a PaymentSent event indexed by employerId and runId.
EmployeeRegistry0x2B8fC6eACBd89a7B01bB400cDd492ff0CE931a7eMaps employee wallets to employers, records TIP-403 policy bindings, and exposes isEmployedBy(wallet, employerId) for the optional H-4 batch validation path.
StreamVesting0xEEd5bab5A4A09fd59610513C95E106D285c87A2FNative Tempo streaming compensation. Employees claim accrued balance any time before payday. Cancel returns unclaimed funds; failed cancel time refunds queue under unclaimedEmployerRefunds for claimEmployerRefund (audit fix H-2).
YieldRouter0x718B2bBfC6434AcaD06416Ad6d51dC6B0A7e3d42Routes idle treasury balance into approved yield strategies under an allow list (audit fix H-5).
ERC-8004 IdentityRegistry0x1279d568C096937f73E1624B160A42eD67f7a485UUPS upgradeable. Both Remlo agents (payroll, validator) registered.
ERC-8004 ReputationRegistry0x9f514D7ad37507630541a5557dF325EC0eDC4ad7Receives giveFeedback writes from settled work. int128 value on a -100..100 scale, structured tags (escrow, settled, rejected, etc.).
ERC-8004 ValidationRegistry0x2eeC2CA27E8428c409516E9418bb7F6560553B78Reads wired in the dashboard. Writes (validationRequest, validationResponse) deferred to Phase 2.
RPC: https://rpc.moderato.tempo.xyz. Stablecoin: USDC.e at 0x20C000000000000000000000b9537d11c60E8b50 (6 decimals).

Solana

ProgramAddressPurpose
remlo_escrow (Anchor)2CY3JQfkXpyTT8QBiHfKnashxGJ37ctDvqcgi7ggWiAAThree party escrow with pluggable validator authority, atomic settlement, permissionless settle / refund / expired_refund, M-4 audit fix enforced (require!(confidence_bps > 0) on approved verdicts).
SAS Credential AuthorityBxoTaz3cbrVafhA2chLWAPNzdV5JAvh1YTHJbgD79kn7Owns the four reputation schemas. Same Privy server wallet that signs post_verdict.

SAS schemas (devnet)

SchemaAddressSubject
remlo-payment-completedE12tzLn2WiKPWjR5F7QwStj1Tc8xENJaUZHSfcgcwuBxPayment recipient (employee or agent)
remlo-escrow-settledAoQDtFs92zXXr4XfTTKFibbfwEo8gb4GgF8fMN3sw6deEscrow worker on approved verdict
remlo-escrow-refundedG2h3khf3mipYy8Qyy7ojBhA4bzX6vwN6kWDvEYHVTVcSEscrow requester on rejected or expired refund
remlo-employer-verified8isEh5PALYLcz3QgoNff61kccBVoxQfZgDUtWW4u2KWkEmployer on first successful payroll run
Solana addresses resolve on devnet. Mainnet upgrade is a Phase 2 milestone gated on Anchor program audit completion.

Programmatic access

When integrating, source addresses from lib/constants.ts (Tempo) and lib/solana-constants.ts (Solana) rather than hard coding. Both files read from environment variables that match production and self-hosted deployments alike. The published OpenAPI spec at https://www.remlo.xyz/openapi.json carries the same addresses for agent discovery. For local development against your own deployments, set the NEXT_PUBLIC_PAYROLL_* and REMLO_ESCROW_PROGRAM_ID environment variables in .env.local before booting the app. See Environment Variables for the full list.