IAllocationResolver

Git Source

Functions

setAllocation

function setAllocation(address basket, bytes32[] calldata newAllocation) external;

getTargetWeight

function getTargetWeight(address basket) external view returns (bytes32[] memory);

getAllocationLength

function getAllocationLength(address basket) external view returns (uint256);

getAllocationElement

function getAllocationElement(address basket, uint256 index) external view returns (bytes32);

setBasketResolver

function setBasketResolver(address basket, address resolver) external;

enroll

function enroll(address basket, address resolver, uint256 selectionsLength) external;

isEnrolled

function isEnrolled(address basket) external view returns (bool);

isSubscribed

function isSubscribed(address basket, address proposer) external view returns (bool);