Evaluation copy under final audit

Quick “how-to” recap: adding an Allocator

1

(One-time) Register UCE as governed (REGISTER_CONTRACT).

2

(One-time) Register action types for UCE (REGISTER_ACTION_TYPE for ACT_SET_ALLOCATOR and ACT_SET_ALLOCATOR_POCKETS).

3

Prepare payload with:

  • Allocator address

  • Credit line (ceiling, dailyCap)

  • borrowFeeBps and allowed=true

  • assets[] + pocketsNew[] (aligned in order)

4

Collect 4–9 EIP-712 signatures from SIGNER role addresses over the computed digest (includes actionType, payloadHash, nonce, targetContract).

5

Call queueAction; the governance contract verifies signatures and stores ETA.

6

After timelock, call executeAction; UCE processes ACT_SET_ALLOCATOR.

7

(Optional) Set or update pockets via ACT_SET_ALLOCATOR_POCKETS.

8

Allocator funds pockets, mints inventory, and starts serving referred flow.

Last updated