Quick “how-to” recap: adding an Allocator
(One-time) Register UCE as governed (REGISTER_CONTRACT).
(One-time) Register action types for UCE (REGISTER_ACTION_TYPE for ACT_SET_ALLOCATOR and ACT_SET_ALLOCATOR_POCKETS).
Prepare payload with:
Allocator
addressCredit line (ceiling, dailyCap)borrowFeeBpsandallowed=trueassets[]+pocketsNew[](aligned in order)
Collect 4–9 EIP-712 signatures from SIGNER role addresses over the computed digest (includes actionType, payloadHash, nonce, targetContract).
Call queueAction; the governance contract verifies signatures and stores ETA.
After timelock, call executeAction; UCE processes ACT_SET_ALLOCATOR.
(Optional) Set or update pockets via ACT_SET_ALLOCATOR_POCKETS.
Allocator funds pockets, mints inventory, and starts serving referred flow.
Last updated