Allocators
Allocator Lifecycle
1
1. Onboarding (Admin/Governance)
setAllocatorSingleByAdmin(
SetAllocatorMemory({
allocator: zeroXAllocatorAddress,
allowed: true,
line: LineOfCredit({ ceiling: 1000e18, dailyCap: 100e18, mintedToday: 0, lastMintDay: 0 }),
borrowFeeBps: 100
}),
assets, // [WBTC, cbBTC]
pockets, // [allocatorWBTCVault, allocatorCbBTCVault]
AllocatorOperations.SET_ALLOCATOR
);2
Allocator Roles
Last updated