Skip to main content

ContractRoles.(constructor)

Constructs a new instance of the ContractRoles class

Signature:

constructor(contractWrapper: ContractWrapper<TContract>, roles: readonly TRole[]);

Parameters

ParameterTypeDescription
contractWrapperContractWrapper<TContract>
rolesreadonly TRole[]