ComputeEngineTeePool

Manages TEE nodes in a pool for executing compute jobs with different timeout and hardware configurations.

The ComputeEngineTeePool contract manages a pool of Trusted Execution Environment (TEE) nodes that execute compute jobs. The pool is configured for specific timeout durations and hardware types, enabling efficient job distribution based on requirements. There are three pool types: Ephemeral (short-lived jobs), Persistent (long-running jobs), and Dedicated (exclusive access) and two hardware configurations: standard CPU and GPU.

TEE nodes register with the pool by providing their addresses and are then eligible to receive job assignments. The contract tracks active TEEs, manages job queues, and ensures proper load distribution across available nodes.

ComputeEngineTeePool contracts are deployed dynamically by the ComputeEngineTeePoolFactory. Each pool has a unique address based on its configuration. The list of pre-deployed TEE pools are as follows.

Ephemeral Pools

  • For short-lived jobs with timeout ≤ ephemeralTimeout (default: 5 minutes)
  • Optimized for quick computations and data queries
  • Lower resource allocation per job

📘

Contract Address

Moksha: 0xe124bae846D5ec157f75Bd9e68ca87C4d2AB835A

Vana Mainnet: 0xe124bae846D5ec157f75Bd9e68ca87C4d2AB835A

Persistent Pools

  • For long-running jobs with timeout ≤ persistentTimeout (default: 2 hours)
  • Suitable for complex computations and model training
  • Higher resource allocation per job

📘

Contract Address (standard)

Moksha: 0xe8bB8d0629651Cf33e0845d743976Dc1f0971d76

Vana Mainnet: 0xe8bB8d0629651Cf33e0845d743976Dc1f0971d76


📘

Contract Address (gpu)

Moksha: 0x1c346Cd74f8551f8fa13f3F4b6b8dAE22338E6a9

Vana Mainnet: 0x1c346Cd74f8551f8fa13f3F4b6b8dAE22338E6a9

Dedicated Pools

  • For jobs exceeding persistent timeout or requiring exclusive resources
  • Custom resource allocation
  • Isolated execution environment

📘

Contract Address (standard)

Moksha: 0xf024b7ac5E8417416f53B41ecfa58C8e9396687d

Vana Mainnet: 0xf024b7ac5E8417416f53B41ecfa58C8e9396687d


📘

Contract Address (gpu)

Moksha: 0xB1686FA9620bBf851714d1cB47b8a4Bf4664644E

Vana Mainnet: 0xB1686FA9620bBf851714d1cB47b8a4Bf4664644E