def METHOD_NAME(self, config_dict):
    dispenser_address = get_address_of_type(config_dict, "Dispenser")
    return (
        ContractBase.to_checksum_address(dispenser_address),
        self.max_tokens,
        self.max_balance,
        bool(self.with_mint),
        self.allowed_swapper,
    )