Types
Module
{
name: string; // module's name
details: string[]; // array of strings representing paragraphs that describe the module to end users.
links: { // relevant links about the module
label: string; // link's name
link: string; // URL
}[];
parameters: { // module's dispaly parameters, chosen by its creator as relevant for dispaly to end users
label: string; // parameter's name
functionName: string; // name of the view or pure function that gets the parameter value
displayType: string; // a free-text field that tells front ends how to generate a proper UI component for the parameter
}[];
type: { // type of module
eligibility: boolean;
toggle: boolean;
hatter: boolean;
};
tags: {
description: string;
label: string;
value: string;
}[];
implementationAddress: string; // module's implementation address, equal in every network
deployments: { // networks the implementation is deployed and supported
chainId: string; // chain's ID
block: string; // block number of the deployment transaction
}[];
creationArgs: ModuleCreationArgs; // the arguments that are passed to the module factory's creation function
customRoles: Role[]; // module's custom roles
writeFunctions: WriteFunction[]; // module's write functions
abi: Abi; // module's ABI
}Role
WriteFunction
WriteFunctionArg
ModuleCreationArgs
ModuleCreationArg
Registry
ModuleParameter
ArgumentTsType
Ruleset
Last updated